@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce86487-031

Sign up to get free protection for your applications and to get access to all the features.
Files changed (615) hide show
  1. package/README.md +224 -17
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +499 -549
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1518 -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 +1196 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1557 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +854 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +943 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +945 -0
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +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 +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1045 -230
  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 +3469 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +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 +802 -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 +1055 -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 +1432 -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 +1521 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +830 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +938 -0
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +946 -0
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1213 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1218 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1700 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +798 -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 +1280 -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 +1339 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/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 +788 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +805 -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 +985 -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 +1324 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +794 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -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 +1238 -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 +404 -58
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +389 -194
  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 +567 -150
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +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/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +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 +858 -0
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1712 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -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/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +737 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +474 -0
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  199. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  201. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +134 -29
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +977 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +78 -87
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  212. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  213. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  217. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  222. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  223. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +203 -164
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +107 -6
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  227. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  228. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  229. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  230. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  231. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +470 -0
  232. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/Staking.sol/Staking.json +1991 -0
  234. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  236. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +773 -0
  238. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  240. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  242. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  244. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  246. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  247. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  248. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  249. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  250. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  252. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  254. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  256. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  258. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  260. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  262. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  264. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  266. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  268. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  270. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  272. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  274. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  276. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  278. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +222 -0
  280. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  286. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  294. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  296. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  298. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  299. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  300. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  301. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  302. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  303. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  304. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  305. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  306. package/contracts/authorization/AccessAdmin.sol +591 -0
  307. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  308. package/contracts/authorization/Authorization.sol +218 -0
  309. package/contracts/authorization/IAccess.sol +48 -0
  310. package/contracts/authorization/IAccessAdmin.sol +136 -0
  311. package/contracts/authorization/IAuthorization.sol +54 -0
  312. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  313. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  314. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  316. package/contracts/distribution/BasicDistribution.sol +138 -0
  317. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  318. package/contracts/distribution/Distribution.sol +295 -0
  319. package/contracts/distribution/DistributionService.sol +336 -0
  320. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  321. package/contracts/distribution/IDistributionComponent.sol +52 -0
  322. package/contracts/distribution/IDistributionService.sol +97 -0
  323. package/contracts/instance/BundleSet.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 +204 -0
  329. package/contracts/instance/InstanceReader.sol +232 -59
  330. package/contracts/instance/InstanceService.sol +422 -24
  331. package/contracts/instance/InstanceServiceManager.sol +40 -0
  332. package/contracts/instance/InstanceStore.sol +277 -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/ObjectSet.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 +46 -0
  341. package/contracts/instance/module/IDistribution.sol +6 -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} +6 -6
  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 +33 -0
  349. package/contracts/oracle/IOracleService.sol +65 -0
  350. package/contracts/oracle/Oracle.sol +166 -0
  351. package/contracts/oracle/OracleService.sol +278 -0
  352. package/contracts/oracle/OracleServiceManager.sol +39 -0
  353. package/contracts/pool/BasicPool.sol +166 -0
  354. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  355. package/contracts/pool/BundleService.sol +450 -0
  356. package/contracts/pool/BundleServiceManager.sol +39 -0
  357. package/contracts/pool/IBundleService.sol +135 -0
  358. package/contracts/pool/IPoolComponent.sol +58 -0
  359. package/contracts/pool/IPoolService.sol +149 -0
  360. package/contracts/pool/Pool.sol +328 -0
  361. package/contracts/pool/PoolService.sol +559 -0
  362. package/contracts/pool/PoolServiceManager.sol +39 -0
  363. package/contracts/product/ApplicationService.sol +230 -0
  364. package/contracts/product/ApplicationServiceManager.sol +38 -0
  365. package/contracts/product/BasicProduct.sol +52 -0
  366. package/contracts/product/BasicProductAuthorization.sol +43 -0
  367. package/contracts/product/ClaimService.sol +424 -0
  368. package/contracts/product/ClaimServiceManager.sol +38 -0
  369. package/contracts/product/IApplicationService.sol +62 -0
  370. package/contracts/product/IClaimService.sol +100 -0
  371. package/contracts/product/IPolicyService.sol +84 -0
  372. package/contracts/product/IPricingService.sol +39 -0
  373. package/contracts/product/IProductComponent.sol +40 -0
  374. package/contracts/product/IProductService.sol +33 -0
  375. package/contracts/product/PolicyService.sol +542 -0
  376. package/contracts/product/PolicyServiceManager.sol +39 -0
  377. package/contracts/product/PricingService.sol +300 -0
  378. package/contracts/product/PricingServiceManager.sol +39 -0
  379. package/contracts/product/Product.sol +411 -0
  380. package/contracts/product/ProductService.sol +99 -0
  381. package/contracts/product/ProductServiceManager.sol +39 -0
  382. package/contracts/registry/ChainNft.sol +55 -25
  383. package/contracts/registry/IRegistry.sol +91 -30
  384. package/contracts/registry/IRegistryService.sol +56 -16
  385. package/contracts/registry/ITransferInterceptor.sol +1 -0
  386. package/contracts/registry/Registry.sol +411 -326
  387. package/contracts/registry/RegistryAdmin.sol +365 -0
  388. package/contracts/registry/RegistryService.sol +155 -272
  389. package/contracts/registry/RegistryServiceManager.sol +29 -19
  390. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  391. package/contracts/registry/ReleaseRegistry.sol +485 -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 +650 -0
  396. package/contracts/shared/ComponentServiceManager.sol +35 -0
  397. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  398. package/contracts/shared/IComponent.sol +71 -0
  399. package/contracts/shared/IComponentService.sol +108 -0
  400. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  401. package/contracts/{instance/base → shared}/IKeyValueStore.sol +20 -14
  402. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  403. package/contracts/shared/INftOwnable.sol +13 -12
  404. package/contracts/shared/IPolicyHolder.sol +45 -0
  405. package/contracts/shared/IRegisterable.sol +4 -6
  406. package/contracts/shared/IRegistryLinked.sol +11 -0
  407. package/contracts/shared/IService.sol +25 -0
  408. package/contracts/shared/InitializableCustom.sol +177 -0
  409. package/contracts/shared/InitializableERC165.sol +27 -0
  410. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  411. package/contracts/shared/KeyValueStore.sol +131 -0
  412. package/contracts/shared/Lifecycle.sol +77 -0
  413. package/contracts/shared/NftIdSet.sol +65 -0
  414. package/contracts/shared/NftOwnable.sol +60 -89
  415. package/contracts/shared/PolicyHolder.sol +99 -0
  416. package/contracts/shared/Registerable.sol +27 -41
  417. package/contracts/shared/RegistryLinked.sol +43 -0
  418. package/contracts/shared/Service.sol +82 -0
  419. package/contracts/shared/TokenHandler.sol +43 -8
  420. package/contracts/staking/IStaking.sol +167 -0
  421. package/contracts/staking/IStakingService.sol +160 -0
  422. package/contracts/staking/StakeManagerLib.sol +231 -0
  423. package/contracts/staking/Staking.sol +516 -0
  424. package/contracts/staking/StakingLifecycle.sol +23 -0
  425. package/contracts/staking/StakingManager.sol +50 -0
  426. package/contracts/staking/StakingReader.sol +183 -0
  427. package/contracts/staking/StakingService.sol +407 -0
  428. package/contracts/staking/StakingServiceManager.sol +44 -0
  429. package/contracts/staking/StakingStore.sol +605 -0
  430. package/contracts/staking/TargetManagerLib.sol +207 -0
  431. package/contracts/{types → type}/AddressSet.sol +1 -1
  432. package/contracts/type/Amount.sol +135 -0
  433. package/contracts/{types → type}/Blocknumber.sol +27 -3
  434. package/contracts/type/ClaimId.sol +75 -0
  435. package/contracts/{types → type}/DistributorType.sol +2 -2
  436. package/contracts/type/Fee.sol +66 -0
  437. package/contracts/{types → type}/NftId.sol +21 -15
  438. package/contracts/type/NftIdSet.sol +62 -0
  439. package/contracts/type/ObjectType.sol +271 -0
  440. package/contracts/type/PayoutId.sol +82 -0
  441. package/contracts/{types → type}/Referral.sol +6 -1
  442. package/contracts/type/RequestId.sol +75 -0
  443. package/contracts/{types → type}/RiskId.sol +1 -1
  444. package/contracts/type/RoleId.sol +174 -0
  445. package/contracts/type/Seconds.sol +93 -0
  446. package/contracts/type/Selector.sol +102 -0
  447. package/contracts/{types → type}/StateId.sol +38 -4
  448. package/contracts/type/String.sol +53 -0
  449. package/contracts/{types → type}/Timestamp.sol +34 -15
  450. package/contracts/type/UFixed.sol +351 -0
  451. package/contracts/{types → type}/Version.sol +8 -2
  452. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  453. package/contracts/upgradeability/ProxyManager.sol +198 -0
  454. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +2 -4
  455. package/contracts/upgradeability/Versionable.sol +59 -0
  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/shared/ERC165.sol/ERC165.dbg.json +0 -4
  511. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  512. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  513. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  514. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  515. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  516. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  517. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  518. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  519. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  520. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  521. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  522. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  523. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  524. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  525. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -10
  526. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  527. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  528. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  529. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  530. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  531. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  532. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  533. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  534. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  535. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  536. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  537. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  538. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  539. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  540. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  541. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  542. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  544. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  545. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  546. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  547. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  548. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  549. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  550. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  551. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  552. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  553. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  554. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  555. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  556. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  557. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  558. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  559. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  560. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  562. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  564. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  565. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  567. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  568. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  569. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  571. package/contracts/components/IBaseComponent.sol +0 -19
  572. package/contracts/experiment/errors/Require.sol +0 -38
  573. package/contracts/experiment/errors/Revert.sol +0 -44
  574. package/contracts/experiment/inheritance/A.sol +0 -53
  575. package/contracts/experiment/inheritance/B.sol +0 -28
  576. package/contracts/experiment/inheritance/C.sol +0 -34
  577. package/contracts/experiment/inheritance/IA.sol +0 -13
  578. package/contracts/experiment/inheritance/IB.sol +0 -10
  579. package/contracts/experiment/inheritance/IC.sol +0 -12
  580. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  581. package/contracts/experiment/statemachine/ISM.sol +0 -25
  582. package/contracts/experiment/statemachine/SM.sol +0 -57
  583. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  584. package/contracts/experiment/types/TypeA.sol +0 -47
  585. package/contracts/experiment/types/TypeB.sol +0 -29
  586. package/contracts/instance/AccessManagedSimple.sol +0 -114
  587. package/contracts/instance/AccessManagerSimple.sol +0 -682
  588. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  589. package/contracts/instance/InstanceAccessManager.sol +0 -288
  590. package/contracts/instance/base/IService.sol +0 -15
  591. package/contracts/instance/base/KeyValueStore.sol +0 -188
  592. package/contracts/instance/base/Lifecycle.sol +0 -100
  593. package/contracts/instance/base/ServiceBase.sol +0 -44
  594. package/contracts/instance/module/ISetup.sol +0 -41
  595. package/contracts/instance/module/ITreasury.sol +0 -23
  596. package/contracts/registry/IChainNft.sol +0 -22
  597. package/contracts/shared/ContractDeployerLib.sol +0 -72
  598. package/contracts/shared/ERC165.sol +0 -21
  599. package/contracts/shared/ProxyManager.sol +0 -94
  600. package/contracts/shared/Versionable.sol +0 -147
  601. package/contracts/test/TestFee.sol +0 -25
  602. package/contracts/test/TestRegisterable.sol +0 -18
  603. package/contracts/test/TestRoleId.sol +0 -14
  604. package/contracts/test/TestService.sol +0 -26
  605. package/contracts/test/TestVersion.sol +0 -44
  606. package/contracts/test/TestVersionable.sol +0 -17
  607. package/contracts/test/Usdc.sol +0 -26
  608. package/contracts/types/ChainId.sol +0 -38
  609. package/contracts/types/Fee.sol +0 -56
  610. package/contracts/types/NftIdSet.sol +0 -60
  611. package/contracts/types/NumberId.sol +0 -52
  612. package/contracts/types/ObjectType.sol +0 -152
  613. package/contracts/types/RoleId.sol +0 -75
  614. package/contracts/types/UFixed.sol +0 -209
  615. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,21 +3,252 @@
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": "Timestamp",
76
+ "name": "activatedAt",
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": "bundleNftId",
103
+ "type": "uint96"
104
+ }
105
+ ],
106
+ "name": "getBundleState",
107
+ "outputs": [
108
+ {
109
+ "internalType": "StateId",
110
+ "name": "state",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "policyNftId",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "ClaimId",
126
+ "name": "claimId",
127
+ "type": "uint16"
128
+ }
129
+ ],
130
+ "name": "getClaimInfo",
131
+ "outputs": [
132
+ {
133
+ "components": [
134
+ {
135
+ "internalType": "Amount",
136
+ "name": "claimAmount",
137
+ "type": "uint96"
138
+ },
139
+ {
140
+ "internalType": "Amount",
141
+ "name": "paidAmount",
142
+ "type": "uint96"
143
+ },
144
+ {
145
+ "internalType": "uint8",
146
+ "name": "payoutsCount",
147
+ "type": "uint8"
148
+ },
149
+ {
150
+ "internalType": "uint8",
151
+ "name": "openPayoutsCount",
152
+ "type": "uint8"
153
+ },
154
+ {
155
+ "internalType": "bytes",
156
+ "name": "submissionData",
157
+ "type": "bytes"
158
+ },
159
+ {
160
+ "internalType": "bytes",
161
+ "name": "processData",
162
+ "type": "bytes"
163
+ },
164
+ {
165
+ "internalType": "Timestamp",
166
+ "name": "closedAt",
167
+ "type": "uint40"
168
+ }
169
+ ],
170
+ "internalType": "struct IPolicy.ClaimInfo",
171
+ "name": "info",
172
+ "type": "tuple"
173
+ }
174
+ ],
175
+ "stateMutability": "view",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "NftId",
182
+ "name": "policyNftId",
183
+ "type": "uint96"
12
184
  },
