@etherisc/gif-next 0.0.2-dc95063-418 → 0.0.2-dd0e295-160

Sign up to get free protection for your applications and to get access to all the features.
Files changed (573) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +254 -157
  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 +202 -96
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +126 -312
  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 +279 -1961
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +257 -55
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +431 -2735
  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 +762 -340
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +358 -171
  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/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +221 -192
  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 -266
  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 +218 -145
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  68. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +288 -88
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  70. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  71. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  72. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +298 -89
  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/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +174 -202
  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/product/IPolicyService.sol/IPolicyService.json +720 -0
  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} +146 -153
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  94. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  96. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +80 -64
  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 +144 -80
  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} +100 -113
  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 +180 -54
  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 +96 -19
  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 +103 -21
  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 -55
  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 +8 -9
  303. package/contracts/instance/module/IComponents.sol +22 -5
  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/pool/IBundleService.sol +106 -0
  317. package/contracts/{components → pool}/IPoolComponent.sol +17 -18
  318. package/contracts/pool/IPoolService.sol +150 -0
  319. package/contracts/{components → pool}/Pool.sol +57 -57
  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 +39 -37
  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 +73 -90
  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 -27
  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 +14 -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 +47 -22
  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 +33 -24
  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 +3 -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 -968
  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 -1093
  449. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  451. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  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 -1732
  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/IClaimService.sol/IClaimService.json +0 -409
  463. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -428
  467. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  468. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  469. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  470. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  471. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  472. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  473. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -824
  474. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
  476. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  478. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  480. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  481. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  482. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  483. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  484. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  485. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  486. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  487. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  488. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  490. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  492. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  494. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  495. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  496. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  497. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  498. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  499. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  500. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  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 -257
  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 -251
  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 -134
  539. package/contracts/instance/base/KeyValueStore.sol +0 -175
  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 -336
  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 -467
  547. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  548. package/contracts/instance/service/IBundleService.sol +0 -62
  549. package/contracts/instance/service/IClaimService.sol +0 -61
  550. package/contracts/instance/service/IPoolService.sol +0 -35
  551. package/contracts/instance/service/IProductService.sol +0 -40
  552. package/contracts/instance/service/PolicyService.sol +0 -403
  553. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  554. package/contracts/instance/service/PoolService.sol +0 -220
  555. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  556. package/contracts/instance/service/ProductService.sol +0 -241
  557. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  558. package/contracts/registry/RegistryAccessManager.sol +0 -216
  559. package/contracts/shared/ContractDeployerLib.sol +0 -72
  560. package/contracts/test/TestFee.sol +0 -25
  561. package/contracts/test/TestRegisterable.sol +0 -18
  562. package/contracts/test/TestRoleId.sol +0 -14
  563. package/contracts/test/TestService.sol +0 -25
  564. package/contracts/test/TestVersion.sol +0 -44
  565. package/contracts/test/TestVersionable.sol +0 -17
  566. package/contracts/test/Usdc.sol +0 -26
  567. package/contracts/types/ChainId.sol +0 -38
  568. package/contracts/types/NumberId.sol +0 -52
  569. package/contracts/types/ObjectType.sol +0 -157
  570. package/contracts/types/RoleId.sol +0 -97
  571. /package/contracts/{types → type}/DistributorType.sol +0 -0
  572. /package/contracts/{types → type}/Key32.sol +0 -0
  573. /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": "uint256",
47
- "name": "capitalAmount",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "lockedAmount",
53
- "type": "uint256"
54
- },
55
- {
56
- "internalType": "uint256",
57
- "name": "balanceAmount",
58
- "type": "uint256"
59
- },
60
74
  {
61
75
  "internalType": "Seconds",
62
76
  "name": "lifetime",
@@ -85,41 +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"
116
+ "internalType": "Amount",
117
+ "name": "claimAmount",
118
+ "type": "uint96"
100
119
  },
101
120
  {
102
- "internalType": "contract IERC20Metadata",
103
- "name": "token",
104
- "type": "address"
121
+ "internalType": "Amount",
122
+ "name": "paidAmount",
123
+ "type": "uint96"
105
124
  },
106
125
  {
107
- "internalType": "contract TokenHandler",
108
- "name": "tokenHandler",
109
- "type": "address"
126
+ "internalType": "uint8",
127
+ "name": "payoutsCount",
128
+ "type": "uint8"
110
129
  },
111
130
  {
112
- "internalType": "address",
113
- "name": "wallet",
114
- "type": "address"
131
+ "internalType": "uint8",
132
+ "name": "openPayoutsCount",
133
+ "type": "uint8"
115
134
  },
116
135
  {
117
136
  "internalType": "bytes",
118
- "name": "data",
137
+ "name": "submissionData",
138
+ "type": "bytes"
139
+ },
140
+ {
141
+ "internalType": "bytes",
142
+ "name": "processData",
119
143
  "type": "bytes"
144
+ },
145
+ {
146
+ "internalType": "Timestamp",
147
+ "name": "closedAt",
148
+ "type": "uint40"
120
149
  }
121
150
  ],
122
- "internalType": "struct IComponents.ComponentInfo",
151
+ "internalType": "struct IPolicy.ClaimInfo",
123
152
  "name": "info",
124
153
  "type": "tuple"
125
154
  }
