@etherisc/gif-next 0.0.2-c96f882-016 → 0.0.2-ca77f81-925

Sign up to get free protection for your applications and to get access to all the features.
Files changed (635) hide show
  1. package/README.md +90 -16
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +499 -549
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1505 -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 +1191 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +900 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +843 -0
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +547 -246
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +398 -3010
  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 +764 -312
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +679 -274
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +380 -78
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3591 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +31 -8
  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/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -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/oracle/Oracle.sol/Oracle.json +1063 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1477 -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 +1134 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +310 -358
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +959 -0
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1269 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1299 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -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/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +236 -190
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
  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} +266 -278
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +966 -0
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → product/IProductService.sol/IProductService.json} +124 -166
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -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 +1012 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/product/Product.sol/Product.json +1257 -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 +346 -211
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +451 -200
  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 +563 -288
  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 +530 -339
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +346 -133
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.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 +4 -0
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +230 -172
  182. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  184. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  186. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  188. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  189. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  190. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  192. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  193. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  194. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  195. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  196. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  197. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  198. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  200. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  201. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  202. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  204. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  206. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  208. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  209. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
  210. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  211. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  212. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  214. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  215. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  216. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  218. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  219. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  220. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -62
  222. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  224. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  226. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  227. package/artifacts/contracts/shared/Service.sol/Service.json +201 -162
  228. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  230. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  231. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  232. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  234. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  235. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  236. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  237. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  238. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  240. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  241. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  242. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  244. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  246. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  248. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  250. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  252. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  254. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  255. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  256. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  257. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  258. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  260. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  262. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  264. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  265. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  266. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  268. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  270. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  272. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  273. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  274. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  276. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  278. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  280. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  282. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  284. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  286. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  290. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  293. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  294. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  299. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
  302. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  303. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  304. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  305. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  306. package/contracts/authorization/AccessAdmin.sol +591 -0
  307. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  308. package/contracts/authorization/Authorization.sol +218 -0
  309. package/contracts/authorization/IAccess.sol +48 -0
  310. package/contracts/authorization/IAccessAdmin.sol +136 -0
  311. package/contracts/authorization/IAuthorization.sol +54 -0
  312. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  313. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  314. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  316. package/contracts/distribution/BasicDistribution.sol +149 -0
  317. package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
  318. package/contracts/distribution/Distribution.sol +283 -0
  319. package/contracts/distribution/DistributionService.sol +302 -0
  320. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  321. package/contracts/distribution/IDistributionComponent.sol +48 -0
  322. package/contracts/distribution/IDistributionService.sol +85 -0
  323. package/contracts/instance/BundleManager.sol +126 -0
  324. package/contracts/instance/IInstance.sol +74 -16
  325. package/contracts/instance/IInstanceService.sol +77 -15
  326. package/contracts/instance/Instance.sol +183 -371
  327. package/contracts/instance/InstanceAdmin.sol +266 -0
  328. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  329. package/contracts/instance/InstanceReader.sol +185 -70
  330. package/contracts/instance/InstanceService.sol +388 -83
  331. package/contracts/instance/InstanceServiceManager.sol +12 -24
  332. package/contracts/instance/InstanceStore.sol +276 -0
  333. package/contracts/instance/base/BalanceStore.sol +123 -0
  334. package/contracts/instance/base/Cloneable.sol +28 -0
  335. package/contracts/instance/base/ObjectCounter.sol +21 -0
  336. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  337. package/contracts/instance/base/ObjectManager.sol +79 -0
  338. package/contracts/instance/module/IAccess.sol +29 -21
  339. package/contracts/instance/module/IBundle.sol +8 -7
  340. package/contracts/instance/module/IComponents.sol +52 -0
  341. package/contracts/instance/module/IDistribution.sol +7 -4
  342. package/contracts/instance/module/IPolicy.sol +56 -17
  343. package/contracts/instance/module/IRisk.sol +1 -1
  344. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  345. package/contracts/oracle/BasicOracle.sol +48 -0
  346. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  347. package/contracts/oracle/IOracle.sol +36 -0
  348. package/contracts/oracle/IOracleComponent.sol +32 -0
  349. package/contracts/oracle/IOracleService.sol +65 -0
  350. package/contracts/oracle/Oracle.sol +157 -0
  351. package/contracts/oracle/OracleService.sol +278 -0
  352. package/contracts/oracle/OracleServiceManager.sol +42 -0
  353. package/contracts/pool/BasicPool.sol +164 -0
  354. package/contracts/pool/BasicPoolAuthorization.sol +49 -0
  355. package/contracts/pool/BundleService.sol +296 -0
  356. package/contracts/pool/BundleServiceManager.sol +42 -0
  357. package/contracts/pool/IBundleService.sol +106 -0
  358. package/contracts/pool/IPoolComponent.sol +52 -0
  359. package/contracts/pool/IPoolService.sol +150 -0
  360. package/contracts/pool/Pool.sol +311 -0
  361. package/contracts/pool/PoolService.sol +452 -0
  362. package/contracts/pool/PoolServiceManager.sol +42 -0
  363. package/contracts/product/ApplicationService.sol +254 -0
  364. package/contracts/product/ApplicationServiceManager.sol +38 -0
  365. package/contracts/product/BasicProduct.sol +82 -0
  366. package/contracts/product/BasicProductAuthorization.sol +40 -0
  367. package/contracts/product/ClaimService.sol +442 -0
  368. package/contracts/product/ClaimServiceManager.sol +38 -0
  369. package/contracts/product/IApplicationService.sol +62 -0
  370. package/contracts/product/IClaimService.sol +99 -0
  371. package/contracts/product/IPolicyService.sol +78 -0
  372. package/contracts/product/IPricingService.sol +39 -0
  373. package/contracts/product/IProductComponent.sol +39 -0
  374. package/contracts/product/IProductService.sol +33 -0
  375. package/contracts/product/PolicyService.sol +475 -0
  376. package/contracts/product/PolicyServiceManager.sol +42 -0
  377. package/contracts/product/PricingService.sol +300 -0
  378. package/contracts/product/PricingServiceManager.sol +42 -0
  379. package/contracts/product/Product.sol +392 -0
  380. package/contracts/product/ProductService.sol +124 -0
  381. package/contracts/product/ProductServiceManager.sol +42 -0
  382. package/contracts/registry/ChainNft.sol +15 -0
  383. package/contracts/registry/IRegistry.sol +74 -43
  384. package/contracts/registry/IRegistryService.sol +51 -17
  385. package/contracts/registry/ITransferInterceptor.sol +1 -0
  386. package/contracts/registry/Registry.sol +375 -269
  387. package/contracts/registry/RegistryAdmin.sol +365 -0
  388. package/contracts/registry/RegistryService.sol +122 -300
  389. package/contracts/registry/RegistryServiceManager.sol +25 -36
  390. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  391. package/contracts/registry/ReleaseManager.sol +487 -0
  392. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  393. package/contracts/registry/TokenRegistry.sol +315 -0
  394. package/contracts/shared/Component.sol +281 -0
  395. package/contracts/shared/ComponentService.sol +581 -0
  396. package/contracts/shared/ComponentServiceManager.sol +35 -0
  397. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  398. package/contracts/shared/ERC165.sol +15 -9
  399. package/contracts/shared/IComponent.sol +70 -0
  400. package/contracts/shared/IComponentService.sol +102 -0
  401. package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
  402. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  403. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  404. package/contracts/shared/INftOwnable.sol +13 -12
  405. package/contracts/shared/IPolicyHolder.sol +45 -0
  406. package/contracts/shared/IRegisterable.sol +4 -6
  407. package/contracts/shared/IRegistryLinked.sol +11 -0
  408. package/contracts/shared/IService.sol +15 -5
  409. package/contracts/shared/IVersionable.sol +5 -48
  410. package/contracts/shared/InitializableCustom.sol +177 -0
  411. package/contracts/shared/InstanceLinkedComponent.sol +151 -0
  412. package/contracts/shared/KeyValueStore.sol +131 -0
  413. package/contracts/shared/Lifecycle.sol +77 -0
  414. package/contracts/shared/NftIdSetManager.sol +65 -0
  415. package/contracts/shared/NftOwnable.sol +60 -89
  416. package/contracts/shared/PolicyHolder.sol +102 -0
  417. package/contracts/shared/ProxyManager.sol +131 -26
  418. package/contracts/shared/Registerable.sol +26 -40
  419. package/contracts/shared/RegistryLinked.sol +43 -0
  420. package/contracts/shared/Service.sol +57 -28
  421. package/contracts/shared/TokenHandler.sol +37 -6
  422. package/contracts/shared/Versionable.sol +4 -92
  423. package/contracts/staking/IStaking.sol +168 -0
  424. package/contracts/staking/IStakingService.sol +153 -0
  425. package/contracts/staking/StakeManagerLib.sol +231 -0
  426. package/contracts/staking/Staking.sol +513 -0
  427. package/contracts/staking/StakingLifecycle.sol +23 -0
  428. package/contracts/staking/StakingManager.sol +54 -0
  429. package/contracts/staking/StakingReader.sol +187 -0
  430. package/contracts/staking/StakingService.sol +411 -0
  431. package/contracts/staking/StakingServiceManager.sol +44 -0
  432. package/contracts/staking/StakingStore.sol +615 -0
  433. package/contracts/staking/TargetManagerLib.sol +207 -0
  434. package/contracts/{types → type}/AddressSet.sol +1 -1
  435. package/contracts/type/Amount.sol +128 -0
  436. package/contracts/{types → type}/Blocknumber.sol +21 -3
  437. package/contracts/type/ClaimId.sol +75 -0
  438. package/contracts/{types → type}/DistributorType.sol +2 -2
  439. package/contracts/{types → type}/Fee.sol +33 -23
  440. package/contracts/{types → type}/NftId.sol +21 -15
  441. package/contracts/type/NftIdSet.sol +62 -0
  442. package/contracts/type/ObjectType.sol +275 -0
  443. package/contracts/type/PayoutId.sol +82 -0
  444. package/contracts/{types → type}/Referral.sol +5 -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 +81 -0
  449. package/contracts/type/Selector.sol +102 -0
  450. package/contracts/{types → type}/StateId.sol +38 -4
  451. package/contracts/type/String.sol +53 -0
  452. package/contracts/{types → type}/Timestamp.sol +23 -14
  453. package/contracts/{types → type}/UFixed.sol +7 -0
  454. package/contracts/{types → type}/Version.sol +2 -1
  455. package/package.json +8 -5
  456. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  457. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  458. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  459. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -610
  460. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  461. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  462. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  463. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  464. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  465. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  466. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  467. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  468. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  469. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -774
  470. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  471. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  472. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  473. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  474. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  475. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  476. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  477. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  478. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  479. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  480. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  481. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  482. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  483. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  484. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  485. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  486. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  487. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  488. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  489. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  490. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  491. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  492. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  493. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  494. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  495. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  496. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  497. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  499. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  501. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  502. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  503. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  504. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  505. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  506. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  508. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  510. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  511. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  512. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  513. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  514. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  515. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -930
  516. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  517. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  518. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  519. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  520. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  521. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  522. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  523. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  524. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  525. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  526. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  527. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  528. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  529. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  530. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  531. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  532. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  534. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  535. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  536. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  537. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  538. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  539. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  540. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  541. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  542. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  543. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  544. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  545. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  546. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  547. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  548. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  549. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  550. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  551. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  552. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  553. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  554. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  555. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  556. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  557. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  558. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  559. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  561. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  562. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  564. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  565. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  566. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  567. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  568. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  569. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  570. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  571. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  572. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  573. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  574. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  575. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  576. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  577. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  578. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  579. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  580. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  581. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  582. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  583. package/contracts/components/BaseComponent.sol +0 -86
  584. package/contracts/components/Distribution.sol +0 -166
  585. package/contracts/components/IBaseComponent.sol +0 -24
  586. package/contracts/components/IDistributionComponent.sol +0 -43
  587. package/contracts/components/IPoolComponent.sol +0 -62
  588. package/contracts/components/IProductComponent.sol +0 -35
  589. package/contracts/components/Pool.sol +0 -259
  590. package/contracts/components/Product.sol +0 -297
  591. package/contracts/experiment/cloning/Cloner.sol +0 -47
  592. package/contracts/experiment/errors/Require.sol +0 -38
  593. package/contracts/experiment/errors/Revert.sol +0 -44
  594. package/contracts/experiment/inheritance/A.sol +0 -53
  595. package/contracts/experiment/inheritance/B.sol +0 -28
  596. package/contracts/experiment/inheritance/C.sol +0 -34
  597. package/contracts/experiment/inheritance/IA.sol +0 -13
  598. package/contracts/experiment/inheritance/IB.sol +0 -10
  599. package/contracts/experiment/inheritance/IC.sol +0 -12
  600. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  601. package/contracts/experiment/statemachine/ISM.sol +0 -25
  602. package/contracts/experiment/statemachine/SM.sol +0 -57
  603. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  604. package/contracts/experiment/types/TypeA.sol +0 -47
  605. package/contracts/experiment/types/TypeB.sol +0 -29
  606. package/contracts/instance/AccessManagedSimple.sol +0 -122
  607. package/contracts/instance/AccessManagerSimple.sol +0 -692
  608. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  609. package/contracts/instance/InstanceAccessManager.sol +0 -288
  610. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  611. package/contracts/instance/base/IInstanceBase.sol +0 -23
  612. package/contracts/instance/base/KeyValueStore.sol +0 -172
  613. package/contracts/instance/base/Lifecycle.sol +0 -100
  614. package/contracts/instance/module/ISetup.sol +0 -43
  615. package/contracts/instance/module/ITreasury.sol +0 -23
  616. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  617. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  618. package/contracts/instance/service/IDistributionService.sol +0 -12
  619. package/contracts/instance/service/IPoolService.sol +0 -37
  620. package/contracts/instance/service/IProductService.sol +0 -107
  621. package/contracts/shared/ContractDeployerLib.sol +0 -72
  622. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  623. package/contracts/test/TestFee.sol +0 -25
  624. package/contracts/test/TestRegisterable.sol +0 -18
  625. package/contracts/test/TestRoleId.sol +0 -14
  626. package/contracts/test/TestService.sol +0 -24
  627. package/contracts/test/TestToken.sol +0 -26
  628. package/contracts/test/TestVersion.sol +0 -44
  629. package/contracts/test/TestVersionable.sol +0 -17
  630. package/contracts/types/ChainId.sol +0 -38
  631. package/contracts/types/NftIdSet.sol +0 -60
  632. package/contracts/types/NumberId.sol +0 -52
  633. package/contracts/types/ObjectType.sol +0 -152
  634. package/contracts/types/RoleId.sol +0 -82
  635. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -4,40 +4,29 @@
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
21
15
  },