185
+ {
186
+ "internalType": "ClaimId",
187
+ "name": "claimId",
188
+ "type": "uint16"
189
+ }
190
+ ],
191
+ "name": "getClaimState",
192
+ "outputs": [
193
+ {
194
+ "internalType": "StateId",
195
+ "name": "state",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [
13
204
  {
14
205
  "internalType": "NftId",
15
- "name": "instanceNftId",
206
+ "name": "componentNftId",
16
207
  "type": "uint96"
17
208
  }
18
209
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
210
+ "name": "getComponentInfo",
211
+ "outputs": [
212
+ {
213
+ "components": [
214
+ {
215
+ "internalType": "string",
216
+ "name": "name",
217
+ "type": "string"
218
+ },
219
+ {
220
+ "internalType": "NftId",
221
+ "name": "productNftId",
222
+ "type": "uint96"
223
+ },
224
+ {
225
+ "internalType": "contract IERC20Metadata",
226
+ "name": "token",
227
+ "type": "address"
228
+ },
229
+ {
230
+ "internalType": "contract TokenHandler",
231
+ "name": "tokenHandler",
232
+ "type": "address"
233
+ },
234
+ {
235
+ "internalType": "address",
236
+ "name": "wallet",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "internalType": "bytes",
241
+ "name": "data",
242
+ "type": "bytes"
243
+ }
244
+ ],
245
+ "internalType": "struct IComponents.ComponentInfo",
246
+ "name": "info",
247
+ "type": "tuple"
248
+ }
249
+ ],
250
+ "stateMutability": "view",
251
+ "type": "function"
21
252
  },
22
253
  {
23
254
  "inputs": [
@@ -69,6 +300,11 @@
69
300
  "internalType": "bytes",
70
301
  "name": "data",
71
302
  "type": "bytes"
303
+ },
304
+ {
305
+ "internalType": "uint32",
306
+ "name": "numPoliciesSold",
307
+ "type": "uint32"
72
308
  }
73
309
  ],
74
310
  "internalType": "struct IDistribution.DistributorInfo",
@@ -146,13 +382,19 @@
146
382
  "type": "function"
147
383
  },
148
384
  {
149
- "inputs": [],
150
- "name": "getInstance",
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "getFeeAmount",
151
393
  "outputs": [
152
394
  {
153
- "internalType": "contract IInstance",
154
- "name": "instance",
155
- "type": "address"
395
+ "internalType": "Amount",
396
+ "name": "",
397
+ "type": "uint96"
156
398
  }
157
399
  ],
158
400
  "stateMutability": "view",
@@ -160,12 +402,12 @@
160
402
  },
161
403
  {
162
404
  "inputs": [],
163
- "name": "getInstanceNftId",
405
+ "name": "getInstance",
164
406
  "outputs": [
165
407
  {
166
- "internalType": "NftId",
167
- "name": "nftId",
168
- "type": "uint96"
408
+ "internalType": "contract IInstance",
409
+ "name": "instance",
410
+ "type": "address"
169
411
  }
170
412
  ],
171
413
  "stateMutability": "view",
@@ -184,6 +426,25 @@
184
426
  "stateMutability": "view",
185
427
  "type": "function"
186
428
  },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "targetNftId",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "name": "getLockedAmount",
438
+ "outputs": [
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
187
448
  {
188
449
  "inputs": [
189
450
  {
@@ -206,11 +467,6 @@
206
467
  "name": "state",
207
468
  "type": "uint8"
208
469
  },
209
- {
210
- "internalType": "address",
211
- "name": "updatedBy",
212
- "type": "address"
213
- },
214
470
  {
215
471
  "internalType": "Blocknumber",
216
472
  "name": "updatedIn",
@@ -236,51 +492,121 @@
236
492
  "internalType": "NftId",
237
493
  "name": "policyNftId",
238
494
  "type": "uint96"
495
+ },
496
+ {
497
+ "internalType": "PayoutId",
498
+ "name": "payoutId",
499
+ "type": "uint24"
239
500
  }
240
501
  ],
241
- "name": "getPolicyInfo",
502
+ "name": "getPayoutInfo",
242
503
  "outputs": [
243
504
  {
244
505
  "components": [
245
506
  {
246
- "internalType": "NftId",
247
- "name": "productNftId",
248
- "type": "uint96"
507
+ "internalType": "ClaimId",
508
+ "name": "claimId",
509
+ "type": "uint16"
249
510
  },
250
511
  {
251
- "internalType": "NftId",
252
- "name": "bundleNftId",
512
+ "internalType": "Amount",
513
+ "name": "amount",
253
514
  "type": "uint96"
254
515
  },
255
516
  {
256
- "internalType": "ReferralId",
257
- "name": "referralId",
258
- "type": "bytes8"
259
- },
260
- {
517
+ "internalType": "bytes",
518
+ "name": "data",
519
+ "type": "bytes"
520
+ },
521
+ {
522
+ "internalType": "Timestamp",
523
+ "name": "paidAt",
524
+ "type": "uint40"
525
+ }
526
+ ],
527
+ "internalType": "struct IPolicy.PayoutInfo",
528
+ "name": "info",
529
+ "type": "tuple"
530
+ }
531
+ ],
532
+ "stateMutability": "view",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "NftId",
539
+ "name": "policyNftId",
540
+ "type": "uint96"
541
+ },
542
+ {
543
+ "internalType": "PayoutId",
544
+ "name": "payoutId",
545
+ "type": "uint24"
546
+ }
547
+ ],
548
+ "name": "getPayoutState",
549
+ "outputs": [
550
+ {
551
+ "internalType": "StateId",
552
+ "name": "state",
553
+ "type": "uint8"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "policyNftId",
564
+ "type": "uint96"
565
+ }
566
+ ],
567
+ "name": "getPolicyInfo",
568
+ "outputs": [
569
+ {
570
+ "components": [
571
+ {
572
+ "internalType": "NftId",
573
+ "name": "productNftId",
574
+ "type": "uint96"
575
+ },
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "bundleNftId",
579
+ "type": "uint96"
580
+ },
581
+ {
582
+ "internalType": "ReferralId",
583
+ "name": "referralId",
584
+ "type": "bytes8"
585
+ },
586
+ {
261
587
  "internalType": "RiskId",
262
588
  "name": "riskId",
263
589
  "type": "bytes8"
264
590
  },
265
591
  {
266
- "internalType": "uint256",
592
+ "internalType": "Amount",
267
593
  "name": "sumInsuredAmount",
268
- "type": "uint256"
594
+ "type": "uint96"
269
595
  },
270
596
  {
271
- "internalType": "uint256",
597
+ "internalType": "Amount",
272
598
  "name": "premiumAmount",
273
- "type": "uint256"
599
+ "type": "uint96"
274
600
  },
275
601
  {
276
- "internalType": "uint256",
602
+ "internalType": "Amount",
277
603
  "name": "premiumPaidAmount",
278
- "type": "uint256"
604
+ "type": "uint96"
279
605
  },
280
606
  {
281
- "internalType": "uint256",
607
+ "internalType": "Seconds",
282
608
  "name": "lifetime",
283
- "type": "uint256"
609
+ "type": "uint40"
284
610
  },
285
611
  {
286
612
  "internalType": "bytes",
@@ -289,7 +615,7 @@
289
615
  },
290
616
  {
291
617
  "internalType": "bytes",
292
- "name": "policyData",
618
+ "name": "processData",
293
619
  "type": "bytes"
294
620
  },
295
621
  {
@@ -303,9 +629,14 @@
303
629
  "type": "uint16"
304
630
  },
305
631
  {
306
- "internalType": "uint256",
632
+ "internalType": "Amount",
633
+ "name": "claimAmount",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "internalType": "Amount",
307
638
  "name": "payoutAmount",
308
- "type": "uint256"
639
+ "type": "uint96"
309
640
  },
310
641
  {
311
642
  "internalType": "Timestamp",
@@ -334,54 +665,17 @@
334
665
  {
335
666
  "inputs": [
336
667
  {
337
- "internalType": "ReferralId",
338
- "name": "referralId",
339
- "type": "bytes8"
668
+ "internalType": "NftId",
669
+ "name": "policyNftId",
670
+ "type": "uint96"
340
671
  }
341
672
  ],
342
- "name": "getReferralInfo",
673
+ "name": "getPolicyState",
343
674
  "outputs": [
344
675
  {
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"
676
+ "internalType": "StateId",
677
+ "name": "state",
678
+ "type": "uint8"
385
679
  }
386
680
  ],
387
681
  "stateMutability": "view",
@@ -390,27 +684,52 @@
390
684
  {
391
685
  "inputs": [
392
686
  {
393
- "internalType": "RiskId",
394
- "name": "riskId",
395
- "type": "bytes8"
687
+ "internalType": "NftId",
688
+ "name": "poolNftId",
689
+ "type": "uint96"
396
690
  }
397
691
  ],
398
- "name": "getRiskInfo",
692
+ "name": "getPoolInfo",
399
693
  "outputs": [
400
694
  {
401
695
  "components": [
402
696
  {
403
- "internalType": "NftId",
404
- "name": "productNftId",
697
+ "internalType": "RoleId",
698
+ "name": "bundleOwnerRole",
699
+ "type": "uint64"
700
+ },
701
+ {
702
+ "internalType": "Amount",
703
+ "name": "maxBalanceAmount",
405
704
  "type": "uint96"
406
705
  },
407
706
  {
408
- "internalType": "bytes",
409
- "name": "data",
410
- "type": "bytes"
707
+ "internalType": "bool",
708
+ "name": "isInterceptingBundleTransfers",
709
+ "type": "bool"
710
+ },
711
+ {
712
+ "internalType": "bool",
713
+ "name": "isExternallyManaged",
714
+ "type": "bool"
715
+ },
716
+ {
717
+ "internalType": "bool",
718
+ "name": "isVerifyingApplications",
719
+ "type": "bool"
720
+ },
721
+ {
722
+ "internalType": "UFixed",
723
+ "name": "collateralizationLevel",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "internalType": "UFixed",
728
+ "name": "retentionLevel",
729
+ "type": "uint256"
411
730
  }
412
731
  ],
413
- "internalType": "struct IRisk.RiskInfo",
732
+ "internalType": "struct IComponents.PoolInfo",
414
733
  "name": "info",
415
734
  "type": "tuple"
416
735
  }
@@ -426,39 +745,10 @@
426
745
  "type": "uint96"
427
746
  }
428
747
  ],
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",
748
+ "name": "getProductInfo",
449
749
  "outputs": [
450
750
  {
451
751
  "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
752
  {
463
753
  "internalType": "NftId",
464
754
  "name": "distributionNftId",
@@ -483,7 +773,7 @@
483
773
  }
484
774
  ],
485
775
  "internalType": "struct Fee",
486
- "name": "distributionFee",
776
+ "name": "productFee",
487
777
  "type": "tuple"
488
778
  },
489
779
  {
@@ -500,7 +790,7 @@
500
790
  }
501
791
  ],
502
792
  "internalType": "struct Fee",
503
- "name": "productFee",
793
+ "name": "processingFee",
504
794
  "type": "tuple"
505
795
  },
506
796
  {
@@ -517,7 +807,24 @@
517
807
  }
518
808
  ],
519
809
  "internalType": "struct Fee",
520
- "name": "processingFee",
810
+ "name": "distributionFee",
811
+ "type": "tuple"
812
+ },
813
+ {
814
+ "components": [
815
+ {
816
+ "internalType": "UFixed",
817
+ "name": "fractionalFee",
818
+ "type": "uint256"
819
+ },
820
+ {
821
+ "internalType": "uint256",
822
+ "name": "fixedFee",
823
+ "type": "uint256"
824
+ }
825
+ ],
826
+ "internalType": "struct Fee",
827
+ "name": "minDistributionOwnerFee",
521
828
  "type": "tuple"
522
829
  },
523
830
  {
@@ -572,7 +879,7 @@
572
879
  "type": "tuple"
573
880
  }
574
881
  ],