@@ -130,21 +159,21 @@
130
159
  {
131
160
  "inputs": [
132
161
  {
133
- "internalType": "ReferralId",
134
- "name": "referralId",
135
- "type": "bytes8"
162
+ "internalType": "NftId",
163
+ "name": "policyNftId",
164
+ "type": "uint96"
165
+ },
166
+ {
167
+ "internalType": "ClaimId",
168
+ "name": "claimId",
169
+ "type": "uint16"
136
170
  }
137
171
  ],
138
- "name": "getDiscountPercentage",
172
+ "name": "getClaimState",
139
173
  "outputs": [
140
174
  {
141
- "internalType": "UFixed",
142
- "name": "discountPercentage",
143
- "type": "uint256"
144
- },
145
- {
146
- "internalType": "ReferralStatus",
147
- "name": "status",
175
+ "internalType": "StateId",
176
+ "name": "state",
148
177
  "type": "uint8"
149
178
  }
150
179
  ],
@@ -155,57 +184,33 @@
155
184
  "inputs": [
156
185
  {
157
186
  "internalType": "NftId",
158
- "name": "distributionNftId",
187
+ "name": "componentNftId",
159
188
  "type": "uint96"
160
189
  }
161
190
  ],
162
- "name": "getDistributionSetupInfo",
191
+ "name": "getComponentInfo",
163
192
  "outputs": [
164
193
  {
165
194
  "components": [
195
+ {
196
+ "internalType": "string",
197
+ "name": "name",
198
+ "type": "string"
199
+ },
166
200
  {
167
201
  "internalType": "NftId",
168
202
  "name": "productNftId",
169
203
  "type": "uint96"
170
204
  },
171
205
  {
172
- "internalType": "contract TokenHandler",
173
- "name": "tokenHandler",
206
+ "internalType": "contract IERC20Metadata",
207
+ "name": "token",
174
208
  "type": "address"
175
209
  },
176
210
  {
177
- "components": [
178
- {
179
- "internalType": "UFixed",
180
- "name": "fractionalFee",
181
- "type": "uint256"
182
- },
183
- {
184
- "internalType": "uint256",
185
- "name": "fixedFee",
186
- "type": "uint256"
187
- }
188
- ],
189
- "internalType": "struct Fee",
190
- "name": "minDistributionOwnerFee",
191
- "type": "tuple"
192
- },
193
- {
194
- "components": [
195
- {
196
- "internalType": "UFixed",
197
- "name": "fractionalFee",
198
- "type": "uint256"
199
- },
200
- {
201
- "internalType": "uint256",
202
- "name": "fixedFee",
203
- "type": "uint256"
204
- }
205
- ],
206
- "internalType": "struct Fee",
207
- "name": "distributionFee",
208
- "type": "tuple"
211
+ "internalType": "contract TokenHandler",
212
+ "name": "tokenHandler",
213
+ "type": "address"
209
214
  },
210
215
  {
211
216
  "internalType": "address",
@@ -213,12 +218,12 @@
213
218
  "type": "address"
214
219
  },
215
220
  {
216
- "internalType": "uint256",
217
- "name": "sumDistributionOwnerFees",
218
- "type": "uint256"
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
219
224
  }
220
225
  ],
221
- "internalType": "struct ISetup.DistributionSetupInfo",
226
+ "internalType": "struct IComponents.ComponentInfo",
222
227
  "name": "info",
223
228
  "type": "tuple"
224
229
  }
@@ -226,6 +231,30 @@
226
231
  "stateMutability": "view",
227
232
  "type": "function"
228
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
+ },
229
258
  {
230
259
  "inputs": [
231
260
  {
@@ -254,14 +283,14 @@
254
283
  "type": "bytes"
255
284
  },
256
285
  {
257
- "internalType": "uint256",
258
- "name": "sumCommisions",
259
- "type": "uint256"
286
+ "internalType": "Amount",
287
+ "name": "commissionAmount",
288
+ "type": "uint96"
260
289
  },
261
290
  {
262
- "internalType": "uint256",
291
+ "internalType": "uint32",
263
292
  "name": "numPoliciesSold",
264
- "type": "uint256"
293
+ "type": "uint32"
265
294
  }
266
295
  ],
267
296
  "internalType": "struct IDistribution.DistributorInfo",
@@ -338,6 +367,25 @@
338
367
  "stateMutability": "view",
339
368
  "type": "function"
340
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
+ },
341
389
  {
342
390
  "inputs": [],
343
391
  "name": "getInstance",
@@ -364,6 +412,25 @@
364
412
  "stateMutability": "view",
365
413
  "type": "function"
366
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
+ },
367
434
  {
368
435
  "inputs": [
369
436
  {
@@ -386,11 +453,6 @@
386
453
  "name": "state",
387
454
  "type": "uint8"
388
455
  },
389
- {
390
- "internalType": "address",
391
- "name": "updatedBy",
392
- "type": "address"
393
- },
394
456
  {
395
457
  "internalType": "Blocknumber",
396
458
  "name": "updatedIn",
@@ -410,6 +472,76 @@
410
472
  "stateMutability": "view",
411
473
  "type": "function"
412
474
  },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "NftId",
479
+ "name": "policyNftId",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "PayoutId",
484
+ "name": "payoutId",
485
+ "type": "uint24"
486
+ }
487
+ ],
488
+ "name": "getPayoutInfo",
489
+ "outputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "ClaimId",
494
+ "name": "claimId",
495
+ "type": "uint16"
496
+ },
497
+ {
498
+ "internalType": "Amount",
499
+ "name": "amount",
500
+ "type": "uint96"
501
+ },
502
+ {
503
+ "internalType": "bytes",
504
+ "name": "data",
505
+ "type": "bytes"
506
+ },
507
+ {
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
+ },
413
545
  {
414
546
  "inputs": [
415
547
  {
@@ -443,19 +575,19 @@
443
575
  "type": "bytes8"
444
576
  },
445
577
  {
446
- "internalType": "uint256",
578
+ "internalType": "Amount",
447
579
  "name": "sumInsuredAmount",
448
- "type": "uint256"
580
+ "type": "uint96"
449
581
  },
450
582
  {
451
- "internalType": "uint256",
583
+ "internalType": "Amount",
452
584
  "name": "premiumAmount",
453
- "type": "uint256"
585
+ "type": "uint96"
454
586
  },
455
587
  {
456
- "internalType": "uint256",
588
+ "internalType": "Amount",
457
589
  "name": "premiumPaidAmount",
458
- "type": "uint256"
590
+ "type": "uint96"
459
591
  },
460
592
  {
461
593
  "internalType": "Seconds",
@@ -469,7 +601,7 @@
469
601
  },
470
602
  {
471
603
  "internalType": "bytes",
472
- "name": "policyData",
604
+ "name": "processData",
473
605
  "type": "bytes"
474
606
  },
475
607
  {
@@ -483,9 +615,14 @@
483
615
  "type": "uint16"
484
616
  },
485
617
  {
486
- "internalType": "uint256",
618
+ "internalType": "Amount",
619
+ "name": "claimAmount",
620
+ "type": "uint96"
621
+ },
622
+ {
623
+ "internalType": "Amount",
487
624
  "name": "payoutAmount",
488
- "type": "uint256"
625
+ "type": "uint96"
489
626
  },
490
627
  {
491
628
  "internalType": "Timestamp",
@@ -534,24 +671,126 @@
534
671
  "inputs": [
535
672
  {
536
673
  "internalType": "NftId",
537
- "name": "productNftId",
674
+ "name": "poolNftId",
538
675
  "type": "uint96"
539
676
  }
540
677
  ],
541
- "name": "getProductSetupInfo",
678
+ "name": "getPoolInfo",
542
679
  "outputs": [
543
680
  {
544
681
  "components": [
545
682
  {
546
- "internalType": "contract IERC20Metadata",
547
- "name": "token",
548
- "type": "address"
683
+ "internalType": "NftId",
684
+ "name": "productNftId",
685
+ "type": "uint96"
549
686
  },
550
687
  {
551
- "internalType": "contract TokenHandler",
552
- "name": "tokenHandler",
553
- "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"
554
721
  },
722
+ {
723
+ "components": [
724
+ {
725
+ "internalType": "UFixed",
726
+ "name": "fractionalFee",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "fixedFee",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "internalType": "struct Fee",
736
+ "name": "poolFee",
737
+ "type": "tuple"
738
+ },
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "UFixed",
743
+ "name": "fractionalFee",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "fixedFee",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "internalType": "struct Fee",
753
+ "name": "stakingFee",
754
+ "type": "tuple"
755
+ },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "UFixed",
760
+ "name": "fractionalFee",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "fixedFee",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "internalType": "struct Fee",
770
+ "name": "performanceFee",
771
+ "type": "tuple"
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": [
555
794
  {
556
795
  "internalType": "NftId",
557
796
  "name": "distributionNftId",
@@ -597,17 +836,92 @@
597
836
  "type": "tuple"
598
837
  },
599
838
  {
600
- "internalType": "bool",
601
- "name": "isIntercepting",
602
- "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"
603
854
  },
604
855
  {
605
- "internalType": "address",
606
- "name": "wallet",
607
- "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"
608
922
  }
609
923
  ],
610
- "internalType": "struct ISetup.ProductSetupInfo",
924
+ "internalType": "struct IComponents.ProductInfo",
611
925
  "name": "info",
612
926
  "type": "tuple"
613
927
  }
@@ -674,189 +988,88 @@
674
988
  {
675
989
  "inputs": [
676
990
  {
677
- "internalType": "RiskId",
678
- "name": "riskId",
679
- "type": "bytes8"
991
+ "internalType": "RequestId",
992
+ "name": "requestId",
993
+ "type": "uint64"
680
994
  }
681
995
  ],
682
- "name": "getRiskInfo",
996
+ "name": "getRequestInfo",
683
997
  "outputs": [
684
998
  {
685
999
  "components": [
686
1000
  {
687
1001
  "internalType": "NftId",
688
- "name": "productNftId",
1002
+ "name": "requesterNftId",
689
1003
  "type": "uint96"
690
1004
  },
691
1005
  {
692
- "internalType": "bytes",
693
- "name": "data",
694
- "type": "bytes"
695
- }
696
- ],
697
- "internalType": "struct IRisk.RiskInfo",
698
- "name": "info",
699
- "type": "tuple"
700
- }
701
- ],
702
- "stateMutability": "view",
703
- "type": "function"
704
- },
705
- {
706
- "inputs": [
707
- {
708
- "internalType": "NftId",
709
- "name": "productNftId",
710
- "type": "uint96"
711
- }
712
- ],
713
- "name": "getTokenHandler",
714
- "outputs": [
715
- {
716
- "internalType": "address",
717
- "name": "tokenHandler",
718
- "type": "address"
719
- }
720
- ],
721
- "stateMutability": "view",
722
- "type": "function"
723
- },
724
- {
725
- "inputs": [
726
- {
727
- "internalType": "NftId",
728
- "name": "productNftId",
729
- "type": "uint96"
730
- }
731
- ],
732
- "name": "getTreasuryInfo",
733
- "outputs": [
734
- {
735
- "components": [
736
- {
737
- "internalType": "contract IERC20Metadata",
738
- "name": "token",
739
- "type": "address"
740
- },
741
- {
742
- "internalType": "contract TokenHandler",
743
- "name": "tokenHandler",
744
- "type": "address"
745
- },
746
- {
747
- "internalType": "NftId",
748
- "name": "distributionNftId",
749
- "type": "uint96"
1006
+ "internalType": "string",
1007
+ "name": "callbackMethodName",
1008
+ "type": "string"
750
1009
  },
751
1010
  {
752
1011
  "internalType": "NftId",
753
- "name": "poolNftId",
1012
+ "name": "oracleNftId",
754
1013
  "type": "uint96"
755
1014
  },
756
1015
  {
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": "distributionFee",
771
- "type": "tuple"
1016
+ "internalType": "bytes",
1017
+ "name": "requestData",
1018
+ "type": "bytes"
772
1019
  },
773
1020
  {
774
- "components": [
775
- {
776
- "internalType": "UFixed",
777
- "name": "fractionalFee",
778
- "type": "uint256"
779
- },
780
- {
781
- "internalType": "uint256",
782
- "name": "fixedFee",
783
- "type": "uint256"
784
- }
785
- ],
786
- "internalType": "struct Fee",
787
- "name": "productFee",
788
- "type": "tuple"
1021
+ "internalType": "bytes",
1022
+ "name": "responseData",
1023
+ "type": "bytes"
789
1024
  },
790
1025
  {
791
- "components": [
792
- {
793
- "internalType": "UFixed",
794
- "name": "fractionalFee",
795
- "type": "uint256"
796
- },
797
- {
798
- "internalType": "uint256",
799
- "name": "fixedFee",
800
- "type": "uint256"
801
- }
802
- ],
803
- "internalType": "struct Fee",
804
- "name": "processingFee",
805
- "type": "tuple"
1026
+ "internalType": "Timestamp",
1027
+ "name": "respondedAt",
1028
+ "type": "uint40"
806
1029
  },
807
1030
  {
808
- "components": [
809
- {
810
- "internalType": "UFixed",
811
- "name": "fractionalFee",
812
- "type": "uint256"
813
- },
814
- {
815
- "internalType": "uint256",
816
- "name": "fixedFee",
817
- "type": "uint256"
818
- }
819
- ],
820
- "internalType": "struct Fee",
821
- "name": "poolFee",
822
- "type": "tuple"
1031
+ "internalType": "Timestamp",
1032
+ "name": "expiredAt",
1033
+ "type": "uint40"
823
1034
  },
824
1035
  {
825
- "components": [
826
- {
827
- "internalType": "UFixed",
828
- "name": "fractionalFee",
829
- "type": "uint256"
830
- },
831
- {
832
- "internalType": "uint256",
833
- "name": "fixedFee",
834
- "type": "uint256"
835
- }
836
- ],
837
- "internalType": "struct Fee",
838
- "name": "stakingFee",
839
- "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"
840
1065
  },
841
1066
  {
842
- "components": [
843
- {
844
- "internalType": "UFixed",
845
- "name": "fractionalFee",
846
- "type": "uint256"
847
- },
848
- {
849
- "internalType": "uint256",
850
- "name": "fixedFee",
851
- "type": "uint256"
852
- }
853
- ],
854
- "internalType": "struct Fee",
855
- "name": "performanceFee",
856
- "type": "tuple"
1067
+ "internalType": "bytes",
1068
+ "name": "data",
1069
+ "type": "bytes"
857
1070
  }
858
1071
  ],
859
- "internalType": "struct ITreasury.TreasuryInfo",
1072
+ "internalType": "struct IRisk.RiskInfo",
860
1073
  "name": "info",
861
1074
  "type": "tuple"
862
1075
  }
@@ -864,6 +1077,68 @@
864
1077
  "stateMutability": "view",
865
1078
  "type": "function"
866
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
+ },
867
1142
  {
868
1143
  "inputs": [
869
1144
  {
@@ -877,6 +1152,25 @@
877
1152
  "stateMutability": "nonpayable",
878
1153
  "type": "function"
879
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
+ },
880
1174
  {
881
1175
  "inputs": [
882
1176
  {
@@ -896,6 +1190,25 @@
896
1190
  "stateMutability": "pure",
897
1191
  "type": "function"
898
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
+ },
899
1212
  {
900
1213
  "inputs": [
901
1214
  {
@@ -1034,25 +1347,6 @@
1034
1347
  "stateMutability": "pure",
1035
1348
  "type": "function"
1036
1349
  },
1037
- {
1038
- "inputs": [
1039
- {
1040
- "internalType": "NftId",
1041
- "name": "productNftId",
1042
- "type": "uint96"
1043
- }
1044
- ],
1045
- "name": "toTreasuryKey",
1046
- "outputs": [
1047
- {
1048
- "internalType": "Key32",
1049
- "name": "",
1050
- "type": "bytes32"
1051
- }
1052
- ],
1053
- "stateMutability": "pure",
1054
- "type": "function"
1055
- },
1056
1350
  {
1057
1351
  "inputs": [
1058
1352
  {
@@ -1078,200 +1372,328 @@
1078
1372
  "type": "function"
1079
1373
  }
1080
1374
  ],
1081
- "bytecode": "0x608060405234801561001057600080fd5b50612cfe806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611905565b61056a565b6040519081526020015b60405180910390f35b6101e76101e2366004611954565b6105f0565b6040516101cb91906119c1565b6101c1610202366004611a71565b610742565b61021a610215366004611a71565b6107e2565b6040516101cb9190611a8e565b6101c1610235366004611a71565b6108be565b61024d610248366004611c51565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611ce3565b610968565b61028c610287366004611a71565b6109a3565b6040516101cb9190611cfc565b6101c16102a7366004611a71565b610a49565b6101c16102ba366004611a71565b610a76565b6101c16102cd366004611a71565b610aa3565b6102e56102e0366004611954565b610ad0565b6040516101cb9190611db8565b610305610300366004611a71565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a71565b610c78565b6040516101cb9190611dee565b61034a610345366004611a71565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a71565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611ce3565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c366004611954565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a71565b6111ae565b6040516101cb9190611e9e565b6104bb6104b6366004612001565b6112cc565b005b6104d06104cb366004611954565b6113c8565b6040516101cb919061201e565b6001546001600160a01b03166103d9565b6101c16104fc366004611a71565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a71565b611568565b6040516101cb91906120ce565b61054a610545366004611a71565b611653565b6040516101cb9190612135565b6101c1610565366004611a71565b61179b565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612237565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb9190612237565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612295565b80519091501561073c57808060200190518101906105e99190612314565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612237565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612295565b80519091501561073c57808060200190518101906105e9919061240d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124b4565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124d6565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117c8565b6001546000906001600160a01b03166354f6127f6109c88561179b565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612295565b80519091501561073c57808060200190518101906105e99190612523565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b789190612237565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612295565b80519091501561073c57808060200190518101906105e9919061260a565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612698565b610c8061184d565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d009190810190612295565b80519091501561073c57808060200190518101906105e991906126c0565b610d266118bd565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da69190810190612295565b80519091501561073c57808060200190518101906105e99190612768565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e469190810190612295565b80519091501561073c57600081806020019051810190610e669190612809565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906128da565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612954565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110099190612237565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061296f565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190612237565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b9190612237565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae9190810190612295565b80519091501561073c57808060200190518101906105e9919061299e565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612237565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d9190810190612295565b80519091501561073c57808060200190518101906105e99190612b0a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6115b56040518060a001604052806060815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001606081525090565b6001546000906001600160a01b03166354f6127f6115d28561153b565b6040518263ffffffff1660e01b81526004016115f091815260200190565b600060405180830381865afa15801561160d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116359190810190612295565b80519091501561073c57808060200190518101906105e99190612c01565b6116fd604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61171a85610742565b6040518263ffffffff1660e01b815260040161173891815260200190565b600060405180830381865afa158015611755573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177d9190810190612295565b80519091501561073c57808060200190518101906105e99190612809565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611801604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b81526020016118a9604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611887604051806040016040528060008152602001600081525090565b6000806040838503121561191857600080fd5b8235915060208301358060000b811461193057600080fd5b809150509250929050565b6001600160c01b03198116811461195157600080fd5b50565b60006020828403121561196657600080fd5b81356105e98161193b565b60005b8381101561198c578181015183820152602001611974565b50506000910152565b600081518084526119ad816020860160208601611971565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119f1610100840182611995565b90506040840151606084015263ffffffff60608501511660808401526080840151611a2460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a538282611995565b95945050505050565b6001600160601b038116811461195157600080fd5b600060208284031215611a8357600080fd5b81356105e981611a5c565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611acc60c0840182611995565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b2457611b24611aec565b60405290565b60405160a081016001600160401b0381118282101715611b2457611b24611aec565b604080519081016001600160401b0381118282101715611b2457611b24611aec565b60405161012081016001600160401b0381118282101715611b2457611b24611aec565b60405161010081016001600160401b0381118282101715611b2457611b24611aec565b60405161014081016001600160401b0381118282101715611b2457611b24611aec565b60405161020081016001600160401b0381118282101715611b2457611b24611aec565b604051601f8201601f191681016001600160401b0381118282101715611c2257611c22611aec565b604052919050565b60006001600160401b03821115611c4357611c43611aec565b50601f01601f191660200190565b60008060408385031215611c6457600080fd5b8235611c6f81611a5c565b915060208301356001600160401b03811115611c8a57600080fd5b8301601f81018513611c9b57600080fd5b8035611cae611ca982611c2a565b611bfa565b818152866020838501011115611cc357600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611cf557600080fd5b5035919050565b60208152611d166020820183516001600160601b03169052565b60006020830151611d34604084018280518252602090810151910152565b506040830151610140806080850152611d51610160850183611995565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100611d8b8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de66060840182611995565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3d908401826001600160601b03169052565b506080830151611e5a608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb86020820183516001600160601b03169052565b60006020830151611ed460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f398185018364ffffffffff169052565b808501519150506102006101208181860152611f59610220860184611995565b9250808601519050610140601f198685030181870152611f798483611995565b935080870151915050610160611f948187018361ffff169052565b8601519050610180611fab8682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd28187018364ffffffffff169052565b86015190506101e0611da18682018364ffffffffff169052565b6001600160a01b038116811461195157600080fd5b60006020828403121561201357600080fd5b81356105e981611fec565b602081526000825161012080602085015261203d610140850183611995565b9150602085015160408501526040850151606085015260608501516080850152608085015161207460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120aa8187018315159052565b860151858403601f19018387015290506120c48382611995565b9695505050505050565b602081526000825160a060208401526120ea60c0840182611995565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a0850152611a538282611995565b81516001600160a01b031681526102008101602083015161216160208401826001600160a01b03169052565b50604083015161217c60408401826001600160601b03169052565b50606083015161219760608401826001600160601b03169052565b5060808301516121b4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006121ea8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e97565b60006020828403121561224957600080fd5b5051919050565b600082601f83011261226157600080fd5b815161226f611ca982611c2a565b81815284602083860101111561228457600080fd5b611de6826020830160208701611971565b6000602082840312156122a757600080fd5b81516001600160401b038111156122bd57600080fd5b611de684828501612250565b80516122d481611a5c565b919050565b63ffffffff8116811461195157600080fd5b80516122d4816122d9565b64ffffffffff8116811461195157600080fd5b80516122d4816122f6565b60006020828403121561232657600080fd5b81516001600160401b038082111561233d57600080fd5b9083019060e0828603121561235157600080fd5b612359611b02565b612362836122c9565b815260208301518281111561237657600080fd5b61238287828601612250565b6020830152506040830151604082015261239e606084016122eb565b60608201526123af608084016122eb565b60808201526123c060a08401612309565b60a082015260c0830151828111156123d757600080fd5b6123e387828601612250565b60c08301525095945050505050565b80516122d48161193b565b805180151581146122d457600080fd5b60006020828403121561241f57600080fd5b81516001600160401b038082111561243657600080fd5b9083019060a0828603121561244a57600080fd5b612452611b2a565b825161245d8161193b565b815261246b602084016123fd565b602082015260408301518281111561248257600080fd5b61248e87828601612250565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de66040830184611995565b6000602082840312156124e857600080fd5b81516105e98161193b565b60006040828403121561250557600080fd5b61250d611b4c565b9050815181526020820151602082015292915050565b60006020828403121561253557600080fd5b81516001600160401b038082111561254c57600080fd5b90830190610140828603121561256157600080fd5b612569611b6e565b612572836122c9565b815261258186602085016124f3565b602082015260608301518281111561259857600080fd5b6125a487828601612250565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526125d460e08401612309565b60c082015261010091506125e9828401612309565b60e08201526125fb6101208401612309565b91810191909152949350505050565b60006020828403121561261c57600080fd5b81516001600160401b038082111561263357600080fd5b908301906040828603121561264757600080fd5b61264f611b4c565b825161265a81611a5c565b815260208301518281111561266e57600080fd5b61267a87828601612250565b60208301525095945050505050565b60ff8116811461195157600080fd5b6000602082840312156126aa57600080fd5b81516105e981612689565b80516122d481611fec565b600061014082840312156126d357600080fd5b6126db611b91565b6126e4836126b5565b81526126f2602084016126b5565b6020820152612703604084016122c9565b6040820152612714606084016122c9565b606082015261272684608085016124f3565b60808201526127388460c085016124f3565b60a082015261274a61010084016123fd565b60c082015261275c61012084016126b5565b60e08201529392505050565b6000610100828403121561277b57600080fd5b60405160c081018181106001600160401b038211171561279d5761279d611aec565b60405282516127ab81611a5c565b815260208301516127bb81611fec565b60208201526127cd84604085016124f3565b60408201526127df84608085016124f3565b606082015260c08301516127f281611fec565b608082015260e0929092015160a083015250919050565b6000610200828403121561281c57600080fd5b612824611bb4565b61282d836126b5565b815261283b602084016126b5565b602082015261284c604084016122c9565b604082015261285d606084016122c9565b606082015261286f84608085016124f3565b60808201526128818460c085016124f3565b60a0820152610100612895858286016124f3565b60c08301526128a88561014086016124f3565b60e08301526128bb8561018086016124f3565b908201526128cd846101c085016124f3565b6101208201529392505050565b600060a082840312156128ec57600080fd5b6128f4611b2a565b82516128ff81612689565b8152602083015161290f81612689565b6020820152604083015161292281611fec565b60408201526060830151612935816122d9565b60608201526080830151612948816122d9565b60808201529392505050565b60006020828403121561296657600080fd5b6105e9826123fd565b60006020828403121561298157600080fd5b81516105e9816122f6565b805161ffff811681146122d457600080fd5b6000602082840312156129b057600080fd5b81516001600160401b03808211156129c757600080fd5b9083019061020082860312156129dc57600080fd5b6129e4611bd7565b6129ed836122c9565b81526129fb602084016122c9565b6020820152612a0c604084016123f2565b6040820152612a1d606084016123f2565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a4c60e08401612309565b60e08201526101008084015183811115612a6557600080fd5b612a7188828701612250565b8284015250506101208084015183811115612a8b57600080fd5b612a9788828701612250565b8284015250506101409150612aad82840161298c565b828201526101609150612ac182840161298c565b82820152610180915081830151828201526101a09150612ae2828401612309565b828201526101c09150612af6828401612309565b828201526101e091506125fb828401612309565b600060208284031215612b1c57600080fd5b81516001600160401b0380821115612b3357600080fd5b908301906101208286031215612b4857600080fd5b612b50611b6e565b825182811115612b5f57600080fd5b612b6b87828601612250565b825250602083015160208201526040830151604082015260608301516060820152612b98608084016122eb565b6080820152612ba960a084016122eb565b60a0820152612bba60c084016123fd565b60c0820152612bcb60e084016123fd565b60e08201526101008084015183811115612be457600080fd5b612bf088828701612250565b918301919091525095945050505050565b600060208284031215612c1357600080fd5b81516001600160401b0380821115612c2a57600080fd5b9083019060a08286031215612c3e57600080fd5b612c46611b2a565b825182811115612c5557600080fd5b612c6187828601612250565b8252506020830151612c7281611fec565b60208201526040830151612c8581611fec565b6040820152612c96606084016126b5565b6060820152608083015182811115612cad57600080fd5b612cb987828601612250565b6080830152509594505050505056fea2646970667358221220ca6acf7c295b0426ff26e975a00332adae831a95d09376a7c32b8e5365e1a21a64736f6c63430008140033",
1082
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611905565b61056a565b6040519081526020015b60405180910390f35b6101e76101e2366004611954565b6105f0565b6040516101cb91906119c1565b6101c1610202366004611a71565b610742565b61021a610215366004611a71565b6107e2565b6040516101cb9190611a8e565b6101c1610235366004611a71565b6108be565b61024d610248366004611c51565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611ce3565b610968565b61028c610287366004611a71565b6109a3565b6040516101cb9190611cfc565b6101c16102a7366004611a71565b610a49565b6101c16102ba366004611a71565b610a76565b6101c16102cd366004611a71565b610aa3565b6102e56102e0366004611954565b610ad0565b6040516101cb9190611db8565b610305610300366004611a71565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a71565b610c78565b6040516101cb9190611dee565b61034a610345366004611a71565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a71565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611ce3565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c366004611954565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a71565b6111ae565b6040516101cb9190611e9e565b6104bb6104b6366004612001565b6112cc565b005b6104d06104cb366004611954565b6113c8565b6040516101cb919061201e565b6001546001600160a01b03166103d9565b6101c16104fc366004611a71565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a71565b611568565b6040516101cb91906120ce565b61054a610545366004611a71565b611653565b6040516101cb9190612135565b6101c1610565366004611a71565b61179b565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612237565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb9190612237565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612295565b80519091501561073c57808060200190518101906105e99190612314565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612237565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612295565b80519091501561073c57808060200190518101906105e9919061240d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124b4565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124d6565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117c8565b6001546000906001600160a01b03166354f6127f6109c88561179b565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612295565b80519091501561073c57808060200190518101906105e99190612523565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b789190612237565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612295565b80519091501561073c57808060200190518101906105e9919061260a565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612698565b610c8061184d565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d009190810190612295565b80519091501561073c57808060200190518101906105e991906126c0565b610d266118bd565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da69190810190612295565b80519091501561073c57808060200190518101906105e99190612768565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e469190810190612295565b80519091501561073c57600081806020019051810190610e669190612809565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906128da565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612954565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110099190612237565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061296f565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c9190612237565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b9190612237565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae9190810190612295565b80519091501561073c57808060200190518101906105e9919061299e565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612237565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d9190810190612295565b80519091501561073c57808060200190518101906105e99190612b0a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6115b56040518060a001604052806060815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001606081525090565b6001546000906001600160a01b03166354f6127f6115d28561153b565b6040518263ffffffff1660e01b81526004016115f091815260200190565b600060405180830381865afa15801561160d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116359190810190612295565b80519091501561073c57808060200190518101906105e99190612c01565b6116fd604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61171a85610742565b6040518263ffffffff1660e01b815260040161173891815260200190565b600060405180830381865afa158015611755573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177d9190810190612295565b80519091501561073c57808060200190518101906105e99190612809565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611801604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b81526020016118a9604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611887604051806040016040528060008152602001600081525090565b6000806040838503121561191857600080fd5b8235915060208301358060000b811461193057600080fd5b809150509250929050565b6001600160c01b03198116811461195157600080fd5b50565b60006020828403121561196657600080fd5b81356105e98161193b565b60005b8381101561198c578181015183820152602001611974565b50506000910152565b600081518084526119ad816020860160208601611971565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119f1610100840182611995565b90506040840151606084015263ffffffff60608501511660808401526080840151611a2460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a538282611995565b95945050505050565b6001600160601b038116811461195157600080fd5b600060208284031215611a8357600080fd5b81356105e981611a5c565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611acc60c0840182611995565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b2457611b24611aec565b60405290565b60405160a081016001600160401b0381118282101715611b2457611b24611aec565b604080519081016001600160401b0381118282101715611b2457611b24611aec565b60405161012081016001600160401b0381118282101715611b2457611b24611aec565b60405161010081016001600160401b0381118282101715611b2457611b24611aec565b60405161014081016001600160401b0381118282101715611b2457611b24611aec565b60405161020081016001600160401b0381118282101715611b2457611b24611aec565b604051601f8201601f191681016001600160401b0381118282101715611c2257611c22611aec565b604052919050565b60006001600160401b03821115611c4357611c43611aec565b50601f01601f191660200190565b60008060408385031215611c6457600080fd5b8235611c6f81611a5c565b915060208301356001600160401b03811115611c8a57600080fd5b8301601f81018513611c9b57600080fd5b8035611cae611ca982611c2a565b611bfa565b818152866020838501011115611cc357600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611cf557600080fd5b5035919050565b60208152611d166020820183516001600160601b03169052565b60006020830151611d34604084018280518252602090810151910152565b506040830151610140806080850152611d51610160850183611995565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100611d8b8187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de66060840182611995565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3d908401826001600160601b03169052565b506080830151611e5a608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb86020820183516001600160601b03169052565b60006020830151611ed460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f398185018364ffffffffff169052565b808501519150506102006101208181860152611f59610220860184611995565b9250808601519050610140601f198685030181870152611f798483611995565b935080870151915050610160611f948187018361ffff169052565b8601519050610180611fab8682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd28187018364ffffffffff169052565b86015190506101e0611da18682018364ffffffffff169052565b6001600160a01b038116811461195157600080fd5b60006020828403121561201357600080fd5b81356105e981611fec565b602081526000825161012080602085015261203d610140850183611995565b9150602085015160408501526040850151606085015260608501516080850152608085015161207460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120aa8187018315159052565b860151858403601f19018387015290506120c48382611995565b9695505050505050565b602081526000825160a060208401526120ea60c0840182611995565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a0850152611a538282611995565b81516001600160a01b031681526102008101602083015161216160208401826001600160a01b03169052565b50604083015161217c60408401826001600160601b03169052565b50606083015161219760608401826001600160601b03169052565b5060808301516121b4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006121ea8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e97565b60006020828403121561224957600080fd5b5051919050565b600082601f83011261226157600080fd5b815161226f611ca982611c2a565b81815284602083860101111561228457600080fd5b611de6826020830160208701611971565b6000602082840312156122a757600080fd5b81516001600160401b038111156122bd57600080fd5b611de684828501612250565b80516122d481611a5c565b919050565b63ffffffff8116811461195157600080fd5b80516122d4816122d9565b64ffffffffff8116811461195157600080fd5b80516122d4816122f6565b60006020828403121561232657600080fd5b81516001600160401b038082111561233d57600080fd5b9083019060e0828603121561235157600080fd5b612359611b02565b612362836122c9565b815260208301518281111561237657600080fd5b61238287828601612250565b6020830152506040830151604082015261239e606084016122eb565b60608201526123af608084016122eb565b60808201526123c060a08401612309565b60a082015260c0830151828111156123d757600080fd5b6123e387828601612250565b60c08301525095945050505050565b80516122d48161193b565b805180151581146122d457600080fd5b60006020828403121561241f57600080fd5b81516001600160401b038082111561243657600080fd5b9083019060a0828603121561244a57600080fd5b612452611b2a565b825161245d8161193b565b815261246b602084016123fd565b602082015260408301518281111561248257600080fd5b61248e87828601612250565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de66040830184611995565b6000602082840312156124e857600080fd5b81516105e98161193b565b60006040828403121561250557600080fd5b61250d611b4c565b9050815181526020820151602082015292915050565b60006020828403121561253557600080fd5b81516001600160401b038082111561254c57600080fd5b90830190610140828603121561256157600080fd5b612569611b6e565b612572836122c9565b815261258186602085016124f3565b602082015260608301518281111561259857600080fd5b6125a487828601612250565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526125d460e08401612309565b60c082015261010091506125e9828401612309565b60e08201526125fb6101208401612309565b91810191909152949350505050565b60006020828403121561261c57600080fd5b81516001600160401b038082111561263357600080fd5b908301906040828603121561264757600080fd5b61264f611b4c565b825161265a81611a5c565b815260208301518281111561266e57600080fd5b61267a87828601612250565b60208301525095945050505050565b60ff8116811461195157600080fd5b6000602082840312156126aa57600080fd5b81516105e981612689565b80516122d481611fec565b600061014082840312156126d357600080fd5b6126db611b91565b6126e4836126b5565b81526126f2602084016126b5565b6020820152612703604084016122c9565b6040820152612714606084016122c9565b606082015261272684608085016124f3565b60808201526127388460c085016124f3565b60a082015261274a61010084016123fd565b60c082015261275c61012084016126b5565b60e08201529392505050565b6000610100828403121561277b57600080fd5b60405160c081018181106001600160401b038211171561279d5761279d611aec565b60405282516127ab81611a5c565b815260208301516127bb81611fec565b60208201526127cd84604085016124f3565b60408201526127df84608085016124f3565b606082015260c08301516127f281611fec565b608082015260e0929092015160a083015250919050565b6000610200828403121561281c57600080fd5b612824611bb4565b61282d836126b5565b815261283b602084016126b5565b602082015261284c604084016122c9565b604082015261285d606084016122c9565b606082015261286f84608085016124f3565b60808201526128818460c085016124f3565b60a0820152610100612895858286016124f3565b60c08301526128a88561014086016124f3565b60e08301526128bb8561018086016124f3565b908201526128cd846101c085016124f3565b6101208201529392505050565b600060a082840312156128ec57600080fd5b6128f4611b2a565b82516128ff81612689565b8152602083015161290f81612689565b6020820152604083015161292281611fec565b60408201526060830151612935816122d9565b60608201526080830151612948816122d9565b60808201529392505050565b60006020828403121561296657600080fd5b6105e9826123fd565b60006020828403121561298157600080fd5b81516105e9816122f6565b805161ffff811681146122d457600080fd5b6000602082840312156129b057600080fd5b81516001600160401b03808211156129c757600080fd5b9083019061020082860312156129dc57600080fd5b6129e4611bd7565b6129ed836122c9565b81526129fb602084016122c9565b6020820152612a0c604084016123f2565b6040820152612a1d606084016123f2565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a4c60e08401612309565b60e08201526101008084015183811115612a6557600080fd5b612a7188828701612250565b8284015250506101208084015183811115612a8b57600080fd5b612a9788828701612250565b8284015250506101409150612aad82840161298c565b828201526101609150612ac182840161298c565b82820152610180915081830151828201526101a09150612ae2828401612309565b828201526101c09150612af6828401612309565b828201526101e091506125fb828401612309565b600060208284031215612b1c57600080fd5b81516001600160401b0380821115612b3357600080fd5b908301906101208286031215612b4857600080fd5b612b50611b6e565b825182811115612b5f57600080fd5b612b6b87828601612250565b825250602083015160208201526040830151604082015260608301516060820152612b98608084016122eb565b6080820152612ba960a084016122eb565b60a0820152612bba60c084016123fd565b60c0820152612bcb60e084016123fd565b60e08201526101008084015183811115612be457600080fd5b612bf088828701612250565b918301919091525095945050505050565b600060208284031215612c1357600080fd5b81516001600160401b0380821115612c2a57600080fd5b9083019060a08286031215612c3e57600080fd5b612c46611b2a565b825182811115612c5557600080fd5b612c6187828601612250565b8252506020830151612c7281611fec565b60208201526040830151612c8581611fec565b6040820152612c96606084016126b5565b6060820152608083015182811115612cad57600080fd5b612cb987828601612250565b6080830152509594505050505056fea2646970667358221220ca6acf7c295b0426ff26e975a00332adae831a95d09376a7c32b8e5365e1a21a64736f6c63430008140033",
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",
1083
1377
  "linkReferences": {
1084
- "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": {
1085
1399
  "DistributorTypeLib": [
1086
1400
  {
1087
1401
  "length": 20,
1088
- "start": 5244
1402
+ "start": 7935
1089
1403
  }
1090
1404
  ]
1091
1405
  },
1092
- "contracts/types/NftId.sol": {
1406
+ "contracts/type/NftId.sol": {
1093
1407
  "NftIdLib": [
1094
1408
  {
1095
1409
  "length": 20,
1096
- "start": 1894
1410
+ "start": 2820
1097
1411
  },
1098
1412
  {
1099
1413
  "length": 20,
1100
- "start": 2274
1414
+ "start": 3662
1101
1415
  },
1102
1416
  {
1103
1417
  "length": 20,
1104
- "start": 2669
1418
+ "start": 4126
1105
1419
  },
1106
1420
  {
1107
1421
  "length": 20,
1108
- "start": 2714
1422
+ "start": 4604
1109
1423
  },
1110
1424
  {
1111
1425
  "length": 20,
1112
- "start": 2759
1426
+ "start": 5311
1113
1427
  },
1114
1428
  {
1115
1429
  "length": 20,
1116
- "start": 5471
1430
+ "start": 5356
1117
1431
  },
1118
1432
  {
1119
1433
  "length": 20,
1120
- "start": 6079
1434
+ "start": 8162
1435
+ },
1436
+ {
1437
+ "length": 20,
1438
+ "start": 8413
1121
1439
  }
1122
1440
  ]
1123
1441
  },
1124
- "contracts/types/Referral.sol": {
1125
- "ReferralLib": [
1442
+ "contracts/type/PayoutId.sol": {
1443
+ "PayoutIdLib": [
1126
1444
  {
1127
1445
  "length": 20,
1128
- "start": 1661
1446
+ "start": 3070
1129
1447
  },
1448
+ {
1449
+ "length": 20,
1450
+ "start": 3932
1451
+ }
1452
+ ]
1453
+ },
1454
+ "contracts/type/Referral.sol": {
1455
+ "ReferralLib": [
1130
1456
  {
1131
1457
  "length": 20,
1132
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
1133
1471
  }
1134
1472
  ]
1135
1473
  },
1136
- "contracts/types/RiskId.sol": {
1474
+ "contracts/type/RiskId.sol": {
1137
1475
  "RiskIdLib": [
1138
1476
  {
1139
1477
  "length": 20,
1140
- "start": 2874
1478
+ "start": 5471
1479
+ }
1480
+ ]
1481
+ },
1482
+ "contracts/type/RoleId.sol": {
1483
+ "RoleIdLib": [
1484
+ {
1485
+ "length": 20,
1486
+ "start": 4336
1141
1487
  }
1142
1488
  ]
1143
1489
  },
1144
- "contracts/types/Timestamp.sol": {
1490
+ "contracts/type/Timestamp.sol": {
1145
1491
  "TimestampLib": [
1146
1492
  {
1147
1493
  "length": 20,
1148
- "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
1149
1507
  },
1150
1508
  {
1151
1509
  "length": 20,
1152
- "start": 4160
1510
+ "start": 6814
1153
1511
  }
1154
1512
  ]
1155
1513
  },
1156
- "contracts/types/UFixed.sol": {
1514
+ "contracts/type/UFixed.sol": {
1157
1515
  "UFixedLib": [
1158
1516
  {
1159
1517
  "length": 20,
1160
- "start": 1451
1518
+ "start": 2130
1161
1519
  },
1162
1520
  {
1163
1521
  "length": 20,
1164
- "start": 2465
1522
+ "start": 3458
1165
1523
  },
1166
1524
  {
1167
1525
  "length": 20,
1168
- "start": 4030
1526
+ "start": 6684
1169
1527
  },
1170
1528
  {
1171
1529
  "length": 20,
1172
- "start": 4289
1530
+ "start": 6943
1173
1531
  },
1174
1532
  {
1175
1533
  "length": 20,
1176
- "start": 4432
1534
+ "start": 7086
1177
1535
  }
1178
1536
  ]
1179
1537
  }
1180
1538
  },
1181
1539
  "deployedLinkReferences": {
1182
- "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": {
1183
1561
  "DistributorTypeLib": [
1184
1562
  {
1185
1563
  "length": 20,
1186
- "start": 5212
1564
+ "start": 7903
1187
1565
  }
1188
1566
  ]
1189
1567
  },
1190
- "contracts/types/NftId.sol": {
1568
+ "contracts/type/NftId.sol": {
1191
1569
  "NftIdLib": [
1192
1570
  {
1193
1571
  "length": 20,
1194
- "start": 1862
1572
+ "start": 2788
1195
1573
  },
1196
1574
  {
1197
1575
  "length": 20,
1198
- "start": 2242
1576
+ "start": 3630
1199
1577
  },
1200
1578
  {
1201
1579
  "length": 20,
1202
- "start": 2637
1580
+ "start": 4094
1203
1581
  },
1204
1582
  {
1205
1583
  "length": 20,
1206
- "start": 2682
1584
+ "start": 4572
1207
1585
  },
1208
1586
  {
1209
1587
  "length": 20,
1210
- "start": 2727
1588
+ "start": 5279
1211
1589
  },
1212
1590
  {
1213
1591
  "length": 20,
1214
- "start": 5439
1592
+ "start": 5324
1593
+ },
1594
+ {
1595
+ "length": 20,
1596
+ "start": 8130
1215
1597
  },
1216
1598
  {
1217
1599
  "length": 20,
1218
- "start": 6047
1600
+ "start": 8381
1219
1601
  }
1220
1602
  ]
1221
1603
  },
1222
- "contracts/types/Referral.sol": {
1223
- "ReferralLib": [
1604
+ "contracts/type/PayoutId.sol": {
1605
+ "PayoutIdLib": [
1224
1606
  {
1225
1607
  "length": 20,
1226
- "start": 1629
1608
+ "start": 3038
1227
1609
  },
1610
+ {
1611
+ "length": 20,
1612
+ "start": 3900
1613
+ }
1614
+ ]
1615
+ },
1616
+ "contracts/type/Referral.sol": {
1617
+ "ReferralLib": [
1228
1618
  {
1229
1619
  "length": 20,
1230
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
1231
1633
  }
1232
1634
  ]
1233
1635
  },
1234
- "contracts/types/RiskId.sol": {
1636
+ "contracts/type/RiskId.sol": {
1235
1637
  "RiskIdLib": [
1236
1638
  {
1237
1639
  "length": 20,
1238
- "start": 2842
1640
+ "start": 5439
1641
+ }
1642
+ ]
1643
+ },
1644
+ "contracts/type/RoleId.sol": {
1645
+ "RoleIdLib": [
1646
+ {
1647
+ "length": 20,
1648
+ "start": 4304
1239
1649
  }
1240
1650
  ]
1241
1651
  },
1242
- "contracts/types/Timestamp.sol": {
1652
+ "contracts/type/Timestamp.sol": {
1243
1653
  "TimestampLib": [
1244
1654
  {
1245
1655
  "length": 20,
1246
- "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
1247
1669
  },
1248
1670
  {
1249
1671
  "length": 20,
1250
- "start": 4128
1672
+ "start": 6782
1251
1673
  }
1252
1674
  ]
1253
1675
  },
1254
- "contracts/types/UFixed.sol": {
1676
+ "contracts/type/UFixed.sol": {
1255
1677
  "UFixedLib": [
1256
1678
  {
1257
1679
  "length": 20,
1258
- "start": 1419
1680
+ "start": 2098
1259
1681
  },
1260
1682
  {
1261
1683
  "length": 20,
1262
- "start": 2433
1684
+ "start": 3426
1263
1685
  },
1264
1686
  {
1265
1687
  "length": 20,
1266
- "start": 3998
1688
+ "start": 6652
1267
1689
  },
1268
1690
  {
1269
1691
  "length": 20,
1270
- "start": 4257
1692
+ "start": 6911
1271
1693
  },
1272
1694
  {
1273
1695
  "length": 20,
1274
- "start": 4400
1696
+ "start": 7054
1275
1697
  }
1276
1698
  ]
1277
1699
  }