22
16
  {
23
17
  "inputs": [
24
18
  {
25
- "internalType": "ReferralId",
26
- "name": "referralId",
27
- "type": "bytes8"
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
28
22
  }
29
23
  ],
30
- "name": "getDiscountPercentage",
24
+ "name": "getBalanceAmount",
31
25
  "outputs": [
32
26
  {
33
- "internalType": "UFixed",
34
- "name": "discountPercentage",
35
- "type": "uint256"
36
- },
37
- {
38
- "internalType": "ReferralStatus",
39
- "name": "status",
40
- "type": "uint8"
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
41
30
  }
42
31
  ],
43
32
  "stateMutability": "view",
@@ -47,24 +36,19 @@
47
36
  "inputs": [
48
37
  {
49
38
  "internalType": "NftId",
50
- "name": "distributionNftId",
39
+ "name": "bundleNftId",
51
40
  "type": "uint96"
52
41
  }
53
42
  ],
54
- "name": "getDistributionSetupInfo",
43
+ "name": "getBundleInfo",
55
44
  "outputs": [
56
45
  {
57
46
  "components": [
58
47
  {
59
48
  "internalType": "NftId",
60
- "name": "productNftId",
49
+ "name": "poolNftId",
61
50
  "type": "uint96"
62
51
  },
63
- {
64
- "internalType": "contract TokenHandler",
65
- "name": "tokenHandler",
66
- "type": "address"
67
- },
68
52
  {
69
53
  "components": [
70
54
  {
@@ -79,21 +63,167 @@
79
63
  }
80
64
  ],
81
65
  "internalType": "struct Fee",
82
- "name": "distributionFee",
66
+ "name": "fee",
83
67
  "type": "tuple"
84
68
  },
85
69
  {
86
- "internalType": "bool",
87
- "name": "isIntercepting",
88
- "type": "bool"
70
+ "internalType": "bytes",
71
+ "name": "filter",
72
+ "type": "bytes"
73
+ },
74
+ {
75
+ "internalType": "Seconds",
76
+ "name": "lifetime",
77
+ "type": "uint40"
78
+ },
79
+ {
80
+ "internalType": "Timestamp",
81
+ "name": "expiredAt",
82
+ "type": "uint40"
83
+ },
84
+ {
85
+ "internalType": "Timestamp",
86
+ "name": "closedAt",
87
+ "type": "uint40"
88
+ }
89
+ ],
90
+ "internalType": "struct IBundle.BundleInfo",
91
+ "name": "info",
92
+ "type": "tuple"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "policyNftId",
103
+ "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "ClaimId",
107
+ "name": "claimId",
108
+ "type": "uint16"
109
+ }
110
+ ],
111
+ "name": "getClaimInfo",
112
+ "outputs": [
113
+ {
114
+ "components": [
115
+ {
116
+ "internalType": "Amount",
117
+ "name": "claimAmount",
118
+ "type": "uint96"
119
+ },
120
+ {
121
+ "internalType": "Amount",
122
+ "name": "paidAmount",
123
+ "type": "uint96"
124
+ },
125
+ {
126
+ "internalType": "uint8",
127
+ "name": "payoutsCount",
128
+ "type": "uint8"
129
+ },
130
+ {
131
+ "internalType": "uint8",
132
+ "name": "openPayoutsCount",
133
+ "type": "uint8"
134
+ },
135
+ {
136
+ "internalType": "bytes",
137
+ "name": "submissionData",
138
+ "type": "bytes"
139
+ },
140
+ {
141
+ "internalType": "bytes",
142
+ "name": "processData",
143
+ "type": "bytes"
144
+ },
145
+ {
146
+ "internalType": "Timestamp",
147
+ "name": "closedAt",
148
+ "type": "uint40"
149
+ }
150
+ ],
151
+ "internalType": "struct IPolicy.ClaimInfo",
152
+ "name": "info",
153
+ "type": "tuple"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "NftId",
163
+ "name": "policyNftId",
164
+ "type": "uint96"
165
+ },
166
+ {
167
+ "internalType": "ClaimId",
168
+ "name": "claimId",
169
+ "type": "uint16"
170
+ }
171
+ ],
172
+ "name": "getClaimState",
173
+ "outputs": [
174
+ {
175
+ "internalType": "StateId",
176
+ "name": "state",
177
+ "type": "uint8"
178
+ }
179
+ ],
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "NftId",
187
+ "name": "componentNftId",
188
+ "type": "uint96"
189
+ }
190
+ ],
191
+ "name": "getComponentInfo",
192
+ "outputs": [
193
+ {
194
+ "components": [
195
+ {
196
+ "internalType": "string",
197
+ "name": "name",
198
+ "type": "string"
199
+ },
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "productNftId",
203
+ "type": "uint96"
204
+ },
205
+ {
206
+ "internalType": "contract IERC20Metadata",
207
+ "name": "token",
208
+ "type": "address"
209
+ },
210
+ {
211
+ "internalType": "contract TokenHandler",
212
+ "name": "tokenHandler",
213
+ "type": "address"
89
214
  },
90
215
  {
91
216
  "internalType": "address",
92
217
  "name": "wallet",
93
218
  "type": "address"
219
+ },
220
+ {
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
94
224
  }
95
225
  ],
96
- "internalType": "struct ISetup.DistributionSetupInfo",
226
+ "internalType": "struct IComponents.ComponentInfo",
97
227
  "name": "info",
98
228
  "type": "tuple"
99
229
  }
@@ -101,6 +231,30 @@
101
231
  "stateMutability": "view",
102
232
  "type": "function"
103
233
  },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "ReferralId",
238
+ "name": "referralId",
239
+ "type": "bytes8"
240
+ }
241
+ ],
242
+ "name": "getDiscountPercentage",
243
+ "outputs": [
244
+ {
245
+ "internalType": "UFixed",
246
+ "name": "discountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "ReferralStatus",
251
+ "name": "status",
252
+ "type": "uint8"
253
+ }
254
+ ],
255
+ "stateMutability": "view",
256
+ "type": "function"
257
+ },
104
258
  {
105
259
  "inputs": [
106
260
  {
@@ -127,6 +281,16 @@
127
281
  "internalType": "bytes",
128
282
  "name": "data",
129
283
  "type": "bytes"
284
+ },
285
+ {
286
+ "internalType": "Amount",
287
+ "name": "commissionAmount",
288
+ "type": "uint96"
289
+ },
290
+ {
291
+ "internalType": "uint32",
292
+ "name": "numPoliciesSold",
293
+ "type": "uint32"
130
294
  }
131
295
  ],
132
296
  "internalType": "struct IDistribution.DistributorInfo",
@@ -204,13 +368,19 @@
204
368
  "type": "function"
205
369
  },
206
370
  {
207
- "inputs": [],
208
- "name": "getInstance",
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "targetNftId",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "getFeeAmount",
209
379
  "outputs": [
210
380
  {
211
- "internalType": "contract IInstance",
212
- "name": "instance",
213
- "type": "address"
381
+ "internalType": "Amount",
382
+ "name": "",
383
+ "type": "uint96"
214
384
  }
215
385
  ],
216
386
  "stateMutability": "view",
@@ -218,12 +388,12 @@
218
388
  },
219
389
  {
220
390
  "inputs": [],
221
- "name": "getInstanceNftId",
391
+ "name": "getInstance",
222
392
  "outputs": [
223
393
  {
224
- "internalType": "NftId",
225
- "name": "nftId",
226
- "type": "uint96"
394
+ "internalType": "contract IInstance",
395
+ "name": "instance",
396
+ "type": "address"
227
397
  }
228
398
  ],
229
399
  "stateMutability": "view",
@@ -242,6 +412,25 @@
242
412
  "stateMutability": "view",
243
413
  "type": "function"
244
414
  },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "NftId",
419
+ "name": "targetNftId",
420
+ "type": "uint96"
421
+ }
422
+ ],
423
+ "name": "getLockedAmount",
424
+ "outputs": [
425
+ {
426
+ "internalType": "Amount",
427
+ "name": "",
428
+ "type": "uint96"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
245
434
  {
246
435
  "inputs": [
247
436
  {
@@ -265,29 +454,94 @@
265
454
  "type": "uint8"
266
455
  },
267
456
  {
268
- "internalType": "address",
269
- "name": "updatedBy",
270
- "type": "address"
457
+ "internalType": "Blocknumber",
458
+ "name": "updatedIn",
459
+ "type": "uint32"
271
460
  },
272
461
  {
273
462
  "internalType": "Blocknumber",
274
- "name": "updatedIn",
463
+ "name": "createdIn",
275
464
  "type": "uint32"
465
+ }
466
+ ],
467
+ "internalType": "struct IKeyValueStore.Metadata",
468
+ "name": "metadata",
469
+ "type": "tuple"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "NftId",
479
+ "name": "policyNftId",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "PayoutId",
484
+ "name": "payoutId",
485
+ "type": "uint24"
486
+ }
487
+ ],
488
+ "name": "getPayoutInfo",
489
+ "outputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "ClaimId",
494
+ "name": "claimId",
495
+ "type": "uint16"
496
+ },
497
+ {
498
+ "internalType": "Amount",
499
+ "name": "amount",
500
+ "type": "uint96"
501
+ },
502
+ {
503
+ "internalType": "bytes",
504
+ "name": "data",
505
+ "type": "bytes"
276
506
  },
