@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d16f92c-416

Sign up to get free protection for your applications and to get access to all the features.
Files changed (572) hide show
  1. package/README.md +17 -91
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +254 -167
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +117 -111
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +60 -336
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +36 -105
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +303 -2005
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +177 -65
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +429 -2753
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +801 -389
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +274 -177
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +128 -71
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +187 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +10 -118
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  47. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  48. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  49. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  50. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
  51. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  52. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  53. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  55. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  56. package/artifacts/contracts/{components/Product.sol/Product.json → oracle/Oracle.sol/Oracle.json} +255 -276
  57. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  59. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  61. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  63. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  65. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  66. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +83 -63
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  68. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +193 -103
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  70. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +294 -84
  71. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  72. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +298 -109
  73. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  75. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  77. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  79. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  81. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  83. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  85. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +124 -111
  87. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  88. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  89. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +187 -97
  91. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  92. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +79 -176
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  94. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +283 -118
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  96. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +11 -85
  97. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  99. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  101. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  103. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  105. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  106. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  107. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  109. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +179 -29
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -77
  117. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +415 -43
  122. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
  124. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -97
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  128. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +769 -98
  130. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
  132. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  136. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
  138. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  140. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
  142. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
  144. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
  146. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
  148. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  149. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +139 -85
  150. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
  152. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
  154. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +31 -134
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  158. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
  160. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  162. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  164. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  165. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +110 -84
  166. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  167. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  168. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  170. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  172. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  174. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  175. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  176. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  178. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  180. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  181. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  182. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IService.sol/IService.json +17 -30
  184. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  185. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  186. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  187. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  188. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  189. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  190. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  191. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  192. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  193. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  194. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  195. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  196. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  197. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  198. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  199. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  200. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  201. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  203. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  204. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  205. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  206. package/artifacts/contracts/shared/Service.sol/Service.json +23 -31
  207. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  208. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  209. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  210. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  211. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  212. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  213. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  214. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  215. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  216. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  217. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  218. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  219. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  220. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  221. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  222. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  223. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  224. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  226. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  228. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  229. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
  230. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  231. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  232. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  233. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  234. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  236. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  237. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  238. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  240. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  242. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  244. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  246. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  248. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  250. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -0
  252. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  254. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  256. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  258. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  259. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  260. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
  262. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  264. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  266. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  268. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  270. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  272. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  273. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
  274. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  275. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  276. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  277. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  278. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  279. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  280. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  281. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  282. package/contracts/{components → distribution}/Distribution.sol +47 -66
  283. package/contracts/distribution/DistributionService.sol +297 -0
  284. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  285. package/contracts/{components → distribution}/IDistributionComponent.sol +11 -16
  286. package/contracts/{instance/service → distribution}/IDistributionService.sol +20 -37
  287. package/contracts/instance/BundleManager.sol +8 -9
  288. package/contracts/instance/IInstance.sol +55 -66
  289. package/contracts/instance/IInstanceService.sol +50 -25
  290. package/contracts/instance/Instance.sol +160 -224
  291. package/contracts/instance/InstanceAdmin.sol +331 -0
  292. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  293. package/contracts/instance/InstanceReader.sol +157 -56
  294. package/contracts/instance/InstanceService.sol +259 -315
  295. package/contracts/instance/InstanceServiceManager.sol +11 -21
  296. package/contracts/instance/InstanceStore.sol +269 -0
  297. package/contracts/instance/base/BalanceStore.sol +123 -0
  298. package/contracts/instance/base/Cloneable.sol +28 -0
  299. package/contracts/instance/base/ObjectCounter.sol +21 -0
  300. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +7 -9
  301. package/contracts/instance/module/IAccess.sol +5 -13
  302. package/contracts/instance/module/IBundle.sol +6 -9
  303. package/contracts/instance/module/IComponents.sol +21 -10
  304. package/contracts/instance/module/IDistribution.sol +7 -6
  305. package/contracts/instance/module/IPolicy.sol +28 -16
  306. package/contracts/instance/module/IRisk.sol +1 -1
  307. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  308. package/contracts/oracle/IOracle.sol +20 -0
  309. package/contracts/oracle/IOracleComponent.sol +32 -0
  310. package/contracts/oracle/IOracleService.sol +65 -0
  311. package/contracts/oracle/Oracle.sol +145 -0
  312. package/contracts/oracle/OracleService.sol +278 -0
  313. package/contracts/oracle/OracleServiceManager.sol +42 -0
  314. package/contracts/pool/BundleService.sol +296 -0
  315. package/contracts/pool/BundleServiceManager.sol +42 -0
  316. package/contracts/{instance/service → pool}/IBundleService.sol +35 -22
  317. package/contracts/{components → pool}/IPoolComponent.sol +17 -18
  318. package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
  319. package/contracts/{components → pool}/Pool.sol +54 -58
  320. package/contracts/pool/PoolService.sol +452 -0
  321. package/contracts/pool/PoolServiceManager.sol +42 -0
  322. package/contracts/product/ApplicationService.sol +254 -0
  323. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  324. package/contracts/product/ClaimService.sol +442 -0
  325. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  326. package/contracts/{instance/service → product}/IApplicationService.sol +15 -35
  327. package/contracts/product/IClaimService.sol +99 -0
  328. package/contracts/{instance/service → product}/IPolicyService.sol +37 -31
  329. package/contracts/product/IPricingService.sol +39 -0
  330. package/contracts/product/IProductComponent.sol +42 -0
  331. package/contracts/product/IProductService.sol +33 -0
  332. package/contracts/product/PolicyService.sol +475 -0
  333. package/contracts/product/PolicyServiceManager.sol +42 -0
  334. package/contracts/product/PricingService.sol +300 -0
  335. package/contracts/product/PricingServiceManager.sol +42 -0
  336. package/contracts/{components → product}/Product.sol +191 -107
  337. package/contracts/product/ProductService.sol +124 -0
  338. package/contracts/product/ProductServiceManager.sol +42 -0
  339. package/contracts/registry/ChainNft.sol +8 -1
  340. package/contracts/registry/IRegistry.sol +44 -21
  341. package/contracts/registry/IRegistryService.sol +37 -36
  342. package/contracts/registry/IServiceAuthorization.sol +35 -0
  343. package/contracts/registry/Registry.sol +198 -83
  344. package/contracts/registry/RegistryAdmin.sol +333 -0
  345. package/contracts/registry/RegistryService.sol +72 -91
  346. package/contracts/registry/RegistryServiceManager.sol +21 -30
  347. package/contracts/registry/ReleaseManager.sol +400 -195
  348. package/contracts/registry/ServiceAuthorization.sol +86 -0
  349. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  350. package/contracts/registry/TokenRegistry.sol +261 -62
  351. package/contracts/shared/AccessAdmin.sol +759 -0
  352. package/contracts/shared/AccessManagerCustom.sol +741 -0
  353. package/contracts/shared/AccessManagerExtended.sol +481 -0
  354. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  355. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  356. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  357. package/contracts/shared/Component.sol +281 -0
  358. package/contracts/shared/ComponentService.sol +617 -0
  359. package/contracts/shared/ComponentServiceManager.sol +35 -0
  360. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  361. package/contracts/shared/ERC165.sol +1 -1
  362. package/contracts/shared/IAccessAdmin.sol +168 -0
  363. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  364. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  365. package/contracts/{components → shared}/IComponent.sol +23 -29
  366. package/contracts/shared/IComponentService.sol +102 -0
  367. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  368. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  369. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  370. package/contracts/shared/INftOwnable.sol +2 -2
  371. package/contracts/shared/IPolicyHolder.sol +29 -10
  372. package/contracts/shared/IRegistryLinked.sol +0 -1
  373. package/contracts/shared/IService.sol +11 -7
  374. package/contracts/shared/IVersionable.sol +1 -1
  375. package/contracts/shared/InitializableCustom.sol +177 -0
  376. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  377. package/contracts/shared/KeyValueStore.sol +127 -0
  378. package/contracts/{instance/base → shared}/Lifecycle.sol +26 -5
  379. package/contracts/shared/NftIdSetManager.sol +65 -0
  380. package/contracts/shared/NftOwnable.sol +3 -16
  381. package/contracts/shared/PolicyHolder.sol +40 -19
  382. package/contracts/shared/ProxyManager.sol +34 -4
  383. package/contracts/shared/Registerable.sol +13 -12
  384. package/contracts/shared/RegistryLinked.sol +0 -5
  385. package/contracts/shared/Service.sol +43 -23
  386. package/contracts/shared/TokenHandler.sol +27 -2
  387. package/contracts/shared/Versionable.sol +1 -1
  388. package/contracts/staking/IStaking.sol +168 -0
  389. package/contracts/staking/IStakingService.sol +153 -0
  390. package/contracts/staking/StakeManagerLib.sol +231 -0
  391. package/contracts/staking/Staking.sol +513 -0
  392. package/contracts/staking/StakingManager.sol +54 -0
  393. package/contracts/staking/StakingReader.sol +187 -0
  394. package/contracts/staking/StakingService.sol +411 -0
  395. package/contracts/staking/StakingServiceManager.sol +44 -0
  396. package/contracts/staking/StakingStore.sol +613 -0
  397. package/contracts/staking/TargetManagerLib.sol +207 -0
  398. package/contracts/{types → type}/AddressSet.sol +1 -1
  399. package/contracts/type/Amount.sol +128 -0
  400. package/contracts/{types → type}/Blocknumber.sol +20 -3
  401. package/contracts/{types → type}/ClaimId.sol +25 -2
  402. package/contracts/{types → type}/Fee.sol +24 -22
  403. package/contracts/{types → type}/NftId.sol +14 -16
  404. package/contracts/{types → type}/NftIdSet.sol +2 -2
  405. package/contracts/type/ObjectType.sol +241 -0
  406. package/contracts/{types → type}/PayoutId.sol +33 -5
  407. package/contracts/{types → type}/Referral.sol +1 -1
  408. package/contracts/type/RequestId.sol +75 -0
  409. package/contracts/{types → type}/RiskId.sol +1 -1
  410. package/contracts/type/RoleId.sol +201 -0
  411. package/contracts/{types → type}/Seconds.sol +27 -0
  412. package/contracts/type/Selector.sol +102 -0
  413. package/contracts/{types → type}/StateId.sol +33 -4
  414. package/contracts/type/String.sol +53 -0
  415. package/contracts/{types → type}/Timestamp.sol +10 -1
  416. package/contracts/{types → type}/Version.sol +1 -1
  417. package/package.json +4 -3
  418. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  419. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  420. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  421. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  422. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  423. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  424. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  425. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  426. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  427. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  428. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  429. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  430. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1311
  431. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  432. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  433. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  434. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  436. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  438. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  439. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  440. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  441. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  442. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  443. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1058
  445. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  447. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1258
  449. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
  451. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -844
  453. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  455. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1822
  457. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  459. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  460. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  461. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  462. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  463. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  467. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1111
  468. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  469. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  470. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  471. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1264
  472. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  473. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
  474. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -867
  476. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  478. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  479. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  480. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  481. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  482. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  483. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  484. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  485. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  486. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  487. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  488. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -611
  490. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  492. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  494. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  495. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  496. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  497. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  498. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  499. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  501. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  502. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  503. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  505. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  507. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  510. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  511. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  512. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  513. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  514. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  515. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  516. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  517. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  518. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  519. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  520. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  521. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  522. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  523. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  524. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  525. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  526. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  527. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  528. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  529. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  531. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  533. package/contracts/components/Component.sol +0 -253
  534. package/contracts/components/IProductComponent.sol +0 -40
  535. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  536. package/contracts/instance/Cloneable.sol +0 -51
  537. package/contracts/instance/InstanceAccessManager.sol +0 -522
  538. package/contracts/instance/base/ComponentService.sol +0 -136
  539. package/contracts/instance/base/KeyValueStore.sol +0 -180
  540. package/contracts/instance/module/ISetup.sol +0 -33
  541. package/contracts/instance/module/ITreasury.sol +0 -23
  542. package/contracts/instance/service/ApplicationService.sol +0 -350
  543. package/contracts/instance/service/BundleService.sol +0 -431
  544. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  545. package/contracts/instance/service/ClaimService.sol +0 -151
  546. package/contracts/instance/service/DistributionService.sol +0 -435
  547. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  548. package/contracts/instance/service/IClaimService.sol +0 -61
  549. package/contracts/instance/service/IProductService.sol +0 -40
  550. package/contracts/instance/service/PolicyService.sol +0 -360
  551. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  552. package/contracts/instance/service/PoolService.sol +0 -343
  553. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  554. package/contracts/instance/service/ProductService.sol +0 -210
  555. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  556. package/contracts/registry/RegistryAccessManager.sol +0 -216
  557. package/contracts/shared/ContractDeployerLib.sol +0 -72
  558. package/contracts/test/TestFee.sol +0 -25
  559. package/contracts/test/TestRegisterable.sol +0 -18
  560. package/contracts/test/TestRoleId.sol +0 -14
  561. package/contracts/test/TestService.sol +0 -25
  562. package/contracts/test/TestVersion.sol +0 -44
  563. package/contracts/test/TestVersionable.sol +0 -17
  564. package/contracts/test/Usdc.sol +0 -26
  565. package/contracts/types/Amount.sol +0 -60
  566. package/contracts/types/ChainId.sol +0 -38
  567. package/contracts/types/NumberId.sol +0 -52
  568. package/contracts/types/ObjectType.sol +0 -157
  569. package/contracts/types/RoleId.sol +0 -97
  570. /package/contracts/{types → type}/DistributorType.sol +0 -0
  571. /package/contracts/{types → type}/Key32.sol +0 -0
  572. /package/contracts/{types → type}/UFixed.sol +0 -0