575
- "internalType": "struct ITreasury.TreasuryInfo",
882
+ "internalType": "struct IComponents.ProductInfo",
576
883
  "name": "info",
577
884
  "type": "tuple"
578
885
  }
@@ -583,56 +890,329 @@
583
890
  {
584
891
  "inputs": [
585
892
  {
586
- "internalType": "NftId",
587
- "name": "distributorNftId",
588
- "type": "uint96"
589
- }
590
- ],
591
- "name": "toDistributorKey",
592
- "outputs": [
593
- {
594
- "internalType": "Key32",
595
- "name": "",
596
- "type": "bytes32"
597
- }
598
- ],
599
- "stateMutability": "pure",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [
604
- {
605
- "internalType": "UFixed",
606
- "name": "value",
607
- "type": "uint256"
608
- }
609
- ],
610
- "name": "toInt",
611
- "outputs": [
612
- {
613
- "internalType": "uint256",
614
- "name": "",
615
- "type": "uint256"
616
- }
617
- ],
618
- "stateMutability": "pure",
619
- "type": "function"
620
- },
621
- {
622
- "inputs": [
623
- {
624
- "internalType": "NftId",
625
- "name": "policyNftId",
626
- "type": "uint96"
893
+ "internalType": "ReferralId",
894
+ "name": "referralId",
895
+ "type": "bytes8"
627
896
  }
628
897
  ],
629
- "name": "toPolicyKey",
898
+ "name": "getReferralInfo",
630
899
  "outputs": [
631
900
  {
632
- "internalType": "Key32",
633
- "name": "",
634
- "type": "bytes32"
635
- }
901
+ "components": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "distributorNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "string",
909
+ "name": "referralCode",
910
+ "type": "string"
911
+ },
912
+ {
913
+ "internalType": "UFixed",
914
+ "name": "discountPercentage",
915
+ "type": "uint256"
916
+ },
917
+ {
918
+ "internalType": "uint32",
919
+ "name": "maxReferrals",
920
+ "type": "uint32"
921
+ },
922
+ {
923
+ "internalType": "uint32",
924
+ "name": "usedReferrals",
925
+ "type": "uint32"
926
+ },
927
+ {
928
+ "internalType": "Timestamp",
929
+ "name": "expiryAt",
930
+ "type": "uint40"
931
+ },
932
+ {
933
+ "internalType": "bytes",
934
+ "name": "data",
935
+ "type": "bytes"
936
+ }
937
+ ],
938
+ "internalType": "struct IDistribution.ReferralInfo",
939
+ "name": "info",
940
+ "type": "tuple"
941
+ }
942
+ ],
943
+ "stateMutability": "view",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [
948
+ {
949
+ "internalType": "RequestId",
950
+ "name": "requestId",
951
+ "type": "uint64"
952
+ }
953
+ ],
954
+ "name": "getRequestInfo",
955
+ "outputs": [
956
+ {
957
+ "components": [
958
+ {
959
+ "internalType": "NftId",
960
+ "name": "requesterNftId",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "string",
965
+ "name": "callbackMethodName",
966
+ "type": "string"
967
+ },
968
+ {
969
+ "internalType": "NftId",
970
+ "name": "oracleNftId",
971
+ "type": "uint96"
972
+ },
973
+ {
974
+ "internalType": "bytes",
975
+ "name": "requestData",
976
+ "type": "bytes"
977
+ },
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "responseData",
981
+ "type": "bytes"
982
+ },
983
+ {
984
+ "internalType": "Timestamp",
985
+ "name": "respondedAt",
986
+ "type": "uint40"
987
+ },
988
+ {
989
+ "internalType": "Timestamp",
990
+ "name": "expiredAt",
991
+ "type": "uint40"
992
+ },
993
+ {
994
+ "internalType": "bool",
995
+ "name": "isCancelled",
996
+ "type": "bool"
997
+ }
998
+ ],
999
+ "internalType": "struct IOracle.RequestInfo",
1000
+ "name": "requestInfo",
1001
+ "type": "tuple"
1002
+ }
1003
+ ],
1004
+ "stateMutability": "view",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "RiskId",
1011
+ "name": "riskId",
1012
+ "type": "bytes8"
1013
+ }
1014
+ ],
1015
+ "name": "getRiskInfo",
1016
+ "outputs": [
1017
+ {
1018
+ "components": [
1019
+ {
1020
+ "internalType": "NftId",
1021
+ "name": "productNftId",
1022
+ "type": "uint96"
1023
+ },
1024
+ {
1025
+ "internalType": "bytes",
1026
+ "name": "data",
1027
+ "type": "bytes"
1028
+ }
1029
+ ],
1030
+ "internalType": "struct IRisk.RiskInfo",
1031
+ "name": "info",
1032
+ "type": "tuple"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "Key32",
1042
+ "name": "key",
1043
+ "type": "bytes32"
1044
+ }
1045
+ ],
1046
+ "name": "getState",
1047
+ "outputs": [
1048
+ {
1049
+ "internalType": "StateId",
1050
+ "name": "state",
1051
+ "type": "uint8"
1052
+ }
1053
+ ],
1054
+ "stateMutability": "view",
1055
+ "type": "function"
1056
+ },
1057
+ {
1058
+ "inputs": [
1059
+ {
1060
+ "internalType": "NftId",
1061
+ "name": "componentNftId",
1062
+ "type": "uint96"
1063
+ }
1064
+ ],
1065
+ "name": "getTokenHandler",
1066
+ "outputs": [
1067
+ {
1068
+ "internalType": "address",
1069
+ "name": "tokenHandler",
1070
+ "type": "address"
1071
+ }
1072
+ ],
1073
+ "stateMutability": "view",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "address",
1080
+ "name": "account",
1081
+ "type": "address"
1082
+ },
1083
+ {
1084
+ "internalType": "RoleId",
1085
+ "name": "roleId",
1086
+ "type": "uint64"
1087
+ }
1088
+ ],
1089
+ "name": "hasAdminRole",
1090
+ "outputs": [
1091
+ {
1092
+ "internalType": "bool",
1093
+ "name": "isMember",
1094
+ "type": "bool"
1095
+ }
1096
+ ],
1097
+ "stateMutability": "view",
1098
+ "type": "function"
1099
+ },
1100
+ {
1101
+ "inputs": [
1102
+ {
1103
+ "internalType": "address",
1104
+ "name": "account",
1105
+ "type": "address"
1106
+ },
1107
+ {
1108
+ "internalType": "RoleId",
1109
+ "name": "roleId",
1110
+ "type": "uint64"
1111
+ }
1112
+ ],
1113
+ "name": "hasRole",
1114
+ "outputs": [
1115
+ {
1116
+ "internalType": "bool",
1117
+ "name": "isMember",
1118
+ "type": "bool"
1119
+ }
1120
+ ],
1121
+ "stateMutability": "view",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [],
1126
+ "name": "initialize",
1127
+ "outputs": [],
1128
+ "stateMutability": "nonpayable",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [
1133
+ {
1134
+ "internalType": "address",
1135
+ "name": "instanceAddress",
1136
+ "type": "address"
1137
+ }
1138
+ ],
1139
+ "name": "initializeWithInstance",
1140
+ "outputs": [],
1141
+ "stateMutability": "nonpayable",
1142
+ "type": "function"
1143
+ },
1144
+ {
1145
+ "inputs": [
1146
+ {
1147
+ "internalType": "address",
1148
+ "name": "target",
1149
+ "type": "address"
1150
+ }
1151
+ ],
1152
+ "name": "isTargetLocked",
1153
+ "outputs": [
1154
+ {
1155
+ "internalType": "bool",
1156
+ "name": "",
1157
+ "type": "bool"
1158
+ }
1159
+ ],
1160
+ "stateMutability": "view",
1161
+ "type": "function"
1162
+ },
1163
+ {
1164
+ "inputs": [
1165
+ {
1166
+ "internalType": "NftId",
1167
+ "name": "policyNftId",
1168
+ "type": "uint96"
1169
+ }
1170
+ ],
1171
+ "name": "policyIsCloseable",
1172
+ "outputs": [
1173
+ {
1174
+ "internalType": "bool",
1175
+ "name": "isCloseable",
1176
+ "type": "bool"
1177
+ }
1178
+ ],
1179
+ "stateMutability": "view",
1180
+ "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [
1184
+ {
1185
+ "internalType": "NftId",
1186
+ "name": "poolNftId",
1187
+ "type": "uint96"
1188
+ }
1189
+ ],
1190
+ "name": "toBundleKey",
1191
+ "outputs": [
1192
+ {
1193
+ "internalType": "Key32",
1194
+ "name": "",
1195
+ "type": "bytes32"
1196
+ }
1197
+ ],
1198
+ "stateMutability": "pure",
1199
+ "type": "function"
1200
+ },
1201
+ {
1202
+ "inputs": [
1203
+ {
1204
+ "internalType": "NftId",
1205
+ "name": "componentNftId",
1206
+ "type": "uint96"
1207
+ }
1208
+ ],
1209
+ "name": "toComponentKey",
1210
+ "outputs": [
1211
+ {
1212
+ "internalType": "Key32",
1213
+ "name": "",
1214
+ "type": "bytes32"
1215
+ }
636
1216
  ],
637
1217
  "stateMutability": "pure",
638
1218
  "type": "function"
@@ -643,19 +1223,90 @@
643
1223
  "internalType": "NftId",
644
1224
  "name": "distributionNftId",
645
1225
  "type": "uint96"
646
- },
1226
+ }
1227
+ ],
1228
+ "name": "toDistributionKey",
1229
+ "outputs": [
647
1230
  {
648
- "internalType": "string",
649
- "name": "referralCode",
650
- "type": "string"
1231
+ "internalType": "Key32",
1232
+ "name": "",
1233
+ "type": "bytes32"
651
1234
  }
652
1235
  ],