277
507
  {
278
- "internalType": "Blocknumber",
279
- "name": "createdIn",
280
- "type": "uint32"
508
+ "internalType": "Timestamp",
509
+ "name": "paidAt",
510
+ "type": "uint40"
281
511
  }
282
512
  ],
283
- "internalType": "struct IKeyValueStore.Metadata",
284
- "name": "metadata",
513
+ "internalType": "struct IPolicy.PayoutInfo",
514
+ "name": "info",
285
515
  "type": "tuple"
286
516
  }
287
517
  ],
288
518
  "stateMutability": "view",
289
519
  "type": "function"
290
520
  },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "policyNftId",
526
+ "type": "uint96"
527
+ },
528
+ {
529
+ "internalType": "PayoutId",
530
+ "name": "payoutId",
531
+ "type": "uint24"
532
+ }
533
+ ],
534
+ "name": "getPayoutState",
535
+ "outputs": [
536
+ {
537
+ "internalType": "StateId",
538
+ "name": "state",
539
+ "type": "uint8"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
291
545
  {
292
546
  "inputs": [
293
547
  {
@@ -321,24 +575,24 @@
321
575
  "type": "bytes8"
322
576
  },
323
577
  {
324
- "internalType": "uint256",
578
+ "internalType": "Amount",
325
579
  "name": "sumInsuredAmount",
326
- "type": "uint256"
580
+ "type": "uint96"
327
581
  },
328
582
  {
329
- "internalType": "uint256",
583
+ "internalType": "Amount",
330
584
  "name": "premiumAmount",
331
- "type": "uint256"
585
+ "type": "uint96"
332
586
  },
333
587
  {
334
- "internalType": "uint256",
588
+ "internalType": "Amount",
335
589
  "name": "premiumPaidAmount",
336
- "type": "uint256"
590
+ "type": "uint96"
337
591
  },
338
592
  {
339
- "internalType": "uint256",
593
+ "internalType": "Seconds",
340
594
  "name": "lifetime",
341
- "type": "uint256"
595
+ "type": "uint40"
342
596
  },
343
597
  {
344
598
  "internalType": "bytes",
@@ -347,7 +601,7 @@
347
601
  },
348
602
  {
349
603
  "internalType": "bytes",
350
- "name": "policyData",
604
+ "name": "processData",
351
605
  "type": "bytes"
352
606
  },
353
607
  {
@@ -361,9 +615,14 @@
361
615
  "type": "uint16"
362
616
  },
363
617
  {
364
- "internalType": "uint256",
618
+ "internalType": "Amount",
619
+ "name": "claimAmount",
620
+ "type": "uint96"
621
+ },
622
+ {
623
+ "internalType": "Amount",
365
624
  "name": "payoutAmount",
366
- "type": "uint256"
625
+ "type": "uint96"
367
626
  },
368
627
  {
369
628
  "internalType": "Timestamp",
@@ -389,6 +648,25 @@
389
648
  "stateMutability": "view",
390
649
  "type": "function"
391
650
  },
651
+ {
652
+ "inputs": [
653
+ {
654
+ "internalType": "NftId",
655
+ "name": "policyNftId",
656
+ "type": "uint96"
657
+ }
658
+ ],
659
+ "name": "getPolicyState",
660
+ "outputs": [
661
+ {
662
+ "internalType": "StateId",
663
+ "name": "state",
664
+ "type": "uint8"
665
+ }
666
+ ],
667
+ "stateMutability": "view",
668
+ "type": "function"
669
+ },
392
670
  {
393
671
  "inputs": [
394
672
  {
@@ -397,7 +675,7 @@
397
675
  "type": "uint96"
398
676
  }
399
677
  ],
400
- "name": "getPoolSetupInfo",
678
+ "name": "getPoolInfo",
401
679
  "outputs": [
402
680
  {
403
681
  "components": [
@@ -407,15 +685,40 @@
407
685
  "type": "uint96"
408
686
  },
409
687
  {
410
- "internalType": "contract TokenHandler",
411
- "name": "tokenHandler",
412
- "type": "address"
688
+ "internalType": "RoleId",
689
+ "name": "bundleOwnerRole",
690
+ "type": "uint64"
691
+ },
692
+ {
693
+ "internalType": "Amount",
694
+ "name": "maxCapitalAmount",
695
+ "type": "uint96"
696
+ },
697
+ {
698
+ "internalType": "bool",
699
+ "name": "isInterceptingBundleTransfers",
700
+ "type": "bool"
701
+ },
702
+ {
703
+ "internalType": "bool",
704
+ "name": "isExternallyManaged",
705
+ "type": "bool"
706
+ },
707
+ {
708
+ "internalType": "bool",
709
+ "name": "isVerifyingApplications",
710
+ "type": "bool"
413
711
  },
414
712
  {
415
713
  "internalType": "UFixed",
416
714
  "name": "collateralizationLevel",
417
715
  "type": "uint256"
418
716
  },
717
+ {
718
+ "internalType": "UFixed",
719
+ "name": "retentionLevel",
720
+ "type": "uint256"
721
+ },
419
722
  {
420
723
  "components": [
421
724
  {
@@ -466,19 +769,9 @@
466
769
  "internalType": "struct Fee",
467
770
  "name": "performanceFee",
468
771
  "type": "tuple"
469
- },
470
- {
471
- "internalType": "bool",
472
- "name": "isIntercepting",
473
- "type": "bool"
474
- },
475
- {
476
- "internalType": "address",
477
- "name": "wallet",
478
- "type": "address"
479
772
  }
480
773
  ],
481
- "internalType": "struct ISetup.PoolSetupInfo",
774
+ "internalType": "struct IComponents.PoolInfo",
482
775
  "name": "info",
483
776
  "type": "tuple"
484
777
  }
@@ -494,20 +787,10 @@
494
787
  "type": "uint96"
495
788
  }
496
789
  ],
497
- "name": "getProductSetupInfo",
790
+ "name": "getProductInfo",
498
791
  "outputs": [
499
792
  {
500
793
  "components": [
501
- {
502
- "internalType": "contract IERC20Metadata",
503
- "name": "token",
504
- "type": "address"
505
- },
506
- {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
510
- },
511
794
  {
512
795
  "internalType": "NftId",
513
796
  "name": "distributionNftId",
@@ -532,7 +815,7 @@
532
815
  }
533
816
  ],
534
817
  "internalType": "struct Fee",
535
- "name": "distributionFee",
818
+ "name": "productFee",
536
819
  "type": "tuple"
537
820
  },
538
821
  {
@@ -549,7 +832,7 @@
549
832
  }
550
833
  ],
551
834
  "internalType": "struct Fee",
552
- "name": "productFee",
835
+ "name": "processingFee",
553
836
  "type": "tuple"
554
837
  },
555
838
  {
@@ -566,7 +849,24 @@
566
849
  }
567
850
  ],
568
851
  "internalType": "struct Fee",
569
- "name": "processingFee",
852
+ "name": "distributionFee",
853
+ "type": "tuple"
854
+ },
855
+ {
856
+ "components": [
857
+ {
858
+ "internalType": "UFixed",
859
+ "name": "fractionalFee",
860
+ "type": "uint256"
861
+ },
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "fixedFee",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "internalType": "struct Fee",
869
+ "name": "minDistributionOwnerFee",
570
870
  "type": "tuple"
571
871
  },
572
872
  {
@@ -621,7 +921,7 @@
621
921
  "type": "tuple"
622
922
  }
623
923
  ],
624
- "internalType": "struct ISetup.ProductSetupInfo",
924
+ "internalType": "struct IComponents.ProductInfo",
625
925
  "name": "info",
626
926
  "type": "tuple"
627
927
  }
@@ -685,6 +985,67 @@
685
985
  "stateMutability": "view",
686
986
  "type": "function"
687
987
  },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "RequestId",