@@ -3,6 +3,35 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
6
35
  {
7
36
  "inputs": [
8
37
  {
@@ -42,21 +71,6 @@
42
71
  "name": "filter",
43
72
  "type": "bytes"
44
73
  },
45
- {
46
- "internalType": "Amount",
47
- "name": "capitalAmount",
48
- "type": "uint96"
49
- },
50
- {
51
- "internalType": "Amount",
52
- "name": "lockedAmount",
53
- "type": "uint96"
54
- },
55
- {
56
- "internalType": "Amount",
57
- "name": "feeAmount",
58
- "type": "uint96"
59
- },
60
74
  {
61
75
  "internalType": "Seconds",
62
76
  "name": "lifetime",
@@ -85,51 +99,56 @@
85
99
  "inputs": [
86
100
  {
87
101
  "internalType": "NftId",
88
- "name": "poolNftId",
102
+ "name": "policyNftId",
89
103
  "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "ClaimId",
107
+ "name": "claimId",
108
+ "type": "uint16"
90
109
  }
91
110
  ],
92
- "name": "getComponentInfo",
111
+ "name": "getClaimInfo",
93
112
  "outputs": [
94
113
  {
95
114
  "components": [
96
115
  {
97
- "internalType": "string",
98
- "name": "name",
99
- "type": "string"
100
- },
101
- {
102
- "internalType": "contract IERC20Metadata",
103
- "name": "token",
104
- "type": "address"
116
+ "internalType": "Amount",
117
+ "name": "claimAmount",
118
+ "type": "uint96"
105
119
  },
106
120
  {
107
- "internalType": "contract TokenHandler",
108
- "name": "tokenHandler",
109
- "type": "address"
121
+ "internalType": "Amount",
122
+ "name": "paidAmount",
123
+ "type": "uint96"
110
124
  },
111
125
  {
112
- "internalType": "address",
113
- "name": "wallet",
114
- "type": "address"
126
+ "internalType": "uint8",
127
+ "name": "payoutsCount",
128
+ "type": "uint8"
115
129
  },
116
130
  {
117
- "internalType": "Amount",
118
- "name": "balanceAmount",
119
- "type": "uint96"
131
+ "internalType": "uint8",
132
+ "name": "openPayoutsCount",
133
+ "type": "uint8"
120
134
  },
121
135
  {
122
- "internalType": "Amount",
123
- "name": "feeAmount",
124
- "type": "uint96"
136
+ "internalType": "bytes",
137
+ "name": "submissionData",
138
+ "type": "bytes"
125
139
  },
126
140
  {
127
141
  "internalType": "bytes",
128
- "name": "data",
142
+ "name": "processData",
129
143
  "type": "bytes"
144
+ },
145
+ {
146
+ "internalType": "Timestamp",
147
+ "name": "closedAt",
148
+ "type": "uint40"
130
149
  }
131
150
  ],
132
- "internalType": "struct IComponents.ComponentInfo",
151
+ "internalType": "struct IPolicy.ClaimInfo",
133
152
  "name": "info",
134
153
  "type": "tuple"
135
154
  }
@@ -140,21 +159,21 @@
140
159
  {
141
160
  "inputs": [
142
161
  {
143
- "internalType": "ReferralId",
144
- "name": "referralId",
145
- "type": "bytes8"
162
+ "internalType": "NftId",
163
+ "name": "policyNftId",
164
+ "type": "uint96"
165
+ },
166
+ {
167
+ "internalType": "ClaimId",
168
+ "name": "claimId",
169
+ "type": "uint16"
146
170
  }
147
171
  ],
148
- "name": "getDiscountPercentage",
172
+ "name": "getClaimState",
149
173
  "outputs": [
150
174
  {
151
- "internalType": "UFixed",
152
- "name": "discountPercentage",
153
- "type": "uint256"
154
- },
155
- {
156
- "internalType": "ReferralStatus",
157
- "name": "status",
175
+ "internalType": "StateId",
176
+ "name": "state",
158
177
  "type": "uint8"
159
178
  }
160
179
  ],
@@ -165,57 +184,33 @@
165
184
  "inputs": [
166
185
  {
167
186
  "internalType": "NftId",
168
- "name": "distributionNftId",
187
+ "name": "componentNftId",
169
188
  "type": "uint96"
170
189
  }
171
190
  ],
172
- "name": "getDistributionSetupInfo",
191
+ "name": "getComponentInfo",
173
192
  "outputs": [
174
193
  {
175
194
  "components": [
195
+ {
196
+ "internalType": "string",
197
+ "name": "name",
198
+ "type": "string"
199
+ },
176
200
  {
177
201
  "internalType": "NftId",
178
202
  "name": "productNftId",
179
203
  "type": "uint96"
180
204
  },
181
205
  {
182
- "internalType": "contract TokenHandler",
183
- "name": "tokenHandler",
206
+ "internalType": "contract IERC20Metadata",
207
+ "name": "token",
184
208
  "type": "address"
185
209
  },
186
210
  {
187
- "components": [
188
- {
189
- "internalType": "UFixed",
190
- "name": "fractionalFee",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "uint256",
195
- "name": "fixedFee",
196
- "type": "uint256"
197
- }
198
- ],
199
- "internalType": "struct Fee",
200
- "name": "minDistributionOwnerFee",
201
- "type": "tuple"
202
- },
203
- {
204
- "components": [
205
- {
206
- "internalType": "UFixed",
207
- "name": "fractionalFee",
208
- "type": "uint256"
209
- },
210
- {
211
- "internalType": "uint256",
212
- "name": "fixedFee",
213
- "type": "uint256"
214
- }
215
- ],
216
- "internalType": "struct Fee",
217
- "name": "distributionFee",
218
- "type": "tuple"
211
+ "internalType": "contract TokenHandler",
212
+ "name": "tokenHandler",
213
+ "type": "address"
219
214
  },
220
215
  {
221
216
  "internalType": "address",
@@ -223,12 +218,12 @@
223
218
  "type": "address"
224
219
  },
225
220
  {
226
- "internalType": "uint256",
227
- "name": "sumDistributionOwnerFees",
228
- "type": "uint256"
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
229
224
  }
230
225
  ],
231
- "internalType": "struct ISetup.DistributionSetupInfo",
226
+ "internalType": "struct IComponents.ComponentInfo",
232
227
  "name": "info",
233
228
  "type": "tuple"
234
229
  }
@@ -236,6 +231,30 @@
236
231
  "stateMutability": "view",
237
232
  "type": "function"
238
233
  },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "ReferralId",
238
+ "name": "referralId",
239
+ "type": "bytes8"
240
+ }
241
+ ],
242
+ "name": "getDiscountPercentage",
243
+ "outputs": [
244
+ {
245
+ "internalType": "UFixed",
246
+ "name": "discountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "ReferralStatus",
251
+ "name": "status",
252
+ "type": "uint8"
253
+ }
254
+ ],
255
+ "stateMutability": "view",
256
+ "type": "function"
257
+ },
239
258
  {
240
259
  "inputs": [
241
260
  {
@@ -264,14 +283,14 @@
264
283
  "type": "bytes"
265
284
  },
266
285
  {
267
- "internalType": "uint256",
268
- "name": "sumCommisions",
269
- "type": "uint256"
286
+ "internalType": "Amount",
287
+ "name": "commissionAmount",
288
+ "type": "uint96"
270
289
  },
271
290
  {
272
- "internalType": "uint256",
291
+ "internalType": "uint32",
273
292
  "name": "numPoliciesSold",
274
- "type": "uint256"
293
+ "type": "uint32"
275
294
  }
276
295
  ],
277
296
  "internalType": "struct IDistribution.DistributorInfo",
@@ -348,6 +367,25 @@
348
367
  "stateMutability": "view",
349
368
  "type": "function"
350
369
  },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "targetNftId",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "getFeeAmount",
379
+ "outputs": [
380
+ {
381
+ "internalType": "Amount",
382
+ "name": "",
383
+ "type": "uint96"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
351
389
  {
352
390
  "inputs": [],
353
391
  "name": "getInstance",
@@ -374,6 +412,25 @@
374
412
  "stateMutability": "view",
375
413
  "type": "function"
376
414
  },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "NftId",
419
+ "name": "targetNftId",
420
+ "type": "uint96"
421
+ }
422
+ ],
423
+ "name": "getLockedAmount",
424
+ "outputs": [
425
+ {
426
+ "internalType": "Amount",
427
+ "name": "",
428
+ "type": "uint96"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
377
434
  {
378
435
  "inputs": [
379
436
  {
@@ -396,11 +453,6 @@
396
453
  "name": "state",
397
454
  "type": "uint8"
398
455
  },
399
- {
400
- "internalType": "address",
401
- "name": "updatedBy",
402
- "type": "address"
403
- },
404
456
  {
405
457
  "internalType": "Blocknumber",
406
458
  "name": "updatedIn",
@@ -426,76 +478,151 @@
426
478
  "internalType": "NftId",
427
479
  "name": "policyNftId",
428
480
  "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "PayoutId",
484
+ "name": "payoutId",
485
+ "type": "uint24"
429
486
  }
430
487
  ],
431
- "name": "getPolicyInfo",
488
+ "name": "getPayoutInfo",
432
489
  "outputs": [
433
490
  {
434
491
  "components": [
435
492
  {
436
- "internalType": "NftId",
437
- "name": "productNftId",
438
- "type": "uint96"
493
+ "internalType": "ClaimId",
494
+ "name": "claimId",
495
+ "type": "uint16"
439
496
  },
440
497
  {
441
- "internalType": "NftId",
442
- "name": "bundleNftId",
498
+ "internalType": "Amount",
499
+ "name": "amount",
443
500
  "type": "uint96"
444
501
  },
445
- {
446
- "internalType": "ReferralId",
447
- "name": "referralId",
448
- "type": "bytes8"
449
- },
450
- {
451
- "internalType": "RiskId",
452
- "name": "riskId",
453
- "type": "bytes8"
454
- },
455
- {
456
- "internalType": "uint256",
457
- "name": "sumInsuredAmount",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "premiumAmount",
463
- "type": "uint256"
464
- },
465
- {
466
- "internalType": "uint256",
467
- "name": "premiumPaidAmount",
468
- "type": "uint256"
469
- },
470
- {
471
- "internalType": "Seconds",
472
- "name": "lifetime",
473
- "type": "uint40"
474
- },
475
- {
476
- "internalType": "bytes",
477
- "name": "applicationData",
478
- "type": "bytes"
479
- },
480
502
  {
481
503
  "internalType": "bytes",
482
- "name": "policyData",
504
+ "name": "data",
483
505
  "type": "bytes"
484
506
  },
485
507
  {
486
- "internalType": "uint16",
487
- "name": "claimsCount",
488
- "type": "uint16"
489
- },
490
- {
491
- "internalType": "uint16",
508
+ "internalType": "Timestamp",
509
+ "name": "paidAt",
510
+ "type": "uint40"
511
+ }
512
+ ],
513
+ "internalType": "struct IPolicy.PayoutInfo",
514
+ "name": "info",
515
+ "type": "tuple"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "policyNftId",
526
+ "type": "uint96"
527
+ },
528
+ {
529
+ "internalType": "PayoutId",
530
+ "name": "payoutId",
531
+ "type": "uint24"
532
+ }
533
+ ],
534
+ "name": "getPayoutState",
535
+ "outputs": [
536
+ {
537
+ "internalType": "StateId",
538
+ "name": "state",
539
+ "type": "uint8"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [
547
+ {
548
+ "internalType": "NftId",
549
+ "name": "policyNftId",
550
+ "type": "uint96"
551
+ }
552
+ ],
553
+ "name": "getPolicyInfo",
554
+ "outputs": [
555
+ {
556
+ "components": [
557
+ {
558
+ "internalType": "NftId",
559
+ "name": "productNftId",
560
+ "type": "uint96"
561
+ },
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "bundleNftId",
565
+ "type": "uint96"
566
+ },
567
+ {
568
+ "internalType": "ReferralId",
569
+ "name": "referralId",
570
+ "type": "bytes8"
571
+ },
572
+ {
573
+ "internalType": "RiskId",
574
+ "name": "riskId",
575
+ "type": "bytes8"
576
+ },
577
+ {
578
+ "internalType": "Amount",
579
+ "name": "sumInsuredAmount",
580
+ "type": "uint96"
581
+ },
582
+ {
583
+ "internalType": "Amount",
584
+ "name": "premiumAmount",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "internalType": "Amount",
589
+ "name": "premiumPaidAmount",
590
+ "type": "uint96"
591
+ },
592
+ {
593
+ "internalType": "Seconds",
594
+ "name": "lifetime",
595
+ "type": "uint40"
596
+ },
597
+ {
598
+ "internalType": "bytes",
599
+ "name": "applicationData",
600
+ "type": "bytes"
601
+ },
602
+ {
603
+ "internalType": "bytes",
604
+ "name": "processData",
605
+ "type": "bytes"
606
+ },
607
+ {
608
+ "internalType": "uint16",
609
+ "name": "claimsCount",
610
+ "type": "uint16"
611
+ },
612
+ {
613
+ "internalType": "uint16",
492
614
  "name": "openClaimsCount",
493
615
  "type": "uint16"
494
616
  },
495
617
  {
496
- "internalType": "uint256",
618
+ "internalType": "Amount",
619
+ "name": "claimAmount",
620
+ "type": "uint96"
621
+ },
622
+ {
623
+ "internalType": "Amount",
497
624
  "name": "payoutAmount",
498
- "type": "uint256"
625
+ "type": "uint96"
499
626
  },
500
627
  {
501
628
  "internalType": "Timestamp",
@@ -544,24 +671,126 @@
544
671
  "inputs": [
545
672
  {
546
673
  "internalType": "NftId",
547
- "name": "productNftId",
674
+ "name": "poolNftId",
548
675
  "type": "uint96"
549
676
  }
550
677
  ],
551
- "name": "getProductSetupInfo",
678
+ "name": "getPoolInfo",
552
679
  "outputs": [
553
680
  {
554
681
  "components": [
555
682
  {
556
- "internalType": "contract IERC20Metadata",
557
- "name": "token",
558
- "type": "address"
683
+ "internalType": "NftId",
684
+ "name": "productNftId",
685
+ "type": "uint96"
559
686
  },
560
687
  {
561
- "internalType": "contract TokenHandler",
562
- "name": "tokenHandler",
563
- "type": "address"
688
+ "internalType": "RoleId",
689
+ "name": "bundleOwnerRole",
690
+ "type": "uint64"
691
+ },
692
+ {
693
+ "internalType": "Amount",
694
+ "name": "maxCapitalAmount",
695
+ "type": "uint96"
696
+ },
697
+ {
698
+ "internalType": "bool",
699
+ "name": "isInterceptingBundleTransfers",
700
+ "type": "bool"
701
+ },
702
+ {
703
+ "internalType": "bool",
704
+ "name": "isExternallyManaged",
705
+ "type": "bool"
706
+ },
707
+ {
708
+ "internalType": "bool",
709
+ "name": "isVerifyingApplications",
710
+ "type": "bool"
711
+ },
712
+ {
713
+ "internalType": "UFixed",
714
+ "name": "collateralizationLevel",
715
+ "type": "uint256"
716
+ },
717
+ {
718
+ "internalType": "UFixed",
719
+ "name": "retentionLevel",
720
+ "type": "uint256"
721
+ },
722
+ {
723
+ "components": [
724
+ {
725
+ "internalType": "UFixed",
726
+ "name": "fractionalFee",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "fixedFee",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "internalType": "struct Fee",
736
+ "name": "poolFee",
737
+ "type": "tuple"
738
+ },
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "UFixed",
743
+ "name": "fractionalFee",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "fixedFee",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "internalType": "struct Fee",
753
+ "name": "stakingFee",
754
+ "type": "tuple"
564
755
  },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "UFixed",
760
+ "name": "fractionalFee",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "fixedFee",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "internalType": "struct Fee",
770
+ "name": "performanceFee",
771
+ "type": "tuple"
772
+ }
773
+ ],
774
+ "internalType": "struct IComponents.PoolInfo",
775
+ "name": "info",
776
+ "type": "tuple"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "NftId",
786
+ "name": "productNftId",
787
+ "type": "uint96"
788
+ }
789
+ ],
790
+ "name": "getProductInfo",
791
+ "outputs": [
792
+ {
793
+ "components": [
565
794
  {
566
795
  "internalType": "NftId",
567
796
  "name": "distributionNftId",
@@ -607,17 +836,92 @@
607
836
  "type": "tuple"
608
837
  },
609
838
  {
610
- "internalType": "bool",
611
- "name": "isIntercepting",
612
- "type": "bool"
839
+ "components": [
840
+ {
841
+ "internalType": "UFixed",
842
+ "name": "fractionalFee",
843
+ "type": "uint256"
844
+ },
845
+ {
846
+ "internalType": "uint256",
847
+ "name": "fixedFee",
848
+ "type": "uint256"
849
+ }
850
+ ],
851
+ "internalType": "struct Fee",
852
+ "name": "distributionFee",
853
+ "type": "tuple"
613
854
  },
614
855
  {
615
- "internalType": "address",
616
- "name": "wallet",
617
- "type": "address"
856
+ "components": [
857
+ {
858
+ "internalType": "UFixed",
859
+ "name": "fractionalFee",
860
+ "type": "uint256"
861
+ },
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "fixedFee",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "internalType": "struct Fee",
869
+ "name": "minDistributionOwnerFee",
870
+ "type": "tuple"
871
+ },
872
+ {
873
+ "components": [
874
+ {
875
+ "internalType": "UFixed",
876
+ "name": "fractionalFee",
877
+ "type": "uint256"
878
+ },
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "fixedFee",
882
+ "type": "uint256"
883
+ }
884
+ ],
885
+ "internalType": "struct Fee",
886
+ "name": "poolFee",
887
+ "type": "tuple"
888
+ },
889
+ {
890
+ "components": [
891
+ {
892
+ "internalType": "UFixed",
893
+ "name": "fractionalFee",
894
+ "type": "uint256"
895
+ },
896
+ {
897
+ "internalType": "uint256",
898
+ "name": "fixedFee",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "internalType": "struct Fee",
903
+ "name": "stakingFee",
904
+ "type": "tuple"
905
+ },
906
+ {
907
+ "components": [
908
+ {
909
+ "internalType": "UFixed",
910
+ "name": "fractionalFee",
911
+ "type": "uint256"
912
+ },
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "fixedFee",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "internalType": "struct Fee",
920
+ "name": "performanceFee",
921
+ "type": "tuple"
618
922
  }
619
923
  ],
620
- "internalType": "struct ISetup.ProductSetupInfo",
924
+ "internalType": "struct IComponents.ProductInfo",
621
925
  "name": "info",
622
926
  "type": "tuple"
623
927
  }
@@ -684,189 +988,88 @@
684
988
  {
685
989
  "inputs": [
686
990
  {
687
- "internalType": "RiskId",
688
- "name": "riskId",
689
- "type": "bytes8"
991
+ "internalType": "RequestId",
992
+ "name": "requestId",
993
+ "type": "uint64"
690
994
  }
691
995
  ],
692
- "name": "getRiskInfo",
996
+ "name": "getRequestInfo",
693
997
  "outputs": [
694
998
  {
695
999
  "components": [
696
1000
  {
697
1001
  "internalType": "NftId",
698
- "name": "productNftId",
1002
+ "name": "requesterNftId",
699
1003
  "type": "uint96"
700
1004
  },
701
1005
  {
702
- "internalType": "bytes",
703
- "name": "data",
704
- "type": "bytes"
705
- }
706
- ],
707
- "internalType": "struct IRisk.RiskInfo",
708
- "name": "info",
709
- "type": "tuple"
710
- }
711
- ],
712
- "stateMutability": "view",
713
- "type": "function"
714
- },
715
- {
716
- "inputs": [
717
- {
718
- "internalType": "NftId",
719
- "name": "productNftId",
720
- "type": "uint96"
721
- }
722
- ],
723
- "name": "getTokenHandler",
724
- "outputs": [
725
- {
726
- "internalType": "address",
727
- "name": "tokenHandler",
728
- "type": "address"
729
- }
730
- ],
731
- "stateMutability": "view",
732
- "type": "function"
733
- },
734
- {
735
- "inputs": [
736
- {
737
- "internalType": "NftId",
738
- "name": "productNftId",
739
- "type": "uint96"
740
- }
741
- ],
742
- "name": "getTreasuryInfo",
743
- "outputs": [
744
- {
745
- "components": [
746
- {
747
- "internalType": "contract IERC20Metadata",
748
- "name": "token",
749
- "type": "address"
750
- },
751
- {
752
- "internalType": "contract TokenHandler",
753
- "name": "tokenHandler",
754
- "type": "address"
755
- },
756
- {
757
- "internalType": "NftId",
758
- "name": "distributionNftId",
759
- "type": "uint96"
1006
+ "internalType": "string",
1007
+ "name": "callbackMethodName",
1008
+ "type": "string"
760
1009
  },
761
1010
  {
762
1011
  "internalType": "NftId",
763
- "name": "poolNftId",
1012
+ "name": "oracleNftId",
764
1013
  "type": "uint96"
765
1014
  },
766
1015
  {
767
- "components": [
768
- {
769
- "internalType": "UFixed",
770
- "name": "fractionalFee",
771
- "type": "uint256"
772
- },
773
- {
774
- "internalType": "uint256",
775
- "name": "fixedFee",
776
- "type": "uint256"
777
- }
778
- ],
779
- "internalType": "struct Fee",
780
- "name": "distributionFee",
781
- "type": "tuple"
1016
+ "internalType": "bytes",
1017
+ "name": "requestData",
1018
+ "type": "bytes"
782
1019
  },
783
1020
  {
784
- "components": [
785
- {
786
- "internalType": "UFixed",
787
- "name": "fractionalFee",
788
- "type": "uint256"
789
- },
790
- {
791
- "internalType": "uint256",
792
- "name": "fixedFee",
793
- "type": "uint256"
794
- }
795
- ],
796
- "internalType": "struct Fee",
797
- "name": "productFee",
798
- "type": "tuple"
1021
+ "internalType": "bytes",
1022
+ "name": "responseData",
1023
+ "type": "bytes"
799
1024
  },
800
1025
  {
801
- "components": [
802
- {
803
- "internalType": "UFixed",
804
- "name": "fractionalFee",
805
- "type": "uint256"
806
- },
807
- {
808
- "internalType": "uint256",
809
- "name": "fixedFee",
810
- "type": "uint256"
811
- }
812
- ],
813
- "internalType": "struct Fee",
814
- "name": "processingFee",
815
- "type": "tuple"
1026
+ "internalType": "Timestamp",
1027
+ "name": "respondedAt",
1028
+ "type": "uint40"
816
1029
  },
817
1030
  {
818
- "components": [
819
- {
820
- "internalType": "UFixed",
821
- "name": "fractionalFee",
822
- "type": "uint256"
823
- },
824
- {
825
- "internalType": "uint256",
826
- "name": "fixedFee",
827
- "type": "uint256"
828
- }
829
- ],
830
- "internalType": "struct Fee",
831
- "name": "poolFee",
832
- "type": "tuple"
1031
+ "internalType": "Timestamp",
1032
+ "name": "expiredAt",
1033
+ "type": "uint40"
833
1034
  },
834
1035
  {
835
- "components": [
836
- {
837
- "internalType": "UFixed",
838
- "name": "fractionalFee",
839
- "type": "uint256"
840
- },
841
- {
842
- "internalType": "uint256",
843
- "name": "fixedFee",
844
- "type": "uint256"
845
- }
846
- ],
847
- "internalType": "struct Fee",
848
- "name": "stakingFee",
849
- "type": "tuple"
1036
+ "internalType": "bool",
1037
+ "name": "isCancelled",
1038
+ "type": "bool"
1039
+ }
1040
+ ],
1041
+ "internalType": "struct IOracle.RequestInfo",
1042
+ "name": "requestInfo",
1043
+ "type": "tuple"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "RiskId",
1053
+ "name": "riskId",
1054
+ "type": "bytes8"
1055
+ }
1056
+ ],
1057
+ "name": "getRiskInfo",
1058
+ "outputs": [
1059
+ {
1060
+ "components": [
1061
+ {
1062
+ "internalType": "NftId",
1063
+ "name": "productNftId",
1064
+ "type": "uint96"
850
1065
  },
851
1066
  {
852
- "components": [
853
- {
854
- "internalType": "UFixed",
855
- "name": "fractionalFee",
856
- "type": "uint256"
857
- },
858
- {
859
- "internalType": "uint256",
860
- "name": "fixedFee",
861
- "type": "uint256"
862
- }
863
- ],
864
- "internalType": "struct Fee",
865
- "name": "performanceFee",
866
- "type": "tuple"
1067
+ "internalType": "bytes",
1068
+ "name": "data",
1069
+ "type": "bytes"
867
1070
  }
868
1071
  ],
869
- "internalType": "struct ITreasury.TreasuryInfo",
1072
+ "internalType": "struct IRisk.RiskInfo",
870
1073
  "name": "info",
871
1074
  "type": "tuple"
872
1075
  }
@@ -874,6 +1077,68 @@
874
1077
  "stateMutability": "view",
875
1078
  "type": "function"
876
1079
  },
1080
+ {
1081
+ "inputs": [
1082
+ {
1083
+ "internalType": "Key32",
1084
+ "name": "key",
1085
+ "type": "bytes32"
1086
+ }
1087
+ ],
1088
+ "name": "getState",
1089
+ "outputs": [
1090
+ {
1091
+ "internalType": "StateId",
1092
+ "name": "state",
1093
+ "type": "uint8"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "view",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "NftId",
1103
+ "name": "componentNftId",
1104
+ "type": "uint96"
1105
+ }
1106
+ ],
1107
+ "name": "getTokenHandler",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "address",
1111
+ "name": "tokenHandler",
1112
+ "type": "address"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [
1120
+ {
1121
+ "internalType": "address",
1122
+ "name": "account",
1123
+ "type": "address"
1124
+ },
1125
+ {
1126
+ "internalType": "RoleId",
1127
+ "name": "roleId",
1128
+ "type": "uint64"
1129
+ }
1130
+ ],
1131
+ "name": "hasRole",
1132
+ "outputs": [
1133
+ {
1134
+ "internalType": "bool",
1135
+ "name": "isMember",
1136
+ "type": "bool"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view",
1140
+ "type": "function"
1141
+ },
877
1142
  {
878
1143
  "inputs": [
879
1144
  {
@@ -887,6 +1152,25 @@
887
1152
  "stateMutability": "nonpayable",
888
1153
  "type": "function"
889
1154
  },
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "NftId",
1159
+ "name": "policyNftId",
1160
+ "type": "uint96"
1161
+ }
1162
+ ],
1163
+ "name": "policyIsCloseable",
1164
+ "outputs": [
1165
+ {
1166
+ "internalType": "bool",
1167
+ "name": "isCloseable",
1168
+ "type": "bool"
1169
+ }
1170
+ ],
1171
+ "stateMutability": "view",
1172
+ "type": "function"
1173
+ },
890
1174
  {
891
1175
  "inputs": [
892
1176
  {
@@ -906,6 +1190,25 @@
906
1190
  "stateMutability": "pure",
907
1191
  "type": "function"
908
1192
  },
1193
+ {
1194
+ "inputs": [
1195
+ {
1196
+ "internalType": "NftId",
1197
+ "name": "componentNftId",
1198
+ "type": "uint96"
1199
+ }
1200
+ ],
1201
+ "name": "toComponentKey",
1202
+ "outputs": [
1203
+ {
1204
+ "internalType": "Key32",
1205
+ "name": "",
1206
+ "type": "bytes32"
1207
+ }
1208
+ ],
1209
+ "stateMutability": "pure",
1210
+ "type": "function"
1211
+ },
909
1212
  {
910
1213
  "inputs": [
911
1214
  {
@@ -1044,25 +1347,6 @@
1044
1347
  "stateMutability": "pure",
1045
1348
  "type": "function"
1046
1349
  },
1047
- {
1048
- "inputs": [
1049
- {
1050
- "internalType": "NftId",
1051
- "name": "productNftId",
1052
- "type": "uint96"
1053
- }
1054
- ],
1055
- "name": "toTreasuryKey",
1056
- "outputs": [
1057
- {
1058
- "internalType": "Key32",
1059
- "name": "",
1060
- "type": "bytes32"
1061
- }
1062
- ],
1063
- "stateMutability": "pure",
1064
- "type": "function"
1065
- },
1066
1350
  {
1067
1351
  "inputs": [
1068
1352
  {
@@ -1088,200 +1372,328 @@
1088
1372
  "type": "function"
1089
1373
  }
1090
1374
  ],
1091
- "bytecode": "0x608060405234801561001057600080fd5b50612d17806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220a12f2fde590db608d409e8808ef79c786d1d22be9fdfb621fb48ddcf3a3a5c6f64736f6c63430008140033",
1092
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220a12f2fde590db608d409e8808ef79c786d1d22be9fdfb621fb48ddcf3a3a5c6f64736f6c63430008140033",
1375
+ "bytecode": "0x608060405234801561001057600080fd5b50613ea3806100206000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c806378ae935011610130578063b82d7ef5116100b8578063dd26287a1161007c578063dd26287a146105ed578063de7b5d1414610600578063f0ea17c314610616578063f7f318d314610636578063febe92af1461064957600080fd5b8063b82d7ef51461055d578063bd7d9d8514610587578063c4d66de8146105a7578063d06458c6146105bc578063d4cda0d8146105dc57600080fd5b80638eb9000d116100ff5780638eb9000d1461048f5780639096a1f3146104a2578063a310e2a3146104b5578063a5961b4c146104e0578063a7ef3d211461053d57600080fd5b806378ae9350146104365780637bfd3217146104495780637e54602a1461045c578063887b1fa91461046f57600080fd5b80633f093cd6116101b357806357f80bbf1161018257806357f80bbf146103ba5780635da89402146103da57806364eb3a9b146103ed57806364fc31421461040057806375d357df1461042357600080fd5b80633f093cd61461034857806344aa6836146103745780634793b4ab146103875780634fb784f5146103a757600080fd5b80631d3be477116101fa5780631d3be477146102c2578063228e42ec146102e257806327b1d792146102f557806335898f5d1461031557806339bb60cd1461032857600080fd5b80630232ca491461022c57806309648a9d1461025c5780630b5d931c146102815780631488c845146102a1575b600080fd5b61023f61023a3660046124ab565b610669565b6040516001600160601b0390911681526020015b60405180910390f35b61026f61026a3660046124c8565b6106e6565b60405160ff9091168152602001610253565b61029461028f3660046124ab565b61075e565b60405161025391906124e1565b6102b46102af3660046125c4565b610811565b604051908152602001610253565b6102d56102d0366004612610565b610890565b604051610253919061267d565b61023f6102f03660046124ab565b6109dc565b6103086103033660046124ab565b610a16565b6040516102539190612718565b6102b46103233660046124ab565b610ae0565b61033b610336366004612785565b610b7a565b60405161025391906127bb565b61035b6103563660046129be565b610ccc565b6040516001600160c01b03199091168152602001610253565b6102b46103823660046124c8565b610d49565b61039a6103953660046124ab565b610d84565b6040516102539190612a50565b6102b46103b53660046124ab565b610e2a565b6103cd6103c83660046124ab565b610e57565b6040516102539190612ad6565b61026f6103e8366004612785565b610efd565b6102b46103fb3660046124ab565b610ffa565b61041361040e366004612bf3565b611027565b6040519015158152602001610253565b6104136104313660046124ab565b6111ac565b61026f610444366004612c31565b61143b565b6102b46104573660046124ab565b61149b565b6102b461046a3660046124ab565b6114c8565b61048261047d366004612610565b6114f5565b6040516102539190612c5f565b61023f61049d3660046124ab565b61161e565b61026f6104b03660046124ab565b611658565b6104c86104c33660046124ab565b6116d4565b6040516001600160a01b039091168152602001610253565b6104f36104ee3660046124c8565b611782565b6040516102539190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b61055061054b366004612c31565b61180f565b6040516102539190612c95565b61057061056b366004612610565b611964565b6040805192835260ff909116602083015201610253565b61059a6105953660046124ab565b611c0c565b6040516102539190612d2d565b6105ba6105b5366004612ee3565b611d32565b005b6105cf6105ca366004612610565b611e4b565b6040516102539190612f00565b6001546001600160a01b03166104c8565b6102b46105fb3660046124ab565b611fbe565b60005461010090046001600160a01b03166104c8565b6106296106243660046124ab565b611feb565b6040516102539190612fb0565b6102b46106443660046124ab565b6120b9565b61065c61065736600461302a565b6120e6565b6040516102539190613047565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa1580156106bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e09190613126565b92915050565b60015460405163296586d360e21b8152600481018390526000916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610730573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610754919061317a565b6020015192915050565b6107666122c3565b6001546000906001600160a01b03166354f6127f6107838561149b565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190613226565b80519091501561080b5780806020019051810190610804919061328a565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561086c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610804919061334a565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095b919061334a565b6040518263ffffffff1660e01b815260040161097991815260200190565b600060405180830381865afa158015610996573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109be9190810190613226565b80519091501561080b57808060200190518101906108049190613381565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec9060240161069f565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f610a5f856114c8565b6040518263ffffffff1660e01b8152600401610a7d91815260200190565b600060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac29190810190613226565b80519091501561080b5780806020019051810190610804919061347a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610b56573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e0919061334a565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3c919061334a565b6040518263ffffffff1660e01b8152600401610c5a91815260200190565b600060405180830381865afa158015610c77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c9f9190810190613226565b805190915015610cc55780806020019051810190610cbd9190613542565b9150506106e0565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610d0890869086906004016135eb565b602060405180830381865af4158015610d25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610804919061360d565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610b39565b610d8c6123dd565b6001546000906001600160a01b03166354f6127f610da9856120b9565b6040518263ffffffff1660e01b8152600401610dc791815260200190565b600060405180830381865afa158015610de4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e0c9190810190613226565b80519091501561080b5780806020019051810190610804919061362a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610b09565b610e5f612438565b6001546000906001600160a01b03166354f6127f610e7c85611fbe565b6040518263ffffffff1660e01b8152600401610e9a91815260200190565b600060405180830381865afa158015610eb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edf9190810190613226565b80519091501561080b578080602001905181019061080491906136fe565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b919061334a565b6040518263ffffffff1660e01b8152600401610fb991815260200190565b602060405180830381865afa158015610fd6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906137c3565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610b09565b60008060019054906101000a90046001600160a01b03166001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109f91906137e0565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e91906137fd565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016040805180830381865afa158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a4919061381a565b509392505050565b6000806111b883611c0c565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190613846565b156112485750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c99190613846565b156112d75750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113589190613846565b156113665750600092915050565b61016081015161ffff161561137e5750600092915050565b611391816101800151826080015161223c565b1561139f5750600192915050565b61142473__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156113eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140f9190613861565b826101e0015164ffffffffff90811691161090565b156114325750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610f5a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610b09565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610b09565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611579573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159d919061334a565b6040518263ffffffff1660e01b81526004016115bb91815260200190565b600060405180830381865afa1580156115d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116009190810190613226565b80519091501561080b5780806020019051810190610804919061387e565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d9060240161069f565b6001546000906001600160a01b03166309648a9d61167584610ffa565b6040518263ffffffff1660e01b815260040161169391815260200190565b602060405180830381865afa1580156116b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e091906137c3565b60015460009081906001600160a01b03166354f6127f6116f385610e2a565b6040518263ffffffff1660e01b815260040161171191815260200190565b600060405180830381865afa15801561172e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117569190810190613226565b80519091501561080b576000818060200190518101906117769190613908565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156117eb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e0919061317a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e3919061334a565b6040518263ffffffff1660e01b815260040161190191815260200190565b600060405180830381865afa15801561191e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119469190810190613226565b805190915015610cc55780806020019051810190610cbd91906139dc565b600080600061197284610890565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f59190613846565b15611a745773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a67919061334a565b60645b9250925050915091565b611af88160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae99190613861565b64ffffffffff90811691161090565b15611b715773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6a919061334a565b606e611a6a565b806060015163ffffffff16816080015163ffffffff1610611c005773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf9919061334a565b6078611a6a565b6040810151600a611a6a565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611cb185610ffa565b6040518263ffffffff1660e01b8152600401611ccf91815260200190565b600060405180830381865afa158015611cec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d149190810190613226565b80519091501561080b57808060200190518101906108049190613ac1565b60005460ff1615611d565760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611d7d57604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1b91906137e0565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611eaa60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3d919061334a565b6040518263ffffffff1660e01b8152600401611f5b91815260200190565b600060405180830381865afa158015611f78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fa09190810190613226565b80519091501561080b57808060200190518101906108049190613c6c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610b09565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61203885610e2a565b6040518263ffffffff1660e01b815260040161205691815260200190565b600060405180830381865afa158015612073573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261209b9190810190613226565b80519091501561080b57808060200190518101906108049190613908565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610b09565b60408051610100810182526000808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201526000916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bb919061334a565b6040518263ffffffff1660e01b81526004016121d991815260200190565b600060405180830381865afa1580156121f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261221e9190810190613226565b80519091501561080b57808060200190518101906108049190613d63565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190613846565b60405180610120016040528060006001600160601b0316815260200160006001600160601b0316815260200161230c604051806040016040528060008152602001600081525090565b815260200161232e604051806040016040528060008152602001600081525090565b8152602001612350604051806040016040528060008152602001600081525090565b8152602001612372604051806040016040528060008152602001600081525090565b8152602001612394604051806040016040528060008152602001600081525090565b81526020016123b6604051806040016040528060008152602001600081525090565b81526020016123d8604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612415604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190612394565b6001600160601b03811681146124a857600080fd5b50565b6000602082840312156124bd57600080fd5b813561080481612493565b6000602082840312156124da57600080fd5b5035919050565b81516001600160601b0316815260208083015161020083019161250e908401826001600160601b03169052565b50604083015161252b604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006125788185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610cc5565b600080604083850312156125d757600080fd5b8235915060208301358060000b81146125ef57600080fd5b809150509250929050565b6001600160c01b0319811681146124a857600080fd5b60006020828403121561262257600080fd5b8135610804816125fa565b60005b83811015612648578181015183820152602001612630565b50506000910152565b6000815180845261266981602086016020860161262d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526126ad610100840182612651565b90506040840151606084015263ffffffff606085015116608084015260808401516126e060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261270f8282612651565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261275660c0840182612651565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b6000806040838503121561279857600080fd5b82356127a381612493565b9150602083013562ffffff811681146125ef57600080fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260006040830151608060608401526127f860a0840182612651565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561284d5761284d612815565b60405290565b604080519081016001600160401b038111828210171561284d5761284d612815565b60405161012081016001600160401b038111828210171561284d5761284d612815565b60405160e081016001600160401b038111828210171561284d5761284d612815565b60405160a081016001600160401b038111828210171561284d5761284d612815565b60405160c081016001600160401b038111828210171561284d5761284d612815565b60405161016081016001600160401b038111828210171561284d5761284d612815565b60405161022081016001600160401b038111828210171561284d5761284d612815565b60405161010081016001600160401b038111828210171561284d5761284d612815565b604051601f8201601f191681016001600160401b038111828210171561298f5761298f612815565b604052919050565b60006001600160401b038211156129b0576129b0612815565b50601f01601f191660200190565b600080604083850312156129d157600080fd5b82356129dc81612493565b915060208301356001600160401b038111156129f757600080fd5b8301601f81018513612a0857600080fd5b8035612a1b612a1682612997565b612967565b818152866020838501011115612a3057600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526001600160601b03825116602082015260006020830151612a82604084018280518252602090810151910152565b50604083015160e06080840152612a9d610100840182612651565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c081016020830151612b0260208401826001600160401b03169052565b506040830151612b1d60408401826001600160601b03169052565b506060830151612b31606084018215159052565b506080830151612b45608084018215159052565b5060a0830151612b5960a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151612b8b8285018280518252602090810151910152565b5050610120830151610140612bac8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610cc5565b6001600160a01b03811681146124a857600080fd5b6001600160401b03811681146124a857600080fd5b60008060408385031215612c0657600080fd5b8235612c1181612bc9565b915060208301356125ef81612bde565b61ffff811681146124a857600080fd5b60008060408385031215612c4457600080fd5b8235612c4f81612493565b915060208301356125ef81612c21565b602081526001600160601b03825116602082015260006020830151604080840152612c8d6060840182612651565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151612cda608084018260ff169052565b50608083015160e060a0840152612cf5610100840182612651565b905060a0840151601f198483030160c0850152612d128282612651565b91505060c08401516111a460e085018264ffffffffff169052565b60208152612d476020820183516001600160601b03169052565b60006020830151612d6360408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100612de98185018364ffffffffff169052565b808501519150506102206101208181860152612e09610240860184612651565b9250808601519050610140601f198685030181870152612e298483612651565b935080870151915050610160612e448187018361ffff169052565b8601519050610180612e5b8682018361ffff169052565b86015190506101a0612e77868201836001600160601b03169052565b86015190506101c0612e93868201836001600160601b03169052565b86015190506101e0612ead8682018364ffffffffff169052565b8601519050610200612ec78682018364ffffffffff169052565b86015164ffffffffff81168387015290505b5090949350505050565b600060208284031215612ef557600080fd5b813561080481612bc9565b6020815260008251610120806020850152612f1f610140850183612651565b91506020850151604085015260408501516060850152606085015160808501526080850151612f5660a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612f8c8187018315159052565b860151858403601f1901838701529050612fa68382612651565b9695505050505050565b602081526000825160c06020840152612fcc60e0840182612651565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015261270f8282612651565b60006020828403121561303c57600080fd5b813561080481612bde565b602081526130616020820183516001600160601b03169052565b6000602083015161010080604085015261307f610120850183612651565b9150604085015161309b60608601826001600160601b03169052565b506060850151601f19808685030160808701526130b88483612651565b935060808701519150808685030160a0870152506130d68382612651565b92505060a08501516130f160c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e085015180151585830152612ed9565b805161312181612493565b919050565b60006020828403121561313857600080fd5b815161080481612493565b60ff811681146124a857600080fd5b805161312181613143565b63ffffffff811681146124a857600080fd5b80516131218161315d565b60006080828403121561318c57600080fd5b61319461282b565b825161319f81613143565b815260208301516131af81613143565b602082015260408301516131c28161315d565b604082015260608301516131d58161315d565b60608201529392505050565b600082601f8301126131f257600080fd5b8151613200612a1682612997565b81815284602083860101111561321557600080fd5b612c8d82602083016020870161262d565b60006020828403121561323857600080fd5b81516001600160401b0381111561324e57600080fd5b612c8d848285016131e1565b60006040828403121561326c57600080fd5b613274612853565b9050815181526020820151602082015292915050565b6000610200828403121561329d57600080fd5b6132a5612875565b6132ae83613116565b81526132bc60208401613116565b60208201526132ce846040850161325a565b60408201526132e0846080850161325a565b60608201526132f28460c0850161325a565b60808201526101006133068582860161325a565b60a083015261331985610140860161325a565b60c083015261332c85610180860161325a565b60e083015261333f856101c0860161325a565b908201529392505050565b60006020828403121561335c57600080fd5b5051919050565b64ffffffffff811681146124a857600080fd5b805161312181613363565b60006020828403121561339357600080fd5b81516001600160401b03808211156133aa57600080fd5b9083019060e082860312156133be57600080fd5b6133c6612898565b6133cf83613116565b81526020830151828111156133e357600080fd5b6133ef878286016131e1565b6020830152506040830151604082015261340b6060840161316f565b606082015261341c6080840161316f565b608082015261342d60a08401613376565b60a082015260c08301518281111561344457600080fd5b613450878286016131e1565b60c08301525095945050505050565b8051613121816125fa565b8051801515811461312157600080fd5b60006020828403121561348c57600080fd5b81516001600160401b03808211156134a357600080fd5b9083019060a082860312156134b757600080fd5b6134bf6128ba565b82516134ca816125fa565b81526134d86020840161346a565b60208201526040830151828111156134ef57600080fd5b6134fb878286016131e1565b6040830152506060830151915061351182612493565b816060820152608083015192506135278361315d565b6080810192909252509392505050565b805161312181612c21565b60006020828403121561355457600080fd5b81516001600160401b038082111561356b57600080fd5b908301906080828603121561357f57600080fd5b61358761282b565b825161359281612c21565b815260208301516135a281612493565b60208201526040830151828111156135b957600080fd5b6135c5878286016131e1565b604083015250606083015192506135db83613363565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612c8d6040830184612651565b60006020828403121561361f57600080fd5b8151610804816125fa565b60006020828403121561363c57600080fd5b81516001600160401b038082111561365357600080fd5b9083019060e0828603121561366757600080fd5b61366f6128dc565b825161367a81612493565b8152613689866020850161325a565b60208201526060830151828111156136a057600080fd5b6136ac878286016131e1565b604083015250608083015191506136c282613363565b8160608201526136d460a08401613376565b60808201526136e560c08401613376565b60a082015295945050505050565b805161312181612bde565b60006101c0828403121561371157600080fd5b6137196128fe565b61372283613116565b8152613730602084016136f3565b602082015261374160408401613116565b60408201526137526060840161346a565b60608201526137636080840161346a565b608082015261377460a0840161346a565b60a082015260c083015160c082015260e083015160e082015261010061379c8582860161325a565b908201526101406137af8585830161325a565b61012083015261333f85610180860161325a565b6000602082840312156137d557600080fd5b815161080481613143565b6000602082840312156137f257600080fd5b815161080481612bc9565b60006020828403121561380f57600080fd5b815161080481612bde565b6000806040838503121561382d57600080fd5b6138368361346a565b915060208301516125ef8161315d565b60006020828403121561385857600080fd5b6108048261346a565b60006020828403121561387357600080fd5b815161080481613363565b60006020828403121561389057600080fd5b81516001600160401b03808211156138a757600080fd5b90830190604082860312156138bb57600080fd5b6138c3612853565b82516138ce81612493565b81526020830151828111156138e257600080fd5b6138ee878286016131e1565b60208301525095945050505050565b805161312181612bc9565b60006020828403121561391a57600080fd5b81516001600160401b038082111561393157600080fd5b9083019060c0828603121561394557600080fd5b61394d6128dc565b82518281111561395c57600080fd5b613968878286016131e1565b82525061397760208401613116565b6020820152613988604084016138fd565b6040820152613999606084016138fd565b60608201526139aa608084016138fd565b608082015260a0830151828111156139c157600080fd5b6139cd878286016131e1565b60a08301525095945050505050565b6000602082840312156139ee57600080fd5b81516001600160401b0380821115613a0557600080fd5b9083019060e08286031215613a1957600080fd5b613a21612898565b613a2a83613116565b8152613a3860208401613116565b6020820152613a4960408401613152565b6040820152613a5a60608401613152565b6060820152608083015182811115613a7157600080fd5b613a7d878286016131e1565b60808301525060a083015182811115613a9557600080fd5b613aa1878286016131e1565b60a083015250613ab360c08401613376565b60c082015295945050505050565b600060208284031215613ad357600080fd5b81516001600160401b0380821115613aea57600080fd5b908301906102208286031215613aff57600080fd5b613b07612921565b613b1083613116565b8152613b1e60208401613116565b6020820152613b2f6040840161345f565b6040820152613b406060840161345f565b6060820152613b5160808401613116565b6080820152613b6260a08401613116565b60a0820152613b7360c08401613116565b60c0820152613b8460e08401613376565b60e08201526101008084015183811115613b9d57600080fd5b613ba9888287016131e1565b8284015250506101208084015183811115613bc357600080fd5b613bcf888287016131e1565b8284015250506101409150613be5828401613537565b828201526101609150613bf9828401613537565b828201526101809150613c0d828401613116565b828201526101a09150613c21828401613116565b828201526101c09150613c35828401613376565b828201526101e09150613c49828401613376565b828201526102009150613c5d828401613376565b91810191909152949350505050565b600060208284031215613c7e57600080fd5b81516001600160401b0380821115613c9557600080fd5b908301906101208286031215613caa57600080fd5b613cb2612875565b825182811115613cc157600080fd5b613ccd878286016131e1565b825250602083015160208201526040830151604082015260608301516060820152613cfa6080840161316f565b6080820152613d0b60a0840161316f565b60a0820152613d1c60c0840161346a565b60c0820152613d2d60e0840161346a565b60e08201526101008084015183811115613d4657600080fd5b613d52888287016131e1565b918301919091525095945050505050565b600060208284031215613d7557600080fd5b81516001600160401b0380821115613d8c57600080fd5b908301906101008286031215613da157600080fd5b613da9612944565b613db283613116565b8152602083015182811115613dc657600080fd5b613dd2878286016131e1565b602083015250613de460408401613116565b6040820152606083015182811115613dfb57600080fd5b613e07878286016131e1565b606083015250608083015182811115613e1f57600080fd5b613e2b878286016131e1565b608083015250613e3d60a08401613376565b60a0820152613e4e60c08401613376565b60c0820152613e5f60e0840161346a565b60e08201529594505050505056fea26469706673582212209bc9fec7923311a6fe576bc77cb56a646bd07bb886146af8a07b31a80eb7724764736f6c63430008140033",
1376
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102275760003560e01c806378ae935011610130578063b82d7ef5116100b8578063dd26287a1161007c578063dd26287a146105ed578063de7b5d1414610600578063f0ea17c314610616578063f7f318d314610636578063febe92af1461064957600080fd5b8063b82d7ef51461055d578063bd7d9d8514610587578063c4d66de8146105a7578063d06458c6146105bc578063d4cda0d8146105dc57600080fd5b80638eb9000d116100ff5780638eb9000d1461048f5780639096a1f3146104a2578063a310e2a3146104b5578063a5961b4c146104e0578063a7ef3d211461053d57600080fd5b806378ae9350146104365780637bfd3217146104495780637e54602a1461045c578063887b1fa91461046f57600080fd5b80633f093cd6116101b357806357f80bbf1161018257806357f80bbf146103ba5780635da89402146103da57806364eb3a9b146103ed57806364fc31421461040057806375d357df1461042357600080fd5b80633f093cd61461034857806344aa6836146103745780634793b4ab146103875780634fb784f5146103a757600080fd5b80631d3be477116101fa5780631d3be477146102c2578063228e42ec146102e257806327b1d792146102f557806335898f5d1461031557806339bb60cd1461032857600080fd5b80630232ca491461022c57806309648a9d1461025c5780630b5d931c146102815780631488c845146102a1575b600080fd5b61023f61023a3660046124ab565b610669565b6040516001600160601b0390911681526020015b60405180910390f35b61026f61026a3660046124c8565b6106e6565b60405160ff9091168152602001610253565b61029461028f3660046124ab565b61075e565b60405161025391906124e1565b6102b46102af3660046125c4565b610811565b604051908152602001610253565b6102d56102d0366004612610565b610890565b604051610253919061267d565b61023f6102f03660046124ab565b6109dc565b6103086103033660046124ab565b610a16565b6040516102539190612718565b6102b46103233660046124ab565b610ae0565b61033b610336366004612785565b610b7a565b60405161025391906127bb565b61035b6103563660046129be565b610ccc565b6040516001600160c01b03199091168152602001610253565b6102b46103823660046124c8565b610d49565b61039a6103953660046124ab565b610d84565b6040516102539190612a50565b6102b46103b53660046124ab565b610e2a565b6103cd6103c83660046124ab565b610e57565b6040516102539190612ad6565b61026f6103e8366004612785565b610efd565b6102b46103fb3660046124ab565b610ffa565b61041361040e366004612bf3565b611027565b6040519015158152602001610253565b6104136104313660046124ab565b6111ac565b61026f610444366004612c31565b61143b565b6102b46104573660046124ab565b61149b565b6102b461046a3660046124ab565b6114c8565b61048261047d366004612610565b6114f5565b6040516102539190612c5f565b61023f61049d3660046124ab565b61161e565b61026f6104b03660046124ab565b611658565b6104c86104c33660046124ab565b6116d4565b6040516001600160a01b039091168152602001610253565b6104f36104ee3660046124c8565b611782565b6040516102539190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b61055061054b366004612c31565b61180f565b6040516102539190612c95565b61057061056b366004612610565b611964565b6040805192835260ff909116602083015201610253565b61059a6105953660046124ab565b611c0c565b6040516102539190612d2d565b6105ba6105b5366004612ee3565b611d32565b005b6105cf6105ca366004612610565b611e4b565b6040516102539190612f00565b6001546001600160a01b03166104c8565b6102b46105fb3660046124ab565b611fbe565b60005461010090046001600160a01b03166104c8565b6106296106243660046124ab565b611feb565b6040516102539190612fb0565b6102b46106443660046124ab565b6120b9565b61065c61065736600461302a565b6120e6565b6040516102539190613047565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa1580156106bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e09190613126565b92915050565b60015460405163296586d360e21b8152600481018390526000916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610730573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610754919061317a565b6020015192915050565b6107666122c3565b6001546000906001600160a01b03166354f6127f6107838561149b565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190613226565b80519091501561080b5780806020019051810190610804919061328a565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561086c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610804919061334a565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095b919061334a565b6040518263ffffffff1660e01b815260040161097991815260200190565b600060405180830381865afa158015610996573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109be9190810190613226565b80519091501561080b57808060200190518101906108049190613381565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec9060240161069f565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f610a5f856114c8565b6040518263ffffffff1660e01b8152600401610a7d91815260200190565b600060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac29190810190613226565b80519091501561080b5780806020019051810190610804919061347a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610b56573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e0919061334a565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3c919061334a565b6040518263ffffffff1660e01b8152600401610c5a91815260200190565b600060405180830381865afa158015610c77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c9f9190810190613226565b805190915015610cc55780806020019051810190610cbd9190613542565b9150506106e0565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610d0890869086906004016135eb565b602060405180830381865af4158015610d25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610804919061360d565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610b39565b610d8c6123dd565b6001546000906001600160a01b03166354f6127f610da9856120b9565b6040518263ffffffff1660e01b8152600401610dc791815260200190565b600060405180830381865afa158015610de4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e0c9190810190613226565b80519091501561080b5780806020019051810190610804919061362a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610b09565b610e5f612438565b6001546000906001600160a01b03166354f6127f610e7c85611fbe565b6040518263ffffffff1660e01b8152600401610e9a91815260200190565b600060405180830381865afa158015610eb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edf9190810190613226565b80519091501561080b578080602001905181019061080491906136fe565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b919061334a565b6040518263ffffffff1660e01b8152600401610fb991815260200190565b602060405180830381865afa158015610fd6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906137c3565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610b09565b60008060019054906101000a90046001600160a01b03166001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109f91906137e0565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e91906137fd565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016040805180830381865afa158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a4919061381a565b509392505050565b6000806111b883611c0c565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190613846565b156112485750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c99190613846565b156112d75750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113589190613846565b156113665750600092915050565b61016081015161ffff161561137e5750600092915050565b611391816101800151826080015161223c565b1561139f5750600192915050565b61142473__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156113eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140f9190613861565b826101e0015164ffffffffff90811691161090565b156114325750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610f5a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610b09565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610b09565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611579573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159d919061334a565b6040518263ffffffff1660e01b81526004016115bb91815260200190565b600060405180830381865afa1580156115d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116009190810190613226565b80519091501561080b5780806020019051810190610804919061387e565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d9060240161069f565b6001546000906001600160a01b03166309648a9d61167584610ffa565b6040518263ffffffff1660e01b815260040161169391815260200190565b602060405180830381865afa1580156116b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e091906137c3565b60015460009081906001600160a01b03166354f6127f6116f385610e2a565b6040518263ffffffff1660e01b815260040161171191815260200190565b600060405180830381865afa15801561172e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117569190810190613226565b80519091501561080b576000818060200190518101906117769190613908565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156117eb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e0919061317a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e3919061334a565b6040518263ffffffff1660e01b815260040161190191815260200190565b600060405180830381865afa15801561191e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119469190810190613226565b805190915015610cc55780806020019051810190610cbd91906139dc565b600080600061197284610890565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f59190613846565b15611a745773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a67919061334a565b60645b9250925050915091565b611af88160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae99190613861565b64ffffffffff90811691161090565b15611b715773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6a919061334a565b606e611a6a565b806060015163ffffffff16816080015163ffffffff1610611c005773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf9919061334a565b6078611a6a565b6040810151600a611a6a565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611cb185610ffa565b6040518263ffffffff1660e01b8152600401611ccf91815260200190565b600060405180830381865afa158015611cec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d149190810190613226565b80519091501561080b57808060200190518101906108049190613ac1565b60005460ff1615611d565760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611d7d57604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1b91906137e0565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611eaa60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3d919061334a565b6040518263ffffffff1660e01b8152600401611f5b91815260200190565b600060405180830381865afa158015611f78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fa09190810190613226565b80519091501561080b57808060200190518101906108049190613c6c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610b09565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61203885610e2a565b6040518263ffffffff1660e01b815260040161205691815260200190565b600060405180830381865afa158015612073573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261209b9190810190613226565b80519091501561080b57808060200190518101906108049190613908565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610b09565b60408051610100810182526000808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201526000916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bb919061334a565b6040518263ffffffff1660e01b81526004016121d991815260200190565b600060405180830381865afa1580156121f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261221e9190810190613226565b80519091501561080b57808060200190518101906108049190613d63565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190613846565b60405180610120016040528060006001600160601b0316815260200160006001600160601b0316815260200161230c604051806040016040528060008152602001600081525090565b815260200161232e604051806040016040528060008152602001600081525090565b8152602001612350604051806040016040528060008152602001600081525090565b8152602001612372604051806040016040528060008152602001600081525090565b8152602001612394604051806040016040528060008152602001600081525090565b81526020016123b6604051806040016040528060008152602001600081525090565b81526020016123d8604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612415604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190612394565b6001600160601b03811681146124a857600080fd5b50565b6000602082840312156124bd57600080fd5b813561080481612493565b6000602082840312156124da57600080fd5b5035919050565b81516001600160601b0316815260208083015161020083019161250e908401826001600160601b03169052565b50604083015161252b604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006125788185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610cc5565b600080604083850312156125d757600080fd5b8235915060208301358060000b81146125ef57600080fd5b809150509250929050565b6001600160c01b0319811681146124a857600080fd5b60006020828403121561262257600080fd5b8135610804816125fa565b60005b83811015612648578181015183820152602001612630565b50506000910152565b6000815180845261266981602086016020860161262d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526126ad610100840182612651565b90506040840151606084015263ffffffff606085015116608084015260808401516126e060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261270f8282612651565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261275660c0840182612651565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b6000806040838503121561279857600080fd5b82356127a381612493565b9150602083013562ffffff811681146125ef57600080fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260006040830151608060608401526127f860a0840182612651565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561284d5761284d612815565b60405290565b604080519081016001600160401b038111828210171561284d5761284d612815565b60405161012081016001600160401b038111828210171561284d5761284d612815565b60405160e081016001600160401b038111828210171561284d5761284d612815565b60405160a081016001600160401b038111828210171561284d5761284d612815565b60405160c081016001600160401b038111828210171561284d5761284d612815565b60405161016081016001600160401b038111828210171561284d5761284d612815565b60405161022081016001600160401b038111828210171561284d5761284d612815565b60405161010081016001600160401b038111828210171561284d5761284d612815565b604051601f8201601f191681016001600160401b038111828210171561298f5761298f612815565b604052919050565b60006001600160401b038211156129b0576129b0612815565b50601f01601f191660200190565b600080604083850312156129d157600080fd5b82356129dc81612493565b915060208301356001600160401b038111156129f757600080fd5b8301601f81018513612a0857600080fd5b8035612a1b612a1682612997565b612967565b818152866020838501011115612a3057600080fd5b816020840160208301376000602083830101528093505050509250929050565b602081526001600160601b03825116602082015260006020830151612a82604084018280518252602090810151910152565b50604083015160e06080840152612a9d610100840182612651565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c081016020830151612b0260208401826001600160401b03169052565b506040830151612b1d60408401826001600160601b03169052565b506060830151612b31606084018215159052565b506080830151612b45608084018215159052565b5060a0830151612b5960a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151612b8b8285018280518252602090810151910152565b5050610120830151610140612bac8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610cc5565b6001600160a01b03811681146124a857600080fd5b6001600160401b03811681146124a857600080fd5b60008060408385031215612c0657600080fd5b8235612c1181612bc9565b915060208301356125ef81612bde565b61ffff811681146124a857600080fd5b60008060408385031215612c4457600080fd5b8235612c4f81612493565b915060208301356125ef81612c21565b602081526001600160601b03825116602082015260006020830151604080840152612c8d6060840182612651565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151612cda608084018260ff169052565b50608083015160e060a0840152612cf5610100840182612651565b905060a0840151601f198483030160c0850152612d128282612651565b91505060c08401516111a460e085018264ffffffffff169052565b60208152612d476020820183516001600160601b03169052565b60006020830151612d6360408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100612de98185018364ffffffffff169052565b808501519150506102206101208181860152612e09610240860184612651565b9250808601519050610140601f198685030181870152612e298483612651565b935080870151915050610160612e448187018361ffff169052565b8601519050610180612e5b8682018361ffff169052565b86015190506101a0612e77868201836001600160601b03169052565b86015190506101c0612e93868201836001600160601b03169052565b86015190506101e0612ead8682018364ffffffffff169052565b8601519050610200612ec78682018364ffffffffff169052565b86015164ffffffffff81168387015290505b5090949350505050565b600060208284031215612ef557600080fd5b813561080481612bc9565b6020815260008251610120806020850152612f1f610140850183612651565b91506020850151604085015260408501516060850152606085015160808501526080850151612f5660a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612f8c8187018315159052565b860151858403601f1901838701529050612fa68382612651565b9695505050505050565b602081526000825160c06020840152612fcc60e0840182612651565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015261270f8282612651565b60006020828403121561303c57600080fd5b813561080481612bde565b602081526130616020820183516001600160601b03169052565b6000602083015161010080604085015261307f610120850183612651565b9150604085015161309b60608601826001600160601b03169052565b506060850151601f19808685030160808701526130b88483612651565b935060808701519150808685030160a0870152506130d68382612651565b92505060a08501516130f160c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e085015180151585830152612ed9565b805161312181612493565b919050565b60006020828403121561313857600080fd5b815161080481612493565b60ff811681146124a857600080fd5b805161312181613143565b63ffffffff811681146124a857600080fd5b80516131218161315d565b60006080828403121561318c57600080fd5b61319461282b565b825161319f81613143565b815260208301516131af81613143565b602082015260408301516131c28161315d565b604082015260608301516131d58161315d565b60608201529392505050565b600082601f8301126131f257600080fd5b8151613200612a1682612997565b81815284602083860101111561321557600080fd5b612c8d82602083016020870161262d565b60006020828403121561323857600080fd5b81516001600160401b0381111561324e57600080fd5b612c8d848285016131e1565b60006040828403121561326c57600080fd5b613274612853565b9050815181526020820151602082015292915050565b6000610200828403121561329d57600080fd5b6132a5612875565b6132ae83613116565b81526132bc60208401613116565b60208201526132ce846040850161325a565b60408201526132e0846080850161325a565b60608201526132f28460c0850161325a565b60808201526101006133068582860161325a565b60a083015261331985610140860161325a565b60c083015261332c85610180860161325a565b60e083015261333f856101c0860161325a565b908201529392505050565b60006020828403121561335c57600080fd5b5051919050565b64ffffffffff811681146124a857600080fd5b805161312181613363565b60006020828403121561339357600080fd5b81516001600160401b03808211156133aa57600080fd5b9083019060e082860312156133be57600080fd5b6133c6612898565b6133cf83613116565b81526020830151828111156133e357600080fd5b6133ef878286016131e1565b6020830152506040830151604082015261340b6060840161316f565b606082015261341c6080840161316f565b608082015261342d60a08401613376565b60a082015260c08301518281111561344457600080fd5b613450878286016131e1565b60c08301525095945050505050565b8051613121816125fa565b8051801515811461312157600080fd5b60006020828403121561348c57600080fd5b81516001600160401b03808211156134a357600080fd5b9083019060a082860312156134b757600080fd5b6134bf6128ba565b82516134ca816125fa565b81526134d86020840161346a565b60208201526040830151828111156134ef57600080fd5b6134fb878286016131e1565b6040830152506060830151915061351182612493565b816060820152608083015192506135278361315d565b6080810192909252509392505050565b805161312181612c21565b60006020828403121561355457600080fd5b81516001600160401b038082111561356b57600080fd5b908301906080828603121561357f57600080fd5b61358761282b565b825161359281612c21565b815260208301516135a281612493565b60208201526040830151828111156135b957600080fd5b6135c5878286016131e1565b604083015250606083015192506135db83613363565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612c8d6040830184612651565b60006020828403121561361f57600080fd5b8151610804816125fa565b60006020828403121561363c57600080fd5b81516001600160401b038082111561365357600080fd5b9083019060e0828603121561366757600080fd5b61366f6128dc565b825161367a81612493565b8152613689866020850161325a565b60208201526060830151828111156136a057600080fd5b6136ac878286016131e1565b604083015250608083015191506136c282613363565b8160608201526136d460a08401613376565b60808201526136e560c08401613376565b60a082015295945050505050565b805161312181612bde565b60006101c0828403121561371157600080fd5b6137196128fe565b61372283613116565b8152613730602084016136f3565b602082015261374160408401613116565b60408201526137526060840161346a565b60608201526137636080840161346a565b608082015261377460a0840161346a565b60a082015260c083015160c082015260e083015160e082015261010061379c8582860161325a565b908201526101406137af8585830161325a565b61012083015261333f85610180860161325a565b6000602082840312156137d557600080fd5b815161080481613143565b6000602082840312156137f257600080fd5b815161080481612bc9565b60006020828403121561380f57600080fd5b815161080481612bde565b6000806040838503121561382d57600080fd5b6138368361346a565b915060208301516125ef8161315d565b60006020828403121561385857600080fd5b6108048261346a565b60006020828403121561387357600080fd5b815161080481613363565b60006020828403121561389057600080fd5b81516001600160401b03808211156138a757600080fd5b90830190604082860312156138bb57600080fd5b6138c3612853565b82516138ce81612493565b81526020830151828111156138e257600080fd5b6138ee878286016131e1565b60208301525095945050505050565b805161312181612bc9565b60006020828403121561391a57600080fd5b81516001600160401b038082111561393157600080fd5b9083019060c0828603121561394557600080fd5b61394d6128dc565b82518281111561395c57600080fd5b613968878286016131e1565b82525061397760208401613116565b6020820152613988604084016138fd565b6040820152613999606084016138fd565b60608201526139aa608084016138fd565b608082015260a0830151828111156139c157600080fd5b6139cd878286016131e1565b60a08301525095945050505050565b6000602082840312156139ee57600080fd5b81516001600160401b0380821115613a0557600080fd5b9083019060e08286031215613a1957600080fd5b613a21612898565b613a2a83613116565b8152613a3860208401613116565b6020820152613a4960408401613152565b6040820152613a5a60608401613152565b6060820152608083015182811115613a7157600080fd5b613a7d878286016131e1565b60808301525060a083015182811115613a9557600080fd5b613aa1878286016131e1565b60a083015250613ab360c08401613376565b60c082015295945050505050565b600060208284031215613ad357600080fd5b81516001600160401b0380821115613aea57600080fd5b908301906102208286031215613aff57600080fd5b613b07612921565b613b1083613116565b8152613b1e60208401613116565b6020820152613b2f6040840161345f565b6040820152613b406060840161345f565b6060820152613b5160808401613116565b6080820152613b6260a08401613116565b60a0820152613b7360c08401613116565b60c0820152613b8460e08401613376565b60e08201526101008084015183811115613b9d57600080fd5b613ba9888287016131e1565b8284015250506101208084015183811115613bc357600080fd5b613bcf888287016131e1565b8284015250506101409150613be5828401613537565b828201526101609150613bf9828401613537565b828201526101809150613c0d828401613116565b828201526101a09150613c21828401613116565b828201526101c09150613c35828401613376565b828201526101e09150613c49828401613376565b828201526102009150613c5d828401613376565b91810191909152949350505050565b600060208284031215613c7e57600080fd5b81516001600160401b0380821115613c9557600080fd5b908301906101208286031215613caa57600080fd5b613cb2612875565b825182811115613cc157600080fd5b613ccd878286016131e1565b825250602083015160208201526040830151604082015260608301516060820152613cfa6080840161316f565b6080820152613d0b60a0840161316f565b60a0820152613d1c60c0840161346a565b60c0820152613d2d60e0840161346a565b60e08201526101008084015183811115613d4657600080fd5b613d52888287016131e1565b918301919091525095945050505050565b600060208284031215613d7557600080fd5b81516001600160401b0380821115613d8c57600080fd5b908301906101008286031215613da157600080fd5b613da9612944565b613db283613116565b8152602083015182811115613dc657600080fd5b613dd2878286016131e1565b602083015250613de460408401613116565b6040820152606083015182811115613dfb57600080fd5b613e07878286016131e1565b606083015250608083015182811115613e1f57600080fd5b613e2b878286016131e1565b608083015250613e3d60a08401613376565b60a0820152613e4e60c08401613376565b60c0820152613e5f60e0840161346a565b60e08201529594505050505056fea26469706673582212209bc9fec7923311a6fe576bc77cb56a646bd07bb886146af8a07b31a80eb7724764736f6c63430008140033",
1093
1377
  "linkReferences": {
1094
- "contracts/types/DistributorType.sol": {
1378
+ "contracts/type/Amount.sol": {
1379
+ "AmountLib": [
1380
+ {
1381
+ "length": 20,
1382
+ "start": 8837
1383
+ }
1384
+ ]
1385
+ },
1386
+ "contracts/type/ClaimId.sol": {
1387
+ "ClaimIdLib": [
1388
+ {
1389
+ "length": 20,
1390
+ "start": 5273
1391
+ },
1392
+ {
1393
+ "length": 20,
1394
+ "start": 6309
1395
+ }
1396
+ ]
1397
+ },
1398
+ "contracts/type/DistributorType.sol": {
1095
1399
  "DistributorTypeLib": [
1096
1400
  {
1097
1401
  "length": 20,
1098
- "start": 5244
1402
+ "start": 7935
1099
1403
  }
1100
1404
  ]
1101
1405
  },
1102
- "contracts/types/NftId.sol": {
1406
+ "contracts/type/NftId.sol": {
1103
1407
  "NftIdLib": [
1104
1408
  {
1105
1409
  "length": 20,
1106
- "start": 1894
1410
+ "start": 2820
1107
1411
  },
1108
1412
  {
1109
1413
  "length": 20,
1110
- "start": 2274
1414
+ "start": 3662
1111
1415
  },
1112
1416
  {
1113
1417
  "length": 20,
1114
- "start": 2669
1418
+ "start": 4126
1115
1419
  },
1116
1420
  {
1117
1421
  "length": 20,
1118
- "start": 2714
1422
+ "start": 4604
1119
1423
  },
1120
1424
  {
1121
1425
  "length": 20,
1122
- "start": 2759
1426
+ "start": 5311
1123
1427
  },
1124
1428
  {
1125
1429
  "length": 20,
1126
- "start": 5471
1430
+ "start": 5356
1127
1431
  },
1128
1432
  {
1129
1433
  "length": 20,
1130
- "start": 6057
1434
+ "start": 8162
1435
+ },
1436
+ {
1437
+ "length": 20,
1438
+ "start": 8413
1131
1439
  }
1132
1440
  ]
1133
1441
  },
1134
- "contracts/types/Referral.sol": {
1135
- "ReferralLib": [
1442
+ "contracts/type/PayoutId.sol": {
1443
+ "PayoutIdLib": [
1136
1444
  {
1137
1445
  "length": 20,
1138
- "start": 1661
1446
+ "start": 3070
1139
1447
  },
1448
+ {
1449
+ "length": 20,
1450
+ "start": 3932
1451
+ }
1452
+ ]
1453
+ },
1454
+ "contracts/type/Referral.sol": {
1455
+ "ReferralLib": [
1140
1456
  {
1141
1457
  "length": 20,
1142
1458
  "start": 2333
1459
+ },
1460
+ {
1461
+ "length": 20,
1462
+ "start": 3326
1463
+ }
1464
+ ]
1465
+ },
1466
+ "contracts/type/RequestId.sol": {
1467
+ "RequestIdLib": [
1468
+ {
1469
+ "length": 20,
1470
+ "start": 8573
1143
1471
  }
1144
1472
  ]
1145
1473
  },
1146
- "contracts/types/RiskId.sol": {
1474
+ "contracts/type/RiskId.sol": {
1147
1475
  "RiskIdLib": [
1148
1476
  {
1149
1477
  "length": 20,
1150
- "start": 2874
1478
+ "start": 5471
1479
+ }
1480
+ ]
1481
+ },
1482
+ "contracts/type/RoleId.sol": {
1483
+ "RoleIdLib": [
1484
+ {
1485
+ "length": 20,
1486
+ "start": 4336
1151
1487
  }
1152
1488
  ]
1153
1489
  },
1154
- "contracts/types/Timestamp.sol": {
1490
+ "contracts/type/Timestamp.sol": {
1155
1491
  "TimestampLib": [
1156
1492
  {
1157
1493
  "length": 20,
1158
- "start": 3929
1494
+ "start": 4747
1495
+ },
1496
+ {
1497
+ "length": 20,
1498
+ "start": 4890
1499
+ },
1500
+ {
1501
+ "length": 20,
1502
+ "start": 5060
1503
+ },
1504
+ {
1505
+ "length": 20,
1506
+ "start": 6583
1159
1507
  },
1160
1508
  {
1161
1509
  "length": 20,
1162
- "start": 4160
1510
+ "start": 6814
1163
1511
  }
1164
1512
  ]
1165
1513
  },
1166
- "contracts/types/UFixed.sol": {
1514
+ "contracts/type/UFixed.sol": {
1167
1515
  "UFixedLib": [
1168
1516
  {
1169
1517
  "length": 20,
1170
- "start": 1451
1518
+ "start": 2130
1171
1519
  },
1172
1520
  {
1173
1521
  "length": 20,
1174
- "start": 2465
1522
+ "start": 3458
1175
1523
  },
1176
1524
  {
1177
1525
  "length": 20,
1178
- "start": 4030
1526
+ "start": 6684
1179
1527
  },
1180
1528
  {
1181
1529
  "length": 20,
1182
- "start": 4289
1530
+ "start": 6943
1183
1531
  },
1184
1532
  {
1185
1533
  "length": 20,
1186
- "start": 4432
1534
+ "start": 7086
1187
1535
  }
1188
1536
  ]
1189
1537
  }
1190
1538
  },
1191
1539
  "deployedLinkReferences": {
1192
- "contracts/types/DistributorType.sol": {
1540
+ "contracts/type/Amount.sol": {
1541
+ "AmountLib": [
1542
+ {
1543
+ "length": 20,
1544
+ "start": 8805
1545
+ }
1546
+ ]
1547
+ },
1548
+ "contracts/type/ClaimId.sol": {
1549
+ "ClaimIdLib": [
1550
+ {
1551
+ "length": 20,
1552
+ "start": 5241
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 6277
1557
+ }
1558
+ ]
1559
+ },
1560
+ "contracts/type/DistributorType.sol": {
1193
1561
  "DistributorTypeLib": [
1194
1562
  {
1195
1563
  "length": 20,
1196
- "start": 5212
1564
+ "start": 7903
1197
1565
  }
1198
1566
  ]
1199
1567
  },
1200
- "contracts/types/NftId.sol": {
1568
+ "contracts/type/NftId.sol": {
1201
1569
  "NftIdLib": [
1202
1570
  {
1203
1571
  "length": 20,
1204
- "start": 1862
1572
+ "start": 2788
1205
1573
  },
1206
1574
  {
1207
1575
  "length": 20,
1208
- "start": 2242
1576
+ "start": 3630
1209
1577
  },
1210
1578
  {
1211
1579
  "length": 20,
1212
- "start": 2637
1580
+ "start": 4094
1213
1581
  },
1214
1582
  {
1215
1583
  "length": 20,
1216
- "start": 2682
1584
+ "start": 4572
1217
1585
  },
1218
1586
  {
1219
1587
  "length": 20,
1220
- "start": 2727
1588
+ "start": 5279
1221
1589
  },
1222
1590
  {
1223
1591
  "length": 20,
1224
- "start": 5439
1592
+ "start": 5324
1593
+ },
1594
+ {
1595
+ "length": 20,
1596
+ "start": 8130
1225
1597
  },
1226
1598
  {
1227
1599
  "length": 20,
1228
- "start": 6025
1600
+ "start": 8381
1229
1601
  }
1230
1602
  ]
1231
1603
  },
1232
- "contracts/types/Referral.sol": {
1233
- "ReferralLib": [
1604
+ "contracts/type/PayoutId.sol": {
1605
+ "PayoutIdLib": [
1234
1606
  {
1235
1607
  "length": 20,
1236
- "start": 1629
1608
+ "start": 3038
1237
1609
  },
1610
+ {
1611
+ "length": 20,
1612
+ "start": 3900
1613
+ }
1614
+ ]
1615
+ },
1616
+ "contracts/type/Referral.sol": {
1617
+ "ReferralLib": [
1238
1618
  {
1239
1619
  "length": 20,
1240
1620
  "start": 2301
1621
+ },
1622
+ {
1623
+ "length": 20,
1624
+ "start": 3294
1625
+ }
1626
+ ]
1627
+ },
1628
+ "contracts/type/RequestId.sol": {
1629
+ "RequestIdLib": [
1630
+ {
1631
+ "length": 20,
1632
+ "start": 8541
1241
1633
  }
1242
1634
  ]
1243
1635
  },
1244
- "contracts/types/RiskId.sol": {
1636
+ "contracts/type/RiskId.sol": {
1245
1637
  "RiskIdLib": [
1246
1638
  {
1247
1639
  "length": 20,
1248
- "start": 2842
1640
+ "start": 5439
1641
+ }
1642
+ ]
1643
+ },
1644
+ "contracts/type/RoleId.sol": {
1645
+ "RoleIdLib": [
1646
+ {
1647
+ "length": 20,
1648
+ "start": 4304
1249
1649
  }
1250
1650
  ]
1251
1651
  },
1252
- "contracts/types/Timestamp.sol": {
1652
+ "contracts/type/Timestamp.sol": {
1253
1653
  "TimestampLib": [
1254
1654
  {
1255
1655
  "length": 20,
1256
- "start": 3897
1656
+ "start": 4715
1657
+ },
1658
+ {
1659
+ "length": 20,
1660
+ "start": 4858
1661
+ },
1662
+ {
1663
+ "length": 20,
1664
+ "start": 5028
1665
+ },
1666
+ {
1667
+ "length": 20,
1668
+ "start": 6551
1257
1669
  },
1258
1670
  {
1259
1671
  "length": 20,
1260
- "start": 4128
1672
+ "start": 6782
1261
1673
  }
1262
1674
  ]
1263
1675
  },
1264
- "contracts/types/UFixed.sol": {
1676
+ "contracts/type/UFixed.sol": {
1265
1677
  "UFixedLib": [
1266
1678
  {
1267
1679
  "length": 20,
1268
- "start": 1419
1680
+ "start": 2098
1269
1681
  },
1270
1682
  {
1271
1683
  "length": 20,
1272
- "start": 2433
1684
+ "start": 3426
1273
1685
  },
1274
1686
  {
1275
1687
  "length": 20,
1276
- "start": 3998
1688
+ "start": 6652
1277
1689
  },
1278
1690
  {
1279
1691
  "length": 20,
1280
- "start": 4257
1692
+ "start": 6911
1281
1693
  },
1282
1694
  {
1283
1695
  "length": 20,
1284
- "start": 4400
1696
+ "start": 7054
1285
1697
  }
1286
1698
  ]
1287
1699
  }