653
- "name": "toReferralId",
1236
+ "stateMutability": "pure",
1237
+ "type": "function"
1238
+ },
1239
+ {
1240
+ "inputs": [
1241
+ {
1242
+ "internalType": "NftId",
1243
+ "name": "distributorNftId",
1244
+ "type": "uint96"
1245
+ }
1246
+ ],
1247
+ "name": "toDistributorKey",
654
1248
  "outputs": [
655
1249
  {
656
- "internalType": "ReferralId",
657
- "name": "referralId",
658
- "type": "bytes8"
1250
+ "internalType": "Key32",
1251
+ "name": "",
1252
+ "type": "bytes32"
1253
+ }
1254
+ ],
1255
+ "stateMutability": "pure",
1256
+ "type": "function"
1257
+ },
1258
+ {
1259
+ "inputs": [
1260
+ {
1261
+ "internalType": "UFixed",
1262
+ "name": "value",
1263
+ "type": "uint256"
1264
+ }
1265
+ ],
1266
+ "name": "toInt",
1267
+ "outputs": [
1268
+ {
1269
+ "internalType": "uint256",
1270
+ "name": "",
1271
+ "type": "uint256"
1272
+ }
1273
+ ],
1274
+ "stateMutability": "pure",
1275
+ "type": "function"
1276
+ },
1277
+ {
1278
+ "inputs": [
1279
+ {
1280
+ "internalType": "NftId",
1281
+ "name": "policyNftId",
1282
+ "type": "uint96"
1283
+ }
1284
+ ],
1285
+ "name": "toPolicyKey",
1286
+ "outputs": [
1287
+ {
1288
+ "internalType": "Key32",
1289
+ "name": "",
1290
+ "type": "bytes32"
1291
+ }
1292
+ ],
1293
+ "stateMutability": "pure",
1294
+ "type": "function"
1295
+ },
1296
+ {
1297
+ "inputs": [
1298
+ {
1299
+ "internalType": "NftId",
1300
+ "name": "poolNftId",
1301
+ "type": "uint96"
1302
+ }
1303
+ ],
1304
+ "name": "toPoolKey",
1305
+ "outputs": [
1306
+ {
1307
+ "internalType": "Key32",
1308
+ "name": "",
1309
+ "type": "bytes32"
659
1310
  }
660
1311
  ],
661
1312
  "stateMutability": "pure",
@@ -669,7 +1320,7 @@
669
1320
  "type": "uint96"
670
1321
  }
671
1322
  ],
