@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce8fb44-591

Sign up to get free protection for your applications and to get access to all the features.
Files changed (596) hide show
  1. package/README.md +197 -16
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1248 -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 +643 -1
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +757 -0
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +416 -3032
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1621 -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 +1049 -192
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1073 -30
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  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} +38 -2
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/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/pool/IBundleService.sol/IBundleService.json +703 -0
  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/product/IApplicationService.sol/IApplicationService.json +512 -0
  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/product/IPricingService.sol/IPricingService.json +549 -0
  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/{instance/base/IService.sol/IService.json → product/IProductService.sol/IProductService.json} +145 -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 +60 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +357 -59
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +557 -179
  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 +509 -164
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1741 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +698 -259
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +368 -123
  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/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
  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/shared/IKeyValueStore.sol/IKeyValueStore.json +474 -0
  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 +4 -0
  203. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +134 -29
  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/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +78 -87
  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 +4 -0
  227. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +203 -164
  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/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  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/type/Version.sol/VersionPartLib.json +49 -0
  306. package/contracts/authorization/AccessAdmin.sol +588 -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 +81 -1
  325. package/contracts/instance/IInstanceService.sol +92 -0
  326. package/contracts/instance/Instance.sol +185 -323
  327. package/contracts/instance/InstanceAdmin.sol +266 -0
  328. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  329. package/contracts/instance/InstanceReader.sol +227 -57
  330. package/contracts/instance/InstanceService.sol +421 -23
  331. package/contracts/instance/InstanceServiceManager.sol +44 -0
  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 +30 -22
  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/TestToken.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 +55 -25
  383. package/contracts/registry/IRegistry.sol +77 -29
  384. package/contracts/registry/IRegistryService.sol +56 -16
  385. package/contracts/registry/ITransferInterceptor.sol +1 -0
  386. package/contracts/registry/Registry.sol +412 -325
  387. package/contracts/registry/RegistryAdmin.sol +365 -0
  388. package/contracts/registry/RegistryService.sol +162 -265
  389. package/contracts/registry/RegistryServiceManager.sol +27 -17
  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 +16 -10
  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 +20 -14
  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 +25 -0
  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 +132 -27
  418. package/contracts/shared/Registerable.sol +27 -41
  419. package/contracts/shared/RegistryLinked.sol +43 -0
  420. package/contracts/shared/Service.sol +83 -0
  421. package/contracts/shared/TokenHandler.sol +39 -8
  422. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  423. package/contracts/shared/Versionable.sol +5 -93
  424. package/contracts/staking/IStaking.sol +168 -0
  425. package/contracts/staking/IStakingService.sol +153 -0
  426. package/contracts/staking/StakeManagerLib.sol +231 -0
  427. package/contracts/staking/Staking.sol +513 -0
  428. package/contracts/staking/StakingLifecycle.sol +23 -0
  429. package/contracts/staking/StakingManager.sol +54 -0
  430. package/contracts/staking/StakingReader.sol +187 -0
  431. package/contracts/staking/StakingService.sol +411 -0
  432. package/contracts/staking/StakingServiceManager.sol +44 -0
  433. package/contracts/staking/StakingStore.sol +615 -0
  434. package/contracts/staking/TargetManagerLib.sol +207 -0
  435. package/contracts/{types → type}/AddressSet.sol +1 -1
  436. package/contracts/type/Amount.sol +128 -0
  437. package/contracts/{types → type}/Blocknumber.sol +21 -3
  438. package/contracts/type/ClaimId.sol +75 -0
  439. package/contracts/{types → type}/DistributorType.sol +2 -2
  440. package/contracts/type/Fee.sol +66 -0
  441. package/contracts/{types → type}/NftId.sol +21 -15
  442. package/contracts/type/NftIdSet.sol +62 -0
  443. package/contracts/type/ObjectType.sol +275 -0
  444. package/contracts/type/PayoutId.sol +82 -0
  445. package/contracts/{types → type}/Referral.sol +5 -1
  446. package/contracts/type/RequestId.sol +75 -0
  447. package/contracts/{types → type}/RiskId.sol +1 -1
  448. package/contracts/type/RoleId.sol +174 -0
  449. package/contracts/type/Seconds.sol +81 -0
  450. package/contracts/type/Selector.sol +102 -0
  451. package/contracts/{types → type}/StateId.sol +38 -4
  452. package/contracts/type/String.sol +53 -0
  453. package/contracts/{types → type}/Timestamp.sol +23 -14
  454. package/contracts/type/UFixed.sol +332 -0
  455. package/contracts/{types → type}/Version.sol +6 -2
  456. package/package.json +11 -7
  457. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  458. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  459. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  460. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  461. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  462. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  463. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  464. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  465. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  466. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  467. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  468. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  469. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  470. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  471. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  472. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  473. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  474. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  475. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  476. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  477. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  478. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  479. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  480. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  481. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  482. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  483. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  484. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  485. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  486. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  487. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  488. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  489. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  490. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  491. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  492. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  493. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  494. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  495. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  496. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  497. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  498. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  500. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -736
  501. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  502. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  503. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  504. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  505. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  506. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  507. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  508. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  509. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  510. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  511. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  512. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  513. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  514. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  515. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -10
  516. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  517. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  518. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  519. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  520. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  521. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  522. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  523. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  524. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  525. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  526. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  527. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  528. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  529. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  531. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  533. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  534. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  535. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  536. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  537. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  538. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  539. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  540. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  541. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  542. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  544. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  545. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  546. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  547. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  548. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  549. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  550. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  551. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  552. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  553. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  555. package/contracts/components/IBaseComponent.sol +0 -19
  556. package/contracts/experiment/errors/Require.sol +0 -38
  557. package/contracts/experiment/errors/Revert.sol +0 -44
  558. package/contracts/experiment/inheritance/A.sol +0 -53
  559. package/contracts/experiment/inheritance/B.sol +0 -28
  560. package/contracts/experiment/inheritance/C.sol +0 -34
  561. package/contracts/experiment/inheritance/IA.sol +0 -13
  562. package/contracts/experiment/inheritance/IB.sol +0 -10
  563. package/contracts/experiment/inheritance/IC.sol +0 -12
  564. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  565. package/contracts/experiment/statemachine/ISM.sol +0 -25
  566. package/contracts/experiment/statemachine/SM.sol +0 -57
  567. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  568. package/contracts/experiment/types/TypeA.sol +0 -47
  569. package/contracts/experiment/types/TypeB.sol +0 -29
  570. package/contracts/instance/AccessManagedSimple.sol +0 -114
  571. package/contracts/instance/AccessManagerSimple.sol +0 -682
  572. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  573. package/contracts/instance/InstanceAccessManager.sol +0 -288
  574. package/contracts/instance/base/IService.sol +0 -15
  575. package/contracts/instance/base/KeyValueStore.sol +0 -188
  576. package/contracts/instance/base/Lifecycle.sol +0 -100
  577. package/contracts/instance/base/ServiceBase.sol +0 -44
  578. package/contracts/instance/module/ISetup.sol +0 -41
  579. package/contracts/instance/module/ITreasury.sol +0 -23
  580. package/contracts/registry/IChainNft.sol +0 -22
  581. package/contracts/shared/ContractDeployerLib.sol +0 -72
  582. package/contracts/test/TestFee.sol +0 -25
  583. package/contracts/test/TestRegisterable.sol +0 -18
  584. package/contracts/test/TestRoleId.sol +0 -14
  585. package/contracts/test/TestService.sol +0 -26
  586. package/contracts/test/TestVersion.sol +0 -44
  587. package/contracts/test/TestVersionable.sol +0 -17
  588. package/contracts/test/Usdc.sol +0 -26
  589. package/contracts/types/ChainId.sol +0 -38
  590. package/contracts/types/Fee.sol +0 -56
  591. package/contracts/types/NftIdSet.sol +0 -60
  592. package/contracts/types/NumberId.sol +0 -52
  593. package/contracts/types/ObjectType.sol +0 -152
  594. package/contracts/types/RoleId.sol +0 -75
  595. package/contracts/types/UFixed.sol +0 -209
  596. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,21 +3,233 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "bundleNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "getBundleInfo",