992
+ "name": "requestId",
993
+ "type": "uint64"
994
+ }
995
+ ],
996
+ "name": "getRequestInfo",
997
+ "outputs": [
998
+ {
999
+ "components": [
1000
+ {
1001
+ "internalType": "NftId",
1002
+ "name": "requesterNftId",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "string",
1007
+ "name": "callbackMethodName",
1008
+ "type": "string"
1009
+ },
1010
+ {
1011
+ "internalType": "NftId",
1012
+ "name": "oracleNftId",
1013
+ "type": "uint96"
1014
+ },
1015
+ {
1016
+ "internalType": "bytes",
1017
+ "name": "requestData",
1018
+ "type": "bytes"
1019
+ },
1020
+ {
1021
+ "internalType": "bytes",
1022
+ "name": "responseData",
1023
+ "type": "bytes"
1024
+ },
1025
+ {
1026
+ "internalType": "Timestamp",
1027
+ "name": "respondedAt",
1028
+ "type": "uint40"
1029
+ },
1030
+ {
1031
+ "internalType": "Timestamp",
1032
+ "name": "expiredAt",
1033
+ "type": "uint40"
1034
+ },
1035
+ {
1036
+ "internalType": "bool",
1037
+ "name": "isCancelled",
1038
+ "type": "bool"
1039
+ }
1040
+ ],
1041
+ "internalType": "struct IOracle.RequestInfo",
1042
+ "name": "requestInfo",
1043
+ "type": "tuple"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
688
1049
  {
689
1050
  "inputs": [
690
1051
  {
@@ -716,20 +1077,145 @@
716
1077
  "stateMutability": "view",
717
1078
  "type": "function"
718
1079
  },
1080
+ {
1081
+ "inputs": [
1082
+ {
1083
+ "internalType": "Key32",
1084
+ "name": "key",
1085
+ "type": "bytes32"
1086
+ }
1087
+ ],
1088
+ "name": "getState",
1089
+ "outputs": [
1090
+ {
1091
+ "internalType": "StateId",
1092
+ "name": "state",
1093
+ "type": "uint8"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "view",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "NftId",
1103
+ "name": "componentNftId",
1104
+ "type": "uint96"
1105
+ }
1106
+ ],
1107
+ "name": "getTokenHandler",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "address",
1111
+ "name": "tokenHandler",
1112
+ "type": "address"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [
1120
+ {
1121
+ "internalType": "address",
1122
+ "name": "account",
1123
+ "type": "address"
1124
+ },
1125
+ {
1126
+ "internalType": "RoleId",
1127
+ "name": "roleId",
1128
+ "type": "uint64"
1129
+ }
1130
+ ],
1131
+ "name": "hasAdminRole",
1132
+ "outputs": [
1133
+ {
1134
+ "internalType": "bool",
1135
+ "name": "isMember",
1136
+ "type": "bool"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view",
1140
+ "type": "function"
1141
+ },
1142
+ {
1143
+ "inputs": [
1144
+ {
1145
+ "internalType": "address",
1146
+ "name": "account",
1147
+ "type": "address"
1148
+ },
1149
+ {
1150
+ "internalType": "RoleId",
1151
+ "name": "roleId",
1152
+ "type": "uint64"
1153
+ }
1154
+ ],
1155
+ "name": "hasRole",
1156
+ "outputs": [
1157
+ {
1158
+ "internalType": "bool",
1159
+ "name": "isMember",
1160
+ "type": "bool"
1161
+ }
1162
+ ],
1163
+ "stateMutability": "view",
1164
+ "type": "function"
1165
+ },
1166
+ {
1167
+ "inputs": [],
1168
+ "name": "initialize",
1169
+ "outputs": [],
1170
+ "stateMutability": "nonpayable",
1171
+ "type": "function"
1172
+ },
1173
+ {
1174
+ "inputs": [
1175
+ {
1176
+ "internalType": "address",
1177
+ "name": "instanceAddress",
1178
+ "type": "address"
1179
+ }
1180
+ ],
1181
+ "name": "initializeWithInstance",
1182
+ "outputs": [],
1183
+ "stateMutability": "nonpayable",
1184
+ "type": "function"
1185
+ },
1186
+ {
1187
+ "inputs": [
1188
+ {
1189
+ "internalType": "address",
1190
+ "name": "target",
1191
+ "type": "address"
1192
+ }
1193
+ ],
1194
+ "name": "isTargetLocked",
1195
+ "outputs": [
1196
+ {
1197
+ "internalType": "bool",
1198
+ "name": "",
1199
+ "type": "bool"
1200
+ }
1201
+ ],
1202
+ "stateMutability": "view",
1203
+ "type": "function"
1204
+ },
719
1205
  {
720
1206
  "inputs": [
721
1207
  {
722
1208
  "internalType": "NftId",
723
- "name": "productNftId",
1209
+ "name": "policyNftId",
724
1210
  "type": "uint96"
725
1211
  }
726
1212
  ],
727
- "name": "getTokenHandler",
1213
+ "name": "policyIsCloseable",
728
1214
  "outputs": [
729
1215
  {
730
- "internalType": "address",
731
- "name": "tokenHandler",
732
- "type": "address"
1216
+ "internalType": "bool",
1217
+ "name": "isCloseable",
1218
+ "type": "bool"
733
1219
  }
734
1220
  ],
735
1221
  "stateMutability": "view",
@@ -739,161 +1225,38 @@
739
1225
  "inputs": [
740
1226
  {
741
1227
  "internalType": "NftId",
742
- "name": "productNftId",
1228
+ "name": "poolNftId",
743
1229
  "type": "uint96"
744
1230
  }
745
1231
  ],
746
- "name": "getTreasuryInfo",
1232
+ "name": "toBundleKey",
747
1233
  "outputs": [
748
1234
  {
749
- "components": [
750
- {
751
- "internalType": "contract IERC20Metadata",
752
- "name": "token",
753
- "type": "address"
754
- },
755
- {
756
- "internalType": "contract TokenHandler",
757
- "name": "tokenHandler",
758
- "type": "address"
759
- },
760
- {
761
- "internalType": "NftId",
762
- "name": "distributionNftId",
763
- "type": "uint96"
764
- },
765
- {
766
- "internalType": "NftId",
767
- "name": "poolNftId",
768
- "type": "uint96"
769
- },
770
- {
771
- "components": [
772
- {
773
- "internalType": "UFixed",
774
- "name": "fractionalFee",
775
- "type": "uint256"
776
- },
777
- {
778
- "internalType": "uint256",
779
- "name": "fixedFee",
780
- "type": "uint256"
781
- }
782
- ],
783
- "internalType": "struct Fee",
784
- "name": "distributionFee",
785
- "type": "tuple"
786
- },
787
- {
788
- "components": [
789
- {
790
- "internalType": "UFixed",
791
- "name": "fractionalFee",
792
- "type": "uint256"
793
- },
794
- {
795
- "internalType": "uint256",
796
- "name": "fixedFee",
797
- "type": "uint256"
798
- }
799
- ],
800
- "internalType": "struct Fee",
801
- "name": "productFee",
802
- "type": "tuple"
803
- },
804
- {
805
- "components": [
806
- {
807
- "internalType": "UFixed",
808
- "name": "fractionalFee",
809
- "type": "uint256"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "fixedFee",
814
- "type": "uint256"
815
- }
816
- ],
817
- "internalType": "struct Fee",
818
- "name": "processingFee",
819
- "type": "tuple"
820
- },
821
- {
822
- "components": [
823
- {
824
- "internalType": "UFixed",
825
- "name": "fractionalFee",
826
- "type": "uint256"
827
- },
828
- {
829
- "internalType": "uint256",
830
- "name": "fixedFee",
831
- "type": "uint256"
832
- }
833
- ],
834
- "internalType": "struct Fee",
835
- "name": "poolFee",
836
- "type": "tuple"
837
- },
838
- {
839
- "components": [
840
- {
841
- "internalType": "UFixed",
842
- "name": "fractionalFee",
843
- "type": "uint256"
844
- },
845
- {
846
- "internalType": "uint256",
847
- "name": "fixedFee",
848
- "type": "uint256"
849
- }
850
- ],
851
- "internalType": "struct Fee",
852
- "name": "stakingFee",
853
- "type": "tuple"
854
- },
855
- {
856
- "components": [
857
- {
858
- "internalType": "UFixed",
859
- "name": "fractionalFee",
860
- "type": "uint256"
861
- },
862
- {
863
- "internalType": "uint256",
864
- "name": "fixedFee",
865
- "type": "uint256"
866
- }
867
- ],
868
- "internalType": "struct Fee",
869
- "name": "performanceFee",
870
- "type": "tuple"
871
- }
872
- ],
873
- "internalType": "struct ITreasury.TreasuryInfo",
874
- "name": "info",
875
- "type": "tuple"
1235
+ "internalType": "Key32",
1236
+ "name": "",
1237
+ "type": "bytes32"
876
1238
  }
877
1239
  ],
878
- "stateMutability": "view",
1240
+ "stateMutability": "pure",
879
1241
  "type": "function"
880
1242
  },
881
1243
  {
882
1244
  "inputs": [
883
- {
884
- "internalType": "address",
885
- "name": "registry",
886
- "type": "address"
887
- },
888
1245
  {
889
1246
  "internalType": "NftId",
890
- "name": "instanceNftId",
1247
+ "name": "componentNftId",
891
1248
  "type": "uint96"
892
1249
  }
893
1250
  ],
894
- "name": "initialize",
895
- "outputs": [],
896
- "stateMutability": "nonpayable",
1251
+ "name": "toComponentKey",
1252
+ "outputs": [
1253
+ {
1254
+ "internalType": "Key32",
1255
+ "name": "",
1256
+ "type": "bytes32"
1257
+ }
1258
+ ],
1259
+ "stateMutability": "pure",
897
1260
  "type": "function"
898
1261
  },
899
1262
  {
@@ -1034,25 +1397,6 @@
1034
1397
  "stateMutability": "pure",
1035
1398
  "type": "function"
1036
1399
  },
1037
- {
1038
- "inputs": [
1039
- {
1040
- "internalType": "NftId",
1041
- "name": "productNftId",
1042
- "type": "uint96"
1043
- }
1044
- ],
1045
- "name": "toTreasuryKey",
1046
- "outputs": [
1047
- {
1048
- "internalType": "Key32",
1049
- "name": "",
1050
- "type": "bytes32"
1051
- }
1052
- ],
1053
- "stateMutability": "pure",
1054
- "type": "function"
1055
- },
1056
1400
  {
1057
1401
  "inputs": [
1058
1402
  {
@@ -1078,204 +1422,312 @@
1078
1422
  "type": "function"
1079
1423
  }
1080
1424
  ],
1081
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002f3c38038062002f3c83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b61293780620006056000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220fd798b22104f052dcb5adeab9c9482d8efc4ca0d756c0911f6f0b0726589669764736f6c63430008140033",
1082
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220fd798b22104f052dcb5adeab9c9482d8efc4ca0d756c0911f6f0b0726589669764736f6c63430008140033",
1425
+ "bytecode": "0x60806040526000805460ff1916905534801561001a57600080fd5b50613f838061002a6000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806378ae93501161013b578063b82d7ef5116100b8578063dd26287a1161007c578063dd26287a1461063c578063de7b5d141461064f578063f0ea17c314610665578063f7f318d314610685578063febe92af1461069857600080fd5b8063b82d7ef5146105ae578063bd7d9d85146105d8578063cd55e51b146105f8578063d06458c61461060b578063d4cda0d81461062b57600080fd5b80638eb9000d116100ff5780638eb9000d146104e05780639096a1f3146104f3578063a310e2a314610506578063a5961b4c14610531578063a7ef3d211461058e57600080fd5b806378ae93501461047f5780637bfd3217146104925780637e54602a146104a55780638129fc1c146104b8578063887b1fa9146104c057600080fd5b80633f093cd6116101c95780635da894021161018d5780635da894021461041e57806364eb3a9b1461043157806364fc3142146104445780636791f7ab1461045757806375d357df1461046c57600080fd5b80633f093cd61461038c57806344aa6836146103b85780634793b4ab146103cb5780634fb784f5146103eb57806357f80bbf146103fe57600080fd5b8063228e42ec11610210578063228e42ec1461030357806326decd401461031657806327b1d7921461033957806335898f5d1461035957806339bb60cd1461036c57600080fd5b80630232ca491461024d57806309648a9d1461027d5780630b5d931c146102a25780631488c845146102c25780631d3be477146102e3575b600080fd5b61026061025b3660046125cc565b6106b8565b6040516001600160601b0390911681526020015b60405180910390f35b61029061028b3660046125e9565b610735565b60405160ff9091168152602001610274565b6102b56102b03660046125cc565b6107ad565b6040516102749190612602565b6102d56102d03660046126e5565b610860565b604051908152602001610274565b6102f66102f1366004612731565b6108df565b604051610274919061279e565b6102606103113660046125cc565b610a2b565b61032961032436600461284e565b610a65565b6040519015158152602001610274565b61034c6103473660046125cc565b610b48565b604051610274919061286b565b6102d56103673660046125cc565b610c12565b61037f61037a3660046128d8565b610cac565b604051610274919061290e565b61039f61039a366004612b11565b610dfe565b6040516001600160c01b03199091168152602001610274565b6102d56103c63660046125e9565b610e7b565b6103de6103d93660046125cc565b610eb6565b6040516102749190612ba3565b6102d56103f93660046125cc565b610f5c565b61041161040c3660046125cc565b610f89565b6040516102749190612c29565b61029061042c3660046128d8565b61102f565b6102d561043f3660046125cc565b61112c565b610329610452366004612d31565b611159565b61046a61046536600461284e565b61124d565b005b61032961047a3660046125cc565b611324565b61029061048d366004612d6f565b6115b3565b6102d56104a03660046125cc565b611613565b6102d56104b33660046125cc565b611640565b61046a61166d565b6104d36104ce366004612731565b61169c565b6040516102749190612d9d565b6102606104ee3660046125cc565b6117c5565b6102906105013660046125cc565b6117ff565b6105196105143660046125cc565b61187b565b6040516001600160a01b039091168152602001610274565b61054461053f3660046125e9565b611929565b6040516102749190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b6105a161059c366004612d6f565b6119b6565b6040516102749190612dd3565b6105c16105bc366004612731565b611b0b565b6040805192835260ff909116602083015201610274565b6105eb6105e63660046125cc565b611db3565b6040516102749190612e73565b610329610606366004612d31565b611ed9565b61061e610619366004612731565b611f90565b6040516102749190613029565b6001546001600160a01b0316610519565b6102d561064a3660046125cc565b612103565b60005461010090046001600160a01b0316610519565b6106786106733660046125cc565b612130565b60405161027491906130d9565b6102d56106933660046125cc565b6121fe565b6106ab6106a6366004613153565b61222b565b6040516102749190613170565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa15801561070b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f919061324f565b92915050565b60015460405163296586d360e21b8152600481018390526000916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a391906132a3565b6020015192915050565b6107b56123e4565b6001546000906001600160a01b03166354f6127f6107d285611613565b6040518263ffffffff1660e01b81526004016107f091815260200190565b600060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610835919081019061334f565b80519091501561085a578080602001905181019061085391906133b3565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190613473565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa9190613473565b6040518263ffffffff1660e01b81526004016109c891815260200190565b600060405180830381865afa1580156109e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a0d919081019061334f565b80519091501561085a578080602001905181019061085391906134aa565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec906024016106ee565b60008060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610add9190613588565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f91906135b5565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f610b9185611640565b6040518263ffffffff1660e01b8152600401610baf91815260200190565b600060405180830381865afa158015610bcc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bf4919081019061334f565b80519091501561085a578080602001905181019061085391906135db565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f9190613473565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e9190613473565b6040518263ffffffff1660e01b8152600401610d8c91815260200190565b600060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd1919081019061334f565b805190915015610df75780806020019051810190610def91906136a3565b91505061072f565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e3a908690869060040161374c565b602060405180830381865af4158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610853919061376e565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c6b565b610ebe6124fe565b6001546000906001600160a01b03166354f6127f610edb856121fe565b6040518263ffffffff1660e01b8152600401610ef991815260200190565b600060405180830381865afa158015610f16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3e919081019061334f565b80519091501561085a5780806020019051810190610853919061378b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c3b565b610f91612559565b6001546000906001600160a01b03166354f6127f610fae85612103565b6040518263ffffffff1660e01b8152600401610fcc91815260200190565b600060405180830381865afa158015610fe9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611011919081019061334f565b80519091501561085a5780806020019051810190610853919061385f565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156110a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cd9190613473565b6040518263ffffffff1660e01b81526004016110eb91815260200190565b602060405180830381865afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190613924565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c3b565b60008060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d19190613588565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085391906135b5565b60005460ff16156112715760405163ae9eff1b60e01b815260040160405180910390fd5b600080546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190613588565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b60008061133083611db3565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561138e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b291906135b5565b156113c05750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561141d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144191906135b5565b1561144f5750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156114ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d091906135b5565b156114de5750600092915050565b61016081015161ffff16156114f65750600092915050565b6115098161018001518260800151612381565b156115175750600192915050565b61159c73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115879190613941565b826101e0015164ffffffffff90811691161090565b156115aa5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161108c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c3b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610c3b565b60005460ff16156116915760405163ae9eff1b60e01b815260040160405180910390fd5b61169a3361124d565b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117449190613473565b6040518263ffffffff1660e01b815260040161176291815260200190565b600060405180830381865afa15801561177f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a7919081019061334f565b80519091501561085a5780806020019051810190610853919061395e565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d906024016106ee565b6001546000906001600160a01b03166309648a9d61181c8461112c565b6040518263ffffffff1660e01b815260040161183a91815260200190565b602060405180830381865afa158015611857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f9190613924565b60015460009081906001600160a01b03166354f6127f61189a85610f5c565b6040518263ffffffff1660e01b81526004016118b891815260200190565b600060405180830381865afa1580156118d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118fd919081019061334f565b80519091501561085a5760008180602001905181019061191d91906139e8565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611992573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f91906132a3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8a9190613473565b6040518263ffffffff1660e01b8152600401611aa891815260200190565b600060405180830381865afa158015611ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aed919081019061334f565b805190915015610df75780806020019051810190610def9190613abc565b6000806000611b19846108df565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9c91906135b5565b15611c1b5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0e9190613473565b60645b9250925050915091565b611c9f8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c909190613941565b64ffffffffff90811691161090565b15611d185773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ced573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d119190613473565b606e611c11565b806060015163ffffffff16816080015163ffffffff1610611da75773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da09190613473565b6078611c11565b6040810151600a611c11565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611e588561112c565b6040518263ffffffff1660e01b8152600401611e7691815260200190565b600060405180830381865afa158015611e93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ebb919081019061334f565b80519091501561085a57808060200190518101906108539190613ba1565b60008060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f519190613588565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b9060440161120c565b611fef60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af415801561205e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120829190613473565b6040518263ffffffff1660e01b81526004016120a091815260200190565b600060405180830381865afa1580156120bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120e5919081019061334f565b80519091501561085a57808060200190518101906108539190613d4c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c3b565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61217d85610f5c565b6040518263ffffffff1660e01b815260040161219b91815260200190565b600060405180830381865afa1580156121b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121e0919081019061334f565b80519091501561085a578080602001905181019061085391906139e8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610c3b565b60408051610100810182526000808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201526000916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156122dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123009190613473565b6040518263ffffffff1660e01b815260040161231e91815260200190565b600060405180830381865afa15801561233b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612363919081019061334f565b80519091501561085a57808060200190518101906108539190613e43565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611229573d6000803e3d6000fd5b60405180610120016040528060006001600160601b0316815260200160006001600160601b0316815260200161242d604051806040016040528060008152602001600081525090565b815260200161244f604051806040016040528060008152602001600081525090565b8152602001612471604051806040016040528060008152602001600081525090565b8152602001612493604051806040016040528060008152602001600081525090565b81526020016124b5604051806040016040528060008152602001600081525090565b81526020016124d7604051806040016040528060008152602001600081525090565b81526020016124f9604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612536604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e083018290528351808501909452818452830152906101008201906124b5565b6001600160601b03811681146125c957600080fd5b50565b6000602082840312156125de57600080fd5b8135610853816125b4565b6000602082840312156125fb57600080fd5b5035919050565b81516001600160601b0316815260208083015161020083019161262f908401826001600160601b03169052565b50604083015161264c604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006126998185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610df7565b600080604083850312156126f857600080fd5b8235915060208301358060000b811461271057600080fd5b809150509250929050565b6001600160c01b0319811681146125c957600080fd5b60006020828403121561274357600080fd5b81356108538161271b565b60005b83811015612769578181015183820152602001612751565b50506000910152565b6000815180845261278a81602086016020860161274e565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526127ce610100840182612772565b90506040840151606084015263ffffffff6060850151166080840152608084015161280160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128308282612772565b95945050505050565b6001600160a01b03811681146125c957600080fd5b60006020828403121561286057600080fd5b813561085381612839565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526128a960c0840182612772565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156128eb57600080fd5b82356128f6816125b4565b9150602083013562ffffff8116811461271057600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261294b60a0840182612772565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156129a0576129a0612968565b60405290565b604080519081016001600160401b03811182821017156129a0576129a0612968565b60405161012081016001600160401b03811182821017156129a0576129a0612968565b60405160e081016001600160401b03811182821017156129a0576129a0612968565b60405160a081016001600160401b03811182821017156129a0576129a0612968565b60405160c081016001600160401b03811182821017156129a0576129a0612968565b60405161016081016001600160401b03811182821017156129a0576129a0612968565b60405161022081016001600160401b03811182821017156129a0576129a0612968565b60405161010081016001600160401b03811182821017156129a0576129a0612968565b604051601f8201601f191681016001600160401b0381118282101715612ae257612ae2612968565b604052919050565b60006001600160401b03821115612b0357612b03612968565b50601f01601f191660200190565b60008060408385031215612b2457600080fd5b8235612b2f816125b4565b915060208301356001600160401b03811115612b4a57600080fd5b8301601f81018513612b5b57600080fd5b8035612b6e612b6982612aea565b612aba565b818152866020838501011115612b8357600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526001600160601b03825116602082015260006020830151612bd5604084018280518252602090810151910152565b50604083015160e06080840152612bf0610100840182612772565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c081016020830151612c5560208401826001600160401b03169052565b506040830151612c7060408401826001600160601b03169052565b506060830151612c84606084018215159052565b506080830151612c98608084018215159052565b5060a0830151612cac60a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151612cde8285018280518252602090810151910152565b5050610120830151610140612cff8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610df7565b6001600160401b03811681146125c957600080fd5b60008060408385031215612d4457600080fd5b8235612d4f81612839565b9150602083013561271081612d1c565b61ffff811681146125c957600080fd5b60008060408385031215612d8257600080fd5b8235612d8d816125b4565b9150602083013561271081612d5f565b602081526001600160601b03825116602082015260006020830151604080840152612dcb6060840182612772565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151612e18608084018260ff169052565b50608083015160e060a0840152612e33610100840182612772565b905060a0840151601f198483030160c0850152612e508282612772565b91505060c0840151612e6b60e085018264ffffffffff169052565b509392505050565b60208152612e8d6020820183516001600160601b03169052565b60006020830151612ea960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100612f2f8185018364ffffffffff169052565b808501519150506102206101208181860152612f4f610240860184612772565b9250808601519050610140601f198685030181870152612f6f8483612772565b935080870151915050610160612f8a8187018361ffff169052565b8601519050610180612fa18682018361ffff169052565b86015190506101a0612fbd868201836001600160601b03169052565b86015190506101c0612fd9868201836001600160601b03169052565b86015190506101e0612ff38682018364ffffffffff169052565b860151905061020061300d8682018364ffffffffff169052565b86015164ffffffffff81168387015290505b5090949350505050565b6020815260008251610120806020850152613048610140850183612772565b9150602085015160408501526040850151606085015260608501516080850152608085015161307f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006130b58187018315159052565b860151858403601f19018387015290506130cf8382612772565b9695505050505050565b602081526000825160c060208401526130f560e0840182612772565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526128308282612772565b60006020828403121561316557600080fd5b813561085381612d1c565b6020815261318a6020820183516001600160601b03169052565b600060208301516101008060408501526131a8610120850183612772565b915060408501516131c460608601826001600160601b03169052565b506060850151601f19808685030160808701526131e18483612772565b935060808701519150808685030160a0870152506131ff8382612772565b92505060a085015161321a60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e08501518015158583015261301f565b805161324a816125b4565b919050565b60006020828403121561326157600080fd5b8151610853816125b4565b60ff811681146125c957600080fd5b805161324a8161326c565b63ffffffff811681146125c957600080fd5b805161324a81613286565b6000608082840312156132b557600080fd5b6132bd61297e565b82516132c88161326c565b815260208301516132d88161326c565b602082015260408301516132eb81613286565b604082015260608301516132fe81613286565b60608201529392505050565b600082601f83011261331b57600080fd5b8151613329612b6982612aea565b81815284602083860101111561333e57600080fd5b612dcb82602083016020870161274e565b60006020828403121561336157600080fd5b81516001600160401b0381111561337757600080fd5b612dcb8482850161330a565b60006040828403121561339557600080fd5b61339d6129a6565b9050815181526020820151602082015292915050565b600061020082840312156133c657600080fd5b6133ce6129c8565b6133d78361323f565b81526133e56020840161323f565b60208201526133f78460408501613383565b60408201526134098460808501613383565b606082015261341b8460c08501613383565b608082015261010061342f85828601613383565b60a0830152613442856101408601613383565b60c0830152613455856101808601613383565b60e0830152613468856101c08601613383565b908201529392505050565b60006020828403121561348557600080fd5b5051919050565b64ffffffffff811681146125c957600080fd5b805161324a8161348c565b6000602082840312156134bc57600080fd5b81516001600160401b03808211156134d357600080fd5b9083019060e082860312156134e757600080fd5b6134ef6129eb565b6134f88361323f565b815260208301518281111561350c57600080fd5b6135188782860161330a565b6020830152506040830151604082015261353460608401613298565b606082015261354560808401613298565b608082015261355660a0840161349f565b60a082015260c08301518281111561356d57600080fd5b6135798782860161330a565b60c08301525095945050505050565b60006020828403121561359a57600080fd5b815161085381612839565b8051801515811461324a57600080fd5b6000602082840312156135c757600080fd5b610853826135a5565b805161324a8161271b565b6000602082840312156135ed57600080fd5b81516001600160401b038082111561360457600080fd5b9083019060a0828603121561361857600080fd5b613620612a0d565b825161362b8161271b565b8152613639602084016135a5565b602082015260408301518281111561365057600080fd5b61365c8782860161330a565b60408301525060608301519150613672826125b4565b8160608201526080830151925061368883613286565b6080810192909252509392505050565b805161324a81612d5f565b6000602082840312156136b557600080fd5b81516001600160401b03808211156136cc57600080fd5b90830190608082860312156136e057600080fd5b6136e861297e565b82516136f381612d5f565b81526020830151613703816125b4565b602082015260408301518281111561371a57600080fd5b6137268782860161330a565b6040830152506060830151925061373c8361348c565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612dcb6040830184612772565b60006020828403121561378057600080fd5b81516108538161271b565b60006020828403121561379d57600080fd5b81516001600160401b03808211156137b457600080fd5b9083019060e082860312156137c857600080fd5b6137d0612a2f565b82516137db816125b4565b81526137ea8660208501613383565b602082015260608301518281111561380157600080fd5b61380d8782860161330a565b604083015250608083015191506138238261348c565b81606082015261383560a0840161349f565b608082015261384660c0840161349f565b60a082015295945050505050565b805161324a81612d1c565b60006101c0828403121561387257600080fd5b61387a612a51565b6138838361323f565b815261389160208401613854565b60208201526138a26040840161323f565b60408201526138b3606084016135a5565b60608201526138c4608084016135a5565b60808201526138d560a084016135a5565b60a082015260c083015160c082015260e083015160e08201526101006138fd85828601613383565b9082015261014061391085858301613383565b610120830152613468856101808601613383565b60006020828403121561393657600080fd5b81516108538161326c565b60006020828403121561395357600080fd5b81516108538161348c565b60006020828403121561397057600080fd5b81516001600160401b038082111561398757600080fd5b908301906040828603121561399b57600080fd5b6139a36129a6565b82516139ae816125b4565b81526020830151828111156139c257600080fd5b6139ce8782860161330a565b60208301525095945050505050565b805161324a81612839565b6000602082840312156139fa57600080fd5b81516001600160401b0380821115613a1157600080fd5b9083019060c08286031215613a2557600080fd5b613a2d612a2f565b825182811115613a3c57600080fd5b613a488782860161330a565b825250613a576020840161323f565b6020820152613a68604084016139dd565b6040820152613a79606084016139dd565b6060820152613a8a608084016139dd565b608082015260a083015182811115613aa157600080fd5b613aad8782860161330a565b60a08301525095945050505050565b600060208284031215613ace57600080fd5b81516001600160401b0380821115613ae557600080fd5b9083019060e08286031215613af957600080fd5b613b016129eb565b613b0a8361323f565b8152613b186020840161323f565b6020820152613b296040840161327b565b6040820152613b3a6060840161327b565b6060820152608083015182811115613b5157600080fd5b613b5d8782860161330a565b60808301525060a083015182811115613b7557600080fd5b613b818782860161330a565b60a083015250613b9360c0840161349f565b60c082015295945050505050565b600060208284031215613bb357600080fd5b81516001600160401b0380821115613bca57600080fd5b908301906102208286031215613bdf57600080fd5b613be7612a74565b613bf08361323f565b8152613bfe6020840161323f565b6020820152613c0f604084016135d0565b6040820152613c20606084016135d0565b6060820152613c316080840161323f565b6080820152613c4260a0840161323f565b60a0820152613c5360c0840161323f565b60c0820152613c6460e0840161349f565b60e08201526101008084015183811115613c7d57600080fd5b613c898882870161330a565b8284015250506101208084015183811115613ca357600080fd5b613caf8882870161330a565b8284015250506101409150613cc5828401613698565b828201526101609150613cd9828401613698565b828201526101809150613ced82840161323f565b828201526101a09150613d0182840161323f565b828201526101c09150613d1582840161349f565b828201526101e09150613d2982840161349f565b828201526102009150613d3d82840161349f565b91810191909152949350505050565b600060208284031215613d5e57600080fd5b81516001600160401b0380821115613d7557600080fd5b908301906101208286031215613d8a57600080fd5b613d926129c8565b825182811115613da157600080fd5b613dad8782860161330a565b825250602083015160208201526040830151604082015260608301516060820152613dda60808401613298565b6080820152613deb60a08401613298565b60a0820152613dfc60c084016135a5565b60c0820152613e0d60e084016135a5565b60e08201526101008084015183811115613e2657600080fd5b613e328882870161330a565b918301919091525095945050505050565b600060208284031215613e5557600080fd5b81516001600160401b0380821115613e6c57600080fd5b908301906101008286031215613e8157600080fd5b613e89612a97565b613e928361323f565b8152602083015182811115613ea657600080fd5b613eb28782860161330a565b602083015250613ec46040840161323f565b6040820152606083015182811115613edb57600080fd5b613ee78782860161330a565b606083015250608083015182811115613eff57600080fd5b613f0b8782860161330a565b608083015250613f1d60a0840161349f565b60a0820152613f2e60c0840161349f565b60c0820152613f3f60e084016135a5565b60e08201529594505050505056fea2646970667358221220ff18ebd539d398db8b54f270f3fde8595368f80e9540756605f822ad91bb701864736f6c63430008140033",
1426
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c806378ae93501161013b578063b82d7ef5116100b8578063dd26287a1161007c578063dd26287a1461063c578063de7b5d141461064f578063f0ea17c314610665578063f7f318d314610685578063febe92af1461069857600080fd5b8063b82d7ef5146105ae578063bd7d9d85146105d8578063cd55e51b146105f8578063d06458c61461060b578063d4cda0d81461062b57600080fd5b80638eb9000d116100ff5780638eb9000d146104e05780639096a1f3146104f3578063a310e2a314610506578063a5961b4c14610531578063a7ef3d211461058e57600080fd5b806378ae93501461047f5780637bfd3217146104925780637e54602a146104a55780638129fc1c146104b8578063887b1fa9146104c057600080fd5b80633f093cd6116101c95780635da894021161018d5780635da894021461041e57806364eb3a9b1461043157806364fc3142146104445780636791f7ab1461045757806375d357df1461046c57600080fd5b80633f093cd61461038c57806344aa6836146103b85780634793b4ab146103cb5780634fb784f5146103eb57806357f80bbf146103fe57600080fd5b8063228e42ec11610210578063228e42ec1461030357806326decd401461031657806327b1d7921461033957806335898f5d1461035957806339bb60cd1461036c57600080fd5b80630232ca491461024d57806309648a9d1461027d5780630b5d931c146102a25780631488c845146102c25780631d3be477146102e3575b600080fd5b61026061025b3660046125cc565b6106b8565b6040516001600160601b0390911681526020015b60405180910390f35b61029061028b3660046125e9565b610735565b60405160ff9091168152602001610274565b6102b56102b03660046125cc565b6107ad565b6040516102749190612602565b6102d56102d03660046126e5565b610860565b604051908152602001610274565b6102f66102f1366004612731565b6108df565b604051610274919061279e565b6102606103113660046125cc565b610a2b565b61032961032436600461284e565b610a65565b6040519015158152602001610274565b61034c6103473660046125cc565b610b48565b604051610274919061286b565b6102d56103673660046125cc565b610c12565b61037f61037a3660046128d8565b610cac565b604051610274919061290e565b61039f61039a366004612b11565b610dfe565b6040516001600160c01b03199091168152602001610274565b6102d56103c63660046125e9565b610e7b565b6103de6103d93660046125cc565b610eb6565b6040516102749190612ba3565b6102d56103f93660046125cc565b610f5c565b61041161040c3660046125cc565b610f89565b6040516102749190612c29565b61029061042c3660046128d8565b61102f565b6102d561043f3660046125cc565b61112c565b610329610452366004612d31565b611159565b61046a61046536600461284e565b61124d565b005b61032961047a3660046125cc565b611324565b61029061048d366004612d6f565b6115b3565b6102d56104a03660046125cc565b611613565b6102d56104b33660046125cc565b611640565b61046a61166d565b6104d36104ce366004612731565b61169c565b6040516102749190612d9d565b6102606104ee3660046125cc565b6117c5565b6102906105013660046125cc565b6117ff565b6105196105143660046125cc565b61187b565b6040516001600160a01b039091168152602001610274565b61054461053f3660046125e9565b611929565b6040516102749190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b6105a161059c366004612d6f565b6119b6565b6040516102749190612dd3565b6105c16105bc366004612731565b611b0b565b6040805192835260ff909116602083015201610274565b6105eb6105e63660046125cc565b611db3565b6040516102749190612e73565b610329610606366004612d31565b611ed9565b61061e610619366004612731565b611f90565b6040516102749190613029565b6001546001600160a01b0316610519565b6102d561064a3660046125cc565b612103565b60005461010090046001600160a01b0316610519565b6106786106733660046125cc565b612130565b60405161027491906130d9565b6102d56106933660046125cc565b6121fe565b6106ab6106a6366004613153565b61222b565b6040516102749190613170565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa15801561070b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f919061324f565b92915050565b60015460405163296586d360e21b8152600481018390526000916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a391906132a3565b6020015192915050565b6107b56123e4565b6001546000906001600160a01b03166354f6127f6107d285611613565b6040518263ffffffff1660e01b81526004016107f091815260200190565b600060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610835919081019061334f565b80519091501561085a578080602001905181019061085391906133b3565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190613473565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa9190613473565b6040518263ffffffff1660e01b81526004016109c891815260200190565b600060405180830381865afa1580156109e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a0d919081019061334f565b80519091501561085a578080602001905181019061085391906134aa565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec906024016106ee565b60008060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610add9190613588565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f91906135b5565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f610b9185611640565b6040518263ffffffff1660e01b8152600401610baf91815260200190565b600060405180830381865afa158015610bcc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bf4919081019061334f565b80519091501561085a578080602001905181019061085391906135db565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f9190613473565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e9190613473565b6040518263ffffffff1660e01b8152600401610d8c91815260200190565b600060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd1919081019061334f565b805190915015610df75780806020019051810190610def91906136a3565b91505061072f565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e3a908690869060040161374c565b602060405180830381865af4158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610853919061376e565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c6b565b610ebe6124fe565b6001546000906001600160a01b03166354f6127f610edb856121fe565b6040518263ffffffff1660e01b8152600401610ef991815260200190565b600060405180830381865afa158015610f16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f3e919081019061334f565b80519091501561085a5780806020019051810190610853919061378b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c3b565b610f91612559565b6001546000906001600160a01b03166354f6127f610fae85612103565b6040518263ffffffff1660e01b8152600401610fcc91815260200190565b600060405180830381865afa158015610fe9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611011919081019061334f565b80519091501561085a5780806020019051810190610853919061385f565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156110a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cd9190613473565b6040518263ffffffff1660e01b81526004016110eb91815260200190565b602060405180830381865afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190613924565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c3b565b60008060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d19190613588565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085391906135b5565b60005460ff16156112715760405163ae9eff1b60e01b815260040160405180910390fd5b600080546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190613588565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b60008061133083611db3565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561138e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b291906135b5565b156113c05750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561141d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144191906135b5565b1561144f5750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156114ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d091906135b5565b156114de5750600092915050565b61016081015161ffff16156114f65750600092915050565b6115098161018001518260800151612381565b156115175750600192915050565b61159c73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115879190613941565b826101e0015164ffffffffff90811691161090565b156115aa5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161108c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c3b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610c3b565b60005460ff16156116915760405163ae9eff1b60e01b815260040160405180910390fd5b61169a3361124d565b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117449190613473565b6040518263ffffffff1660e01b815260040161176291815260200190565b600060405180830381865afa15801561177f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a7919081019061334f565b80519091501561085a5780806020019051810190610853919061395e565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d906024016106ee565b6001546000906001600160a01b03166309648a9d61181c8461112c565b6040518263ffffffff1660e01b815260040161183a91815260200190565b602060405180830381865afa158015611857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f9190613924565b60015460009081906001600160a01b03166354f6127f61189a85610f5c565b6040518263ffffffff1660e01b81526004016118b891815260200190565b600060405180830381865afa1580156118d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118fd919081019061334f565b80519091501561085a5760008180602001905181019061191d91906139e8565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611992573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072f91906132a3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8a9190613473565b6040518263ffffffff1660e01b8152600401611aa891815260200190565b600060405180830381865afa158015611ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aed919081019061334f565b805190915015610df75780806020019051810190610def9190613abc565b6000806000611b19846108df565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9c91906135b5565b15611c1b5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0e9190613473565b60645b9250925050915091565b611c9f8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c909190613941565b64ffffffffff90811691161090565b15611d185773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ced573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d119190613473565b606e611c11565b806060015163ffffffff16816080015163ffffffff1610611da75773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da09190613473565b6078611c11565b6040810151600a611c11565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611e588561112c565b6040518263ffffffff1660e01b8152600401611e7691815260200190565b600060405180830381865afa158015611e93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ebb919081019061334f565b80519091501561085a57808060200190518101906108539190613ba1565b60008060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f519190613588565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b9060440161120c565b611fef60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af415801561205e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120829190613473565b6040518263ffffffff1660e01b81526004016120a091815260200190565b600060405180830381865afa1580156120bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120e5919081019061334f565b80519091501561085a57808060200190518101906108539190613d4c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c3b565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61217d85610f5c565b6040518263ffffffff1660e01b815260040161219b91815260200190565b600060405180830381865afa1580156121b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121e0919081019061334f565b80519091501561085a578080602001905181019061085391906139e8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610c3b565b60408051610100810182526000808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201526000916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156122dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123009190613473565b6040518263ffffffff1660e01b815260040161231e91815260200190565b600060405180830381865afa15801561233b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612363919081019061334f565b80519091501561085a57808060200190518101906108539190613e43565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611229573d6000803e3d6000fd5b60405180610120016040528060006001600160601b0316815260200160006001600160601b0316815260200161242d604051806040016040528060008152602001600081525090565b815260200161244f604051806040016040528060008152602001600081525090565b8152602001612471604051806040016040528060008152602001600081525090565b8152602001612493604051806040016040528060008152602001600081525090565b81526020016124b5604051806040016040528060008152602001600081525090565b81526020016124d7604051806040016040528060008152602001600081525090565b81526020016124f9604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612536604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e083018290528351808501909452818452830152906101008201906124b5565b6001600160601b03811681146125c957600080fd5b50565b6000602082840312156125de57600080fd5b8135610853816125b4565b6000602082840312156125fb57600080fd5b5035919050565b81516001600160601b0316815260208083015161020083019161262f908401826001600160601b03169052565b50604083015161264c604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006126998185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610df7565b600080604083850312156126f857600080fd5b8235915060208301358060000b811461271057600080fd5b809150509250929050565b6001600160c01b0319811681146125c957600080fd5b60006020828403121561274357600080fd5b81356108538161271b565b60005b83811015612769578181015183820152602001612751565b50506000910152565b6000815180845261278a81602086016020860161274e565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526127ce610100840182612772565b90506040840151606084015263ffffffff6060850151166080840152608084015161280160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128308282612772565b95945050505050565b6001600160a01b03811681146125c957600080fd5b60006020828403121561286057600080fd5b813561085381612839565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526128a960c0840182612772565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156128eb57600080fd5b82356128f6816125b4565b9150602083013562ffffff8116811461271057600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261294b60a0840182612772565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156129a0576129a0612968565b60405290565b604080519081016001600160401b03811182821017156129a0576129a0612968565b60405161012081016001600160401b03811182821017156129a0576129a0612968565b60405160e081016001600160401b03811182821017156129a0576129a0612968565b60405160a081016001600160401b03811182821017156129a0576129a0612968565b60405160c081016001600160401b03811182821017156129a0576129a0612968565b60405161016081016001600160401b03811182821017156129a0576129a0612968565b60405161022081016001600160401b03811182821017156129a0576129a0612968565b60405161010081016001600160401b03811182821017156129a0576129a0612968565b604051601f8201601f191681016001600160401b0381118282101715612ae257612ae2612968565b604052919050565b60006001600160401b03821115612b0357612b03612968565b50601f01601f191660200190565b60008060408385031215612b2457600080fd5b8235612b2f816125b4565b915060208301356001600160401b03811115612b4a57600080fd5b8301601f81018513612b5b57600080fd5b8035612b6e612b6982612aea565b612aba565b818152866020838501011115612b8357600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526001600160601b03825116602082015260006020830151612bd5604084018280518252602090810151910152565b50604083015160e06080840152612bf0610100840182612772565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c081016020830151612c5560208401826001600160401b03169052565b506040830151612c7060408401826001600160601b03169052565b506060830151612c84606084018215159052565b506080830151612c98608084018215159052565b5060a0830151612cac60a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151612cde8285018280518252602090810151910152565b5050610120830151610140612cff8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610df7565b6001600160401b03811681146125c957600080fd5b60008060408385031215612d4457600080fd5b8235612d4f81612839565b9150602083013561271081612d1c565b61ffff811681146125c957600080fd5b60008060408385031215612d8257600080fd5b8235612d8d816125b4565b9150602083013561271081612d5f565b602081526001600160601b03825116602082015260006020830151604080840152612dcb6060840182612772565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151612e18608084018260ff169052565b50608083015160e060a0840152612e33610100840182612772565b905060a0840151601f198483030160c0850152612e508282612772565b91505060c0840151612e6b60e085018264ffffffffff169052565b509392505050565b60208152612e8d6020820183516001600160601b03169052565b60006020830151612ea960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100612f2f8185018364ffffffffff169052565b808501519150506102206101208181860152612f4f610240860184612772565b9250808601519050610140601f198685030181870152612f6f8483612772565b935080870151915050610160612f8a8187018361ffff169052565b8601519050610180612fa18682018361ffff169052565b86015190506101a0612fbd868201836001600160601b03169052565b86015190506101c0612fd9868201836001600160601b03169052565b86015190506101e0612ff38682018364ffffffffff169052565b860151905061020061300d8682018364ffffffffff169052565b86015164ffffffffff81168387015290505b5090949350505050565b6020815260008251610120806020850152613048610140850183612772565b9150602085015160408501526040850151606085015260608501516080850152608085015161307f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006130b58187018315159052565b860151858403601f19018387015290506130cf8382612772565b9695505050505050565b602081526000825160c060208401526130f560e0840182612772565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526128308282612772565b60006020828403121561316557600080fd5b813561085381612d1c565b6020815261318a6020820183516001600160601b03169052565b600060208301516101008060408501526131a8610120850183612772565b915060408501516131c460608601826001600160601b03169052565b506060850151601f19808685030160808701526131e18483612772565b935060808701519150808685030160a0870152506131ff8382612772565b92505060a085015161321a60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e08501518015158583015261301f565b805161324a816125b4565b919050565b60006020828403121561326157600080fd5b8151610853816125b4565b60ff811681146125c957600080fd5b805161324a8161326c565b63ffffffff811681146125c957600080fd5b805161324a81613286565b6000608082840312156132b557600080fd5b6132bd61297e565b82516132c88161326c565b815260208301516132d88161326c565b602082015260408301516132eb81613286565b604082015260608301516132fe81613286565b60608201529392505050565b600082601f83011261331b57600080fd5b8151613329612b6982612aea565b81815284602083860101111561333e57600080fd5b612dcb82602083016020870161274e565b60006020828403121561336157600080fd5b81516001600160401b0381111561337757600080fd5b612dcb8482850161330a565b60006040828403121561339557600080fd5b61339d6129a6565b9050815181526020820151602082015292915050565b600061020082840312156133c657600080fd5b6133ce6129c8565b6133d78361323f565b81526133e56020840161323f565b60208201526133f78460408501613383565b60408201526134098460808501613383565b606082015261341b8460c08501613383565b608082015261010061342f85828601613383565b60a0830152613442856101408601613383565b60c0830152613455856101808601613383565b60e0830152613468856101c08601613383565b908201529392505050565b60006020828403121561348557600080fd5b5051919050565b64ffffffffff811681146125c957600080fd5b805161324a8161348c565b6000602082840312156134bc57600080fd5b81516001600160401b03808211156134d357600080fd5b9083019060e082860312156134e757600080fd5b6134ef6129eb565b6134f88361323f565b815260208301518281111561350c57600080fd5b6135188782860161330a565b6020830152506040830151604082015261353460608401613298565b606082015261354560808401613298565b608082015261355660a0840161349f565b60a082015260c08301518281111561356d57600080fd5b6135798782860161330a565b60c08301525095945050505050565b60006020828403121561359a57600080fd5b815161085381612839565b8051801515811461324a57600080fd5b6000602082840312156135c757600080fd5b610853826135a5565b805161324a8161271b565b6000602082840312156135ed57600080fd5b81516001600160401b038082111561360457600080fd5b9083019060a0828603121561361857600080fd5b613620612a0d565b825161362b8161271b565b8152613639602084016135a5565b602082015260408301518281111561365057600080fd5b61365c8782860161330a565b60408301525060608301519150613672826125b4565b8160608201526080830151925061368883613286565b6080810192909252509392505050565b805161324a81612d5f565b6000602082840312156136b557600080fd5b81516001600160401b03808211156136cc57600080fd5b90830190608082860312156136e057600080fd5b6136e861297e565b82516136f381612d5f565b81526020830151613703816125b4565b602082015260408301518281111561371a57600080fd5b6137268782860161330a565b6040830152506060830151925061373c8361348c565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612dcb6040830184612772565b60006020828403121561378057600080fd5b81516108538161271b565b60006020828403121561379d57600080fd5b81516001600160401b03808211156137b457600080fd5b9083019060e082860312156137c857600080fd5b6137d0612a2f565b82516137db816125b4565b81526137ea8660208501613383565b602082015260608301518281111561380157600080fd5b61380d8782860161330a565b604083015250608083015191506138238261348c565b81606082015261383560a0840161349f565b608082015261384660c0840161349f565b60a082015295945050505050565b805161324a81612d1c565b60006101c0828403121561387257600080fd5b61387a612a51565b6138838361323f565b815261389160208401613854565b60208201526138a26040840161323f565b60408201526138b3606084016135a5565b60608201526138c4608084016135a5565b60808201526138d560a084016135a5565b60a082015260c083015160c082015260e083015160e08201526101006138fd85828601613383565b9082015261014061391085858301613383565b610120830152613468856101808601613383565b60006020828403121561393657600080fd5b81516108538161326c565b60006020828403121561395357600080fd5b81516108538161348c565b60006020828403121561397057600080fd5b81516001600160401b038082111561398757600080fd5b908301906040828603121561399b57600080fd5b6139a36129a6565b82516139ae816125b4565b81526020830151828111156139c257600080fd5b6139ce8782860161330a565b60208301525095945050505050565b805161324a81612839565b6000602082840312156139fa57600080fd5b81516001600160401b0380821115613a1157600080fd5b9083019060c08286031215613a2557600080fd5b613a2d612a2f565b825182811115613a3c57600080fd5b613a488782860161330a565b825250613a576020840161323f565b6020820152613a68604084016139dd565b6040820152613a79606084016139dd565b6060820152613a8a608084016139dd565b608082015260a083015182811115613aa157600080fd5b613aad8782860161330a565b60a08301525095945050505050565b600060208284031215613ace57600080fd5b81516001600160401b0380821115613ae557600080fd5b9083019060e08286031215613af957600080fd5b613b016129eb565b613b0a8361323f565b8152613b186020840161323f565b6020820152613b296040840161327b565b6040820152613b3a6060840161327b565b6060820152608083015182811115613b5157600080fd5b613b5d8782860161330a565b60808301525060a083015182811115613b7557600080fd5b613b818782860161330a565b60a083015250613b9360c0840161349f565b60c082015295945050505050565b600060208284031215613bb357600080fd5b81516001600160401b0380821115613bca57600080fd5b908301906102208286031215613bdf57600080fd5b613be7612a74565b613bf08361323f565b8152613bfe6020840161323f565b6020820152613c0f604084016135d0565b6040820152613c20606084016135d0565b6060820152613c316080840161323f565b6080820152613c4260a0840161323f565b60a0820152613c5360c0840161323f565b60c0820152613c6460e0840161349f565b60e08201526101008084015183811115613c7d57600080fd5b613c898882870161330a565b8284015250506101208084015183811115613ca357600080fd5b613caf8882870161330a565b8284015250506101409150613cc5828401613698565b828201526101609150613cd9828401613698565b828201526101809150613ced82840161323f565b828201526101a09150613d0182840161323f565b828201526101c09150613d1582840161349f565b828201526101e09150613d2982840161349f565b828201526102009150613d3d82840161349f565b91810191909152949350505050565b600060208284031215613d5e57600080fd5b81516001600160401b0380821115613d7557600080fd5b908301906101208286031215613d8a57600080fd5b613d926129c8565b825182811115613da157600080fd5b613dad8782860161330a565b825250602083015160208201526040830151604082015260608301516060820152613dda60808401613298565b6080820152613deb60a08401613298565b60a0820152613dfc60c084016135a5565b60c0820152613e0d60e084016135a5565b60e08201526101008084015183811115613e2657600080fd5b613e328882870161330a565b918301919091525095945050505050565b600060208284031215613e5557600080fd5b81516001600160401b0380821115613e6c57600080fd5b908301906101008286031215613e8157600080fd5b613e89612a97565b613e928361323f565b8152602083015182811115613ea657600080fd5b613eb28782860161330a565b602083015250613ec46040840161323f565b6040820152606083015182811115613edb57600080fd5b613ee78782860161330a565b606083015250608083015182811115613eff57600080fd5b613f0b8782860161330a565b608083015250613f1d60a0840161349f565b60a0820152613f2e60c0840161349f565b60c0820152613f3f60e084016135a5565b60e08201529594505050505056fea2646970667358221220ff18ebd539d398db8b54f270f3fde8595368f80e9540756605f822ad91bb701864736f6c63430008140033",
1083
1427
  "linkReferences": {
1084
- "contracts/types/DistributorType.sol": {
1428
+ "contracts/type/Amount.sol": {
1429
+ "AmountLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 9172
1433
+ }
1434
+ ]
1435
+ },
1436
+ "contracts/type/ClaimId.sol": {
1437
+ "ClaimIdLib": [
1438
+ {
1439
+ "length": 20,
1440
+ "start": 5659
1441
+ },
1442
+ {
1443
+ "length": 20,
1444
+ "start": 6742
1445
+ }
1446
+ ]
1447
+ },
1448
+ "contracts/type/DistributorType.sol": {
1085
1449
  "DistributorTypeLib": [
1086
1450
  {
1087
1451
  "length": 20,
1088
- "start": 6188
1452
+ "start": 8270
1089
1453
  }
1090
1454
  ]
1091
1455
  },
1092
- "contracts/types/NftId.sol": {
1456
+ "contracts/type/NftId.sol": {
1093
1457
  "NftIdLib": [
1094
1458
  {
1095
1459
  "length": 20,
1096
- "start": 289
1460
+ "start": 3136
1097
1461
  },
1098
1462
  {
1099
1463
  "length": 20,
1100
- "start": 3257
1464
+ "start": 3978
1101
1465
  },
1102
1466
  {
1103
1467
  "length": 20,
1104
- "start": 3597
1468
+ "start": 4442
1105
1469
  },
1106
1470
  {
1107
1471
  "length": 20,
1108
- "start": 3992
1472
+ "start": 4990
1109
1473
  },
1110
1474
  {
1111
1475
  "length": 20,
1112
- "start": 4037
1476
+ "start": 5697
1113
1477
  },
1114
1478
  {
1115
1479
  "length": 20,
1116
- "start": 4082
1480
+ "start": 5742
1117
1481
  },
1118
1482
  {
1119
1483
  "length": 20,
1120
- "start": 6415
1484
+ "start": 8497
1485
+ },
1486
+ {
1487
+ "length": 20,
1488
+ "start": 8748
1489
+ }
1490
+ ]
1491
+ },
1492
+ "contracts/type/PayoutId.sol": {
1493
+ "PayoutIdLib": [
1494
+ {
1495
+ "length": 20,
1496
+ "start": 3386
1121
1497
  },
1122
1498
  {
1123
1499
  "length": 20,
1124
- "start": 6670
1500
+ "start": 4248
1125
1501
  }
1126
1502
  ]
1127
1503
  },
1128
- "contracts/types/Referral.sol": {
1504
+ "contracts/type/Referral.sol": {
1129
1505
  "ReferralLib": [
1130
1506
  {
1131
1507
  "length": 20,
1132
- "start": 3017
1508
+ "start": 2422
1133
1509
  },
1134
1510
  {
1135
1511
  "length": 20,
1136
- "start": 3656
1512
+ "start": 3642
1513
+ }
1514
+ ]
1515
+ },
1516
+ "contracts/type/RequestId.sol": {
1517
+ "RequestIdLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 8908
1137
1521
  }
1138
1522
  ]
1139
1523
  },
1140
- "contracts/types/RiskId.sol": {
1524
+ "contracts/type/RiskId.sol": {
1141
1525
  "RiskIdLib": [
1142
1526
  {
1143
1527
  "length": 20,
1144
- "start": 4197
1528
+ "start": 5904
1145
1529
  }
1146
1530
  ]
1147
1531
  },
1148
- "contracts/types/Timestamp.sol": {
1532
+ "contracts/type/Timestamp.sol": {
1149
1533
  "TimestampLib": [
1150
1534
  {
1151
1535
  "length": 20,
1152
- "start": 5125
1536
+ "start": 5133
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 5276
1541
+ },
1542
+ {
1543
+ "length": 20,
1544
+ "start": 5446
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 7016
1153
1549
  },
1154
1550
  {
1155
1551
  "length": 20,
1156
- "start": 5356
1552
+ "start": 7247
1157
1553
  }
1158
1554
  ]
1159
1555
  },
1160
- "contracts/types/UFixed.sol": {
1556
+ "contracts/type/UFixed.sol": {
1161
1557
  "UFixedLib": [
1162
1558
  {
1163
1559
  "length": 20,
1164
- "start": 2805
1560
+ "start": 2219
1165
1561
  },
1166
1562
  {
1167
1563
  "length": 20,
1168
- "start": 3788
1564
+ "start": 3774
1169
1565
  },
1170
1566
  {
1171
1567
  "length": 20,
1172
- "start": 5226
1568
+ "start": 7117
1173
1569
  },
1174
1570
  {
1175
1571
  "length": 20,
1176
- "start": 5485
1572
+ "start": 7376
1177
1573
  },
1178
1574
  {
1179
1575
  "length": 20,
1180
- "start": 5628
1576
+ "start": 7519
1181
1577
  }
1182
1578
  ]
1183
1579
  }
1184
1580
  },
1185
1581
  "deployedLinkReferences": {
1186
- "contracts/types/DistributorType.sol": {
1582
+ "contracts/type/Amount.sol": {
1583
+ "AmountLib": [
1584
+ {
1585
+ "length": 20,
1586
+ "start": 9130
1587
+ }
1588
+ ]
1589
+ },
1590
+ "contracts/type/ClaimId.sol": {
1591
+ "ClaimIdLib": [
1592
+ {
1593
+ "length": 20,
1594
+ "start": 5617
1595
+ },
1596
+ {
1597
+ "length": 20,
1598
+ "start": 6700
1599
+ }
1600
+ ]
1601
+ },
1602
+ "contracts/type/DistributorType.sol": {
1187
1603
  "DistributorTypeLib": [
1188
1604
  {
1189
1605
  "length": 20,
1190
- "start": 4647
1606
+ "start": 8228
1191
1607
  }
1192
1608
  ]
1193
1609
  },
1194
- "contracts/types/NftId.sol": {
1610
+ "contracts/type/NftId.sol": {
1195
1611
  "NftIdLib": [
1196
1612
  {
1197
1613
  "length": 20,
1198
- "start": 1716
1614
+ "start": 3094
1615
+ },
1616
+ {
1617
+ "length": 20,
1618
+ "start": 3936
1619
+ },
1620
+ {
1621
+ "length": 20,
1622
+ "start": 4400
1199
1623
  },
1200
1624
  {
1201
1625
  "length": 20,
1202
- "start": 2056
1626
+ "start": 4948
1203
1627
  },
1204
1628
  {
1205
1629
  "length": 20,
1206
- "start": 2451
1630
+ "start": 5655
1207
1631
  },
1208
1632
  {
1209
1633
  "length": 20,
1210
- "start": 2496
1634
+ "start": 5700
1211
1635
  },
1212
1636
  {
1213
1637
  "length": 20,
1214
- "start": 2541
1638
+ "start": 8455
1215
1639
  },
1216
1640
  {
1217
1641
  "length": 20,
1218
- "start": 4874
1642
+ "start": 8706
1643
+ }
1644
+ ]
1645
+ },
1646
+ "contracts/type/PayoutId.sol": {
1647
+ "PayoutIdLib": [
1648
+ {
1649
+ "length": 20,
1650
+ "start": 3344
1219
1651
  },
1220
1652
  {
1221
1653
  "length": 20,
1222
- "start": 5129
1654
+ "start": 4206
1223
1655
  }
1224
1656
  ]
1225
1657
  },
1226
- "contracts/types/Referral.sol": {
1658
+ "contracts/type/Referral.sol": {
1227
1659
  "ReferralLib": [
1228
1660
  {
1229
1661
  "length": 20,
1230
- "start": 1476
1662
+ "start": 2380
1231
1663
  },
1232
1664
  {
1233
1665
  "length": 20,
1234
- "start": 2115
1666
+ "start": 3600
1667
+ }
1668
+ ]
1669
+ },
1670
+ "contracts/type/RequestId.sol": {
1671
+ "RequestIdLib": [
1672
+ {
1673
+ "length": 20,
1674
+ "start": 8866
1235
1675
  }
1236
1676
  ]
1237
1677
  },
1238
- "contracts/types/RiskId.sol": {
1678
+ "contracts/type/RiskId.sol": {
1239
1679
  "RiskIdLib": [
1240
1680
  {
1241
1681
  "length": 20,
1242
- "start": 2656
1682
+ "start": 5862
1243
1683
  }
1244
1684
  ]
1245
1685
  },
1246
- "contracts/types/Timestamp.sol": {
1686
+ "contracts/type/Timestamp.sol": {
1247
1687
  "TimestampLib": [
1248
1688
  {
1249
1689
  "length": 20,
1250
- "start": 3584
1690
+ "start": 5091
1691
+ },
1692
+ {
1693
+ "length": 20,
1694
+ "start": 5234
1695
+ },
1696
+ {
1697
+ "length": 20,
1698
+ "start": 5404
1699
+ },
1700
+ {
1701
+ "length": 20,
1702
+ "start": 6974
1251
1703
  },
1252
1704
  {
1253
1705
  "length": 20,
1254
- "start": 3815
1706
+ "start": 7205
1255
1707
  }
1256
1708
  ]
1257
1709
  },
1258
- "contracts/types/UFixed.sol": {
1710
+ "contracts/type/UFixed.sol": {
1259
1711
  "UFixedLib": [
1260
1712
  {
1261
1713
  "length": 20,
1262
- "start": 1264
1714
+ "start": 2177
1263
1715
  },
1264
1716
  {
1265
1717
  "length": 20,
1266
- "start": 2247
1718
+ "start": 3732
1267
1719
  },
1268
1720
  {
1269
1721
  "length": 20,
1270
- "start": 3685
1722
+ "start": 7075
1271
1723
  },
1272
1724
  {
1273
1725
  "length": 20,
1274
- "start": 3944
1726
+ "start": 7334
1275
1727
  },
1276
1728
  {
1277
1729
  "length": 20,
1278
- "start": 4087
1730
+ "start": 7477
1279
1731
  }
1280
1732
  ]
1281
1733
  }