672
- "name": "toTreasuryKey",
1323
+ "name": "toProductKey",
673
1324
  "outputs": [
674
1325
  {
675
1326
  "internalType": "Key32",
@@ -680,6 +1331,30 @@
680
1331
  "stateMutability": "pure",
681
1332
  "type": "function"
682
1333
  },
1334
+ {
1335
+ "inputs": [
1336
+ {
1337
+ "internalType": "NftId",
1338
+ "name": "distributionNftId",
1339
+ "type": "uint96"
1340
+ },
1341
+ {
1342
+ "internalType": "string",
1343
+ "name": "referralCode",
1344
+ "type": "string"
1345
+ }
1346
+ ],
1347
+ "name": "toReferralId",
1348
+ "outputs": [
1349
+ {
1350
+ "internalType": "ReferralId",
1351
+ "name": "referralId",
1352
+ "type": "bytes8"
1353
+ }
1354
+ ],
1355
+ "stateMutability": "pure",
1356
+ "type": "function"
1357
+ },
683
1358
  {
684
1359
  "inputs": [
685
1360
  {
@@ -705,172 +1380,312 @@
705
1380
  "type": "function"
706
1381
  }
707
1382
  ],
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",
1383
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50613d0a806100255f395ff3fe608060405234801561000f575f80fd5b506004361061024a575f3560e01c806378ae935011610140578063a7ef3d21116100bf578063d4cda0d811610084578063d4cda0d81461063e578063dd26287a1461064f578063de7b5d1414610662578063f0ea17c314610677578063f7f318d314610697578063febe92af146106aa575f80fd5b8063a7ef3d21146105a1578063b82d7ef5146105c1578063bd7d9d85146105eb578063cd55e51b1461060b578063d06458c61461061e575f80fd5b8063887b1fa911610105578063887b1fa9146104d45780638eb9000d146104f45780639096a1f314610507578063a310e2a31461051a578063a5961b4c14610545575f80fd5b806378ae9350146104805780637bfd3217146104935780637d8f1e81146104a65780637e54602a146104b95780638129fc1c146104cc575f80fd5b80633f093cd6116101cc5780635da89402116101915780635da894021461041f57806364eb3a9b1461043257806364fc3142146104455780636791f7ab1461045857806375d357df1461046d575f80fd5b80633f093cd61461038d57806344aa6836146103b95780634793b4ab146103cc5780634fb784f5146103ec57806357f80bbf146103ff575f80fd5b8063228e42ec11610212578063228e42ec1461030457806326decd401461031757806327b1d7921461033a57806335898f5d1461035a57806339bb60cd1461036d575f80fd5b80630232ca491461024e57806309648a9d1461027e5780630b5d931c146102a35780631488c845146102c35780631d3be477146102e4575b5f80fd5b61026161025c366004612504565b6106ca565b6040516001600160601b0390911681526020015b60405180910390f35b61029161028c36600461251f565b610744565b60405160ff9091168152602001610275565b6102b66102b1366004612504565b6107b9565b6040516102759190612536565b6102d66102d1366004612618565b610867565b604051908152602001610275565b6102f76102f2366004612660565b6108e3565b60405161027591906126a9565b610261610312366004612504565b610a27565b61032a610325366004612757565b610a60565b6040519015158152602001610275565b61034d610348366004612504565b610b3e565b6040516102759190612772565b6102d6610368366004612504565b610bfb565b61038061037b3660046127cb565b610c92565b60405161027591906127fe565b6103a061039b3660046129b8565b610ddc565b6040516001600160c01b03199091168152602001610275565b6102d66103c736600461251f565b610e56565b6103df6103da366004612504565b610e90565b6040516102759190612a44565b6102d66103fa366004612504565b610f31565b61041261040d366004612504565b610f5d565b6040516102759190612acf565b61029161042d3660046127cb565b61102e565b6102d6610440366004612504565b611126565b61032a610453366004612b50565b611152565b61046b610466366004612757565b611241565b005b61032a61047b366004612504565b611314565b61029161048e366004612b8b565b611595565b6102d66104a1366004612504565b6115f4565b6102916104b4366004612504565b611620565b6102d66104c7366004612504565b611699565b61046b6116c5565b6104e76104e2366004612660565b6116f3565b6040516102759190612bb7565b610261610502366004612504565b611814565b610291610515366004612504565b61184d565b61052d610528366004612504565b611869565b6040516001600160a01b039091168152602001610275565b61055861055336600461251f565b611911565b60405161027591905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105b46105af366004612b8b565b61199b565b6040516102759190612bec565b6105d46105cf366004612660565b611ae8565b6040805192835260ff909116602083015201610275565b6105fe6105f9366004612504565b611d84565b6040516102759190612c92565b61032a610619366004612b50565b611ea4565b61063161062c366004612660565b611f58565b6040516102759190612e21565b6001546001600160a01b031661052d565b6102d661065d366004612504565b6120bd565b5f5461010090046001600160a01b031661052d565b61068a610685366004612504565b6120e9565b6040516102759190612ec2565b6102d66106a5366004612504565b6121b2565b6106bd6106b8366004612f4c565b6121de565b6040516102759190612f67565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa15801561071a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e9190613045565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af9190613095565b6020015192915050565b6107c161238c565b6001545f906001600160a01b03166354f6127f6107dd856115f4565b6040518263ffffffff1660e01b81526004016107fb91815260200190565b5f60405180830381865afa158015610815573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261083c919081019061314b565b805190915015610861578080602001905181019061085a91906131ab565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156108bf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a919061326c565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610986573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109aa919061326c565b6040518263ffffffff1660e01b81526004016109c891815260200190565b5f60405180830381865afa1580156109e2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a09919081019061314b565b805190915015610861578080602001905181019061085a91906132a0565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec906024016106ff565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad59190613382565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b1a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e91906133ac565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610b7e85611699565b6040518263ffffffff1660e01b8152600401610b9c91815260200190565b5f60405180830381865afa158015610bb6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bdd919081019061314b565b805190915015610861578080602001905181019061085a91906133d0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610c6e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e919061326c565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d50919061326c565b6040518263ffffffff1660e01b8152600401610d6e91815260200190565b5f60405180830381865afa158015610d88573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610daf919081019061314b565b805190915015610dd55780806020019051810190610dcd9190613480565b91505061073e565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e179086908690600401613518565b602060405180830381865af4158015610e32573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a9190613539565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c53565b610e98612496565b6001545f906001600160a01b03166354f6127f610eb4856121b2565b6040518263ffffffff1660e01b8152600401610ed291815260200190565b5f60405180830381865afa158015610eec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f13919081019061314b565b805190915015610861578080602001905181019061085a9190613554565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c23565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f610fb1856120bd565b6040518263ffffffff1660e01b8152600401610fcf91815260200190565b5f60405180830381865afa158015610fe9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611010919081019061314b565b805190915015610861578080602001905181019061085a9190613618565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156110a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c9919061326c565b6040518263ffffffff1660e01b81526004016110e791815260200190565b602060405180830381865afa158015611102573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a91906136a2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c23565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c79190613382565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa15801561121d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a91906133ac565b5f5460ff16156112645760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156112cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f19190613382565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061131f83611d84565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561137b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139f91906133ac565b156113ac57505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611407573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142b91906133ac565b1561143857505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611493573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b791906133ac565b156114c457505f92915050565b61016081015161ffff16156114db57505f92915050565b6114ee816101800151826080015161232c565b156114fc5750600192915050565b61157f73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611546573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156a91906136bd565b826101e0015164ffffffffff90811691161090565b1561158c57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161108a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c23565b6001545f906001600160a01b03166309648a9d61163c846121b2565b6040518263ffffffff1660e01b815260040161165a91815260200190565b602060405180830381865afa158015611675573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e91906136a2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610c23565b5f5460ff16156116e85760405163ae9eff1b60e01b815260040160405180910390fd5b6116f133611241565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611773573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611797919061326c565b6040518263ffffffff1660e01b81526004016117b591815260200190565b5f60405180830381865afa1580156117cf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117f6919081019061314b565b805190915015610861578080602001905181019061085a91906136d8565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d906024016106ff565b6001545f906001600160a01b03166309648a9d61163c84611126565b6001545f9081906001600160a01b03166354f6127f61188785610f31565b6040518263ffffffff1660e01b81526004016118a591815260200190565b5f60405180830381865afa1580156118bf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118e6919081019061314b565b805190915015610861575f818060200190518101906119059190613760565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e9190613095565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611a47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6b919061326c565b6040518263ffffffff1660e01b8152600401611a8991815260200190565b5f60405180830381865afa158015611aa3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611aca919081019061314b565b805190915015610dd55780806020019051810190610dcd9190613838565b5f805f611af4846108e3565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611b51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7591906133ac565b15611bf25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be5919061326c565b60645b9250925050915091565b611c748160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c6591906136bd565b64ffffffffff90811691161090565b15611ceb5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce4919061326c565b606e611be8565b806060015163ffffffff16816080015163ffffffff1610611d785773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d71919061326c565b6078611be8565b6040810151600a611be8565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611e2785611126565b6040518263ffffffff1660e01b8152600401611e4591815260200190565b5f60405180830381865afa158015611e5f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e86919081019061314b565b805190915015610861578080602001905181019061085a9190613921565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ef5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f199190613382565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611202565b611fb0604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af415801561201c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612040919061326c565b6040518263ffffffff1660e01b815260040161205e91815260200190565b5f60405180830381865afa158015612078573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261209f919081019061314b565b805190915015610861578080602001905181019061085a9190613ac7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c23565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61213585610f31565b6040518263ffffffff1660e01b815260040161215391815260200190565b5f60405180830381865afa15801561216d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612194919081019061314b565b805190915015610861578080602001905181019061085a9190613760565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610c23565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af415801561228b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122af919061326c565b6040518263ffffffff1660e01b81526004016122cd91815260200190565b5f60405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261230e919081019061314b565b805190915015610861578080602001905181019061085a9190613bc0565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561121d573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b031681526020016123d160405180604001604052805f81526020015f81525090565b81526020016123f160405180604001604052805f81526020015f81525090565b815260200161241160405180604001604052805f81526020015f81525090565b815260200161243160405180604001604052805f81526020015f81525090565b815260200161245160405180604001604052805f81526020015f81525090565b815260200161247160405180604001604052805f81526020015f81525090565b815260200161249160405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b031681526020016124cb60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612501575f80fd5b50565b5f60208284031215612514575f80fd5b813561085a816124ed565b5f6020828403121561252f575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612563908401826001600160601b03169052565b506040830151612580604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610dd5565b5f8060408385031215612629575f80fd5b8235915060208301355f81900b8114612640575f80fd5b809150509250929050565b6001600160c01b031981168114612501575f80fd5b5f60208284031215612670575f80fd5b813561085a8161264b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526126d861010084018261267b565b90506040840151606084015263ffffffff6060850151166080840152608084015161270b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261273a828261267b565b95945050505050565b6001600160a01b0381168114612501575f80fd5b5f60208284031215612767575f80fd5b813561085a81612743565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526127af60a084018261267b565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156127dc575f80fd5b82356127e7816124ed565b9150602083013562ffffff81168114612640575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f60408301516080606084015261283a60a084018261267b565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561288d5761288d612857565b60405290565b604080519081016001600160401b038111828210171561288d5761288d612857565b60405161012081016001600160401b038111828210171561288d5761288d612857565b60405160e081016001600160401b038111828210171561288d5761288d612857565b60405160c081016001600160401b038111828210171561288d5761288d612857565b60405161022081016001600160401b038111828210171561288d5761288d612857565b60405161010081016001600160401b038111828210171561288d5761288d612857565b604051601f8201601f191681016001600160401b038111828210171561298a5761298a612857565b604052919050565b5f6001600160401b038211156129aa576129aa612857565b50601f01601f191660200190565b5f80604083850312156129c9575f80fd5b82356129d4816124ed565b915060208301356001600160401b038111156129ee575f80fd5b8301601f810185136129fe575f80fd5b8035612a11612a0c82612992565b612962565b818152866020838501011115612a25575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612a75604084018280518252602090810151910152565b50604083015160e06080840152612a9061010084018261267b565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160401b0383511682526001600160601b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612b21608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b0381168114612501575f80fd5b5f8060408385031215612b61575f80fd5b8235612b6c81612743565b9150602083013561264081612b3c565b61ffff81168114612501575f80fd5b5f8060408385031215612b9c575f80fd5b8235612ba7816124ed565b9150602083013561264081612b7c565b602081526001600160601b0382511660208201525f6020830151604080840152612be4606084018261267b565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612c28606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612c5261010084018261267b565b905060a0840151601f198483030160c0850152612c6f828261267b565b91505060c0840151612c8a60e085018264ffffffffff169052565b509392505050565b60208152612cac6020820183516001600160601b03169052565b5f6020830151612cc760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612d6461024084018261267b565b9050610120840151601f1984830301610140850152612d83828261267b565b915050610140840151612d9d61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612c8a565b602081525f82516101206020840152612e3e61014084018261267b565b90506020840151604084015260408401516060840152606084015160808401526080840151612e7560a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f190161012085015261273a828261267b565b602081525f825160c06020840152612edd60e084018261267b565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f3060a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261273a828261267b565b5f60208284031215612f5c575f80fd5b813561085a81612b3c565b60208152612f816020820183516001600160601b03169052565b5f60208301516101006040840152612f9d61012084018261267b565b90506040840151612fb960608501826001600160601b03169052565b506060840151838203601f19016080850152612fd5828261267b565b9150506080840151601f198483030160a0850152612ff3828261267b565b91505060a084015161300e60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612c8a565b8051613040816124ed565b919050565b5f60208284031215613055575f80fd5b815161085a816124ed565b60ff81168114612501575f80fd5b805161304081613060565b63ffffffff81168114612501575f80fd5b805161304081613079565b5f60808284031280156130a6575f80fd5b506130af61286b565b82516130ba81613060565b815260208301516130ca81613060565b602082015260408301516130dd81613079565b604082015260608301516130f081613079565b60608201529392505050565b5f82601f83011261310b575f80fd5b8151602083015f61311e612a0c84612992565b9050828152858383011115613131575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561315b575f80fd5b81516001600160401b03811115613170575f80fd5b612be4848285016130fc565b5f6040828403121561318c575f80fd5b613194612893565b825181526020928301519281019290925250919050565b5f6102008284031280156131bd575f80fd5b506131c66128b5565b6131cf83613035565b81526131dd60208401613035565b60208201526131ef846040850161317c565b6040820152613201846080850161317c565b60608201526132138460c0850161317c565b608082015261322684610100850161317c565b60a082015261323984610140850161317c565b60c082015261324c84610180850161317c565b60e082015261325f846101c0850161317c565b6101008201529392505050565b5f6020828403121561327c575f80fd5b5051919050565b64ffffffffff81168114612501575f80fd5b805161304081613283565b5f602082840312156132b0575f80fd5b81516001600160401b038111156132c5575f80fd5b820160e081850312156132d6575f80fd5b6132de6128d8565b6132e782613035565b815260208201516001600160401b03811115613301575f80fd5b61330d868285016130fc565b602083015250604082810151908201526133296060830161308a565b606082015261333a6080830161308a565b608082015261334b60a08301613295565b60a082015260c08201516001600160401b03811115613368575f80fd5b613374868285016130fc565b60c083015250949350505050565b5f60208284031215613392575f80fd5b815161085a81612743565b80518015158114613040575f80fd5b5f602082840312156133bc575f80fd5b61085a8261339d565b80516130408161264b565b5f602082840312156133e0575f80fd5b81516001600160401b038111156133f5575f80fd5b820160808185031215613406575f80fd5b61340e61286b565b81516134198161264b565b81526134276020830161339d565b602082015260408201516001600160401b03811115613444575f80fd5b613450868285016130fc565b6040830152506060820151915061346682613079565b60608101919091529392505050565b805161304081612b7c565b5f60208284031215613490575f80fd5b81516001600160401b038111156134a5575f80fd5b8201608081850312156134b6575f80fd5b6134be61286b565b81516134c981612b7c565b815260208201516134d9816124ed565b602082015260408201516001600160401b038111156134f6575f80fd5b613502868285016130fc565b6040830152506060820151915061346682613283565b6001600160601b0383168152604060208201525f612be4604083018461267b565b5f60208284031215613549575f80fd5b815161085a8161264b565b5f60208284031215613564575f80fd5b81516001600160401b03811115613579575f80fd5b820160e0818503121561358a575f80fd5b6135926128fa565b815161359d816124ed565b81526135ac856020840161317c565b602082015260608201516001600160401b038111156135c9575f80fd5b6135d5868285016130fc565b60408301525060808201516135e981613283565b60608201526135fa60a08301613295565b608082015261360b60c08301613295565b60a0820152949350505050565b5f60e0828403128015613629575f80fd5b506136326128d8565b825161363d81612b3c565b8152602083015161364d816124ed565b602082015261365e6040840161339d565b604082015261366f6060840161339d565b60608201526136806080840161339d565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f602082840312156136b2575f80fd5b815161085a81613060565b5f602082840312156136cd575f80fd5b815161085a81613283565b5f602082840312156136e8575f80fd5b81516001600160401b038111156136fd575f80fd5b82016040818503121561370e575f80fd5b613716612893565b8151613721816124ed565b815260208201516001600160401b0381111561373b575f80fd5b613747868285016130fc565b602083015250949350505050565b805161304081612743565b5f60208284031215613770575f80fd5b81516001600160401b03811115613785575f80fd5b820160c08185031215613796575f80fd5b61379e6128fa565b81516001600160401b038111156137b3575f80fd5b6137bf868285016130fc565b8252506137ce60208301613035565b60208201526137df60408301613755565b60408201526137f060608301613755565b606082015261380160808301613755565b608082015260a08201516001600160401b0381111561381e575f80fd5b61382a868285016130fc565b60a083015250949350505050565b5f60208284031215613848575f80fd5b81516001600160401b0381111561385d575f80fd5b820160e0818503121561386e575f80fd5b6138766128d8565b61387f82613035565b815261388d60208301613035565b602082015261389e6040830161306e565b60408201526138af6060830161306e565b606082015260808201516001600160401b038111156138cc575f80fd5b6138d8868285016130fc565b60808301525060a08201516001600160401b038111156138f6575f80fd5b613902868285016130fc565b60a08301525061391460c08301613295565b60c0820152949350505050565b5f60208284031215613931575f80fd5b81516001600160401b03811115613946575f80fd5b82016102208185031215613958575f80fd5b61396061291c565b61396982613035565b815261397760208301613035565b6020820152613988604083016133c5565b6040820152613999606083016133c5565b60608201526139aa60808301613035565b60808201526139bb60a08301613035565b60a08201526139cc60c08301613035565b60c08201526139dd60e08301613295565b60e08201526101008201516001600160401b038111156139fb575f80fd5b613a07868285016130fc565b610100830152506101208201516001600160401b03811115613a27575f80fd5b613a33868285016130fc565b61012083015250613a476101408301613475565b610140820152613a5a6101608301613475565b610160820152613a6d6101808301613035565b610180820152613a806101a08301613035565b6101a0820152613a936101c08301613295565b6101c0820152613aa66101e08301613295565b6101e0820152613ab96102008301613295565b610200820152949350505050565b5f60208284031215613ad7575f80fd5b81516001600160401b03811115613aec575f80fd5b82016101208185031215613afe575f80fd5b613b066128b5565b81516001600160401b03811115613b1b575f80fd5b613b27868285016130fc565b825250602082810151908201526040808301519082015260608083015190820152613b546080830161308a565b6080820152613b6560a0830161308a565b60a0820152613b7660c0830161339d565b60c0820152613b8760e0830161339d565b60e08201526101008201516001600160401b03811115613ba5575f80fd5b613bb1868285016130fc565b61010083015250949350505050565b5f60208284031215613bd0575f80fd5b81516001600160401b03811115613be5575f80fd5b82016101008185031215613bf7575f80fd5b613bff61293f565b613c0882613035565b815260208201516001600160401b03811115613c22575f80fd5b613c2e868285016130fc565b602083015250613c4060408301613035565b604082015260608201516001600160401b03811115613c5d575f80fd5b613c69868285016130fc565b60608301525060808201516001600160401b03811115613c87575f80fd5b613c93868285016130fc565b608083015250613ca560a08301613295565b60a0820152613cb660c08301613295565b60c0820152613cc760e0830161339d565b60e082015294935050505056fea2646970667358221220c4858f14b3dc3ccfda30dc0f520d94c5868a973625bc6e8e51f8a2ca04909bf764736f6c634300081a0033",
1384
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061024a575f3560e01c806378ae935011610140578063a7ef3d21116100bf578063d4cda0d811610084578063d4cda0d81461063e578063dd26287a1461064f578063de7b5d1414610662578063f0ea17c314610677578063f7f318d314610697578063febe92af146106aa575f80fd5b8063a7ef3d21146105a1578063b82d7ef5146105c1578063bd7d9d85146105eb578063cd55e51b1461060b578063d06458c61461061e575f80fd5b8063887b1fa911610105578063887b1fa9146104d45780638eb9000d146104f45780639096a1f314610507578063a310e2a31461051a578063a5961b4c14610545575f80fd5b806378ae9350146104805780637bfd3217146104935780637d8f1e81146104a65780637e54602a146104b95780638129fc1c146104cc575f80fd5b80633f093cd6116101cc5780635da89402116101915780635da894021461041f57806364eb3a9b1461043257806364fc3142146104455780636791f7ab1461045857806375d357df1461046d575f80fd5b80633f093cd61461038d57806344aa6836146103b95780634793b4ab146103cc5780634fb784f5146103ec57806357f80bbf146103ff575f80fd5b8063228e42ec11610212578063228e42ec1461030457806326decd401461031757806327b1d7921461033a57806335898f5d1461035a57806339bb60cd1461036d575f80fd5b80630232ca491461024e57806309648a9d1461027e5780630b5d931c146102a35780631488c845146102c35780631d3be477146102e4575b5f80fd5b61026161025c366004612504565b6106ca565b6040516001600160601b0390911681526020015b60405180910390f35b61029161028c36600461251f565b610744565b60405160ff9091168152602001610275565b6102b66102b1366004612504565b6107b9565b6040516102759190612536565b6102d66102d1366004612618565b610867565b604051908152602001610275565b6102f76102f2366004612660565b6108e3565b60405161027591906126a9565b610261610312366004612504565b610a27565b61032a610325366004612757565b610a60565b6040519015158152602001610275565b61034d610348366004612504565b610b3e565b6040516102759190612772565b6102d6610368366004612504565b610bfb565b61038061037b3660046127cb565b610c92565b60405161027591906127fe565b6103a061039b3660046129b8565b610ddc565b6040516001600160c01b03199091168152602001610275565b6102d66103c736600461251f565b610e56565b6103df6103da366004612504565b610e90565b6040516102759190612a44565b6102d66103fa366004612504565b610f31565b61041261040d366004612504565b610f5d565b6040516102759190612acf565b61029161042d3660046127cb565b61102e565b6102d6610440366004612504565b611126565b61032a610453366004612b50565b611152565b61046b610466366004612757565b611241565b005b61032a61047b366004612504565b611314565b61029161048e366004612b8b565b611595565b6102d66104a1366004612504565b6115f4565b6102916104b4366004612504565b611620565b6102d66104c7366004612504565b611699565b61046b6116c5565b6104e76104e2366004612660565b6116f3565b6040516102759190612bb7565b610261610502366004612504565b611814565b610291610515366004612504565b61184d565b61052d610528366004612504565b611869565b6040516001600160a01b039091168152602001610275565b61055861055336600461251f565b611911565b60405161027591905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105b46105af366004612b8b565b61199b565b6040516102759190612bec565b6105d46105cf366004612660565b611ae8565b6040805192835260ff909116602083015201610275565b6105fe6105f9366004612504565b611d84565b6040516102759190612c92565b61032a610619366004612b50565b611ea4565b61063161062c366004612660565b611f58565b6040516102759190612e21565b6001546001600160a01b031661052d565b6102d661065d366004612504565b6120bd565b5f5461010090046001600160a01b031661052d565b61068a610685366004612504565b6120e9565b6040516102759190612ec2565b6102d66106a5366004612504565b6121b2565b6106bd6106b8366004612f4c565b6121de565b6040516102759190612f67565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa15801561071a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e9190613045565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af9190613095565b6020015192915050565b6107c161238c565b6001545f906001600160a01b03166354f6127f6107dd856115f4565b6040518263ffffffff1660e01b81526004016107fb91815260200190565b5f60405180830381865afa158015610815573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261083c919081019061314b565b805190915015610861578080602001905181019061085a91906131ab565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156108bf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a919061326c565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610986573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109aa919061326c565b6040518263ffffffff1660e01b81526004016109c891815260200190565b5f60405180830381865afa1580156109e2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a09919081019061314b565b805190915015610861578080602001905181019061085a91906132a0565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec906024016106ff565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad59190613382565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b1a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e91906133ac565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610b7e85611699565b6040518263ffffffff1660e01b8152600401610b9c91815260200190565b5f60405180830381865afa158015610bb6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bdd919081019061314b565b805190915015610861578080602001905181019061085a91906133d0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610c6e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e919061326c565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d50919061326c565b6040518263ffffffff1660e01b8152600401610d6e91815260200190565b5f60405180830381865afa158015610d88573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610daf919081019061314b565b805190915015610dd55780806020019051810190610dcd9190613480565b91505061073e565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e179086908690600401613518565b602060405180830381865af4158015610e32573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a9190613539565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c53565b610e98612496565b6001545f906001600160a01b03166354f6127f610eb4856121b2565b6040518263ffffffff1660e01b8152600401610ed291815260200190565b5f60405180830381865afa158015610eec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f13919081019061314b565b805190915015610861578080602001905181019061085a9190613554565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c23565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f610fb1856120bd565b6040518263ffffffff1660e01b8152600401610fcf91815260200190565b5f60405180830381865afa158015610fe9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611010919081019061314b565b805190915015610861578080602001905181019061085a9190613618565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156110a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c9919061326c565b6040518263ffffffff1660e01b81526004016110e791815260200190565b602060405180830381865afa158015611102573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a91906136a2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c23565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c79190613382565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa15801561121d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a91906133ac565b5f5460ff16156112645760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156112cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f19190613382565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061131f83611d84565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561137b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139f91906133ac565b156113ac57505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611407573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142b91906133ac565b1561143857505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611493573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b791906133ac565b156114c457505f92915050565b61016081015161ffff16156114db57505f92915050565b6114ee816101800151826080015161232c565b156114fc5750600192915050565b61157f73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611546573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156a91906136bd565b826101e0015164ffffffffff90811691161090565b1561158c57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161108a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c23565b6001545f906001600160a01b03166309648a9d61163c846121b2565b6040518263ffffffff1660e01b815260040161165a91815260200190565b602060405180830381865afa158015611675573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e91906136a2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610c23565b5f5460ff16156116e85760405163ae9eff1b60e01b815260040160405180910390fd5b6116f133611241565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611773573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611797919061326c565b6040518263ffffffff1660e01b81526004016117b591815260200190565b5f60405180830381865afa1580156117cf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117f6919081019061314b565b805190915015610861578080602001905181019061085a91906136d8565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d906024016106ff565b6001545f906001600160a01b03166309648a9d61163c84611126565b6001545f9081906001600160a01b03166354f6127f61188785610f31565b6040518263ffffffff1660e01b81526004016118a591815260200190565b5f60405180830381865afa1580156118bf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118e6919081019061314b565b805190915015610861575f818060200190518101906119059190613760565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073e9190613095565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611a47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6b919061326c565b6040518263ffffffff1660e01b8152600401611a8991815260200190565b5f60405180830381865afa158015611aa3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611aca919081019061314b565b805190915015610dd55780806020019051810190610dcd9190613838565b5f805f611af4846108e3565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611b51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7591906133ac565b15611bf25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be5919061326c565b60645b9250925050915091565b611c748160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c6591906136bd565b64ffffffffff90811691161090565b15611ceb5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce4919061326c565b606e611be8565b806060015163ffffffff16816080015163ffffffff1610611d785773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d71919061326c565b6078611be8565b6040810151600a611be8565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611e2785611126565b6040518263ffffffff1660e01b8152600401611e4591815260200190565b5f60405180830381865afa158015611e5f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e86919081019061314b565b805190915015610861578080602001905181019061085a9190613921565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ef5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f199190613382565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611202565b611fb0604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af415801561201c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612040919061326c565b6040518263ffffffff1660e01b815260040161205e91815260200190565b5f60405180830381865afa158015612078573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261209f919081019061314b565b805190915015610861578080602001905181019061085a9190613ac7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c23565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61213585610f31565b6040518263ffffffff1660e01b815260040161215391815260200190565b5f60405180830381865afa15801561216d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612194919081019061314b565b805190915015610861578080602001905181019061085a9190613760565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610c23565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af415801561228b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122af919061326c565b6040518263ffffffff1660e01b81526004016122cd91815260200190565b5f60405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261230e919081019061314b565b805190915015610861578080602001905181019061085a9190613bc0565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561121d573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b031681526020016123d160405180604001604052805f81526020015f81525090565b81526020016123f160405180604001604052805f81526020015f81525090565b815260200161241160405180604001604052805f81526020015f81525090565b815260200161243160405180604001604052805f81526020015f81525090565b815260200161245160405180604001604052805f81526020015f81525090565b815260200161247160405180604001604052805f81526020015f81525090565b815260200161249160405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b031681526020016124cb60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612501575f80fd5b50565b5f60208284031215612514575f80fd5b813561085a816124ed565b5f6020828403121561252f575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612563908401826001600160601b03169052565b506040830151612580604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610dd5565b5f8060408385031215612629575f80fd5b8235915060208301355f81900b8114612640575f80fd5b809150509250929050565b6001600160c01b031981168114612501575f80fd5b5f60208284031215612670575f80fd5b813561085a8161264b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526126d861010084018261267b565b90506040840151606084015263ffffffff6060850151166080840152608084015161270b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261273a828261267b565b95945050505050565b6001600160a01b0381168114612501575f80fd5b5f60208284031215612767575f80fd5b813561085a81612743565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526127af60a084018261267b565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156127dc575f80fd5b82356127e7816124ed565b9150602083013562ffffff81168114612640575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f60408301516080606084015261283a60a084018261267b565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561288d5761288d612857565b60405290565b604080519081016001600160401b038111828210171561288d5761288d612857565b60405161012081016001600160401b038111828210171561288d5761288d612857565b60405160e081016001600160401b038111828210171561288d5761288d612857565b60405160c081016001600160401b038111828210171561288d5761288d612857565b60405161022081016001600160401b038111828210171561288d5761288d612857565b60405161010081016001600160401b038111828210171561288d5761288d612857565b604051601f8201601f191681016001600160401b038111828210171561298a5761298a612857565b604052919050565b5f6001600160401b038211156129aa576129aa612857565b50601f01601f191660200190565b5f80604083850312156129c9575f80fd5b82356129d4816124ed565b915060208301356001600160401b038111156129ee575f80fd5b8301601f810185136129fe575f80fd5b8035612a11612a0c82612992565b612962565b818152866020838501011115612a25575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612a75604084018280518252602090810151910152565b50604083015160e06080840152612a9061010084018261267b565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160401b0383511682526001600160601b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612b21608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b0381168114612501575f80fd5b5f8060408385031215612b61575f80fd5b8235612b6c81612743565b9150602083013561264081612b3c565b61ffff81168114612501575f80fd5b5f8060408385031215612b9c575f80fd5b8235612ba7816124ed565b9150602083013561264081612b7c565b602081526001600160601b0382511660208201525f6020830151604080840152612be4606084018261267b565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612c28606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612c5261010084018261267b565b905060a0840151601f198483030160c0850152612c6f828261267b565b91505060c0840151612c8a60e085018264ffffffffff169052565b509392505050565b60208152612cac6020820183516001600160601b03169052565b5f6020830151612cc760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612d6461024084018261267b565b9050610120840151601f1984830301610140850152612d83828261267b565b915050610140840151612d9d61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612c8a565b602081525f82516101206020840152612e3e61014084018261267b565b90506020840151604084015260408401516060840152606084015160808401526080840151612e7560a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f190161012085015261273a828261267b565b602081525f825160c06020840152612edd60e084018261267b565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f3060a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261273a828261267b565b5f60208284031215612f5c575f80fd5b813561085a81612b3c565b60208152612f816020820183516001600160601b03169052565b5f60208301516101006040840152612f9d61012084018261267b565b90506040840151612fb960608501826001600160601b03169052565b506060840151838203601f19016080850152612fd5828261267b565b9150506080840151601f198483030160a0850152612ff3828261267b565b91505060a084015161300e60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612c8a565b8051613040816124ed565b919050565b5f60208284031215613055575f80fd5b815161085a816124ed565b60ff81168114612501575f80fd5b805161304081613060565b63ffffffff81168114612501575f80fd5b805161304081613079565b5f60808284031280156130a6575f80fd5b506130af61286b565b82516130ba81613060565b815260208301516130ca81613060565b602082015260408301516130dd81613079565b604082015260608301516130f081613079565b60608201529392505050565b5f82601f83011261310b575f80fd5b8151602083015f61311e612a0c84612992565b9050828152858383011115613131575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561315b575f80fd5b81516001600160401b03811115613170575f80fd5b612be4848285016130fc565b5f6040828403121561318c575f80fd5b613194612893565b825181526020928301519281019290925250919050565b5f6102008284031280156131bd575f80fd5b506131c66128b5565b6131cf83613035565b81526131dd60208401613035565b60208201526131ef846040850161317c565b6040820152613201846080850161317c565b60608201526132138460c0850161317c565b608082015261322684610100850161317c565b60a082015261323984610140850161317c565b60c082015261324c84610180850161317c565b60e082015261325f846101c0850161317c565b6101008201529392505050565b5f6020828403121561327c575f80fd5b5051919050565b64ffffffffff81168114612501575f80fd5b805161304081613283565b5f602082840312156132b0575f80fd5b81516001600160401b038111156132c5575f80fd5b820160e081850312156132d6575f80fd5b6132de6128d8565b6132e782613035565b815260208201516001600160401b03811115613301575f80fd5b61330d868285016130fc565b602083015250604082810151908201526133296060830161308a565b606082015261333a6080830161308a565b608082015261334b60a08301613295565b60a082015260c08201516001600160401b03811115613368575f80fd5b613374868285016130fc565b60c083015250949350505050565b5f60208284031215613392575f80fd5b815161085a81612743565b80518015158114613040575f80fd5b5f602082840312156133bc575f80fd5b61085a8261339d565b80516130408161264b565b5f602082840312156133e0575f80fd5b81516001600160401b038111156133f5575f80fd5b820160808185031215613406575f80fd5b61340e61286b565b81516134198161264b565b81526134276020830161339d565b602082015260408201516001600160401b03811115613444575f80fd5b613450868285016130fc565b6040830152506060820151915061346682613079565b60608101919091529392505050565b805161304081612b7c565b5f60208284031215613490575f80fd5b81516001600160401b038111156134a5575f80fd5b8201608081850312156134b6575f80fd5b6134be61286b565b81516134c981612b7c565b815260208201516134d9816124ed565b602082015260408201516001600160401b038111156134f6575f80fd5b613502868285016130fc565b6040830152506060820151915061346682613283565b6001600160601b0383168152604060208201525f612be4604083018461267b565b5f60208284031215613549575f80fd5b815161085a8161264b565b5f60208284031215613564575f80fd5b81516001600160401b03811115613579575f80fd5b820160e0818503121561358a575f80fd5b6135926128fa565b815161359d816124ed565b81526135ac856020840161317c565b602082015260608201516001600160401b038111156135c9575f80fd5b6135d5868285016130fc565b60408301525060808201516135e981613283565b60608201526135fa60a08301613295565b608082015261360b60c08301613295565b60a0820152949350505050565b5f60e0828403128015613629575f80fd5b506136326128d8565b825161363d81612b3c565b8152602083015161364d816124ed565b602082015261365e6040840161339d565b604082015261366f6060840161339d565b60608201526136806080840161339d565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f602082840312156136b2575f80fd5b815161085a81613060565b5f602082840312156136cd575f80fd5b815161085a81613283565b5f602082840312156136e8575f80fd5b81516001600160401b038111156136fd575f80fd5b82016040818503121561370e575f80fd5b613716612893565b8151613721816124ed565b815260208201516001600160401b0381111561373b575f80fd5b613747868285016130fc565b602083015250949350505050565b805161304081612743565b5f60208284031215613770575f80fd5b81516001600160401b03811115613785575f80fd5b820160c08185031215613796575f80fd5b61379e6128fa565b81516001600160401b038111156137b3575f80fd5b6137bf868285016130fc565b8252506137ce60208301613035565b60208201526137df60408301613755565b60408201526137f060608301613755565b606082015261380160808301613755565b608082015260a08201516001600160401b0381111561381e575f80fd5b61382a868285016130fc565b60a083015250949350505050565b5f60208284031215613848575f80fd5b81516001600160401b0381111561385d575f80fd5b820160e0818503121561386e575f80fd5b6138766128d8565b61387f82613035565b815261388d60208301613035565b602082015261389e6040830161306e565b60408201526138af6060830161306e565b606082015260808201516001600160401b038111156138cc575f80fd5b6138d8868285016130fc565b60808301525060a08201516001600160401b038111156138f6575f80fd5b613902868285016130fc565b60a08301525061391460c08301613295565b60c0820152949350505050565b5f60208284031215613931575f80fd5b81516001600160401b03811115613946575f80fd5b82016102208185031215613958575f80fd5b61396061291c565b61396982613035565b815261397760208301613035565b6020820152613988604083016133c5565b6040820152613999606083016133c5565b60608201526139aa60808301613035565b60808201526139bb60a08301613035565b60a08201526139cc60c08301613035565b60c08201526139dd60e08301613295565b60e08201526101008201516001600160401b038111156139fb575f80fd5b613a07868285016130fc565b610100830152506101208201516001600160401b03811115613a27575f80fd5b613a33868285016130fc565b61012083015250613a476101408301613475565b610140820152613a5a6101608301613475565b610160820152613a6d6101808301613035565b610180820152613a806101a08301613035565b6101a0820152613a936101c08301613295565b6101c0820152613aa66101e08301613295565b6101e0820152613ab96102008301613295565b610200820152949350505050565b5f60208284031215613ad7575f80fd5b81516001600160401b03811115613aec575f80fd5b82016101208185031215613afe575f80fd5b613b066128b5565b81516001600160401b03811115613b1b575f80fd5b613b27868285016130fc565b825250602082810151908201526040808301519082015260608083015190820152613b546080830161308a565b6080820152613b6560a0830161308a565b60a0820152613b7660c0830161339d565b60c0820152613b8760e0830161339d565b60e08201526101008201516001600160401b03811115613ba5575f80fd5b613bb1868285016130fc565b61010083015250949350505050565b5f60208284031215613bd0575f80fd5b81516001600160401b03811115613be5575f80fd5b82016101008185031215613bf7575f80fd5b613bff61293f565b613c0882613035565b815260208201516001600160401b03811115613c22575f80fd5b613c2e868285016130fc565b602083015250613c4060408301613035565b604082015260608201516001600160401b03811115613c5d575f80fd5b613c69868285016130fc565b60608301525060808201516001600160401b03811115613c87575f80fd5b613c93868285016130fc565b608083015250613ca560a08301613295565b60a0820152613cb660c08301613295565b60c0820152613cc760e0830161339d565b60e082015294935050505056fea2646970667358221220c4858f14b3dc3ccfda30dc0f520d94c5868a973625bc6e8e51f8a2ca04909bf764736f6c634300081a0033",
710
1385
  "linkReferences": {
711
- "contracts/types/DistributorType.sol": {
1386
+ "contracts/type/Amount.sol": {
1387
+ "AmountLib": [
1388
+ {
1389
+ "length": 20,
1390
+ "start": 9081
1391
+ }
1392
+ ]
1393
+ },
1394
+ "contracts/type/ClaimId.sol": {
1395
+ "ClaimIdLib": [
1396
+ {
1397
+ "length": 20,
1398
+ "start": 5623
1399
+ },
1400
+ {
1401
+ "length": 20,
1402
+ "start": 6708
1403
+ }
1404
+ ]
1405
+ },
1406
+ "contracts/type/DistributorType.sol": {
712
1407
  "DistributorTypeLib": [
713
1408
  {
714
1409
  "length": 20,
715
- "start": 5096
1410
+ "start": 8201
716
1411
  }
717
1412
  ]
718
1413
  },
719
- "contracts/types/NftId.sol": {
1414
+ "contracts/type/NftId.sol": {
720
1415
  "NftIdLib": [
721
1416
  {
722
1417
  "length": 20,
723
- "start": 174
1418
+ "start": 3107
1419
+ },
1420
+ {
1421
+ "length": 20,
1422
+ "start": 3929
724
1423
  },
725
1424
  {
726
1425
  "length": 20,
727
- "start": 2747
1426
+ "start": 4430
728
1427
  },
729
1428
  {
730
1429
  "length": 20,
731
- "start": 3277
1430
+ "start": 4968
732
1431
  },
733
1432
  {
734
1433
  "length": 20,
735
- "start": 3322
1434
+ "start": 5660
1435
+ },
1436
+ {
1437
+ "length": 20,
1438
+ "start": 5825
1439
+ },
1440
+ {
1441
+ "length": 20,
1442
+ "start": 8421
1443
+ },
1444
+ {
1445
+ "length": 20,
1446
+ "start": 8666
736
1447
  }
737
1448
  ]
738
1449
  },
739
- "contracts/types/Referral.sol": {
1450
+ "contracts/type/PayoutId.sol": {
1451
+ "PayoutIdLib": [
1452
+ {
1453
+ "length": 20,
1454
+ "start": 3353
1455
+ },
1456
+ {
1457
+ "length": 20,
1458
+ "start": 4241
1459
+ }
1460
+ ]
1461
+ },
1462
+ "contracts/type/Referral.sol": {
740
1463
  "ReferralLib": [
741
1464
  {
742
1465
  "length": 20,
743
- "start": 2514
1466
+ "start": 2419
744
1467
  },
745
1468
  {
746
1469
  "length": 20,
747
- "start": 3107
1470
+ "start": 3602
748
1471
  }
749
1472
  ]
750
1473
  },
751
- "contracts/types/RiskId.sol": {
1474
+ "contracts/type/RequestId.sol": {
1475
+ "RequestIdLib": [
1476
+ {
1477
+ "length": 20,
1478
+ "start": 8824
1479
+ }
1480
+ ]
1481
+ },
1482
+ "contracts/type/RiskId.sol": {
752
1483
  "RiskIdLib": [
753
1484
  {
754
1485
  "length": 20,
755
- "start": 3437
1486
+ "start": 5984
756
1487
  }
757
1488
  ]
758
1489
  },
759
- "contracts/types/Timestamp.sol": {
1490
+ "contracts/type/Timestamp.sol": {
760
1491
  "TimestampLib": [
761
1492
  {
762
1493
  "length": 20,
763
- "start": 4033
1494
+ "start": 5108
1495
+ },
1496
+ {
1497
+ "length": 20,
1498
+ "start": 5248
1499
+ },
1500
+ {
1501
+ "length": 20,
1502
+ "start": 5414
764
1503
  },
765
1504
  {
766
1505
  "length": 20,
767
- "start": 4264
1506
+ "start": 6974
1507
+ },
1508
+ {
1509
+ "length": 20,
1510
+ "start": 7201
768
1511
  }
769
1512
  ]
770
1513
  },
771
- "contracts/types/UFixed.sol": {
772
- "UFixedMathLib": [
1514
+ "contracts/type/UFixed.sol": {
1515
+ "UFixedLib": [
773
1516
  {
774
1517
  "length": 20,
775
- "start": 2304
1518
+ "start": 2220
776
1519
  },
777
1520
  {
778
1521
  "length": 20,
779
- "start": 3239
1522
+ "start": 3731
780
1523
  },
781
1524
  {
782
1525
  "length": 20,
783
- "start": 4134
1526
+ "start": 7073
784
1527
  },
785
1528
  {
786
1529
  "length": 20,
787
- "start": 4393
1530
+ "start": 7328
788
1531
  },
789
1532
  {
790
1533
  "length": 20,
791
- "start": 4536
1534
+ "start": 7469
792
1535
  }
793
1536
  ]
794
1537
  }
795
1538
  },
796
1539
  "deployedLinkReferences": {
797
- "contracts/types/DistributorType.sol": {
1540
+ "contracts/type/Amount.sol": {
1541
+ "AmountLib": [
1542
+ {
1543
+ "length": 20,
1544
+ "start": 9044
1545
+ }
1546
+ ]
1547
+ },
1548
+ "contracts/type/ClaimId.sol": {
1549
+ "ClaimIdLib": [
1550
+ {
1551
+ "length": 20,
1552
+ "start": 5586
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 6671
1557
+ }
1558
+ ]
1559
+ },
1560
+ "contracts/type/DistributorType.sol": {
798
1561
  "DistributorTypeLib": [
799
1562
  {
800
1563
  "length": 20,
801
- "start": 3729
1564
+ "start": 8164
802
1565
  }
803
1566
  ]
804
1567
  },
805
- "contracts/types/NftId.sol": {
1568
+ "contracts/type/NftId.sol": {
806
1569
  "NftIdLib": [
807
1570
  {
808
1571
  "length": 20,
809
- "start": 1380
1572
+ "start": 3070
810
1573
  },
811
1574
  {
812
1575
  "length": 20,
813
- "start": 1910
1576
+ "start": 3892
814
1577
  },
815
1578
  {
816
1579
  "length": 20,
817
- "start": 1955
1580
+ "start": 4393
1581
+ },
1582
+ {
1583
+ "length": 20,
1584
+ "start": 4931
1585
+ },
1586
+ {
1587
+ "length": 20,
1588
+ "start": 5623
1589
+ },
1590
+ {
1591
+ "length": 20,
1592
+ "start": 5788
1593
+ },
1594
+ {
1595
+ "length": 20,
1596
+ "start": 8384
1597
+ },
1598
+ {
1599
+ "length": 20,
1600
+ "start": 8629
1601
+ }
1602
+ ]
1603
+ },
1604
+ "contracts/type/PayoutId.sol": {
1605
+ "PayoutIdLib": [
1606
+ {
1607
+ "length": 20,
1608
+ "start": 3316
1609
+ },
1610
+ {
1611
+ "length": 20,
1612
+ "start": 4204
818
1613
  }
819
1614
  ]
820
1615
  },
821
- "contracts/types/Referral.sol": {
1616
+ "contracts/type/Referral.sol": {
822
1617
  "ReferralLib": [
823
1618
  {
824
1619
  "length": 20,
825
- "start": 1147
1620
+ "start": 2382
826
1621
  },
827
1622
  {
828
1623
  "length": 20,
829
- "start": 1740
1624
+ "start": 3565
830
1625
  }
831
1626
  ]
832
1627
  },
833
- "contracts/types/RiskId.sol": {
1628
+ "contracts/type/RequestId.sol": {
1629
+ "RequestIdLib": [
1630
+ {
1631
+ "length": 20,
1632
+ "start": 8787
1633
+ }
1634
+ ]
1635
+ },
1636
+ "contracts/type/RiskId.sol": {
834
1637
  "RiskIdLib": [
835
1638
  {
836
1639
  "length": 20,
837
- "start": 2070
1640
+ "start": 5947
838
1641
  }
839
1642
  ]
840
1643
  },
841
- "contracts/types/Timestamp.sol": {
1644
+ "contracts/type/Timestamp.sol": {
842
1645
  "TimestampLib": [
843
1646
  {
844
1647
  "length": 20,
845
- "start": 2666
1648
+ "start": 5071
1649
+ },
1650
+ {
1651
+ "length": 20,
1652
+ "start": 5211
1653
+ },
1654
+ {
1655
+ "length": 20,
1656
+ "start": 5377
1657
+ },
1658
+ {
1659
+ "length": 20,
1660
+ "start": 6937
846
1661
  },
847
1662
  {
848
1663
  "length": 20,
849
- "start": 2897
1664
+ "start": 7164
850
1665
  }
851
1666
  ]
852
1667
  },
853
- "contracts/types/UFixed.sol": {
854
- "UFixedMathLib": [
1668
+ "contracts/type/UFixed.sol": {
1669
+ "UFixedLib": [
855
1670
  {
856
1671
  "length": 20,
857
- "start": 937
1672
+ "start": 2183
858
1673
  },
859
1674
  {
860
1675
  "length": 20,
861
- "start": 1872
1676
+ "start": 3694
862
1677
  },
863
1678
  {
864
1679
  "length": 20,
865
- "start": 2767
1680
+ "start": 7036
866
1681
  },
867
1682
  {
868
1683
  "length": 20,
869
- "start": 3026
1684
+ "start": 7291
870
1685
  },
871
1686
  {
872
1687
  "length": 20,
873
- "start": 3169
1688
+ "start": 7432
874
1689
  }
875
1690
  ]
876
1691
  }