44
+ "outputs": [
45
+ {
46
+ "components": [
47
+ {
48
+ "internalType": "NftId",
49
+ "name": "poolNftId",
50
+ "type": "uint96"
51
+ },
52
+ {
53
+ "components": [
54
+ {
55
+ "internalType": "UFixed",
56
+ "name": "fractionalFee",
57
+ "type": "uint256"
58
+ },
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "fixedFee",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "internalType": "struct Fee",
66
+ "name": "fee",
67
+ "type": "tuple"
68
+ },
69
+ {
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"
12
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": [
13
185
  {
14
186
  "internalType": "NftId",
15
- "name": "instanceNftId",
187
+ "name": "componentNftId",
16
188
  "type": "uint96"
17
189
  }
18
190
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
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"
214
+ },
215
+ {
216
+ "internalType": "address",
217
+ "name": "wallet",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
224
+ }
225
+ ],
226
+ "internalType": "struct IComponents.ComponentInfo",
227
+ "name": "info",
228
+ "type": "tuple"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
21
233
  },
22
234
  {
23
235
  "inputs": [
@@ -69,6 +281,16 @@
69
281
  "internalType": "bytes",
70
282
  "name": "data",
71
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"
72
294
  }
73
295
  ],
74
296
  "internalType": "struct IDistribution.DistributorInfo",
@@ -146,13 +368,19 @@
146
368
  "type": "function"
147
369
  },
148
370
  {
149
- "inputs": [],
150
- "name": "getInstance",
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "targetNftId",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "getFeeAmount",
151
379
  "outputs": [
152
380
  {
153
- "internalType": "contract IInstance",
154
- "name": "instance",
155
- "type": "address"
381
+ "internalType": "Amount",
382
+ "name": "",
383
+ "type": "uint96"
156
384
  }
157
385
  ],
158
386
  "stateMutability": "view",
@@ -160,12 +388,12 @@
160
388
  },
161
389
  {
162
390
  "inputs": [],
163
- "name": "getInstanceNftId",
391
+ "name": "getInstance",
164
392
  "outputs": [
165
393
  {
166
- "internalType": "NftId",
167
- "name": "nftId",
168
- "type": "uint96"
394
+ "internalType": "contract IInstance",
395
+ "name": "instance",
396
+ "type": "address"
169
397
  }
170
398
  ],
171
399
  "stateMutability": "view",
@@ -184,6 +412,25 @@
184
412
  "stateMutability": "view",
185
413
  "type": "function"
186
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
+ },
187
434
  {
188
435
  "inputs": [
189
436
  {
@@ -206,11 +453,6 @@
206
453
  "name": "state",
207
454
  "type": "uint8"
208
455
  },
209
- {
210
- "internalType": "address",
211
- "name": "updatedBy",
212
- "type": "address"
213
- },
214
456
  {
215
457
  "internalType": "Blocknumber",
216
458
  "name": "updatedIn",
@@ -236,51 +478,121 @@
236
478
  "internalType": "NftId",
237
479
  "name": "policyNftId",
238
480
  "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "PayoutId",
484
+ "name": "payoutId",
485
+ "type": "uint24"
239
486
  }
240
487
  ],
241
- "name": "getPolicyInfo",
488
+ "name": "getPayoutInfo",
242
489
  "outputs": [
243
490
  {
244
491
  "components": [
245
492
  {
246
- "internalType": "NftId",
247
- "name": "productNftId",
248
- "type": "uint96"
493
+ "internalType": "ClaimId",
494
+ "name": "claimId",
495
+ "type": "uint16"
249
496
  },
250
497
  {
251
- "internalType": "NftId",
252
- "name": "bundleNftId",
498
+ "internalType": "Amount",
499
+ "name": "amount",
253
500
  "type": "uint96"
254
501
  },
255
502
  {
256
- "internalType": "ReferralId",
257
- "name": "referralId",
258
- "type": "bytes8"
259
- },
260
- {
261
- "internalType": "RiskId",
262
- "name": "riskId",
263
- "type": "bytes8"
264
- },
265
- {
266
- "internalType": "uint256",
267
- "name": "sumInsuredAmount",
268
- "type": "uint256"
503
+ "internalType": "bytes",
504
+ "name": "data",
505
+ "type": "bytes"
269
506
  },
270
507
  {
271
- "internalType": "uint256",
272
- "name": "premiumAmount",
273
- "type": "uint256"
274
- },
508
+ "internalType": "Timestamp",
509
+ "name": "paidAt",
510
+ "type": "uint40"
511
+ }
512
+ ],
513
+ "internalType": "struct IPolicy.PayoutInfo",
514
+ "name": "info",
515
+ "type": "tuple"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
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
+ },
545
+ {
546
+ "inputs": [
547
+ {
548
+ "internalType": "NftId",
549
+ "name": "policyNftId",
550
+ "type": "uint96"
551
+ }
552
+ ],
553
+ "name": "getPolicyInfo",
554
+ "outputs": [
555
+ {
556
+ "components": [
557
+ {
558
+ "internalType": "NftId",
559
+ "name": "productNftId",
560
+ "type": "uint96"
561
+ },
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "bundleNftId",
565
+ "type": "uint96"
566
+ },
567
+ {
568
+ "internalType": "ReferralId",
569
+ "name": "referralId",
570
+ "type": "bytes8"
571
+ },
572
+ {
573
+ "internalType": "RiskId",
574
+ "name": "riskId",
575
+ "type": "bytes8"
576
+ },
577
+ {
578
+ "internalType": "Amount",
579
+ "name": "sumInsuredAmount",
580
+ "type": "uint96"
581
+ },
582
+ {
583
+ "internalType": "Amount",
584
+ "name": "premiumAmount",
585
+ "type": "uint96"
586
+ },
275
587
  {
276
- "internalType": "uint256",
588
+ "internalType": "Amount",
277
589
  "name": "premiumPaidAmount",
278
- "type": "uint256"
590
+ "type": "uint96"
279
591
  },
280
592
  {
281
- "internalType": "uint256",
593
+ "internalType": "Seconds",
282
594
  "name": "lifetime",
283
- "type": "uint256"
595
+ "type": "uint40"
284
596
  },
285
597
  {
286
598
  "internalType": "bytes",
@@ -289,7 +601,7 @@
289
601
  },
290
602
  {
291
603
  "internalType": "bytes",
292
- "name": "policyData",
604
+ "name": "processData",
293
605
  "type": "bytes"
294
606
  },
295
607
  {
@@ -303,9 +615,14 @@
303
615
  "type": "uint16"
304
616
  },
305
617
  {
306
- "internalType": "uint256",
618
+ "internalType": "Amount",
619
+ "name": "claimAmount",
620
+ "type": "uint96"
621
+ },
622
+ {
623
+ "internalType": "Amount",
307
624
  "name": "payoutAmount",
308
- "type": "uint256"
625
+ "type": "uint96"
309
626
  },
310
627
  {
311
628
  "internalType": "Timestamp",
@@ -334,54 +651,17 @@
334
651
  {
335
652
  "inputs": [
336
653
  {
337
- "internalType": "ReferralId",
338
- "name": "referralId",
339
- "type": "bytes8"
654
+ "internalType": "NftId",
655
+ "name": "policyNftId",
656
+ "type": "uint96"
340
657
  }
341
658
  ],
342
- "name": "getReferralInfo",
659
+ "name": "getPolicyState",
343
660
  "outputs": [
344
661
  {
345
- "components": [
346
- {
347
- "internalType": "NftId",
348
- "name": "distributorNftId",
349
- "type": "uint96"
350
- },
351
- {
352
- "internalType": "string",
353
- "name": "referralCode",
354
- "type": "string"
355
- },
356
- {
357
- "internalType": "UFixed",
358
- "name": "discountPercentage",
359
- "type": "uint256"
360
- },
361
- {
362
- "internalType": "uint32",
363
- "name": "maxReferrals",
364
- "type": "uint32"
365
- },
366
- {
367
- "internalType": "uint32",
368
- "name": "usedReferrals",
369
- "type": "uint32"
370
- },
371
- {
372
- "internalType": "Timestamp",
373
- "name": "expiryAt",
374
- "type": "uint40"
375
- },
376
- {
377
- "internalType": "bytes",
378
- "name": "data",
379
- "type": "bytes"
380
- }
381
- ],
382
- "internalType": "struct IDistribution.ReferralInfo",
383
- "name": "info",
384
- "type": "tuple"
662
+ "internalType": "StateId",
663
+ "name": "state",
664
+ "type": "uint8"
385
665
  }
386
666
  ],
387
667
  "stateMutability": "view",
@@ -390,12 +670,12 @@
390
670
  {
391
671
  "inputs": [
392
672
  {
393
- "internalType": "RiskId",
394
- "name": "riskId",
395
- "type": "bytes8"
673
+ "internalType": "NftId",
674
+ "name": "poolNftId",
675
+ "type": "uint96"
396
676
  }
397
677
  ],
398
- "name": "getRiskInfo",
678
+ "name": "getPoolInfo",
399
679
  "outputs": [
400
680
  {
401
681
  "components": [
@@ -405,12 +685,93 @@
405
685
  "type": "uint96"
406
686
  },
407
687
  {
408
- "internalType": "bytes",
409
- "name": "data",
410
- "type": "bytes"
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"
711
+ },
712
+ {
713
+ "internalType": "UFixed",
714
+ "name": "collateralizationLevel",
715
+ "type": "uint256"
716
+ },
717
+ {
718
+ "internalType": "UFixed",
719
+ "name": "retentionLevel",
720
+ "type": "uint256"
721
+ },
722
+ {
723
+ "components": [
724
+ {
725
+ "internalType": "UFixed",
726
+ "name": "fractionalFee",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "fixedFee",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "internalType": "struct Fee",
736
+ "name": "poolFee",
737
+ "type": "tuple"
738
+ },
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "UFixed",
743
+ "name": "fractionalFee",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "fixedFee",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "internalType": "struct Fee",
753
+ "name": "stakingFee",
754
+ "type": "tuple"
755
+ },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "UFixed",
760
+ "name": "fractionalFee",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "fixedFee",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "internalType": "struct Fee",
770
+ "name": "performanceFee",
771
+ "type": "tuple"
411
772
  }
412
773
  ],
413
- "internalType": "struct IRisk.RiskInfo",
774
+ "internalType": "struct IComponents.PoolInfo",
414
775
  "name": "info",
415
776
  "type": "tuple"
416
777
  }
@@ -426,39 +787,10 @@
426
787
  "type": "uint96"
427
788
  }
428
789
  ],
429
- "name": "getTokenHandler",
430
- "outputs": [
431
- {
432
- "internalType": "address",
433
- "name": "tokenHandler",
434
- "type": "address"
435
- }
436
- ],
437
- "stateMutability": "view",
438
- "type": "function"
439
- },
440
- {
441
- "inputs": [
442
- {
443
- "internalType": "NftId",
444
- "name": "productNftId",
445
- "type": "uint96"
446
- }
447
- ],
448
- "name": "getTreasuryInfo",
790
+ "name": "getProductInfo",
449
791
  "outputs": [
450
792
  {
451
793
  "components": [
452
- {
453
- "internalType": "contract IERC20Metadata",
454
- "name": "token",
455
- "type": "address"
456
- },
457
- {
458
- "internalType": "contract TokenHandler",
459
- "name": "tokenHandler",
460
- "type": "address"
461
- },
462
794
  {
463
795
  "internalType": "NftId",
464
796
  "name": "distributionNftId",
@@ -483,7 +815,7 @@
483
815
  }
484
816
  ],
485
817
  "internalType": "struct Fee",
486
- "name": "distributionFee",
818
+ "name": "productFee",
487
819
  "type": "tuple"
488
820
  },
489
821
  {
@@ -500,7 +832,7 @@
500
832
  }
501
833
  ],
502
834
  "internalType": "struct Fee",
503
- "name": "productFee",
835
+ "name": "processingFee",
504
836
  "type": "tuple"
505
837
  },
506
838
  {
@@ -517,7 +849,24 @@
517
849
  }
518
850
  ],
519
851
  "internalType": "struct Fee",
520
- "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",
521
870
  "type": "tuple"
522
871
  },
523
872
  {
@@ -572,7 +921,155 @@
572
921
  "type": "tuple"
573
922
  }
574
923
  ],
575
- "internalType": "struct ITreasury.TreasuryInfo",
924
+ "internalType": "struct IComponents.ProductInfo",
925
+ "name": "info",
926
+ "type": "tuple"
927
+ }
928
+ ],
929
+ "stateMutability": "view",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [
934
+ {
935
+ "internalType": "ReferralId",
936
+ "name": "referralId",
937
+ "type": "bytes8"
938
+ }
939
+ ],
940
+ "name": "getReferralInfo",
941
+ "outputs": [
942
+ {
943
+ "components": [
944
+ {
945
+ "internalType": "NftId",
946
+ "name": "distributorNftId",
947
+ "type": "uint96"
948
+ },
949
+ {
950
+ "internalType": "string",
951
+ "name": "referralCode",
952
+ "type": "string"
953
+ },
954
+ {
955
+ "internalType": "UFixed",
956
+ "name": "discountPercentage",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint32",
961
+ "name": "maxReferrals",
962
+ "type": "uint32"
963
+ },
964
+ {
965
+ "internalType": "uint32",
966
+ "name": "usedReferrals",
967
+ "type": "uint32"
968
+ },
969
+ {
970
+ "internalType": "Timestamp",
971
+ "name": "expiryAt",
972
+ "type": "uint40"
973
+ },
974
+ {
975
+ "internalType": "bytes",
976
+ "name": "data",
977
+ "type": "bytes"
978
+ }
979
+ ],
980
+ "internalType": "struct IDistribution.ReferralInfo",
981
+ "name": "info",
982
+ "type": "tuple"
983
+ }
984
+ ],
985
+ "stateMutability": "view",
986
+ "type": "function"
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
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "RiskId",
1053
+ "name": "riskId",
1054
+ "type": "bytes8"
1055
+ }
1056
+ ],
1057
+ "name": "getRiskInfo",
1058
+ "outputs": [
1059
+ {
1060
+ "components": [
1061
+ {
1062
+ "internalType": "NftId",
1063
+ "name": "productNftId",
1064
+ "type": "uint96"
1065
+ },
1066
+ {
1067
+ "internalType": "bytes",
1068
+ "name": "data",
1069
+ "type": "bytes"
1070
+ }
1071
+ ],
1072
+ "internalType": "struct IRisk.RiskInfo",
576
1073
  "name": "info",
577
1074
  "type": "tuple"
578
1075
  }
@@ -580,6 +1077,207 @@
580
1077
  "stateMutability": "view",
581
1078
  "type": "function"
582
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
+ },
1205
+ {
1206
+ "inputs": [
1207
+ {
1208
+ "internalType": "NftId",
1209
+ "name": "policyNftId",
1210
+ "type": "uint96"
1211
+ }
1212
+ ],
1213
+ "name": "policyIsCloseable",
1214
+ "outputs": [
1215
+ {
1216
+ "internalType": "bool",
1217
+ "name": "isCloseable",
1218
+ "type": "bool"
1219
+ }
1220
+ ],
1221
+ "stateMutability": "view",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "NftId",
1228
+ "name": "poolNftId",
1229
+ "type": "uint96"
1230
+ }
1231
+ ],
1232
+ "name": "toBundleKey",
1233
+ "outputs": [
1234
+ {
1235
+ "internalType": "Key32",
1236
+ "name": "",
1237
+ "type": "bytes32"
1238
+ }
1239
+ ],
1240
+ "stateMutability": "pure",
1241
+ "type": "function"
1242
+ },
1243
+ {
1244
+ "inputs": [
1245
+ {
1246
+ "internalType": "NftId",
1247
+ "name": "componentNftId",
1248
+ "type": "uint96"
1249
+ }
1250
+ ],
1251
+ "name": "toComponentKey",
1252
+ "outputs": [
1253
+ {
1254
+ "internalType": "Key32",
1255
+ "name": "",
1256
+ "type": "bytes32"
1257
+ }
1258
+ ],
1259
+ "stateMutability": "pure",
1260
+ "type": "function"
1261
+ },
1262
+ {
1263
+ "inputs": [
1264
+ {
1265
+ "internalType": "NftId",
1266
+ "name": "distributionNftId",
1267
+ "type": "uint96"
1268
+ }
1269
+ ],
1270
+ "name": "toDistributionKey",
1271
+ "outputs": [
1272
+ {
1273
+ "internalType": "Key32",
1274
+ "name": "",
1275
+ "type": "bytes32"
1276
+ }
1277
+ ],
1278
+ "stateMutability": "pure",
1279
+ "type": "function"
1280
+ },
583
1281
  {
584
1282
  "inputs": [
585
1283
  {
@@ -641,21 +1339,16 @@
641
1339
  "inputs": [
642
1340
  {
643
1341
  "internalType": "NftId",
644
- "name": "distributionNftId",
1342
+ "name": "poolNftId",
645
1343
  "type": "uint96"
646
- },
647
- {
648
- "internalType": "string",
649
- "name": "referralCode",
650
- "type": "string"
651
1344
  }
652
1345
  ],
653
- "name": "toReferralId",
1346
+ "name": "toPoolKey",
654
1347
  "outputs": [
655
1348
  {
656
- "internalType": "ReferralId",
657
- "name": "referralId",
658
- "type": "bytes8"
1349
+ "internalType": "Key32",
1350
+ "name": "",
1351
+ "type": "bytes32"
659
1352
  }
660
1353
  ],
661
1354
  "stateMutability": "pure",
@@ -669,7 +1362,7 @@
669
1362
  "type": "uint96"
670
1363
  }
671
1364
  ],
672
- "name": "toTreasuryKey",
1365
+ "name": "toProductKey",
673
1366
  "outputs": [
674
1367
  {
675
1368
  "internalType": "Key32",
@@ -680,6 +1373,30 @@
680
1373
  "stateMutability": "pure",
681
1374
  "type": "function"
682
1375
  },
1376
+ {
1377
+ "inputs": [
1378
+ {
1379
+ "internalType": "NftId",
1380
+ "name": "distributionNftId",
1381
+ "type": "uint96"
1382
+ },
1383
+ {
1384
+ "internalType": "string",
1385
+ "name": "referralCode",
1386
+ "type": "string"
1387
+ }
1388
+ ],
1389
+ "name": "toReferralId",
1390
+ "outputs": [
1391
+ {
1392
+ "internalType": "ReferralId",
1393
+ "name": "referralId",
1394
+ "type": "bytes8"
1395
+ }
1396
+ ],
1397
+ "stateMutability": "pure",
1398
+ "type": "function"
1399
+ },
683
1400
  {
684
1401
  "inputs": [
685
1402
  {
@@ -705,172 +1422,312 @@
705
1422
  "type": "function"
706
1423
  }
707
1424
  ],
708
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620024c4380380620024c48339810160408190526200003491620002e0565b6001600160a01b038216620000905760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620000e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010f919062000329565b6200015d5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640162000087565b6001600160601b03818116600160a01b9081026001600160a01b0385811682811760008181556040516305247a1760e51b81529590910490951660048501529116179063a48f42e090602401600060405180830381865afa158015620001c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001f1919081019062000461565b90506200021781604001516200020c620002a660201b60201c565b60ff90811691161490565b6200026f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840162000087565b60800151600180546001600160a01b039092166001600160a01b031992831681179091556002805490921617905550620005479050565b604690565b80516001600160a01b0381168114620002c357600080fd5b919050565b80516001600160601b0381168114620002c357600080fd5b60008060408385031215620002f457600080fd5b620002ff83620002ab565b91506200030f60208401620002c8565b90509250929050565b80518015158114620002c357600080fd5b6000602082840312156200033c57600080fd5b620003478262000318565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200038957620003896200034e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003ba57620003ba6200034e565b604052919050565b805160ff81168114620002c357600080fd5b600082601f830112620003e657600080fd5b81516001600160401b038111156200040257620004026200034e565b602062000418601f8301601f191682016200038f565b82815285828487010111156200042d57600080fd5b60005b838110156200044d57858101830151828201840152820162000430565b506000928101909101919091529392505050565b6000602082840312156200047457600080fd5b81516001600160401b03808211156200048c57600080fd5b9083019060e08286031215620004a157600080fd5b620004ab62000364565b620004b683620002c8565b8152620004c660208401620002c8565b6020820152620004d960408401620003c2565b6040820152620004ec6060840162000318565b6060820152620004ff60808401620002ab565b60808201526200051260a08401620002ab565b60a082015260c0830151828111156200052a57600080fd5b6200053887828601620003d4565b60c08301525095945050505050565b611f6d80620005576000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063887b1fa9116100a2578063bd7d9d8511610071578063bd7d9d8514610306578063d06458c614610326578063d4cda0d814610346578063de7b5d1414610357578063f2b246c31461036857600080fd5b8063887b1fa914610224578063a310e2a314610244578063a5961b4c1461026f578063b82d7ef5146102dc57600080fd5b80633f093cd6116100e95780633f093cd61461019457806344aa6836146101c057806364eb3a9b146101d35780637e54602a146101e65780637e798669146101f957600080fd5b80631488c8451461011b5780631d3be4771461014157806325d037431461016157806327b1d79214610174575b600080fd5b61012e6101293660046110b8565b610388565b6040519081526020015b60405180910390f35b61015461014f366004611107565b61040e565b6040516101389190611174565b61012e61016f366004611224565b610560565b610187610182366004611224565b610600565b6040516101389190611241565b6101a76101a23660046113a6565b6106ba565b6040516001600160c01b03199091168152602001610138565b61012e6101ce366004611438565b610737565b61012e6101e1366004611224565b610772565b61012e6101f4366004611224565b61079f565b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001610138565b610237610232366004611107565b6107cc565b6040516101389190611451565b610257610252366004611224565b6108f5565b6040516001600160a01b039091168152602001610138565b61028261027d366004611438565b6109a3565b6040516101389190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6102ef6102ea366004611107565b610a37565b6040805192835260ff909116602083015201610138565b610319610314366004611224565b610cdf565b604051610138919061147f565b610339610334366004611107565b610dfd565b60405161013891906115d7565b6002546001600160a01b0316610257565b6001546001600160a01b0316610257565b61037b610376366004611224565b610f70565b6040516101389190611687565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610407919061178c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156104b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d9919061178c565b6040518263ffffffff1660e01b81526004016104f791815260200190565b600060405180830381865afa158015610514573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053c91908101906117ea565b80519091501561055a57808060200190518101906104079190611860565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa919061178c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6106398561079f565b6040518263ffffffff1660e01b815260040161065791815260200190565b600060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069c91908101906117ea565b80519091501561055a57808060200190518101906104079190611959565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906106f690869086906004016119ff565b602060405180830381865af4158015610713573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190611a21565b604051632255341b60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa6836906024016105b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610589565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610589565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610850573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610874919061178c565b6040518263ffffffff1660e01b815260040161089291815260200190565b600060405180830381865afa1580156108af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108d791908101906117ea565b80519091501561055a57808060200190518101906104079190611a3e565b60025460009081906001600160a01b03166354f6127f61091485610560565b6040518263ffffffff1660e01b815260040161093291815260200190565b600060405180830381865afa15801561094f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261097791908101906117ea565b80519091501561055a576000818060200190518101906109979190611b0d565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190611bed565b6000806000610a458461040e565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190611c84565b15610b475773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a919061178c565b60645b9250925050915091565b610bcb8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611c9f565b64ffffffffff90811691161090565b15610c445773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d919061178c565b606e610b3d565b806060015163ffffffff16816080015163ffffffff1610610cd35773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc919061178c565b6078610b3d565b6040810151600a610b3d565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f610d7c85610772565b6040518263ffffffff1660e01b8152600401610d9a91815260200190565b600060405180830381865afa158015610db7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddf91908101906117ea565b80519091501561055a57808060200190518101906104079190611ccc565b610e5c60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef919061178c565b6040518263ffffffff1660e01b8152600401610f0d91815260200190565b600060405180830381865afa158015610f2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5291908101906117ea565b80519091501561055a57808060200190518101906104079190611e40565b61101a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61103785610560565b6040518263ffffffff1660e01b815260040161105591815260200190565b600060405180830381865afa158015611072573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109a91908101906117ea565b80519091501561055a57808060200190518101906104079190611b0d565b600080604083850312156110cb57600080fd5b8235915060208301358060000b81146110e357600080fd5b809150509250929050565b6001600160c01b03198116811461110457600080fd5b50565b60006020828403121561111957600080fd5b8135610407816110ee565b60005b8381101561113f578181015183820152602001611127565b50506000910152565b60008151808452611160816020860160208601611124565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526111a4610100840182611148565b90506040840151606084015263ffffffff606085015116608084015260808401516111d760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526112068282611148565b95945050505050565b6001600160601b038116811461110457600080fd5b60006020828403121561123657600080fd5b81356104078161120f565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160608084015261127e6080840182611148565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156112be576112be611286565b60405290565b604080519081016001600160401b03811182821017156112be576112be611286565b60405161014081016001600160401b03811182821017156112be576112be611286565b60405161020081016001600160401b03811182821017156112be576112be611286565b60405161012081016001600160401b03811182821017156112be576112be611286565b604051601f8201601f191681016001600160401b038111828210171561137757611377611286565b604052919050565b60006001600160401b0382111561139857611398611286565b50601f01601f191660200190565b600080604083850312156113b957600080fd5b82356113c48161120f565b915060208301356001600160401b038111156113df57600080fd5b8301601f810185136113f057600080fd5b80356114036113fe8261137f565b61134f565b81815286602083850101111561141857600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561144a57600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015160408084015261127e6060840182611148565b602081526114996020820183516001600160601b03169052565b600060208301516114b560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261152d610220860184611148565b9250808601519050610140601f19868503018187015261154d8483611148565b9350808701519150506101606115688187018361ffff169052565b860151905061018061157f8682018361ffff169052565b8601516101a08681019190915286015190506101c06115a68187018364ffffffffff169052565b86015190506101e06115c08682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60208152600082516101208060208501526115f6610140850183611148565b9150602085015160408501526040850151606085015260608501516080850152608085015161162d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006116638187018315159052565b860151858403601f190183870152905061167d8382611148565b9695505050505050565b81516001600160a01b03168152610200810160208301516116b360208401826001600160a01b03169052565b5060408301516116ce60408401826001600160601b03169052565b5060608301516116e960608401826001600160601b03169052565b506080830151611706608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061173c8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b60006020828403121561179e57600080fd5b5051919050565b600082601f8301126117b657600080fd5b81516117c46113fe8261137f565b8181528460208386010111156117d957600080fd5b61127e826020830160208701611124565b6000602082840312156117fc57600080fd5b81516001600160401b0381111561181257600080fd5b61127e848285016117a5565b80516118298161120f565b919050565b63ffffffff8116811461110457600080fd5b80516118298161182e565b805164ffffffffff8116811461182957600080fd5b60006020828403121561187257600080fd5b81516001600160401b038082111561188957600080fd5b9083019060e0828603121561189d57600080fd5b6118a561129c565b6118ae8361181e565b81526020830151828111156118c257600080fd5b6118ce878286016117a5565b602083015250604083015160408201526118ea60608401611840565b60608201526118fb60808401611840565b608082015261190c60a0840161184b565b60a082015260c08301518281111561192357600080fd5b61192f878286016117a5565b60c08301525095945050505050565b8051611829816110ee565b8051801515811461182957600080fd5b60006020828403121561196b57600080fd5b81516001600160401b038082111561198257600080fd5b908301906060828603121561199657600080fd5b6040516060810181811083821117156119b1576119b1611286565b60405282516119bf816110ee565b81526119cd60208401611949565b60208201526040830151828111156119e457600080fd5b6119f0878286016117a5565b60408301525095945050505050565b6001600160601b038316815260406020820152600061127e6040830184611148565b600060208284031215611a3357600080fd5b8151610407816110ee565b600060208284031215611a5057600080fd5b81516001600160401b0380821115611a6757600080fd5b9083019060408286031215611a7b57600080fd5b611a836112c4565b8251611a8e8161120f565b8152602083015182811115611aa257600080fd5b611aae878286016117a5565b60208301525095945050505050565b6001600160a01b038116811461110457600080fd5b805161182981611abd565b600060408284031215611aef57600080fd5b611af76112c4565b9050815181526020820151602082015292915050565b60006102008284031215611b2057600080fd5b611b286112e6565b611b3183611ad2565b8152611b3f60208401611ad2565b6020820152611b506040840161181e565b6040820152611b616060840161181e565b6060820152611b738460808501611add565b6080820152611b858460c08501611add565b60a0820152610100611b9985828601611add565b60c0830152611bac856101408601611add565b60e0830152611bbf856101808601611add565b90820152611bd1846101c08501611add565b6101208201529392505050565b60ff8116811461110457600080fd5b600060a08284031215611bff57600080fd5b60405160a081018181106001600160401b0382111715611c2157611c21611286565b6040528251611c2f81611bde565b81526020830151611c3f81611bde565b60208201526040830151611c5281611abd565b60408201526060830151611c658161182e565b60608201526080830151611c788161182e565b60808201529392505050565b600060208284031215611c9657600080fd5b61040782611949565b600060208284031215611cb157600080fd5b6104078261184b565b805161ffff8116811461182957600080fd5b600060208284031215611cde57600080fd5b81516001600160401b0380821115611cf557600080fd5b908301906102008286031215611d0a57600080fd5b611d12611309565b611d1b8361181e565b8152611d296020840161181e565b6020820152611d3a6040840161193e565b6040820152611d4b6060840161193e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611d8c57600080fd5b611d98888287016117a5565b8284015250506101208084015183811115611db257600080fd5b611dbe888287016117a5565b8284015250506101409150611dd4828401611cba565b828201526101609150611de8828401611cba565b82820152610180915081830151828201526101a09150611e0982840161184b565b828201526101c09150611e1d82840161184b565b828201526101e09150611e3182840161184b565b91810191909152949350505050565b600060208284031215611e5257600080fd5b81516001600160401b0380821115611e6957600080fd5b908301906101208286031215611e7e57600080fd5b611e8661132c565b825182811115611e9557600080fd5b611ea1878286016117a5565b825250602083015160208201526040830151604082015260608301516060820152611ece60808401611840565b6080820152611edf60a08401611840565b60a0820152611ef060c08401611949565b60c0820152611f0160e08401611949565b60e08201526101008084015183811115611f1a57600080fd5b611f26888287016117a5565b91830191909152509594505050505056fea264697066735822122042758ecb9e797d2c81d4cc12d8f6e745b0b61b6f8856c08b4a698b74f08f23ce64736f6c63430008140033",
709
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063887b1fa9116100a2578063bd7d9d8511610071578063bd7d9d8514610306578063d06458c614610326578063d4cda0d814610346578063de7b5d1414610357578063f2b246c31461036857600080fd5b8063887b1fa914610224578063a310e2a314610244578063a5961b4c1461026f578063b82d7ef5146102dc57600080fd5b80633f093cd6116100e95780633f093cd61461019457806344aa6836146101c057806364eb3a9b146101d35780637e54602a146101e65780637e798669146101f957600080fd5b80631488c8451461011b5780631d3be4771461014157806325d037431461016157806327b1d79214610174575b600080fd5b61012e6101293660046110b8565b610388565b6040519081526020015b60405180910390f35b61015461014f366004611107565b61040e565b6040516101389190611174565b61012e61016f366004611224565b610560565b610187610182366004611224565b610600565b6040516101389190611241565b6101a76101a23660046113a6565b6106ba565b6040516001600160c01b03199091168152602001610138565b61012e6101ce366004611438565b610737565b61012e6101e1366004611224565b610772565b61012e6101f4366004611224565b61079f565b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001610138565b610237610232366004611107565b6107cc565b6040516101389190611451565b610257610252366004611224565b6108f5565b6040516001600160a01b039091168152602001610138565b61028261027d366004611438565b6109a3565b6040516101389190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6102ef6102ea366004611107565b610a37565b6040805192835260ff909116602083015201610138565b610319610314366004611224565b610cdf565b604051610138919061147f565b610339610334366004611107565b610dfd565b60405161013891906115d7565b6002546001600160a01b0316610257565b6001546001600160a01b0316610257565b61037b610376366004611224565b610f70565b6040516101389190611687565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610407919061178c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156104b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d9919061178c565b6040518263ffffffff1660e01b81526004016104f791815260200190565b600060405180830381865afa158015610514573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053c91908101906117ea565b80519091501561055a57808060200190518101906104079190611860565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa919061178c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6106398561079f565b6040518263ffffffff1660e01b815260040161065791815260200190565b600060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069c91908101906117ea565b80519091501561055a57808060200190518101906104079190611959565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906106f690869086906004016119ff565b602060405180830381865af4158015610713573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190611a21565b604051632255341b60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa6836906024016105b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610589565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610589565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610850573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610874919061178c565b6040518263ffffffff1660e01b815260040161089291815260200190565b600060405180830381865afa1580156108af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108d791908101906117ea565b80519091501561055a57808060200190518101906104079190611a3e565b60025460009081906001600160a01b03166354f6127f61091485610560565b6040518263ffffffff1660e01b815260040161093291815260200190565b600060405180830381865afa15801561094f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261097791908101906117ea565b80519091501561055a576000818060200190518101906109979190611b0d565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190611bed565b6000806000610a458461040e565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190611c84565b15610b475773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a919061178c565b60645b9250925050915091565b610bcb8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611c9f565b64ffffffffff90811691161090565b15610c445773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d919061178c565b606e610b3d565b806060015163ffffffff16816080015163ffffffff1610610cd35773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc919061178c565b6078610b3d565b6040810151600a610b3d565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f610d7c85610772565b6040518263ffffffff1660e01b8152600401610d9a91815260200190565b600060405180830381865afa158015610db7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddf91908101906117ea565b80519091501561055a57808060200190518101906104079190611ccc565b610e5c60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef919061178c565b6040518263ffffffff1660e01b8152600401610f0d91815260200190565b600060405180830381865afa158015610f2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5291908101906117ea565b80519091501561055a57808060200190518101906104079190611e40565b61101a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61103785610560565b6040518263ffffffff1660e01b815260040161105591815260200190565b600060405180830381865afa158015611072573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109a91908101906117ea565b80519091501561055a57808060200190518101906104079190611b0d565b600080604083850312156110cb57600080fd5b8235915060208301358060000b81146110e357600080fd5b809150509250929050565b6001600160c01b03198116811461110457600080fd5b50565b60006020828403121561111957600080fd5b8135610407816110ee565b60005b8381101561113f578181015183820152602001611127565b50506000910152565b60008151808452611160816020860160208601611124565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526111a4610100840182611148565b90506040840151606084015263ffffffff606085015116608084015260808401516111d760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526112068282611148565b95945050505050565b6001600160601b038116811461110457600080fd5b60006020828403121561123657600080fd5b81356104078161120f565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160608084015261127e6080840182611148565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156112be576112be611286565b60405290565b604080519081016001600160401b03811182821017156112be576112be611286565b60405161014081016001600160401b03811182821017156112be576112be611286565b60405161020081016001600160401b03811182821017156112be576112be611286565b60405161012081016001600160401b03811182821017156112be576112be611286565b604051601f8201601f191681016001600160401b038111828210171561137757611377611286565b604052919050565b60006001600160401b0382111561139857611398611286565b50601f01601f191660200190565b600080604083850312156113b957600080fd5b82356113c48161120f565b915060208301356001600160401b038111156113df57600080fd5b8301601f810185136113f057600080fd5b80356114036113fe8261137f565b61134f565b81815286602083850101111561141857600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561144a57600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015160408084015261127e6060840182611148565b602081526114996020820183516001600160601b03169052565b600060208301516114b560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261152d610220860184611148565b9250808601519050610140601f19868503018187015261154d8483611148565b9350808701519150506101606115688187018361ffff169052565b860151905061018061157f8682018361ffff169052565b8601516101a08681019190915286015190506101c06115a68187018364ffffffffff169052565b86015190506101e06115c08682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60208152600082516101208060208501526115f6610140850183611148565b9150602085015160408501526040850151606085015260608501516080850152608085015161162d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006116638187018315159052565b860151858403601f190183870152905061167d8382611148565b9695505050505050565b81516001600160a01b03168152610200810160208301516116b360208401826001600160a01b03169052565b5060408301516116ce60408401826001600160601b03169052565b5060608301516116e960608401826001600160601b03169052565b506080830151611706608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061173c8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b60006020828403121561179e57600080fd5b5051919050565b600082601f8301126117b657600080fd5b81516117c46113fe8261137f565b8181528460208386010111156117d957600080fd5b61127e826020830160208701611124565b6000602082840312156117fc57600080fd5b81516001600160401b0381111561181257600080fd5b61127e848285016117a5565b80516118298161120f565b919050565b63ffffffff8116811461110457600080fd5b80516118298161182e565b805164ffffffffff8116811461182957600080fd5b60006020828403121561187257600080fd5b81516001600160401b038082111561188957600080fd5b9083019060e0828603121561189d57600080fd5b6118a561129c565b6118ae8361181e565b81526020830151828111156118c257600080fd5b6118ce878286016117a5565b602083015250604083015160408201526118ea60608401611840565b60608201526118fb60808401611840565b608082015261190c60a0840161184b565b60a082015260c08301518281111561192357600080fd5b61192f878286016117a5565b60c08301525095945050505050565b8051611829816110ee565b8051801515811461182957600080fd5b60006020828403121561196b57600080fd5b81516001600160401b038082111561198257600080fd5b908301906060828603121561199657600080fd5b6040516060810181811083821117156119b1576119b1611286565b60405282516119bf816110ee565b81526119cd60208401611949565b60208201526040830151828111156119e457600080fd5b6119f0878286016117a5565b60408301525095945050505050565b6001600160601b038316815260406020820152600061127e6040830184611148565b600060208284031215611a3357600080fd5b8151610407816110ee565b600060208284031215611a5057600080fd5b81516001600160401b0380821115611a6757600080fd5b9083019060408286031215611a7b57600080fd5b611a836112c4565b8251611a8e8161120f565b8152602083015182811115611aa257600080fd5b611aae878286016117a5565b60208301525095945050505050565b6001600160a01b038116811461110457600080fd5b805161182981611abd565b600060408284031215611aef57600080fd5b611af76112c4565b9050815181526020820151602082015292915050565b60006102008284031215611b2057600080fd5b611b286112e6565b611b3183611ad2565b8152611b3f60208401611ad2565b6020820152611b506040840161181e565b6040820152611b616060840161181e565b6060820152611b738460808501611add565b6080820152611b858460c08501611add565b60a0820152610100611b9985828601611add565b60c0830152611bac856101408601611add565b60e0830152611bbf856101808601611add565b90820152611bd1846101c08501611add565b6101208201529392505050565b60ff8116811461110457600080fd5b600060a08284031215611bff57600080fd5b60405160a081018181106001600160401b0382111715611c2157611c21611286565b6040528251611c2f81611bde565b81526020830151611c3f81611bde565b60208201526040830151611c5281611abd565b60408201526060830151611c658161182e565b60608201526080830151611c788161182e565b60808201529392505050565b600060208284031215611c9657600080fd5b61040782611949565b600060208284031215611cb157600080fd5b6104078261184b565b805161ffff8116811461182957600080fd5b600060208284031215611cde57600080fd5b81516001600160401b0380821115611cf557600080fd5b908301906102008286031215611d0a57600080fd5b611d12611309565b611d1b8361181e565b8152611d296020840161181e565b6020820152611d3a6040840161193e565b6040820152611d4b6060840161193e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611d8c57600080fd5b611d98888287016117a5565b8284015250506101208084015183811115611db257600080fd5b611dbe888287016117a5565b8284015250506101409150611dd4828401611cba565b828201526101609150611de8828401611cba565b82820152610180915081830151828201526101a09150611e0982840161184b565b828201526101c09150611e1d82840161184b565b828201526101e09150611e3182840161184b565b91810191909152949350505050565b600060208284031215611e5257600080fd5b81516001600160401b0380821115611e6957600080fd5b908301906101208286031215611e7e57600080fd5b611e8661132c565b825182811115611e9557600080fd5b611ea1878286016117a5565b825250602083015160208201526040830151604082015260608301516060820152611ece60808401611840565b6080820152611edf60a08401611840565b60a0820152611ef060c08401611949565b60c0820152611f0160e08401611949565b60e08201526101008084015183811115611f1a57600080fd5b611f26888287016117a5565b91830191909152509594505050505056fea264697066735822122042758ecb9e797d2c81d4cc12d8f6e745b0b61b6f8856c08b4a698b74f08f23ce64736f6c63430008140033",
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$__9063c4cade9d90604401602060405180830381865af4158015611229573d6000803e3d6000fd5b60405180610120016040528060006001600160601b0316815260200160006001600160601b0316815260200161242d604051806040016040528060008152602001600081525090565b815260200161244f604051806040016040528060008152602001600081525090565b8152602001612471604051806040016040528060008152602001600081525090565b8152602001612493604051806040016040528060008152602001600081525090565b81526020016124b5604051806040016040528060008152602001600081525090565b81526020016124d7604051806040016040528060008152602001600081525090565b81526020016124f9604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612536604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e083018290528351808501909452818452830152906101008201906124b5565b6001600160601b03811681146125c957600080fd5b50565b6000602082840312156125de57600080fd5b8135610853816125b4565b6000602082840312156125fb57600080fd5b5035919050565b81516001600160601b0316815260208083015161020083019161262f908401826001600160601b03169052565b50604083015161264c604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006126998185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610df7565b600080604083850312156126f857600080fd5b8235915060208301358060000b811461271057600080fd5b809150509250929050565b6001600160c01b0319811681146125c957600080fd5b60006020828403121561274357600080fd5b81356108538161271b565b60005b83811015612769578181015183820152602001612751565b50506000910152565b6000815180845261278a81602086016020860161274e565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526127ce610100840182612772565b90506040840151606084015263ffffffff6060850151166080840152608084015161280160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128308282612772565b95945050505050565b6001600160a01b03811681146125c957600080fd5b60006020828403121561286057600080fd5b813561085381612839565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526128a960c0840182612772565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156128eb57600080fd5b82356128f6816125b4565b9150602083013562ffffff8116811461271057600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261294b60a0840182612772565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156129a0576129a0612968565b60405290565b604080519081016001600160401b03811182821017156129a0576129a0612968565b60405161012081016001600160401b03811182821017156129a0576129a0612968565b60405160e081016001600160401b03811182821017156129a0576129a0612968565b60405160a081016001600160401b03811182821017156129a0576129a0612968565b60405160c081016001600160401b03811182821017156129a0576129a0612968565b60405161016081016001600160401b03811182821017156129a0576129a0612968565b60405161022081016001600160401b03811182821017156129a0576129a0612968565b60405161010081016001600160401b03811182821017156129a0576129a0612968565b604051601f8201601f191681016001600160401b0381118282101715612ae257612ae2612968565b604052919050565b60006001600160401b03821115612b0357612b03612968565b50601f01601f191660200190565b60008060408385031215612b2457600080fd5b8235612b2f816125b4565b915060208301356001600160401b03811115612b4a57600080fd5b8301601f81018513612b5b57600080fd5b8035612b6e612b6982612aea565b612aba565b818152866020838501011115612b8357600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526001600160601b03825116602082015260006020830151612bd5604084018280518252602090810151910152565b50604083015160e06080840152612bf0610100840182612772565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c081016020830151612c5560208401826001600160401b03169052565b506040830151612c7060408401826001600160601b03169052565b506060830151612c84606084018215159052565b506080830151612c98608084018215159052565b5060a0830151612cac60a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151612cde8285018280518252602090810151910152565b5050610120830151610140612cff8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610df7565b6001600160401b03811681146125c957600080fd5b60008060408385031215612d4457600080fd5b8235612d4f81612839565b9150602083013561271081612d1c565b61ffff811681146125c957600080fd5b60008060408385031215612d8257600080fd5b8235612d8d816125b4565b9150602083013561271081612d5f565b602081526001600160601b03825116602082015260006020830151604080840152612dcb6060840182612772565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151612e18608084018260ff169052565b50608083015160e060a0840152612e33610100840182612772565b905060a0840151601f198483030160c0850152612e508282612772565b91505060c0840151612e6b60e085018264ffffffffff169052565b509392505050565b60208152612e8d6020820183516001600160601b03169052565b60006020830151612ea960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100612f2f8185018364ffffffffff169052565b808501519150506102206101208181860152612f4f610240860184612772565b9250808601519050610140601f198685030181870152612f6f8483612772565b935080870151915050610160612f8a8187018361ffff169052565b8601519050610180612fa18682018361ffff169052565b86015190506101a0612fbd868201836001600160601b03169052565b86015190506101c0612fd9868201836001600160601b03169052565b86015190506101e0612ff38682018364ffffffffff169052565b860151905061020061300d8682018364ffffffffff169052565b86015164ffffffffff81168387015290505b5090949350505050565b6020815260008251610120806020850152613048610140850183612772565b9150602085015160408501526040850151606085015260608501516080850152608085015161307f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006130b58187018315159052565b860151858403601f19018387015290506130cf8382612772565b9695505050505050565b602081526000825160c060208401526130f560e0840182612772565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526128308282612772565b60006020828403121561316557600080fd5b813561085381612d1c565b6020815261318a6020820183516001600160601b03169052565b600060208301516101008060408501526131a8610120850183612772565b915060408501516131c460608601826001600160601b03169052565b506060850151601f19808685030160808701526131e18483612772565b935060808701519150808685030160a0870152506131ff8382612772565b92505060a085015161321a60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e08501518015158583015261301f565b805161324a816125b4565b919050565b60006020828403121561326157600080fd5b8151610853816125b4565b60ff811681146125c957600080fd5b805161324a8161326c565b63ffffffff811681146125c957600080fd5b805161324a81613286565b6000608082840312156132b557600080fd5b6132bd61297e565b82516132c88161326c565b815260208301516132d88161326c565b602082015260408301516132eb81613286565b604082015260608301516132fe81613286565b60608201529392505050565b600082601f83011261331b57600080fd5b8151613329612b6982612aea565b81815284602083860101111561333e57600080fd5b612dcb82602083016020870161274e565b60006020828403121561336157600080fd5b81516001600160401b0381111561337757600080fd5b612dcb8482850161330a565b60006040828403121561339557600080fd5b61339d6129a6565b9050815181526020820151602082015292915050565b600061020082840312156133c657600080fd5b6133ce6129c8565b6133d78361323f565b81526133e56020840161323f565b60208201526133f78460408501613383565b60408201526134098460808501613383565b606082015261341b8460c08501613383565b608082015261010061342f85828601613383565b60a0830152613442856101408601613383565b60c0830152613455856101808601613383565b60e0830152613468856101c08601613383565b908201529392505050565b60006020828403121561348557600080fd5b5051919050565b64ffffffffff811681146125c957600080fd5b805161324a8161348c565b6000602082840312156134bc57600080fd5b81516001600160401b03808211156134d357600080fd5b9083019060e082860312156134e757600080fd5b6134ef6129eb565b6134f88361323f565b815260208301518281111561350c57600080fd5b6135188782860161330a565b6020830152506040830151604082015261353460608401613298565b606082015261354560808401613298565b608082015261355660a0840161349f565b60a082015260c08301518281111561356d57600080fd5b6135798782860161330a565b60c08301525095945050505050565b60006020828403121561359a57600080fd5b815161085381612839565b8051801515811461324a57600080fd5b6000602082840312156135c757600080fd5b610853826135a5565b805161324a8161271b565b6000602082840312156135ed57600080fd5b81516001600160401b038082111561360457600080fd5b9083019060a0828603121561361857600080fd5b613620612a0d565b825161362b8161271b565b8152613639602084016135a5565b602082015260408301518281111561365057600080fd5b61365c8782860161330a565b60408301525060608301519150613672826125b4565b8160608201526080830151925061368883613286565b6080810192909252509392505050565b805161324a81612d5f565b6000602082840312156136b557600080fd5b81516001600160401b03808211156136cc57600080fd5b90830190608082860312156136e057600080fd5b6136e861297e565b82516136f381612d5f565b81526020830151613703816125b4565b602082015260408301518281111561371a57600080fd5b6137268782860161330a565b6040830152506060830151925061373c8361348c565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612dcb6040830184612772565b60006020828403121561378057600080fd5b81516108538161271b565b60006020828403121561379d57600080fd5b81516001600160401b03808211156137b457600080fd5b9083019060e082860312156137c857600080fd5b6137d0612a2f565b82516137db816125b4565b81526137ea8660208501613383565b602082015260608301518281111561380157600080fd5b61380d8782860161330a565b604083015250608083015191506138238261348c565b81606082015261383560a0840161349f565b608082015261384660c0840161349f565b60a082015295945050505050565b805161324a81612d1c565b60006101c0828403121561387257600080fd5b61387a612a51565b6138838361323f565b815261389160208401613854565b60208201526138a26040840161323f565b60408201526138b3606084016135a5565b60608201526138c4608084016135a5565b60808201526138d560a084016135a5565b60a082015260c083015160c082015260e083015160e08201526101006138fd85828601613383565b9082015261014061391085858301613383565b610120830152613468856101808601613383565b60006020828403121561393657600080fd5b81516108538161326c565b60006020828403121561395357600080fd5b81516108538161348c565b60006020828403121561397057600080fd5b81516001600160401b038082111561398757600080fd5b908301906040828603121561399b57600080fd5b6139a36129a6565b82516139ae816125b4565b81526020830151828111156139c257600080fd5b6139ce8782860161330a565b60208301525095945050505050565b805161324a81612839565b6000602082840312156139fa57600080fd5b81516001600160401b0380821115613a1157600080fd5b9083019060c08286031215613a2557600080fd5b613a2d612a2f565b825182811115613a3c57600080fd5b613a488782860161330a565b825250613a576020840161323f565b6020820152613a68604084016139dd565b6040820152613a79606084016139dd565b6060820152613a8a608084016139dd565b608082015260a083015182811115613aa157600080fd5b613aad8782860161330a565b60a08301525095945050505050565b600060208284031215613ace57600080fd5b81516001600160401b0380821115613ae557600080fd5b9083019060e08286031215613af957600080fd5b613b016129eb565b613b0a8361323f565b8152613b186020840161323f565b6020820152613b296040840161327b565b6040820152613b3a6060840161327b565b6060820152608083015182811115613b5157600080fd5b613b5d8782860161330a565b60808301525060a083015182811115613b7557600080fd5b613b818782860161330a565b60a083015250613b9360c0840161349f565b60c082015295945050505050565b600060208284031215613bb357600080fd5b81516001600160401b0380821115613bca57600080fd5b908301906102208286031215613bdf57600080fd5b613be7612a74565b613bf08361323f565b8152613bfe6020840161323f565b6020820152613c0f604084016135d0565b6040820152613c20606084016135d0565b6060820152613c316080840161323f565b6080820152613c4260a0840161323f565b60a0820152613c5360c0840161323f565b60c0820152613c6460e0840161349f565b60e08201526101008084015183811115613c7d57600080fd5b613c898882870161330a565b8284015250506101208084015183811115613ca357600080fd5b613caf8882870161330a565b8284015250506101409150613cc5828401613698565b828201526101609150613cd9828401613698565b828201526101809150613ced82840161323f565b828201526101a09150613d0182840161323f565b828201526101c09150613d1582840161349f565b828201526101e09150613d2982840161349f565b828201526102009150613d3d82840161349f565b91810191909152949350505050565b600060208284031215613d5e57600080fd5b81516001600160401b0380821115613d7557600080fd5b908301906101208286031215613d8a57600080fd5b613d926129c8565b825182811115613da157600080fd5b613dad8782860161330a565b825250602083015160208201526040830151604082015260608301516060820152613dda60808401613298565b6080820152613deb60a08401613298565b60a0820152613dfc60c084016135a5565b60c0820152613e0d60e084016135a5565b60e08201526101008084015183811115613e2657600080fd5b613e328882870161330a565b918301919091525095945050505050565b600060208284031215613e5557600080fd5b81516001600160401b0380821115613e6c57600080fd5b908301906101008286031215613e8157600080fd5b613e89612a97565b613e928361323f565b8152602083015182811115613ea657600080fd5b613eb28782860161330a565b602083015250613ec46040840161323f565b6040820152606083015182811115613edb57600080fd5b613ee78782860161330a565b606083015250608083015182811115613eff57600080fd5b613f0b8782860161330a565b608083015250613f1d60a0840161349f565b60a0820152613f2e60c0840161349f565b60c0820152613f3f60e084016135a5565b60e08201529594505050505056fea26469706673582212200adba65cbc2832c3af1830a5056d0ea56f6e7b71a24f605cd9f0826933a7fce564736f6c63430008140033",
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$__9063c4cade9d90604401602060405180830381865af4158015611229573d6000803e3d6000fd5b60405180610120016040528060006001600160601b0316815260200160006001600160601b0316815260200161242d604051806040016040528060008152602001600081525090565b815260200161244f604051806040016040528060008152602001600081525090565b8152602001612471604051806040016040528060008152602001600081525090565b8152602001612493604051806040016040528060008152602001600081525090565b81526020016124b5604051806040016040528060008152602001600081525090565b81526020016124d7604051806040016040528060008152602001600081525090565b81526020016124f9604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612536604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e083018290528351808501909452818452830152906101008201906124b5565b6001600160601b03811681146125c957600080fd5b50565b6000602082840312156125de57600080fd5b8135610853816125b4565b6000602082840312156125fb57600080fd5b5035919050565b81516001600160601b0316815260208083015161020083019161262f908401826001600160601b03169052565b50604083015161264c604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006126998185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610df7565b600080604083850312156126f857600080fd5b8235915060208301358060000b811461271057600080fd5b809150509250929050565b6001600160c01b0319811681146125c957600080fd5b60006020828403121561274357600080fd5b81356108538161271b565b60005b83811015612769578181015183820152602001612751565b50506000910152565b6000815180845261278a81602086016020860161274e565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526127ce610100840182612772565b90506040840151606084015263ffffffff6060850151166080840152608084015161280160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128308282612772565b95945050505050565b6001600160a01b03811681146125c957600080fd5b60006020828403121561286057600080fd5b813561085381612839565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526128a960c0840182612772565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156128eb57600080fd5b82356128f6816125b4565b9150602083013562ffffff8116811461271057600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261294b60a0840182612772565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156129a0576129a0612968565b60405290565b604080519081016001600160401b03811182821017156129a0576129a0612968565b60405161012081016001600160401b03811182821017156129a0576129a0612968565b60405160e081016001600160401b03811182821017156129a0576129a0612968565b60405160a081016001600160401b03811182821017156129a0576129a0612968565b60405160c081016001600160401b03811182821017156129a0576129a0612968565b60405161016081016001600160401b03811182821017156129a0576129a0612968565b60405161022081016001600160401b03811182821017156129a0576129a0612968565b60405161010081016001600160401b03811182821017156129a0576129a0612968565b604051601f8201601f191681016001600160401b0381118282101715612ae257612ae2612968565b604052919050565b60006001600160401b03821115612b0357612b03612968565b50601f01601f191660200190565b60008060408385031215612b2457600080fd5b8235612b2f816125b4565b915060208301356001600160401b03811115612b4a57600080fd5b8301601f81018513612b5b57600080fd5b8035612b6e612b6982612aea565b612aba565b818152866020838501011115612b8357600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526001600160601b03825116602082015260006020830151612bd5604084018280518252602090810151910152565b50604083015160e06080840152612bf0610100840182612772565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c081016020830151612c5560208401826001600160401b03169052565b506040830151612c7060408401826001600160601b03169052565b506060830151612c84606084018215159052565b506080830151612c98608084018215159052565b5060a0830151612cac60a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151612cde8285018280518252602090810151910152565b5050610120830151610140612cff8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610df7565b6001600160401b03811681146125c957600080fd5b60008060408385031215612d4457600080fd5b8235612d4f81612839565b9150602083013561271081612d1c565b61ffff811681146125c957600080fd5b60008060408385031215612d8257600080fd5b8235612d8d816125b4565b9150602083013561271081612d5f565b602081526001600160601b03825116602082015260006020830151604080840152612dcb6060840182612772565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151612e18608084018260ff169052565b50608083015160e060a0840152612e33610100840182612772565b905060a0840151601f198483030160c0850152612e508282612772565b91505060c0840151612e6b60e085018264ffffffffff169052565b509392505050565b60208152612e8d6020820183516001600160601b03169052565b60006020830151612ea960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100612f2f8185018364ffffffffff169052565b808501519150506102206101208181860152612f4f610240860184612772565b9250808601519050610140601f198685030181870152612f6f8483612772565b935080870151915050610160612f8a8187018361ffff169052565b8601519050610180612fa18682018361ffff169052565b86015190506101a0612fbd868201836001600160601b03169052565b86015190506101c0612fd9868201836001600160601b03169052565b86015190506101e0612ff38682018364ffffffffff169052565b860151905061020061300d8682018364ffffffffff169052565b86015164ffffffffff81168387015290505b5090949350505050565b6020815260008251610120806020850152613048610140850183612772565b9150602085015160408501526040850151606085015260608501516080850152608085015161307f60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006130b58187018315159052565b860151858403601f19018387015290506130cf8382612772565b9695505050505050565b602081526000825160c060208401526130f560e0840182612772565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526128308282612772565b60006020828403121561316557600080fd5b813561085381612d1c565b6020815261318a6020820183516001600160601b03169052565b600060208301516101008060408501526131a8610120850183612772565b915060408501516131c460608601826001600160601b03169052565b506060850151601f19808685030160808701526131e18483612772565b935060808701519150808685030160a0870152506131ff8382612772565b92505060a085015161321a60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e08501518015158583015261301f565b805161324a816125b4565b919050565b60006020828403121561326157600080fd5b8151610853816125b4565b60ff811681146125c957600080fd5b805161324a8161326c565b63ffffffff811681146125c957600080fd5b805161324a81613286565b6000608082840312156132b557600080fd5b6132bd61297e565b82516132c88161326c565b815260208301516132d88161326c565b602082015260408301516132eb81613286565b604082015260608301516132fe81613286565b60608201529392505050565b600082601f83011261331b57600080fd5b8151613329612b6982612aea565b81815284602083860101111561333e57600080fd5b612dcb82602083016020870161274e565b60006020828403121561336157600080fd5b81516001600160401b0381111561337757600080fd5b612dcb8482850161330a565b60006040828403121561339557600080fd5b61339d6129a6565b9050815181526020820151602082015292915050565b600061020082840312156133c657600080fd5b6133ce6129c8565b6133d78361323f565b81526133e56020840161323f565b60208201526133f78460408501613383565b60408201526134098460808501613383565b606082015261341b8460c08501613383565b608082015261010061342f85828601613383565b60a0830152613442856101408601613383565b60c0830152613455856101808601613383565b60e0830152613468856101c08601613383565b908201529392505050565b60006020828403121561348557600080fd5b5051919050565b64ffffffffff811681146125c957600080fd5b805161324a8161348c565b6000602082840312156134bc57600080fd5b81516001600160401b03808211156134d357600080fd5b9083019060e082860312156134e757600080fd5b6134ef6129eb565b6134f88361323f565b815260208301518281111561350c57600080fd5b6135188782860161330a565b6020830152506040830151604082015261353460608401613298565b606082015261354560808401613298565b608082015261355660a0840161349f565b60a082015260c08301518281111561356d57600080fd5b6135798782860161330a565b60c08301525095945050505050565b60006020828403121561359a57600080fd5b815161085381612839565b8051801515811461324a57600080fd5b6000602082840312156135c757600080fd5b610853826135a5565b805161324a8161271b565b6000602082840312156135ed57600080fd5b81516001600160401b038082111561360457600080fd5b9083019060a0828603121561361857600080fd5b613620612a0d565b825161362b8161271b565b8152613639602084016135a5565b602082015260408301518281111561365057600080fd5b61365c8782860161330a565b60408301525060608301519150613672826125b4565b8160608201526080830151925061368883613286565b6080810192909252509392505050565b805161324a81612d5f565b6000602082840312156136b557600080fd5b81516001600160401b03808211156136cc57600080fd5b90830190608082860312156136e057600080fd5b6136e861297e565b82516136f381612d5f565b81526020830151613703816125b4565b602082015260408301518281111561371a57600080fd5b6137268782860161330a565b6040830152506060830151925061373c8361348c565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612dcb6040830184612772565b60006020828403121561378057600080fd5b81516108538161271b565b60006020828403121561379d57600080fd5b81516001600160401b03808211156137b457600080fd5b9083019060e082860312156137c857600080fd5b6137d0612a2f565b82516137db816125b4565b81526137ea8660208501613383565b602082015260608301518281111561380157600080fd5b61380d8782860161330a565b604083015250608083015191506138238261348c565b81606082015261383560a0840161349f565b608082015261384660c0840161349f565b60a082015295945050505050565b805161324a81612d1c565b60006101c0828403121561387257600080fd5b61387a612a51565b6138838361323f565b815261389160208401613854565b60208201526138a26040840161323f565b60408201526138b3606084016135a5565b60608201526138c4608084016135a5565b60808201526138d560a084016135a5565b60a082015260c083015160c082015260e083015160e08201526101006138fd85828601613383565b9082015261014061391085858301613383565b610120830152613468856101808601613383565b60006020828403121561393657600080fd5b81516108538161326c565b60006020828403121561395357600080fd5b81516108538161348c565b60006020828403121561397057600080fd5b81516001600160401b038082111561398757600080fd5b908301906040828603121561399b57600080fd5b6139a36129a6565b82516139ae816125b4565b81526020830151828111156139c257600080fd5b6139ce8782860161330a565b60208301525095945050505050565b805161324a81612839565b6000602082840312156139fa57600080fd5b81516001600160401b0380821115613a1157600080fd5b9083019060c08286031215613a2557600080fd5b613a2d612a2f565b825182811115613a3c57600080fd5b613a488782860161330a565b825250613a576020840161323f565b6020820152613a68604084016139dd565b6040820152613a79606084016139dd565b6060820152613a8a608084016139dd565b608082015260a083015182811115613aa157600080fd5b613aad8782860161330a565b60a08301525095945050505050565b600060208284031215613ace57600080fd5b81516001600160401b0380821115613ae557600080fd5b9083019060e08286031215613af957600080fd5b613b016129eb565b613b0a8361323f565b8152613b186020840161323f565b6020820152613b296040840161327b565b6040820152613b3a6060840161327b565b6060820152608083015182811115613b5157600080fd5b613b5d8782860161330a565b60808301525060a083015182811115613b7557600080fd5b613b818782860161330a565b60a083015250613b9360c0840161349f565b60c082015295945050505050565b600060208284031215613bb357600080fd5b81516001600160401b0380821115613bca57600080fd5b908301906102208286031215613bdf57600080fd5b613be7612a74565b613bf08361323f565b8152613bfe6020840161323f565b6020820152613c0f604084016135d0565b6040820152613c20606084016135d0565b6060820152613c316080840161323f565b6080820152613c4260a0840161323f565b60a0820152613c5360c0840161323f565b60c0820152613c6460e0840161349f565b60e08201526101008084015183811115613c7d57600080fd5b613c898882870161330a565b8284015250506101208084015183811115613ca357600080fd5b613caf8882870161330a565b8284015250506101409150613cc5828401613698565b828201526101609150613cd9828401613698565b828201526101809150613ced82840161323f565b828201526101a09150613d0182840161323f565b828201526101c09150613d1582840161349f565b828201526101e09150613d2982840161349f565b828201526102009150613d3d82840161349f565b91810191909152949350505050565b600060208284031215613d5e57600080fd5b81516001600160401b0380821115613d7557600080fd5b908301906101208286031215613d8a57600080fd5b613d926129c8565b825182811115613da157600080fd5b613dad8782860161330a565b825250602083015160208201526040830151604082015260608301516060820152613dda60808401613298565b6080820152613deb60a08401613298565b60a0820152613dfc60c084016135a5565b60c0820152613e0d60e084016135a5565b60e08201526101008084015183811115613e2657600080fd5b613e328882870161330a565b918301919091525095945050505050565b600060208284031215613e5557600080fd5b81516001600160401b0380821115613e6c57600080fd5b908301906101008286031215613e8157600080fd5b613e89612a97565b613e928361323f565b8152602083015182811115613ea657600080fd5b613eb28782860161330a565b602083015250613ec46040840161323f565b6040820152606083015182811115613edb57600080fd5b613ee78782860161330a565b606083015250608083015182811115613eff57600080fd5b613f0b8782860161330a565b608083015250613f1d60a0840161349f565b60a0820152613f2e60c0840161349f565b60c0820152613f3f60e084016135a5565b60e08201529594505050505056fea26469706673582212200adba65cbc2832c3af1830a5056d0ea56f6e7b71a24f605cd9f0826933a7fce564736f6c63430008140033",
710
1427
  "linkReferences": {
711
- "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": {
712
1449
  "DistributorTypeLib": [
713
1450
  {
714
1451
  "length": 20,
715
- "start": 5096
1452
+ "start": 8270
716
1453
  }
717
1454
  ]
718
1455
  },
719
- "contracts/types/NftId.sol": {
1456
+ "contracts/type/NftId.sol": {
720
1457
  "NftIdLib": [
721
1458
  {
722
1459
  "length": 20,
723
- "start": 174
1460
+ "start": 3136
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 3978
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 4442
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 4990
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 5697
724
1477
  },
725
1478
  {
726
1479
  "length": 20,
727
- "start": 2747
1480
+ "start": 5742
728
1481
  },
729
1482
  {
730
1483
  "length": 20,
731
- "start": 3277
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
732
1497
  },
733
1498
  {
734
1499
  "length": 20,
735
- "start": 3322
1500
+ "start": 4248
736
1501
  }
737
1502
  ]
738
1503
  },
739
- "contracts/types/Referral.sol": {
1504
+ "contracts/type/Referral.sol": {
740
1505
  "ReferralLib": [
741
1506
  {
742
1507
  "length": 20,
743
- "start": 2514
1508
+ "start": 2422
744
1509
  },
745
1510
  {
746
1511
  "length": 20,
747
- "start": 3107
1512
+ "start": 3642
748
1513
  }
749
1514
  ]
750
1515
  },
751
- "contracts/types/RiskId.sol": {
1516
+ "contracts/type/RequestId.sol": {
1517
+ "RequestIdLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 8908
1521
+ }
1522
+ ]
1523
+ },
1524
+ "contracts/type/RiskId.sol": {
752
1525
  "RiskIdLib": [
753
1526
  {
754
1527
  "length": 20,
755
- "start": 3437
1528
+ "start": 5904
756
1529
  }
757
1530
  ]
758
1531
  },
759
- "contracts/types/Timestamp.sol": {
1532
+ "contracts/type/Timestamp.sol": {
760
1533
  "TimestampLib": [
761
1534
  {
762
1535
  "length": 20,
763
- "start": 4033
1536
+ "start": 5133
1537
+ },
1538
+ {
1539
+ "length": 20,
1540
+ "start": 5276
764
1541
  },
765
1542
  {
766
1543
  "length": 20,
767
- "start": 4264
1544
+ "start": 5446
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 7016
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 7247
768
1553
  }
769
1554
  ]
770
1555
  },
771
- "contracts/types/UFixed.sol": {
772
- "UFixedMathLib": [
1556
+ "contracts/type/UFixed.sol": {
1557
+ "UFixedLib": [
773
1558
  {
774
1559
  "length": 20,
775
- "start": 2304
1560
+ "start": 2219
776
1561
  },
777
1562
  {
778
1563
  "length": 20,
779
- "start": 3239
1564
+ "start": 3774
780
1565
  },
781
1566
  {
782
1567
  "length": 20,
783
- "start": 4134
1568
+ "start": 7117
784
1569
  },
785
1570
  {
786
1571
  "length": 20,
787
- "start": 4393
1572
+ "start": 7376
788
1573
  },
789
1574
  {
790
1575
  "length": 20,
791
- "start": 4536
1576
+ "start": 7519
792
1577
  }
793
1578
  ]
794
1579
  }
795
1580
  },
796
1581
  "deployedLinkReferences": {
797
- "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": {
798
1603
  "DistributorTypeLib": [
799
1604
  {
800
1605
  "length": 20,
801
- "start": 3729
1606
+ "start": 8228
802
1607
  }
803
1608
  ]
804
1609
  },
805
- "contracts/types/NftId.sol": {
1610
+ "contracts/type/NftId.sol": {
806
1611
  "NftIdLib": [
807
1612
  {
808
1613
  "length": 20,
809
- "start": 1380
1614
+ "start": 3094
1615
+ },
1616
+ {
1617
+ "length": 20,
1618
+ "start": 3936
1619
+ },
1620
+ {
1621
+ "length": 20,
1622
+ "start": 4400
1623
+ },
1624
+ {
1625
+ "length": 20,
1626
+ "start": 4948
1627
+ },
1628
+ {
1629
+ "length": 20,
1630
+ "start": 5655
1631
+ },
1632
+ {
1633
+ "length": 20,
1634
+ "start": 5700
1635
+ },
1636
+ {
1637
+ "length": 20,
1638
+ "start": 8455
810
1639
  },
811
1640
  {
812
1641
  "length": 20,
813
- "start": 1910
1642
+ "start": 8706
1643
+ }
1644
+ ]
1645
+ },
1646
+ "contracts/type/PayoutId.sol": {
1647
+ "PayoutIdLib": [
1648
+ {
1649
+ "length": 20,
1650
+ "start": 3344
814
1651
  },
815
1652
  {
816
1653
  "length": 20,
817
- "start": 1955
1654
+ "start": 4206
818
1655
  }
819
1656
  ]
820
1657
  },
821
- "contracts/types/Referral.sol": {
1658
+ "contracts/type/Referral.sol": {
822
1659
  "ReferralLib": [
823
1660
  {
824
1661
  "length": 20,
825
- "start": 1147
1662
+ "start": 2380
826
1663
  },
827
1664
  {
828
1665
  "length": 20,
829
- "start": 1740
1666
+ "start": 3600
1667
+ }
1668
+ ]
1669
+ },
1670
+ "contracts/type/RequestId.sol": {
1671
+ "RequestIdLib": [
1672
+ {
1673
+ "length": 20,
1674
+ "start": 8866
830
1675
  }
831
1676
  ]
832
1677
  },
833
- "contracts/types/RiskId.sol": {
1678
+ "contracts/type/RiskId.sol": {
834
1679
  "RiskIdLib": [
835
1680
  {
836
1681
  "length": 20,
837
- "start": 2070
1682
+ "start": 5862
838
1683
  }
839
1684
  ]
840
1685
  },
841
- "contracts/types/Timestamp.sol": {
1686
+ "contracts/type/Timestamp.sol": {
842
1687
  "TimestampLib": [
843
1688
  {
844
1689
  "length": 20,
845
- "start": 2666
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
846
1703
  },
847
1704
  {
848
1705
  "length": 20,
849
- "start": 2897
1706
+ "start": 7205
850
1707
  }
851
1708
  ]
852
1709
  },
853
- "contracts/types/UFixed.sol": {
854
- "UFixedMathLib": [
1710
+ "contracts/type/UFixed.sol": {
1711
+ "UFixedLib": [
855
1712
  {
856
1713
  "length": 20,
857
- "start": 937
1714
+ "start": 2177
858
1715
  },
859
1716
  {
860
1717
  "length": 20,
861
- "start": 1872
1718
+ "start": 3732
862
1719
  },
863
1720
  {
864
1721
  "length": 20,
865
- "start": 2767
1722
+ "start": 7075
866
1723
  },
867
1724
  {
868
1725
  "length": 20,
869
- "start": 3026
1726
+ "start": 7334
870
1727
  },
871
1728
  {
872
1729
  "length": 20,
873
- "start": 3169
1730
+ "start": 7477
874
1731
  }
875
1732
  ]
876
1733
  }