@etherisc/gif-next 0.0.2-e964d24-516 → 0.0.2-e987ccf-894

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/README.md +51 -5
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1500 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +179 -385
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +280 -324
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +130 -72
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +171 -254
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +186 -94
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +77 -78
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +193 -52
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +93 -126
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +590 -328
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +282 -101
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +120 -42
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1294 -370
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  74. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  75. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1137 -0
  77. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  79. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  81. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +776 -0
  83. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  85. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1029 -0
  87. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  89. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  91. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1406 -0
  93. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  95. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +399 -213
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +176 -50
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +204 -32
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +181 -356
  103. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +342 -211
  105. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  106. package/artifacts/contracts/pool/Pool.sol/Pool.json +227 -442
  107. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +401 -432
  109. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +106 -68
  111. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +92 -158
  113. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +111 -37
  115. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1254 -0
  117. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  119. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -187
  121. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +130 -56
  123. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +46 -1
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +217 -73
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +83 -44
  131. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +271 -173
  133. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.json +13 -55
  135. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +244 -286
  137. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +117 -91
  139. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.json +188 -220
  141. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +135 -57
  143. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  144. package/artifacts/contracts/product/Product.sol/Product.json +345 -331
  145. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.json +47 -203
  147. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +94 -32
  149. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  151. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +183 -29
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +206 -124
  155. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  156. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  157. package/artifacts/contracts/registry/Registry.sol/Registry.json +440 -40
  158. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  160. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +370 -68
  162. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -35
  164. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  165. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  166. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  168. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  170. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -138
  172. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Component.sol/Component.json +104 -145
  174. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  175. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1252 -203
  176. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +804 -0
  178. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
  180. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  181. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +76 -107
  182. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  183. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  184. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +711 -0
  186. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  187. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  188. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  190. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  191. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  192. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  193. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +21 -3
  194. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  196. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  199. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  200. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  201. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  202. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  203. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  204. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +951 -0
  205. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  206. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  207. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  209. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  210. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  211. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +13 -7
  213. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +31 -13
  215. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +21 -7
  217. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  219. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  220. package/artifacts/contracts/shared/Service.sol/Service.json +20 -1
  221. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  222. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
  223. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  225. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1412 -0
  227. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  228. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +566 -54
  229. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  230. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +387 -0
  231. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  232. package/artifacts/contracts/staking/Staking.sol/Staking.json +1941 -0
  233. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  234. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  235. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  236. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  237. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  238. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  239. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  240. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +661 -85
  241. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  242. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  243. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  244. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  245. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  246. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  247. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  248. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  249. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/Amount.sol/AmountLib.json +97 -4
  251. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  253. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  255. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  257. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
  259. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  260. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  261. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  263. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  264. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  265. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  267. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  269. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  271. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  272. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  273. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  275. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  277. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +100 -2
  279. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  280. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  281. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  283. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  285. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  286. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  287. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  289. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  291. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
  293. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  295. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  297. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  298. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  299. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  300. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  301. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  302. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  303. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  304. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  305. package/contracts/authorization/AccessAdmin.sol +591 -0
  306. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  307. package/contracts/authorization/Authorization.sol +217 -0
  308. package/contracts/authorization/IAccess.sol +48 -0
  309. package/contracts/authorization/IAccessAdmin.sol +136 -0
  310. package/contracts/authorization/IAuthorization.sol +54 -0
  311. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  312. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  313. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  314. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  315. package/contracts/distribution/BasicDistribution.sol +138 -0
  316. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  317. package/contracts/distribution/Distribution.sol +162 -152
  318. package/contracts/distribution/DistributionService.sol +124 -136
  319. package/contracts/distribution/DistributionServiceManager.sol +11 -23
  320. package/contracts/distribution/IDistributionComponent.sol +28 -47
  321. package/contracts/distribution/IDistributionService.sol +24 -10
  322. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  323. package/contracts/instance/IInstance.sol +26 -17
  324. package/contracts/instance/IInstanceService.sol +46 -27
  325. package/contracts/instance/Instance.sol +114 -89
  326. package/contracts/instance/InstanceAdmin.sol +285 -0
  327. package/contracts/instance/InstanceAuthorizationV3.sol +203 -0
  328. package/contracts/instance/InstanceReader.sol +106 -52
  329. package/contracts/instance/InstanceService.sol +291 -132
  330. package/contracts/instance/InstanceServiceManager.sol +12 -26
  331. package/contracts/instance/InstanceStore.sol +146 -66
  332. package/contracts/instance/base/BalanceStore.sol +123 -0
  333. package/contracts/instance/base/Cloneable.sol +28 -0
  334. package/contracts/instance/base/ObjectCounter.sol +21 -0
  335. package/contracts/instance/base/ObjectLifecycle.sol +110 -0
  336. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
  337. package/contracts/instance/module/IAccess.sol +2 -10
  338. package/contracts/instance/module/IBundle.sol +1 -4
  339. package/contracts/instance/module/IComponents.sol +15 -10
  340. package/contracts/instance/module/IDistribution.sol +0 -1
  341. package/contracts/instance/module/IPolicy.sol +29 -22
  342. package/contracts/mock/Dip.sol +26 -0
  343. package/contracts/oracle/BasicOracle.sol +48 -0
  344. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  345. package/contracts/oracle/IOracle.sol +36 -0
  346. package/contracts/oracle/IOracleComponent.sol +33 -0
  347. package/contracts/oracle/IOracleService.sol +65 -0
  348. package/contracts/oracle/Oracle.sol +166 -0
  349. package/contracts/oracle/OracleService.sol +278 -0
  350. package/contracts/oracle/OracleServiceManager.sol +39 -0
  351. package/contracts/pool/BasicPool.sol +166 -0
  352. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  353. package/contracts/pool/BundleService.sol +252 -196
  354. package/contracts/pool/BundleServiceManager.sol +11 -23
  355. package/contracts/pool/IBundleService.sol +35 -19
  356. package/contracts/pool/IPoolComponent.sol +10 -66
  357. package/contracts/pool/IPoolService.sol +79 -33
  358. package/contracts/pool/Pool.sol +168 -144
  359. package/contracts/pool/PoolService.sol +322 -216
  360. package/contracts/pool/PoolServiceManager.sol +11 -23
  361. package/contracts/product/ApplicationService.sol +144 -81
  362. package/contracts/product/ApplicationServiceManager.sol +11 -8
  363. package/contracts/product/BasicProduct.sol +52 -0
  364. package/contracts/product/BasicProductAuthorization.sol +43 -0
  365. package/contracts/product/ClaimService.sol +45 -66
  366. package/contracts/product/ClaimServiceManager.sol +11 -8
  367. package/contracts/product/IApplicationService.sol +2 -1
  368. package/contracts/product/IClaimService.sol +13 -3
  369. package/contracts/product/IPolicyService.sol +29 -36
  370. package/contracts/product/IPricingService.sol +10 -8
  371. package/contracts/product/IProductComponent.sol +10 -12
  372. package/contracts/product/IProductService.sol +2 -8
  373. package/contracts/product/PolicyService.sol +390 -190
  374. package/contracts/product/PolicyServiceManager.sol +11 -26
  375. package/contracts/product/PricingService.sol +103 -77
  376. package/contracts/product/PricingServiceManager.sol +11 -23
  377. package/contracts/product/Product.sol +154 -123
  378. package/contracts/product/ProductService.sol +36 -147
  379. package/contracts/product/ProductServiceManager.sol +11 -26
  380. package/contracts/registry/ChainNft.sol +8 -1
  381. package/contracts/registry/IRegistry.sol +55 -22
  382. package/contracts/registry/IRegistryService.sol +38 -35
  383. package/contracts/registry/Registry.sol +234 -125
  384. package/contracts/registry/RegistryAdmin.sol +374 -0
  385. package/contracts/registry/RegistryService.sol +67 -100
  386. package/contracts/registry/RegistryServiceManager.sol +23 -30
  387. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  388. package/contracts/registry/ReleaseRegistry.sol +485 -0
  389. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  390. package/contracts/registry/TokenRegistry.sol +261 -62
  391. package/contracts/shared/Component.sol +141 -144
  392. package/contracts/shared/ComponentService.sol +587 -96
  393. package/contracts/shared/ComponentServiceManager.sol +35 -0
  394. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  395. package/contracts/shared/IComponent.sol +21 -41
  396. package/contracts/shared/IComponentService.sol +108 -0
  397. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  398. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  399. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  400. package/contracts/shared/INftOwnable.sol +1 -1
  401. package/contracts/shared/IPolicyHolder.sol +6 -1
  402. package/contracts/shared/IService.sol +9 -2
  403. package/contracts/shared/InitializableCustom.sol +177 -0
  404. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +2 -2
  405. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  406. package/contracts/shared/KeyValueStore.sol +131 -0
  407. package/contracts/shared/Lifecycle.sol +77 -0
  408. package/contracts/shared/NftIdSet.sol +65 -0
  409. package/contracts/shared/NftOwnable.sol +5 -16
  410. package/contracts/shared/PolicyHolder.sol +22 -17
  411. package/contracts/shared/Registerable.sol +2 -2
  412. package/contracts/shared/Service.sol +32 -22
  413. package/contracts/shared/TokenHandler.sol +112 -8
  414. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  415. package/contracts/staking/IStaking.sol +167 -0
  416. package/contracts/staking/IStakingService.sol +105 -47
  417. package/contracts/staking/StakeManagerLib.sol +206 -0
  418. package/contracts/staking/Staking.sol +497 -0
  419. package/contracts/staking/StakingLifecycle.sol +23 -0
  420. package/contracts/staking/StakingManager.sol +50 -0
  421. package/contracts/staking/StakingReader.sol +183 -0
  422. package/contracts/staking/StakingService.sol +288 -47
  423. package/contracts/staking/{StakeingServiceManager.sol → StakingServiceManager.sol} +13 -6
  424. package/contracts/staking/StakingStore.sol +605 -0
  425. package/contracts/staking/TargetManagerLib.sol +207 -0
  426. package/contracts/type/AddressSet.sol +1 -1
  427. package/contracts/type/Amount.sol +29 -3
  428. package/contracts/type/Blocknumber.sol +26 -3
  429. package/contracts/type/Fee.sol +17 -16
  430. package/contracts/type/NftId.sol +14 -16
  431. package/contracts/type/NftIdSet.sol +1 -1
  432. package/contracts/type/ObjectType.sol +176 -62
  433. package/contracts/type/Referral.sol +2 -1
  434. package/contracts/type/RequestId.sol +75 -0
  435. package/contracts/type/RiskId.sol +1 -1
  436. package/contracts/type/RoleId.sol +117 -40
  437. package/contracts/type/Seconds.sol +40 -1
  438. package/contracts/type/Selector.sol +102 -0
  439. package/contracts/type/StateId.sol +27 -2
  440. package/contracts/type/String.sol +53 -0
  441. package/contracts/type/Timestamp.sol +17 -3
  442. package/contracts/type/UFixed.sol +34 -9
  443. package/contracts/type/Version.sol +4 -2
  444. package/contracts/{shared → upgradeability}/ProxyManager.sol +33 -4
  445. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  446. package/package.json +8 -5
  447. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  448. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  449. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  450. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  451. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  452. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  453. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  454. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  455. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  456. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  457. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  458. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  459. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  460. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  461. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  462. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  463. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  464. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  465. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  466. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  467. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  468. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  469. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  470. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  471. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  472. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  473. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  474. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  475. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  476. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  477. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  478. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  479. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +0 -4
  480. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +0 -628
  481. package/contracts/instance/Cloneable.sol +0 -51
  482. package/contracts/instance/InstanceAccessManager.sol +0 -541
  483. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  484. package/contracts/instance/base/KeyValueStore.sol +0 -149
  485. package/contracts/instance/base/Lifecycle.sol +0 -120
  486. package/contracts/instance/module/ISetup.sol +0 -33
  487. package/contracts/instance/module/ITreasury.sol +0 -23
  488. package/contracts/registry/RegistryAccessManager.sol +0 -216
  489. package/contracts/registry/ReleaseManager.sol +0 -324
  490. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  491. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  492. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -13,6 +13,25 @@
13
13
  "name": "ErrorInstanceReaderInstanceAddressZero",
14
14
  "type": "error"
15
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
+ },
16
35
  {
17
36
  "inputs": [
18
37
  {
@@ -53,23 +72,8 @@
53
72
  "type": "bytes"
54
73
  },
55
74
  {
56
- "internalType": "Amount",
57
- "name": "capitalAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Amount",
62
- "name": "lockedAmount",
63
- "type": "uint96"
64
- },
65
- {
66
- "internalType": "Amount",
67
- "name": "feeAmount",
68
- "type": "uint96"
69
- },
70
- {
71
- "internalType": "Seconds",
72
- "name": "lifetime",
75
+ "internalType": "Timestamp",
76
+ "name": "activatedAt",
73
77
  "type": "uint40"
74
78
  },
75
79
  {
@@ -91,6 +95,25 @@
91
95
  "stateMutability": "view",
92
96
  "type": "function"
93
97
  },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "bundleNftId",
103
+ "type": "uint96"
104
+ }
105
+ ],
106
+ "name": "getBundleState",
107
+ "outputs": [
108
+ {
109
+ "internalType": "StateId",
110
+ "name": "state",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
94
117
  {
95
118
  "inputs": [
96
119
  {
@@ -130,7 +153,12 @@
130
153
  },
131
154
  {
132
155
  "internalType": "bytes",
133
- "name": "data",
156
+ "name": "submissionData",
157
+ "type": "bytes"
158
+ },
159
+ {
160
+ "internalType": "bytes",
161
+ "name": "processData",
134
162
  "type": "bytes"
135
163
  },
136
164
  {
@@ -175,7 +203,7 @@
175
203
  "inputs": [
176
204
  {
177
205
  "internalType": "NftId",
178
- "name": "poolNftId",
206
+ "name": "componentNftId",
179
207
  "type": "uint96"
180
208
  }
181
209
  ],
@@ -188,6 +216,11 @@
188
216
  "name": "name",
189
217
  "type": "string"
190
218
  },
219
+ {
220
+ "internalType": "NftId",
221
+ "name": "productNftId",
222
+ "type": "uint96"
223
+ },
191
224
  {
192
225
  "internalType": "contract IERC20Metadata",
193
226
  "name": "token",
@@ -203,16 +236,6 @@
203
236
  "name": "wallet",
204
237
  "type": "address"
205
238
  },
206
- {
207
- "internalType": "Amount",
208
- "name": "balanceAmount",
209
- "type": "uint96"
210
- },
211
- {
212
- "internalType": "Amount",
213
- "name": "feeAmount",
214
- "type": "uint96"
215
- },
216
239
  {
217
240
  "internalType": "bytes",
218
241
  "name": "data",
@@ -251,81 +274,6 @@
251
274
  "stateMutability": "view",
252
275
  "type": "function"
253
276
  },
254
- {
255
- "inputs": [
256
- {
257
- "internalType": "NftId",
258
- "name": "distributionNftId",
259
- "type": "uint96"
260
- }
261
- ],
262
- "name": "getDistributionSetupInfo",
263
- "outputs": [
264
- {
265
- "components": [
266
- {
267
- "internalType": "NftId",
268
- "name": "productNftId",
269
- "type": "uint96"
270
- },
271
- {
272
- "internalType": "contract TokenHandler",
273
- "name": "tokenHandler",
274
- "type": "address"
275
- },
276
- {
277
- "components": [
278
- {
279
- "internalType": "UFixed",
280
- "name": "fractionalFee",
281
- "type": "uint256"
282
- },
283
- {
284
- "internalType": "uint256",
285
- "name": "fixedFee",
286
- "type": "uint256"
287
- }
288
- ],
289
- "internalType": "struct Fee",
290
- "name": "minDistributionOwnerFee",
291
- "type": "tuple"
292
- },
293
- {
294
- "components": [
295
- {
296
- "internalType": "UFixed",
297
- "name": "fractionalFee",
298
- "type": "uint256"
299
- },
300
- {
301
- "internalType": "uint256",
302
- "name": "fixedFee",
303
- "type": "uint256"
304
- }
305
- ],
306
- "internalType": "struct Fee",
307
- "name": "distributionFee",
308
- "type": "tuple"
309
- },
310
- {
311
- "internalType": "address",
312
- "name": "wallet",
313
- "type": "address"
314
- },
315
- {
316
- "internalType": "uint256",
317
- "name": "sumDistributionOwnerFees",
318
- "type": "uint256"
319
- }
320
- ],
321
- "internalType": "struct ISetup.DistributionSetupInfo",
322
- "name": "info",
323
- "type": "tuple"
324
- }
325
- ],
326
- "stateMutability": "view",
327
- "type": "function"
328
- },
329
277
  {
330
278
  "inputs": [
331
279
  {
@@ -353,11 +301,6 @@
353
301
  "name": "data",
354
302
  "type": "bytes"
355
303
  },
356
- {
357
- "internalType": "Amount",
358
- "name": "commissionAmount",
359
- "type": "uint96"
360
- },
361
304
  {
362
305
  "internalType": "uint32",
363
306
  "name": "numPoliciesSold",
@@ -438,6 +381,25 @@
438
381
  "stateMutability": "view",
439
382
  "type": "function"
440
383
  },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "getFeeAmount",
393
+ "outputs": [
394
+ {
395
+ "internalType": "Amount",
396
+ "name": "",
397
+ "type": "uint96"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
441
403
  {
442
404
  "inputs": [],
443
405
  "name": "getInstance",
@@ -464,6 +426,25 @@
464
426
  "stateMutability": "view",
465
427
  "type": "function"
466
428
  },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "targetNftId",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "name": "getLockedAmount",
438
+ "outputs": [
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
467
448
  {
468
449
  "inputs": [
469
450
  {
@@ -486,11 +467,6 @@
486
467
  "name": "state",
487
468
  "type": "uint8"
488
469
  },
489
- {
490
- "internalType": "address",
491
- "name": "updatedBy",
492
- "type": "address"
493
- },
494
470
  {
495
471
  "internalType": "Blocknumber",
496
472
  "name": "updatedIn",
@@ -639,7 +615,7 @@
639
615
  },
640
616
  {
641
617
  "internalType": "bytes",
642
- "name": "policyData",
618
+ "name": "processData",
643
619
  "type": "bytes"
644
620
  },
645
621
  {
@@ -709,80 +685,51 @@
709
685
  "inputs": [
710
686
  {
711
687
  "internalType": "NftId",
712
- "name": "productNftId",
688
+ "name": "poolNftId",
713
689
  "type": "uint96"
714
690
  }
715
691
  ],
716
- "name": "getProductSetupInfo",
692
+ "name": "getPoolInfo",
717
693
  "outputs": [
718
694
  {
719
695
  "components": [
720
696
  {
721
- "internalType": "contract IERC20Metadata",
722
- "name": "token",
723
- "type": "address"
724
- },
725
- {
726
- "internalType": "contract TokenHandler",
727
- "name": "tokenHandler",
728
- "type": "address"
729
- },
730
- {
731
- "internalType": "NftId",
732
- "name": "distributionNftId",
733
- "type": "uint96"
697
+ "internalType": "RoleId",
698
+ "name": "bundleOwnerRole",
699
+ "type": "uint64"
734
700
  },
735
701
  {
736
- "internalType": "NftId",
737
- "name": "poolNftId",
702
+ "internalType": "Amount",
703
+ "name": "maxBalanceAmount",
738
704
  "type": "uint96"
739
705
  },
740
706
  {
741
- "components": [
742
- {
743
- "internalType": "UFixed",
744
- "name": "fractionalFee",
745
- "type": "uint256"
746
- },
747
- {
748
- "internalType": "uint256",
749
- "name": "fixedFee",
750
- "type": "uint256"
751
- }
752
- ],
753
- "internalType": "struct Fee",
754
- "name": "productFee",
755
- "type": "tuple"
707
+ "internalType": "bool",
708
+ "name": "isInterceptingBundleTransfers",
709
+ "type": "bool"
756
710
  },
757
711
  {
758
- "components": [
759
- {
760
- "internalType": "UFixed",
761
- "name": "fractionalFee",
762
- "type": "uint256"
763
- },
764
- {
765
- "internalType": "uint256",
766
- "name": "fixedFee",
767
- "type": "uint256"
768
- }
769
- ],
770
- "internalType": "struct Fee",
771
- "name": "processingFee",
772
- "type": "tuple"
712
+ "internalType": "bool",
713
+ "name": "isExternallyManaged",
714
+ "type": "bool"
773
715
  },
774
716
  {
775
717
  "internalType": "bool",
776
- "name": "isIntercepting",
718
+ "name": "isVerifyingApplications",
777
719
  "type": "bool"
778
720
  },
779
721
  {
780
- "internalType": "address",
781
- "name": "wallet",
782
- "type": "address"
722
+ "internalType": "UFixed",
723
+ "name": "collateralizationLevel",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "internalType": "UFixed",
728
+ "name": "retentionLevel",
729
+ "type": "uint256"
783
730
  }
784
731
  ],
785
- "internalType": "struct ISetup.ProductSetupInfo",
732
+ "internalType": "struct IComponents.PoolInfo",
786
733
  "name": "info",
787
734
  "type": "tuple"
788
735
  }
@@ -793,83 +740,107 @@
793
740
  {
794
741
  "inputs": [
795
742
  {
796
- "internalType": "ReferralId",
797
- "name": "referralId",
798
- "type": "bytes8"
743
+ "internalType": "NftId",
744
+ "name": "policyNftId",
745
+ "type": "uint96"
799
746
  }
800
747
  ],
801
- "name": "getReferralInfo",
748
+ "name": "getPremiumInfo",
802
749
  "outputs": [
803
750
  {
804
751
  "components": [
805
752
  {
806
- "internalType": "NftId",
807
- "name": "distributorNftId",
753
+ "internalType": "Amount",
754
+ "name": "productFeeAmount",
808
755
  "type": "uint96"
809
756
  },
810
757
  {
811
- "internalType": "string",
812
- "name": "referralCode",
813
- "type": "string"
814
- },
758
+ "internalType": "Amount",
759
+ "name": "distributionFeeAndCommissionAmount",
760
+ "type": "uint96"
761
+ },
815
762
  {
816
- "internalType": "UFixed",
817
- "name": "discountPercentage",
818
- "type": "uint256"
763
+ "internalType": "Amount",
764
+ "name": "poolPremiumAndFeeAmount",
765
+ "type": "uint96"
819
766
  },
820
767
  {
821
- "internalType": "uint32",
822
- "name": "maxReferrals",
823
- "type": "uint32"
768
+ "internalType": "Amount",
769
+ "name": "netPremiumAmount",
770
+ "type": "uint96"
824
771
  },
825
772
  {
826
- "internalType": "uint32",
827
- "name": "usedReferrals",
828
- "type": "uint32"
773
+ "internalType": "Amount",
774
+ "name": "fullPremiumAmount",
775
+ "type": "uint96"
829
776
  },
830
777
  {
831
- "internalType": "Timestamp",
832
- "name": "expiryAt",
833
- "type": "uint40"
778
+ "internalType": "Amount",
779
+ "name": "premiumAmount",
780
+ "type": "uint96"
834
781
  },
835
782
  {
836
- "internalType": "bytes",
837
- "name": "data",
838
- "type": "bytes"
839
- }
840
- ],
841
- "internalType": "struct IDistribution.ReferralInfo",
842
- "name": "info",
843
- "type": "tuple"
844
- }
845
- ],
846
- "stateMutability": "view",
847
- "type": "function"
848
- },
849
- {
850
- "inputs": [
851
- {
852
- "internalType": "RiskId",
853
- "name": "riskId",
854
- "type": "bytes8"
855
- }
856
- ],
857
- "name": "getRiskInfo",
858
- "outputs": [
859
- {
860
- "components": [
783
+ "internalType": "Amount",
784
+ "name": "productFeeFixAmount",
785
+ "type": "uint96"
786
+ },
861
787
  {
862
- "internalType": "NftId",
863
- "name": "productNftId",
788
+ "internalType": "Amount",
789
+ "name": "poolFeeFixAmount",
864
790
  "type": "uint96"
865
791
  },
866
792
  {
867
- "internalType": "bytes",
868
- "name": "data",
869
- "type": "bytes"
793
+ "internalType": "Amount",
794
+ "name": "bundleFeeFixAmount",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "distributionFeeFixAmount",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "productFeeVarAmount",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "poolFeeVarAmount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "Amount",
814
+ "name": "bundleFeeVarAmount",
815
+ "type": "uint96"
816
+ },
817
+ {
818
+ "internalType": "Amount",
819
+ "name": "distributionFeeVarAmount",
820
+ "type": "uint96"
821
+ },
822
+ {
823
+ "internalType": "Amount",
824
+ "name": "distributionOwnerFeeFixAmount",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "Amount",
829
+ "name": "distributionOwnerFeeVarAmount",
830
+ "type": "uint96"
831
+ },
832
+ {
833
+ "internalType": "Amount",
834
+ "name": "commissionAmount",
835
+ "type": "uint96"
836
+ },
837
+ {
838
+ "internalType": "Amount",
839
+ "name": "discountAmount",
840
+ "type": "uint96"
870
841
  }
871
842
  ],
872
- "internalType": "struct IRisk.RiskInfo",
843
+ "internalType": "struct IPolicy.PremiumInfo",
873
844
  "name": "info",
874
845
  "type": "tuple"
875
846
  }
@@ -885,39 +856,10 @@
885
856
  "type": "uint96"
886
857
  }
887
858
  ],
888
- "name": "getTokenHandler",
889
- "outputs": [
890
- {
891
- "internalType": "address",
892
- "name": "tokenHandler",
893
- "type": "address"
894
- }
895
- ],
896
- "stateMutability": "view",
897
- "type": "function"
898
- },
899
- {
900
- "inputs": [
901
- {
902
- "internalType": "NftId",
903
- "name": "productNftId",
904
- "type": "uint96"
905
- }
906
- ],
907
- "name": "getTreasuryInfo",
859
+ "name": "getProductInfo",
908
860
  "outputs": [
909
861
  {
910
862
  "components": [
911
- {
912
- "internalType": "contract IERC20Metadata",
913
- "name": "token",
914
- "type": "address"
915
- },
916
- {
917
- "internalType": "contract TokenHandler",
918
- "name": "tokenHandler",
919
- "type": "address"
920
- },
921
863
  {
922
864
  "internalType": "NftId",
923
865
  "name": "distributionNftId",
@@ -942,7 +884,7 @@
942
884
  }
943
885
  ],
944
886
  "internalType": "struct Fee",
945
- "name": "distributionFee",
887
+ "name": "productFee",
946
888
  "type": "tuple"
947
889
  },
948
890
  {
@@ -959,7 +901,7 @@
959
901
  }
960
902
  ],
961
903
  "internalType": "struct Fee",
962
- "name": "productFee",
904
+ "name": "processingFee",
963
905
  "type": "tuple"
964
906
  },
965
907
  {
@@ -976,7 +918,24 @@
976
918
  }
977
919
  ],
978
920
  "internalType": "struct Fee",
979
- "name": "processingFee",
921
+ "name": "distributionFee",
922
+ "type": "tuple"
923
+ },
924
+ {
925
+ "components": [
926
+ {
927
+ "internalType": "UFixed",
928
+ "name": "fractionalFee",
929
+ "type": "uint256"
930
+ },
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "fixedFee",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "internalType": "struct Fee",
938
+ "name": "minDistributionOwnerFee",
980
939
  "type": "tuple"
981
940
  },
982
941
  {
@@ -1031,7 +990,155 @@
1031
990
  "type": "tuple"
1032
991
  }
1033
992
  ],
1034
- "internalType": "struct ITreasury.TreasuryInfo",
993
+ "internalType": "struct IComponents.ProductInfo",
994
+ "name": "info",
995
+ "type": "tuple"
996
+ }
997
+ ],
998
+ "stateMutability": "view",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "internalType": "ReferralId",
1005
+ "name": "referralId",
1006
+ "type": "bytes8"
1007
+ }
1008
+ ],
1009
+ "name": "getReferralInfo",
1010
+ "outputs": [
1011
+ {
1012
+ "components": [
1013
+ {
1014
+ "internalType": "NftId",
1015
+ "name": "distributorNftId",
1016
+ "type": "uint96"
1017
+ },
1018
+ {
1019
+ "internalType": "string",
1020
+ "name": "referralCode",
1021
+ "type": "string"
1022
+ },
1023
+ {
1024
+ "internalType": "UFixed",
1025
+ "name": "discountPercentage",
1026
+ "type": "uint256"
1027
+ },
1028
+ {
1029
+ "internalType": "uint32",
1030
+ "name": "maxReferrals",
1031
+ "type": "uint32"
1032
+ },
1033
+ {
1034
+ "internalType": "uint32",
1035
+ "name": "usedReferrals",
1036
+ "type": "uint32"
1037
+ },
1038
+ {
1039
+ "internalType": "Timestamp",
1040
+ "name": "expiryAt",
1041
+ "type": "uint40"
1042
+ },
1043
+ {
1044
+ "internalType": "bytes",
1045
+ "name": "data",
1046
+ "type": "bytes"
1047
+ }
1048
+ ],
1049
+ "internalType": "struct IDistribution.ReferralInfo",
1050
+ "name": "info",
1051
+ "type": "tuple"
1052
+ }
1053
+ ],
1054
+ "stateMutability": "view",
1055
+ "type": "function"
1056
+ },
1057
+ {
1058
+ "inputs": [
1059
+ {
1060
+ "internalType": "RequestId",
1061
+ "name": "requestId",
1062
+ "type": "uint64"
1063
+ }
1064
+ ],
1065
+ "name": "getRequestInfo",
1066
+ "outputs": [
1067
+ {
1068
+ "components": [
1069
+ {
1070
+ "internalType": "NftId",
1071
+ "name": "requesterNftId",
1072
+ "type": "uint96"
1073
+ },
1074
+ {
1075
+ "internalType": "string",
1076
+ "name": "callbackMethodName",
1077
+ "type": "string"
1078
+ },
1079
+ {
1080
+ "internalType": "NftId",
1081
+ "name": "oracleNftId",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "bytes",
1086
+ "name": "requestData",
1087
+ "type": "bytes"
1088
+ },
1089
+ {
1090
+ "internalType": "bytes",
1091
+ "name": "responseData",
1092
+ "type": "bytes"
1093
+ },
1094
+ {
1095
+ "internalType": "Timestamp",
1096
+ "name": "respondedAt",
1097
+ "type": "uint40"
1098
+ },
1099
+ {
1100
+ "internalType": "Timestamp",
1101
+ "name": "expiredAt",
1102
+ "type": "uint40"
1103
+ },
1104
+ {
1105
+ "internalType": "bool",
1106
+ "name": "isCancelled",
1107
+ "type": "bool"
1108
+ }
1109
+ ],
1110
+ "internalType": "struct IOracle.RequestInfo",
1111
+ "name": "requestInfo",
1112
+ "type": "tuple"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [
1120
+ {
1121
+ "internalType": "RiskId",
1122
+ "name": "riskId",
1123
+ "type": "bytes8"
1124
+ }
1125
+ ],
1126
+ "name": "getRiskInfo",
1127
+ "outputs": [
1128
+ {
1129
+ "components": [
1130
+ {
1131
+ "internalType": "NftId",
1132
+ "name": "productNftId",
1133
+ "type": "uint96"
1134
+ },
1135
+ {
1136
+ "internalType": "bytes",
1137
+ "name": "data",
1138
+ "type": "bytes"
1139
+ }
1140
+ ],
1141
+ "internalType": "struct IRisk.RiskInfo",
1035
1142
  "name": "info",
1036
1143
  "type": "tuple"
1037
1144
  }
@@ -1039,19 +1146,131 @@
1039
1146
  "stateMutability": "view",
1040
1147
  "type": "function"
1041
1148
  },
1149
+ {
1150
+ "inputs": [
1151
+ {
1152
+ "internalType": "Key32",
1153
+ "name": "key",
1154
+ "type": "bytes32"
1155
+ }
1156
+ ],
1157
+ "name": "getState",
1158
+ "outputs": [
1159
+ {
1160
+ "internalType": "StateId",
1161
+ "name": "state",
1162
+ "type": "uint8"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [
1170
+ {
1171
+ "internalType": "NftId",
1172
+ "name": "componentNftId",
1173
+ "type": "uint96"
1174
+ }
1175
+ ],
1176
+ "name": "getTokenHandler",
1177
+ "outputs": [
1178
+ {
1179
+ "internalType": "address",
1180
+ "name": "tokenHandler",
1181
+ "type": "address"
1182
+ }
1183
+ ],
1184
+ "stateMutability": "view",
1185
+ "type": "function"
1186
+ },
1042
1187
  {
1043
1188
  "inputs": [
1044
1189
  {
1045
1190
  "internalType": "address",
1046
- "name": "instance",
1191
+ "name": "account",
1047
1192
  "type": "address"
1193
+ },
1194
+ {
1195
+ "internalType": "RoleId",
1196
+ "name": "roleId",
1197
+ "type": "uint64"
1198
+ }
1199
+ ],
1200
+ "name": "hasAdminRole",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "bool",
1204
+ "name": "isMember",
1205
+ "type": "bool"
1048
1206
  }
1049
1207
  ],
1208
+ "stateMutability": "view",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "address",
1215
+ "name": "account",
1216
+ "type": "address"
1217
+ },
1218
+ {
1219
+ "internalType": "RoleId",
1220
+ "name": "roleId",
1221
+ "type": "uint64"
1222
+ }
1223
+ ],
1224
+ "name": "hasRole",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "bool",
1228
+ "name": "isMember",
1229
+ "type": "bool"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [],
1050
1237
  "name": "initialize",
1051
1238
  "outputs": [],
1052
1239
  "stateMutability": "nonpayable",
1053
1240
  "type": "function"
1054
1241
  },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "address",
1246
+ "name": "instanceAddress",
1247
+ "type": "address"
1248
+ }
1249
+ ],
1250
+ "name": "initializeWithInstance",
1251
+ "outputs": [],
1252
+ "stateMutability": "nonpayable",
1253
+ "type": "function"
1254
+ },
1255
+ {
1256
+ "inputs": [
1257
+ {
1258
+ "internalType": "address",
1259
+ "name": "target",
1260
+ "type": "address"
1261
+ }
1262
+ ],
1263
+ "name": "isTargetLocked",
1264
+ "outputs": [
1265
+ {
1266
+ "internalType": "bool",
1267
+ "name": "",
1268
+ "type": "bool"
1269
+ }
1270
+ ],
1271
+ "stateMutability": "view",
1272
+ "type": "function"
1273
+ },
1055
1274
  {
1056
1275
  "inputs": [
1057
1276
  {
@@ -1090,6 +1309,25 @@
1090
1309
  "stateMutability": "pure",
1091
1310
  "type": "function"
1092
1311
  },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "NftId",
1316
+ "name": "componentNftId",
1317
+ "type": "uint96"
1318
+ }
1319
+ ],
1320
+ "name": "toComponentKey",
1321
+ "outputs": [
1322
+ {
1323
+ "internalType": "Key32",
1324
+ "name": "",
1325
+ "type": "bytes32"
1326
+ }
1327
+ ],
1328
+ "stateMutability": "pure",
1329
+ "type": "function"
1330
+ },
1093
1331
  {
1094
1332
  "inputs": [
1095
1333
  {
@@ -1189,11 +1427,11 @@
1189
1427
  "inputs": [
1190
1428
  {
1191
1429
  "internalType": "NftId",
1192
- "name": "productNftId",
1430
+ "name": "policyNftId",
1193
1431
  "type": "uint96"
1194
1432
  }
1195
1433
  ],
1196
- "name": "toProductKey",
1434
+ "name": "toPremiumKey",
1197
1435
  "outputs": [
1198
1436
  {
1199
1437
  "internalType": "Key32",
@@ -1208,21 +1446,16 @@
1208
1446
  "inputs": [
1209
1447
  {
1210
1448
  "internalType": "NftId",
1211
- "name": "distributionNftId",
1449
+ "name": "productNftId",
1212
1450
  "type": "uint96"
1213
- },
1214
- {
1215
- "internalType": "string",
1216
- "name": "referralCode",
1217
- "type": "string"
1218
1451
  }
1219
1452
  ],
1220
- "name": "toReferralId",
1453
+ "name": "toProductKey",
1221
1454
  "outputs": [
1222
1455
  {
1223
- "internalType": "ReferralId",
1224
- "name": "referralId",
1225
- "type": "bytes8"
1456
+ "internalType": "Key32",
1457
+ "name": "",
1458
+ "type": "bytes32"
1226
1459
  }
1227
1460
  ],
1228
1461
  "stateMutability": "pure",
@@ -1232,16 +1465,21 @@
1232
1465
  "inputs": [
1233
1466
  {
1234
1467
  "internalType": "NftId",
1235
- "name": "productNftId",
1468
+ "name": "distributionNftId",
1236
1469
  "type": "uint96"
1470
+ },
1471
+ {
1472
+ "internalType": "string",
1473
+ "name": "referralCode",
1474
+ "type": "string"
1237
1475
  }
1238
1476
  ],
1239
- "name": "toTreasuryKey",
1477
+ "name": "toReferralId",
1240
1478
  "outputs": [
1241
1479
  {
1242
- "internalType": "Key32",
1243
- "name": "",
1244
- "type": "bytes32"
1480
+ "internalType": "ReferralId",
1481
+ "name": "referralId",
1482
+ "type": "bytes8"
1245
1483
  }
1246
1484
  ],
1247
1485
  "stateMutability": "pure",
@@ -1272,14 +1510,14 @@
1272
1510
  "type": "function"
1273
1511
  }
1274
1512
  ],
1275
- "bytecode": "0x608060405234801561001057600080fd5b50613899806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d1565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612120565b6106c2565b604051610212919061218d565b61020861024936600461223e565b61081b565b61026161025c36600461223e565b6108b5565b604051610212919061225b565b61020861027c36600461223e565b61097f565b61029461028f3660046122c8565b6109ac565b60405161021291906122fe565b6102b46102af3660046124df565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612571565b610b7b565b6102f36102ee36600461223e565b610bb6565b604051610212919061258a565b61031361030e3660046122c8565b610c5c565b60405160ff9091168152602001610212565b61020861033336600461223e565b610d59565b61034b61034636600461223e565b610d86565b6040519015158152602001610212565b61031361036936600461267d565b611015565b61020861037c36600461223e565b611075565b61020861038f36600461223e565b6110a2565b6103a76103a2366004612120565b6110cf565b60405161021291906126ab565b6103136103c236600461223e565b6111f8565b6103da6103d536600461223e565b611274565b60405161021291906126e1565b6103fa6103f536600461223e565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61048961048436600461223e565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612571565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c36600461267d565b611502565b604051610212919061278e565b61054161053c366004612120565b611650565b6040805192835260ff909116602083015201610212565b61056b61056636600461223e565b6118f8565b6040516102129190612802565b61058b6105863660046129b1565b611a1e565b005b6105a061059b366004612120565b611b37565b60405161021291906129ce565b6001546001600160a01b0316610489565b6102086105cc36600461223e565b611caa565b60005461010090046001600160a01b0316610489565b6105fa6105f536600461223e565b611cd7565b6040516102129190612a7e565b61061a61061536600461223e565b611dac565b6040516102129190612aff565b61020861063536600461223e565b611ef4565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c01565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c01565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c5f565b805190915015610815578080602001905181019061080e9190612cde565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c01565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c5f565b805190915015610815578080602001905181019061080e9190612dd7565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c01565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c5f565b805190915015610af75780806020019051810190610aef9190612e9f565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f5e565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f80565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611fa8565b6001546000906001600160a01b03166354f6127f610bdb85611ef4565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c5f565b805190915015610815578080602001905181019061080e9190612fcd565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c01565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130e3565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118f8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613100565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613100565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613100565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f21565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061311b565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c01565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c5f565b805190915015610815578080602001905181019061080e9190613138565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130e3565b61127c612019565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c5f565b805190915015610815578080602001905181019061080e91906131c2565b611322612089565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c5f565b805190915015610815578080602001905181019061080e919061326a565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c5f565b8051909150156108155760008180602001905181019061146291906132ee565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133bf565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190612c01565b6040518263ffffffff1660e01b81526004016115ed91815260200190565b600060405180830381865afa15801561160a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116329190810190612c5f565b805190915015610af75780806020019051810190610aef9190613439565b600080600061165e846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e19190613100565b156117605773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561172f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117539190612c01565b60645b9250925050915091565b6117e48160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061311b565b64ffffffffff90811691161090565b1561185d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118569190612c01565b606e611756565b806060015163ffffffff16816080015163ffffffff16106118ec5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190612c01565b6078611756565b6040810151600a611756565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61199d85610d59565b6040518263ffffffff1660e01b81526004016119bb91815260200190565b600060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a009190810190612c5f565b805190915015610815578080602001905181019061080e9190613500565b60005460ff1615611a425760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a6957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b07919061369c565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c299190612c01565b6040518263ffffffff1660e01b8152600401611c4791815260200190565b600060405180830381865afa158015611c64573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8c9190810190612c5f565b805190915015610815578080602001905181019061080e91906136b9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d2b85611caa565b6040518263ffffffff1660e01b8152600401611d4991815260200190565b600060405180830381865afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8e9190810190612c5f565b805190915015610815578080602001905181019061080e91906137b0565b611e56604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e738561081b565b6040518263ffffffff1660e01b8152600401611e9191815260200190565b600060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed69190810190612c5f565b805190915015610815578080602001905181019061080e91906132ee565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613100565b60405180610120016040528060006001600160601b03168152602001611fe1604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001612075604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001612053604051806040016040528060008152602001600081525090565b600080604083850312156120e457600080fd5b8235915060208301358060000b81146120fc57600080fd5b809150509250929050565b6001600160c01b03198116811461211d57600080fd5b50565b60006020828403121561213257600080fd5b813561080e81612107565b60005b83811015612158578181015183820152602001612140565b50506000910152565b6000815180845261217981602086016020860161213d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121bd610100840182612161565b90506040840151606084015263ffffffff606085015116608084015260808401516121f060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122208282612161565b95945050505050565b6001600160601b038116811461211d57600080fd5b60006020828403121561225057600080fd5b813561080e81612229565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261229960c0840182612161565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122db57600080fd5b82356122e681612229565b9150602083013562ffffff811681146120fc57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261233b60a0840182612161565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561239057612390612358565b60405290565b60405160a081016001600160401b038111828210171561239057612390612358565b604080519081016001600160401b038111828210171561239057612390612358565b60405161012081016001600160401b038111828210171561239057612390612358565b60405161010081016001600160401b038111828210171561239057612390612358565b60405160c081016001600160401b038111828210171561239057612390612358565b60405161014081016001600160401b038111828210171561239057612390612358565b60405161022081016001600160401b038111828210171561239057612390612358565b604051601f8201601f191681016001600160401b03811182821017156124b0576124b0612358565b604052919050565b60006001600160401b038211156124d1576124d1612358565b50601f01601f191660200190565b600080604083850312156124f257600080fd5b82356124fd81612229565b915060208301356001600160401b0381111561251857600080fd5b8301601f8101851361252957600080fd5b803561253c612537826124b8565b612488565b81815286602083850101111561255157600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561258357600080fd5b5035919050565b602081526125a46020820183516001600160601b03169052565b600060208301516125c2604084018280518252602090810151910152565b5060408301516101408060808501526125df610160850183612161565b915060608501516125fb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126408187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461211d57600080fd5b6000806040838503121561269057600080fd5b823561269b81612229565b915060208301356120fc8161266d565b602081526001600160601b038251166020820152600060208301516040808401526126d96060840182612161565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612730908401826001600160601b03169052565b50608083015161274d608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526127e560e0840182612161565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261281c6020820183516001600160601b03169052565b6000602083015161283860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128be8185018364ffffffffff169052565b8085015191505061022061012081818601526128de610240860184612161565b9250808601519050610140601f1986850301818701526128fe8483612161565b9350808701519150506101606129198187018361ffff169052565b86015190506101806129308682018361ffff169052565b86015190506101a061294c868201836001600160601b03169052565b86015190506101c0612968868201836001600160601b03169052565b86015190506101e06129828682018364ffffffffff169052565b86015190506102006126568682018364ffffffffff169052565b6001600160a01b038116811461211d57600080fd5b6000602082840312156129c357600080fd5b813561080e8161299c565b60208152600082516101208060208501526129ed610140850183612161565b91506020850151604085015260408501516060850152606085015160808501526080850151612a2460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a5a8187018315159052565b860151858403601f1901838701529050612a748382612161565b9695505050505050565b602081526000825160e06020840152612a9b610100840182612161565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612ae560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612204565b81516001600160a01b0316815261020081016020830151612b2b60208401826001600160a01b03169052565b506040830151612b4660408401826001600160601b03169052565b506060830151612b6160608401826001600160601b03169052565b506080830151612b7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bb48185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c1357600080fd5b5051919050565b600082601f830112612c2b57600080fd5b8151612c39612537826124b8565b818152846020838601011115612c4e57600080fd5b6126d982602083016020870161213d565b600060208284031215612c7157600080fd5b81516001600160401b03811115612c8757600080fd5b6126d984828501612c1a565b8051612c9e81612229565b919050565b63ffffffff8116811461211d57600080fd5b8051612c9e81612ca3565b64ffffffffff8116811461211d57600080fd5b8051612c9e81612cc0565b600060208284031215612cf057600080fd5b81516001600160401b0380821115612d0757600080fd5b9083019060e08286031215612d1b57600080fd5b612d2361236e565b612d2c83612c93565b8152602083015182811115612d4057600080fd5b612d4c87828601612c1a565b60208301525060408301516040820152612d6860608401612cb5565b6060820152612d7960808401612cb5565b6080820152612d8a60a08401612cd3565b60a082015260c083015182811115612da157600080fd5b612dad87828601612c1a565b60c08301525095945050505050565b8051612c9e81612107565b80518015158114612c9e57600080fd5b600060208284031215612de957600080fd5b81516001600160401b0380821115612e0057600080fd5b9083019060a08286031215612e1457600080fd5b612e1c612396565b8251612e2781612107565b8152612e3560208401612dc7565b6020820152604083015182811115612e4c57600080fd5b612e5887828601612c1a565b60408301525060608301519150612e6e82612229565b81606082015260808301519250612e8483612ca3565b6080810192909252509392505050565b8051612c9e8161266d565b600060208284031215612eb157600080fd5b81516001600160401b0380821115612ec857600080fd5b9083019060808286031215612edc57600080fd5b604051608081018181108382111715612ef757612ef7612358565b6040528251612f058161266d565b81526020830151612f1581612229565b6020820152604083015182811115612f2c57600080fd5b612f3887828601612c1a565b60408301525060608301519250612f4e83612cc0565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126d96040830184612161565b600060208284031215612f9257600080fd5b815161080e81612107565b600060408284031215612faf57600080fd5b612fb76123b8565b9050815181526020820151602082015292915050565b600060208284031215612fdf57600080fd5b81516001600160401b0380821115612ff657600080fd5b90830190610140828603121561300b57600080fd5b6130136123da565b61301c83612c93565b815261302b8660208501612f9d565b602082015260608301518281111561304257600080fd5b61304e87828601612c1a565b60408301525061306060808401612c93565b606082015261307160a08401612c93565b608082015261308260c08401612c93565b60a082015261309360e08401612cd3565b60c082015261010091506130a8828401612cd3565b60e08201526130ba6101208401612cd3565b91810191909152949350505050565b60ff8116811461211d57600080fd5b8051612c9e816130c9565b6000602082840312156130f557600080fd5b815161080e816130c9565b60006020828403121561311257600080fd5b6106b982612dc7565b60006020828403121561312d57600080fd5b815161080e81612cc0565b60006020828403121561314a57600080fd5b81516001600160401b038082111561316157600080fd5b908301906040828603121561317557600080fd5b61317d6123b8565b825161318881612229565b815260208301518281111561319c57600080fd5b6131a887828601612c1a565b60208301525095945050505050565b8051612c9e8161299c565b600061014082840312156131d557600080fd5b6131dd6123fd565b6131e6836131b7565b81526131f4602084016131b7565b602082015261320560408401612c93565b604082015261321660608401612c93565b60608201526132288460808501612f9d565b608082015261323a8460c08501612f9d565b60a082015261324c6101008401612dc7565b60c082015261325e61012084016131b7565b60e08201529392505050565b6000610100828403121561327d57600080fd5b613285612420565b825161329081612229565b815260208301516132a08161299c565b60208201526132b28460408501612f9d565b60408201526132c48460808501612f9d565b606082015260c08301516132d78161299c565b608082015260e0929092015160a083015250919050565b6000610200828403121561330157600080fd5b613309612442565b613312836131b7565b8152613320602084016131b7565b602082015261333160408401612c93565b604082015261334260608401612c93565b60608201526133548460808501612f9d565b60808201526133668460c08501612f9d565b60a082015261010061337a85828601612f9d565b60c083015261338d856101408601612f9d565b60e08301526133a0856101808601612f9d565b908201526133b2846101c08501612f9d565b6101208201529392505050565b600060a082840312156133d157600080fd5b6133d9612396565b82516133e4816130c9565b815260208301516133f4816130c9565b602082015260408301516134078161299c565b6040820152606083015161341a81612ca3565b6060820152608083015161342d81612ca3565b60808201529392505050565b60006020828403121561344b57600080fd5b81516001600160401b038082111561346257600080fd5b9083019060c0828603121561347657600080fd5b61347e612420565b825161348981612229565b8152602083015161349981612229565b602082015260408301516134ac816130c9565b60408201526134bd606084016130d8565b60608201526080830151828111156134d457600080fd5b6134e087828601612c1a565b6080830152506134f260a08401612cd3565b60a082015295945050505050565b60006020828403121561351257600080fd5b81516001600160401b038082111561352957600080fd5b90830190610220828603121561353e57600080fd5b613546612465565b61354f83612c93565b815261355d60208401612c93565b602082015261356e60408401612dbc565b604082015261357f60608401612dbc565b606082015261359060808401612c93565b60808201526135a160a08401612c93565b60a08201526135b260c08401612c93565b60c08201526135c360e08401612cd3565b60e082015261010080840151838111156135dc57600080fd5b6135e888828701612c1a565b828401525050610120808401518381111561360257600080fd5b61360e88828701612c1a565b8284015250506101409150613624828401612e94565b828201526101609150613638828401612e94565b82820152610180915061364c828401612c93565b828201526101a09150613660828401612c93565b828201526101c09150613674828401612cd3565b828201526101e09150613688828401612cd3565b8282015261020091506130ba828401612cd3565b6000602082840312156136ae57600080fd5b815161080e8161299c565b6000602082840312156136cb57600080fd5b81516001600160401b03808211156136e257600080fd5b9083019061012082860312156136f757600080fd5b6136ff6123da565b82518281111561370e57600080fd5b61371a87828601612c1a565b82525060208301516020820152604083015160408201526060830151606082015261374760808401612cb5565b608082015261375860a08401612cb5565b60a082015261376960c08401612dc7565b60c082015261377a60e08401612dc7565b60e0820152610100808401518381111561379357600080fd5b61379f88828701612c1a565b918301919091525095945050505050565b6000602082840312156137c257600080fd5b81516001600160401b03808211156137d957600080fd5b9083019060e082860312156137ed57600080fd5b6137f561236e565b82518281111561380457600080fd5b61381087828601612c1a565b82525061381f602084016131b7565b6020820152613830604084016131b7565b6040820152613841606084016131b7565b606082015261385260808401612c93565b6080820152612d8a60a08401612c9356fea26469706673582212207ec69fc4ff18ddae3f3186ac270ae43f75bc683b3998fcc0c8c7d4bba1a3a58464736f6c63430008140033",
1276
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d1565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612120565b6106c2565b604051610212919061218d565b61020861024936600461223e565b61081b565b61026161025c36600461223e565b6108b5565b604051610212919061225b565b61020861027c36600461223e565b61097f565b61029461028f3660046122c8565b6109ac565b60405161021291906122fe565b6102b46102af3660046124df565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612571565b610b7b565b6102f36102ee36600461223e565b610bb6565b604051610212919061258a565b61031361030e3660046122c8565b610c5c565b60405160ff9091168152602001610212565b61020861033336600461223e565b610d59565b61034b61034636600461223e565b610d86565b6040519015158152602001610212565b61031361036936600461267d565b611015565b61020861037c36600461223e565b611075565b61020861038f36600461223e565b6110a2565b6103a76103a2366004612120565b6110cf565b60405161021291906126ab565b6103136103c236600461223e565b6111f8565b6103da6103d536600461223e565b611274565b60405161021291906126e1565b6103fa6103f536600461223e565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b61048961048436600461223e565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612571565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c36600461267d565b611502565b604051610212919061278e565b61054161053c366004612120565b611650565b6040805192835260ff909116602083015201610212565b61056b61056636600461223e565b6118f8565b6040516102129190612802565b61058b6105863660046129b1565b611a1e565b005b6105a061059b366004612120565b611b37565b60405161021291906129ce565b6001546001600160a01b0316610489565b6102086105cc36600461223e565b611caa565b60005461010090046001600160a01b0316610489565b6105fa6105f536600461223e565b611cd7565b6040516102129190612a7e565b61061a61061536600461223e565b611dac565b6040516102129190612aff565b61020861063536600461223e565b611ef4565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c01565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c01565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c5f565b805190915015610815578080602001905181019061080e9190612cde565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c01565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c5f565b805190915015610815578080602001905181019061080e9190612dd7565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c01565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c5f565b805190915015610af75780806020019051810190610aef9190612e9f565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f5e565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f80565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611fa8565b6001546000906001600160a01b03166354f6127f610bdb85611ef4565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c5f565b805190915015610815578080602001905181019061080e9190612fcd565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c01565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130e3565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118f8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613100565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613100565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613100565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f21565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061311b565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c01565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c5f565b805190915015610815578080602001905181019061080e9190613138565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130e3565b61127c612019565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c5f565b805190915015610815578080602001905181019061080e91906131c2565b611322612089565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c5f565b805190915015610815578080602001905181019061080e919061326a565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c5f565b8051909150156108155760008180602001905181019061146291906132ee565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133bf565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190612c01565b6040518263ffffffff1660e01b81526004016115ed91815260200190565b600060405180830381865afa15801561160a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116329190810190612c5f565b805190915015610af75780806020019051810190610aef9190613439565b600080600061165e846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e19190613100565b156117605773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561172f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117539190612c01565b60645b9250925050915091565b6117e48160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061311b565b64ffffffffff90811691161090565b1561185d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118569190612c01565b606e611756565b806060015163ffffffff16816080015163ffffffff16106118ec5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190612c01565b6078611756565b6040810151600a611756565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f61199d85610d59565b6040518263ffffffff1660e01b81526004016119bb91815260200190565b600060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a009190810190612c5f565b805190915015610815578080602001905181019061080e9190613500565b60005460ff1615611a425760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a6957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b07919061369c565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c299190612c01565b6040518263ffffffff1660e01b8152600401611c4791815260200190565b600060405180830381865afa158015611c64573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8c9190810190612c5f565b805190915015610815578080602001905181019061080e91906136b9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d2b85611caa565b6040518263ffffffff1660e01b8152600401611d4991815260200190565b600060405180830381865afa158015611d66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d8e9190810190612c5f565b805190915015610815578080602001905181019061080e91906137b0565b611e56604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e738561081b565b6040518263ffffffff1660e01b8152600401611e9191815260200190565b600060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed69190810190612c5f565b805190915015610815578080602001905181019061080e91906132ee565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613100565b60405180610120016040528060006001600160601b03168152602001611fe1604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001612075604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001612053604051806040016040528060008152602001600081525090565b600080604083850312156120e457600080fd5b8235915060208301358060000b81146120fc57600080fd5b809150509250929050565b6001600160c01b03198116811461211d57600080fd5b50565b60006020828403121561213257600080fd5b813561080e81612107565b60005b83811015612158578181015183820152602001612140565b50506000910152565b6000815180845261217981602086016020860161213d565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121bd610100840182612161565b90506040840151606084015263ffffffff606085015116608084015260808401516121f060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122208282612161565b95945050505050565b6001600160601b038116811461211d57600080fd5b60006020828403121561225057600080fd5b813561080e81612229565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261229960c0840182612161565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122db57600080fd5b82356122e681612229565b9150602083013562ffffff811681146120fc57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261233b60a0840182612161565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561239057612390612358565b60405290565b60405160a081016001600160401b038111828210171561239057612390612358565b604080519081016001600160401b038111828210171561239057612390612358565b60405161012081016001600160401b038111828210171561239057612390612358565b60405161010081016001600160401b038111828210171561239057612390612358565b60405160c081016001600160401b038111828210171561239057612390612358565b60405161014081016001600160401b038111828210171561239057612390612358565b60405161022081016001600160401b038111828210171561239057612390612358565b604051601f8201601f191681016001600160401b03811182821017156124b0576124b0612358565b604052919050565b60006001600160401b038211156124d1576124d1612358565b50601f01601f191660200190565b600080604083850312156124f257600080fd5b82356124fd81612229565b915060208301356001600160401b0381111561251857600080fd5b8301601f8101851361252957600080fd5b803561253c612537826124b8565b612488565b81815286602083850101111561255157600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561258357600080fd5b5035919050565b602081526125a46020820183516001600160601b03169052565b600060208301516125c2604084018280518252602090810151910152565b5060408301516101408060808501526125df610160850183612161565b915060608501516125fb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126408187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461211d57600080fd5b6000806040838503121561269057600080fd5b823561269b81612229565b915060208301356120fc8161266d565b602081526001600160601b038251166020820152600060208301516040808401526126d96060840182612161565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612730908401826001600160601b03169052565b50608083015161274d608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a08401526127e560e0840182612161565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261281c6020820183516001600160601b03169052565b6000602083015161283860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128be8185018364ffffffffff169052565b8085015191505061022061012081818601526128de610240860184612161565b9250808601519050610140601f1986850301818701526128fe8483612161565b9350808701519150506101606129198187018361ffff169052565b86015190506101806129308682018361ffff169052565b86015190506101a061294c868201836001600160601b03169052565b86015190506101c0612968868201836001600160601b03169052565b86015190506101e06129828682018364ffffffffff169052565b86015190506102006126568682018364ffffffffff169052565b6001600160a01b038116811461211d57600080fd5b6000602082840312156129c357600080fd5b813561080e8161299c565b60208152600082516101208060208501526129ed610140850183612161565b91506020850151604085015260408501516060850152606085015160808501526080850151612a2460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a5a8187018315159052565b860151858403601f1901838701529050612a748382612161565b9695505050505050565b602081526000825160e06020840152612a9b610100840182612161565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612ae560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612204565b81516001600160a01b0316815261020081016020830151612b2b60208401826001600160a01b03169052565b506040830151612b4660408401826001600160601b03169052565b506060830151612b6160608401826001600160601b03169052565b506080830151612b7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bb48185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c1357600080fd5b5051919050565b600082601f830112612c2b57600080fd5b8151612c39612537826124b8565b818152846020838601011115612c4e57600080fd5b6126d982602083016020870161213d565b600060208284031215612c7157600080fd5b81516001600160401b03811115612c8757600080fd5b6126d984828501612c1a565b8051612c9e81612229565b919050565b63ffffffff8116811461211d57600080fd5b8051612c9e81612ca3565b64ffffffffff8116811461211d57600080fd5b8051612c9e81612cc0565b600060208284031215612cf057600080fd5b81516001600160401b0380821115612d0757600080fd5b9083019060e08286031215612d1b57600080fd5b612d2361236e565b612d2c83612c93565b8152602083015182811115612d4057600080fd5b612d4c87828601612c1a565b60208301525060408301516040820152612d6860608401612cb5565b6060820152612d7960808401612cb5565b6080820152612d8a60a08401612cd3565b60a082015260c083015182811115612da157600080fd5b612dad87828601612c1a565b60c08301525095945050505050565b8051612c9e81612107565b80518015158114612c9e57600080fd5b600060208284031215612de957600080fd5b81516001600160401b0380821115612e0057600080fd5b9083019060a08286031215612e1457600080fd5b612e1c612396565b8251612e2781612107565b8152612e3560208401612dc7565b6020820152604083015182811115612e4c57600080fd5b612e5887828601612c1a565b60408301525060608301519150612e6e82612229565b81606082015260808301519250612e8483612ca3565b6080810192909252509392505050565b8051612c9e8161266d565b600060208284031215612eb157600080fd5b81516001600160401b0380821115612ec857600080fd5b9083019060808286031215612edc57600080fd5b604051608081018181108382111715612ef757612ef7612358565b6040528251612f058161266d565b81526020830151612f1581612229565b6020820152604083015182811115612f2c57600080fd5b612f3887828601612c1a565b60408301525060608301519250612f4e83612cc0565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126d96040830184612161565b600060208284031215612f9257600080fd5b815161080e81612107565b600060408284031215612faf57600080fd5b612fb76123b8565b9050815181526020820151602082015292915050565b600060208284031215612fdf57600080fd5b81516001600160401b0380821115612ff657600080fd5b90830190610140828603121561300b57600080fd5b6130136123da565b61301c83612c93565b815261302b8660208501612f9d565b602082015260608301518281111561304257600080fd5b61304e87828601612c1a565b60408301525061306060808401612c93565b606082015261307160a08401612c93565b608082015261308260c08401612c93565b60a082015261309360e08401612cd3565b60c082015261010091506130a8828401612cd3565b60e08201526130ba6101208401612cd3565b91810191909152949350505050565b60ff8116811461211d57600080fd5b8051612c9e816130c9565b6000602082840312156130f557600080fd5b815161080e816130c9565b60006020828403121561311257600080fd5b6106b982612dc7565b60006020828403121561312d57600080fd5b815161080e81612cc0565b60006020828403121561314a57600080fd5b81516001600160401b038082111561316157600080fd5b908301906040828603121561317557600080fd5b61317d6123b8565b825161318881612229565b815260208301518281111561319c57600080fd5b6131a887828601612c1a565b60208301525095945050505050565b8051612c9e8161299c565b600061014082840312156131d557600080fd5b6131dd6123fd565b6131e6836131b7565b81526131f4602084016131b7565b602082015261320560408401612c93565b604082015261321660608401612c93565b60608201526132288460808501612f9d565b608082015261323a8460c08501612f9d565b60a082015261324c6101008401612dc7565b60c082015261325e61012084016131b7565b60e08201529392505050565b6000610100828403121561327d57600080fd5b613285612420565b825161329081612229565b815260208301516132a08161299c565b60208201526132b28460408501612f9d565b60408201526132c48460808501612f9d565b606082015260c08301516132d78161299c565b608082015260e0929092015160a083015250919050565b6000610200828403121561330157600080fd5b613309612442565b613312836131b7565b8152613320602084016131b7565b602082015261333160408401612c93565b604082015261334260608401612c93565b60608201526133548460808501612f9d565b60808201526133668460c08501612f9d565b60a082015261010061337a85828601612f9d565b60c083015261338d856101408601612f9d565b60e08301526133a0856101808601612f9d565b908201526133b2846101c08501612f9d565b6101208201529392505050565b600060a082840312156133d157600080fd5b6133d9612396565b82516133e4816130c9565b815260208301516133f4816130c9565b602082015260408301516134078161299c565b6040820152606083015161341a81612ca3565b6060820152608083015161342d81612ca3565b60808201529392505050565b60006020828403121561344b57600080fd5b81516001600160401b038082111561346257600080fd5b9083019060c0828603121561347657600080fd5b61347e612420565b825161348981612229565b8152602083015161349981612229565b602082015260408301516134ac816130c9565b60408201526134bd606084016130d8565b60608201526080830151828111156134d457600080fd5b6134e087828601612c1a565b6080830152506134f260a08401612cd3565b60a082015295945050505050565b60006020828403121561351257600080fd5b81516001600160401b038082111561352957600080fd5b90830190610220828603121561353e57600080fd5b613546612465565b61354f83612c93565b815261355d60208401612c93565b602082015261356e60408401612dbc565b604082015261357f60608401612dbc565b606082015261359060808401612c93565b60808201526135a160a08401612c93565b60a08201526135b260c08401612c93565b60c08201526135c360e08401612cd3565b60e082015261010080840151838111156135dc57600080fd5b6135e888828701612c1a565b828401525050610120808401518381111561360257600080fd5b61360e88828701612c1a565b8284015250506101409150613624828401612e94565b828201526101609150613638828401612e94565b82820152610180915061364c828401612c93565b828201526101a09150613660828401612c93565b828201526101c09150613674828401612cd3565b828201526101e09150613688828401612cd3565b8282015261020091506130ba828401612cd3565b6000602082840312156136ae57600080fd5b815161080e8161299c565b6000602082840312156136cb57600080fd5b81516001600160401b03808211156136e257600080fd5b9083019061012082860312156136f757600080fd5b6136ff6123da565b82518281111561370e57600080fd5b61371a87828601612c1a565b82525060208301516020820152604083015160408201526060830151606082015261374760808401612cb5565b608082015261375860a08401612cb5565b60a082015261376960c08401612dc7565b60c082015261377a60e08401612dc7565b60e0820152610100808401518381111561379357600080fd5b61379f88828701612c1a565b918301919091525095945050505050565b6000602082840312156137c257600080fd5b81516001600160401b03808211156137d957600080fd5b9083019060e082860312156137ed57600080fd5b6137f561236e565b82518281111561380457600080fd5b61381087828601612c1a565b82525061381f602084016131b7565b6020820152613830604084016131b7565b6040820152613841606084016131b7565b606082015261385260808401612c93565b6080820152612d8a60a08401612c9356fea26469706673582212207ec69fc4ff18ddae3f3186ac270ae43f75bc683b3998fcc0c8c7d4bba1a3a58464736f6c63430008140033",
1513
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b5061421d806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610260575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610678578063de7b5d141461068b578063e444c3df146106a0578063f0ea17c3146106c0578063f7f318d3146106e0578063febe92af146106f3575f80fd5b8063b82d7ef5146105ea578063bd7d9d8514610614578063cd55e51b14610634578063d06458c614610647578063d4cda0d814610667575f80fd5b8063887b1fa911610110578063887b1fa9146104fd5780638eb9000d1461051d5780639096a1f314610530578063a310e2a314610543578063a5961b4c1461056e578063a7ef3d21146105ca575f80fd5b806378ae9350146104a95780637bfd3217146104bc5780637d8f1e81146104cf5780637e54602a146104e25780638129fc1c146104f5575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104285780635da894021461044857806364eb3a9b1461045b57806364fc31421461046e5780636791f7ab1461048157806375d357df14610496575f80fd5b806339bb60cd146103965780633f093cd6146103b657806344aa6836146103e25780634793b4ab146103f55780634fb784f514610415575f80fd5b8063228e42ec11610228578063228e42ec1461031a57806326decd401461032d57806327b1d7921461035057806334bd5be31461037057806335898f5d14610383575f80fd5b80630232ca491461026457806309648a9d146102945780630b5d931c146102b95780631488c845146102d95780631d3be477146102fa575b5f80fd5b6102776102723660046126a2565b610713565b6040516001600160601b0390911681526020015b60405180910390f35b6102a76102a23660046126bd565b61078d565b60405160ff909116815260200161028b565b6102cc6102c73660046126a2565b610802565b60405161028b91906126d4565b6102ec6102e73660046127b6565b6108b0565b60405190815260200161028b565b61030d6103083660046127fe565b61092c565b60405161028b9190612847565b6102776103283660046126a2565b610a70565b61034061033b3660046128f5565b610aa9565b604051901515815260200161028b565b61036361035e3660046126a2565b610b87565b60405161028b9190612910565b6102ec61037e3660046126a2565b610c44565b6102ec6103913660046126a2565b610cdb565b6103a96103a4366004612969565b610d07565b60405161028b919061299c565b6103c96103c4366004612b79565b610e51565b6040516001600160c01b0319909116815260200161028b565b6102ec6103f03660046126bd565b610ecb565b6104086104033660046126a2565b610f05565b60405161028b9190612c05565b6102ec6104233660046126a2565b610fa6565b61043b6104363660046126a2565b610fd2565b60405161028b9190612c90565b6102a7610456366004612969565b6110a3565b6102ec6104693660046126a2565b61119b565b61034061047c366004612d11565b6111c7565b61049461048f3660046128f5565b6112b6565b005b6103406104a43660046126a2565b611389565b6102a76104b7366004612d4c565b61160a565b6102ec6104ca3660046126a2565b611669565b6102a76104dd3660046126a2565b611695565b6102ec6104f03660046126a2565b61170e565b61049461173a565b61051061050b3660046127fe565b611768565b60405161028b9190612d78565b61027761052b3660046126a2565b611889565b6102a761053e3660046126a2565b6118c2565b6105566105513660046126a2565b6118de565b6040516001600160a01b03909116815260200161028b565b61058161057c3660046126bd565b611986565b60405161028b91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105dd6105d8366004612d4c565b611a10565b60405161028b9190612dad565b6105fd6105f83660046127fe565b611b5d565b6040805192835260ff90911660208301520161028b565b6106276106223660046126a2565b611df9565b60405161028b9190612e53565b610340610642366004612d11565b611f19565b61065a6106553660046127fe565b611fcd565b60405161028b9190612fe2565b6001546001600160a01b0316610556565b6102ec6106863660046126a2565b612132565b5f5461010090046001600160a01b0316610556565b6106b36106ae3660046126a2565b61215e565b60405161028b9190613083565b6106d36106ce3660046126a2565b612287565b60405161028b9190613273565b6102ec6106ee3660046126a2565b612350565b6107066107013660046132fd565b61237c565b60405161028b9190613318565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078791906133f6565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f89190613446565b6020015192915050565b61080a61252a565b6001545f906001600160a01b03166354f6127f61082685611669565b6040518263ffffffff1660e01b815260040161084491815260200190565b5f60405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261088591908101906134fc565b8051909150156108aa57808060200190518101906108a3919061355c565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061361d565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af41580156109cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f3919061361d565b6040518263ffffffff1660e01b8152600401610a1191815260200190565b5f60405180830381865afa158015610a2b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a5291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613651565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610748565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1e9190613733565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061375d565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610bc78561170e565b6040518263ffffffff1660e01b8152600401610be591815260200190565b5f60405180830381865afa158015610bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c2691908101906134fc565b8051909150156108aa57808060200190518101906108a39190613781565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610cb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061361d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610c6c565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610da1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc5919061361d565b6040518263ffffffff1660e01b8152600401610de391815260200190565b5f60405180830381865afa158015610dfd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e2491908101906134fc565b805190915015610e4a5780806020019051810190610e429190613831565b915050610787565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e8c90869086906004016138c9565b602060405180830381865af4158015610ea7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a391906138ea565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c9c565b610f0d612634565b6001545f906001600160a01b03166354f6127f610f2985612350565b6040518263ffffffff1660e01b8152600401610f4791815260200190565b5f60405180830381865afa158015610f61573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f8891908101906134fc565b8051909150156108aa57808060200190518101906108a39190613905565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c6c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61102685612132565b6040518263ffffffff1660e01b815260040161104491815260200190565b5f60405180830381865afa15801561105e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261108591908101906134fc565b8051909150156108aa57808060200190518101906108a391906139c9565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561111a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113e919061361d565b6040518263ffffffff1660e01b815260040161115c91815260200190565b602060405180830381865afa158015611177573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c6c565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611218573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123c9190613733565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611292573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061375d565b5f5460ff16156112d95760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611342573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113669190613733565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061139483611df9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611414919061375d565b1561142157505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561147c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a0919061375d565b156114ad57505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611508573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152c919061375d565b1561153957505f92915050565b61016081015161ffff161561155057505f92915050565b61156381610180015182608001516124ca565b156115715750600192915050565b6115f473__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115df9190613a6e565b826101e0015164ffffffffff90811691161090565b1561160157505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044016110ff565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c6c565b6001545f906001600160a01b03166309648a9d6116b184612350565b6040518263ffffffff1660e01b81526004016116cf91815260200190565b602060405180830381865afa1580156116ea573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610c6c565b5f5460ff161561175d5760405163ae9eff1b60e01b815260040160405180910390fd5b611766336112b6565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156117e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061180c919061361d565b6040518263ffffffff1660e01b815260040161182a91815260200190565b5f60405180830381865afa158015611844573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261186b91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613a89565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610748565b6001545f906001600160a01b03166309648a9d6116b18461119b565b6001545f9081906001600160a01b03166354f6127f6118fc85610fa6565b6040518263ffffffff1660e01b815260040161191a91815260200190565b5f60405180830381865afa158015611934573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261195b91908101906134fc565b8051909150156108aa575f8180602001905181019061197a9190613b11565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156119ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613446565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611abc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae0919061361d565b6040518263ffffffff1660e01b8152600401611afe91815260200190565b5f60405180830381865afa158015611b18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b3f91908101906134fc565b805190915015610e4a5780806020019051810190610e429190613be9565b5f805f611b698461092c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611bc6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bea919061375d565b15611c675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5a919061361d565b60645b9250925050915091565b611ce98160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cda9190613a6e565b64ffffffffff90811691161090565b15611d605773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d59919061361d565b606e611c5d565b806060015163ffffffff16816080015163ffffffff1610611ded5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de6919061361d565b6078611c5d565b6040810151600a611c5d565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611e9c8561119b565b6040518263ffffffff1660e01b8152600401611eba91815260200190565b5f60405180830381865afa158015611ed4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611efb91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613cd2565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8e9190613733565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611277565b612025604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612091573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120b5919061361d565b6040518263ffffffff1660e01b81526004016120d391815260200190565b5f60405180830381865afa1580156120ed573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261211491908101906134fc565b8051909150156108aa57808060200190518101906108a39190613e78565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c6c565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61220a85610c44565b6040518263ffffffff1660e01b815260040161222891815260200190565b5f60405180830381865afa158015612242573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261226991908101906134fc565b8051909150156108aa57808060200190518101906108a39190613f71565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6122d385610fa6565b6040518263ffffffff1660e01b81526004016122f191815260200190565b5f60405180830381865afa15801561230b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261233291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613b11565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610c6c565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061244d919061361d565b6040518263ffffffff1660e01b815260040161246b91815260200190565b5f60405180830381865afa158015612485573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124ac91908101906134fc565b8051909150156108aa57808060200190518101906108a391906140d3565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611292573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161256f60405180604001604052805f81526020015f81525090565b815260200161258f60405180604001604052805f81526020015f81525090565b81526020016125af60405180604001604052805f81526020015f81525090565b81526020016125cf60405180604001604052805f81526020015f81525090565b81526020016125ef60405180604001604052805f81526020015f81525090565b815260200161260f60405180604001604052805f81526020015f81525090565b815260200161262f60405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161266960405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b038116811461269f575f80fd5b50565b5f602082840312156126b2575f80fd5b81356108a38161268b565b5f602082840312156126cd575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612701908401826001600160601b03169052565b50604083015161271e604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610e4a565b5f80604083850312156127c7575f80fd5b8235915060208301355f81900b81146127de575f80fd5b809150509250929050565b6001600160c01b03198116811461269f575f80fd5b5f6020828403121561280e575f80fd5b81356108a3816127e9565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612876610100840182612819565b90506040840151606084015263ffffffff606085015116608084015260808401516128a960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128d88282612819565b95945050505050565b6001600160a01b038116811461269f575f80fd5b5f60208284031215612905575f80fd5b81356108a3816128e1565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261294d60a0840182612819565b905063ffffffff60608501511660808401528091505092915050565b5f806040838503121561297a575f80fd5b82356129858161268b565b9150602083013562ffffff811681146127de575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f6040830151608060608401526129d860a0840182612819565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405290565b604080519081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161012081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160e081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160c081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161022081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161024081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161010081016001600160401b0381118282101715612a2b57612a2b6129f5565b604051601f8201601f191681016001600160401b0381118282101715612b4b57612b4b6129f5565b604052919050565b5f6001600160401b03821115612b6b57612b6b6129f5565b50601f01601f191660200190565b5f8060408385031215612b8a575f80fd5b8235612b958161268b565b915060208301356001600160401b03811115612baf575f80fd5b8301601f81018513612bbf575f80fd5b8035612bd2612bcd82612b53565b612b23565b818152866020838501011115612be6575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c36604084018280518252602090810151910152565b50604083015160e06080840152612c51610100840182612819565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160401b0383511682526001600160601b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612ce2608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b038116811461269f575f80fd5b5f8060408385031215612d22575f80fd5b8235612d2d816128e1565b915060208301356127de81612cfd565b61ffff8116811461269f575f80fd5b5f8060408385031215612d5d575f80fd5b8235612d688161268b565b915060208301356127de81612d3d565b602081526001600160601b0382511660208201525f6020830151604080840152612da56060840182612819565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612de9606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e13610100840182612819565b905060a0840151601f198483030160c0850152612e308282612819565b91505060c0840151612e4b60e085018264ffffffffff169052565b509392505050565b60208152612e6d6020820183516001600160601b03169052565b5f6020830151612e8860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f25610240840182612819565b9050610120840151601f1984830301610140850152612f448282612819565b915050610140840151612f5e61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612e4b565b602081525f82516101206020840152612fff610140840182612819565b9050602084015160408401526040840151606084015260608401516080840152608084015161303660a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128d88282612819565b81516001600160601b03168152610240810160208301516130af60208401826001600160601b03169052565b5060408301516130ca60408401826001600160601b03169052565b5060608301516130e560608401826001600160601b03169052565b50608083015161310060808401826001600160601b03169052565b5060a083015161311b60a08401826001600160601b03169052565b5060c083015161313660c08401826001600160601b03169052565b5060e083015161315160e08401826001600160601b03169052565b5061010083015161316e6101008401826001600160601b03169052565b5061012083015161318b6101208401826001600160601b03169052565b506101408301516131a86101408401826001600160601b03169052565b506101608301516131c56101608401826001600160601b03169052565b506101808301516131e26101808401826001600160601b03169052565b506101a08301516131ff6101a08401826001600160601b03169052565b506101c083015161321c6101c08401826001600160601b03169052565b506101e08301516132396101e08401826001600160601b03169052565b506102008301516132566102008401826001600160601b03169052565b50610220830151610e4a6102208401826001600160601b03169052565b602081525f825160c0602084015261328e60e0840182612819565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516132e160a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128d88282612819565b5f6020828403121561330d575f80fd5b81356108a381612cfd565b602081526133326020820183516001600160601b03169052565b5f6020830151610100604084015261334e610120840182612819565b9050604084015161336a60608501826001600160601b03169052565b506060840151838203601f190160808501526133868282612819565b9150506080840151601f198483030160a08501526133a48282612819565b91505060a08401516133bf60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612e4b565b80516133f18161268b565b919050565b5f60208284031215613406575f80fd5b81516108a38161268b565b60ff8116811461269f575f80fd5b80516133f181613411565b63ffffffff8116811461269f575f80fd5b80516133f18161342a565b5f6080828403128015613457575f80fd5b50613460612a09565b825161346b81613411565b8152602083015161347b81613411565b6020820152604083015161348e8161342a565b604082015260608301516134a18161342a565b60608201529392505050565b5f82601f8301126134bc575f80fd5b8151602083015f6134cf612bcd84612b53565b90508281528583830111156134e2575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561350c575f80fd5b81516001600160401b03811115613521575f80fd5b612da5848285016134ad565b5f6040828403121561353d575f80fd5b613545612a31565b825181526020928301519281019290925250919050565b5f61020082840312801561356e575f80fd5b50613577612a53565b613580836133e6565b815261358e602084016133e6565b60208201526135a0846040850161352d565b60408201526135b2846080850161352d565b60608201526135c48460c0850161352d565b60808201526135d784610100850161352d565b60a08201526135ea84610140850161352d565b60c08201526135fd84610180850161352d565b60e0820152613610846101c0850161352d565b6101008201529392505050565b5f6020828403121561362d575f80fd5b5051919050565b64ffffffffff8116811461269f575f80fd5b80516133f181613634565b5f60208284031215613661575f80fd5b81516001600160401b03811115613676575f80fd5b820160e08185031215613687575f80fd5b61368f612a76565b613698826133e6565b815260208201516001600160401b038111156136b2575f80fd5b6136be868285016134ad565b602083015250604082810151908201526136da6060830161343b565b60608201526136eb6080830161343b565b60808201526136fc60a08301613646565b60a082015260c08201516001600160401b03811115613719575f80fd5b613725868285016134ad565b60c083015250949350505050565b5f60208284031215613743575f80fd5b81516108a3816128e1565b805180151581146133f1575f80fd5b5f6020828403121561376d575f80fd5b6108a38261374e565b80516133f1816127e9565b5f60208284031215613791575f80fd5b81516001600160401b038111156137a6575f80fd5b8201608081850312156137b7575f80fd5b6137bf612a09565b81516137ca816127e9565b81526137d86020830161374e565b602082015260408201516001600160401b038111156137f5575f80fd5b613801868285016134ad565b604083015250606082015191506138178261342a565b60608101919091529392505050565b80516133f181612d3d565b5f60208284031215613841575f80fd5b81516001600160401b03811115613856575f80fd5b820160808185031215613867575f80fd5b61386f612a09565b815161387a81612d3d565b8152602082015161388a8161268b565b602082015260408201516001600160401b038111156138a7575f80fd5b6138b3868285016134ad565b6040830152506060820151915061381782613634565b6001600160601b0383168152604060208201525f612da56040830184612819565b5f602082840312156138fa575f80fd5b81516108a3816127e9565b5f60208284031215613915575f80fd5b81516001600160401b0381111561392a575f80fd5b820160e0818503121561393b575f80fd5b613943612a98565b815161394e8161268b565b815261395d856020840161352d565b602082015260608201516001600160401b0381111561397a575f80fd5b613986868285016134ad565b604083015250608082015161399a81613634565b60608201526139ab60a08301613646565b60808201526139bc60c08301613646565b60a0820152949350505050565b5f60e08284031280156139da575f80fd5b506139e3612a76565b82516139ee81612cfd565b815260208301516139fe8161268b565b6020820152613a0f6040840161374e565b6040820152613a206060840161374e565b6060820152613a316080840161374e565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613a63575f80fd5b81516108a381613411565b5f60208284031215613a7e575f80fd5b81516108a381613634565b5f60208284031215613a99575f80fd5b81516001600160401b03811115613aae575f80fd5b820160408185031215613abf575f80fd5b613ac7612a31565b8151613ad28161268b565b815260208201516001600160401b03811115613aec575f80fd5b613af8868285016134ad565b602083015250949350505050565b80516133f1816128e1565b5f60208284031215613b21575f80fd5b81516001600160401b03811115613b36575f80fd5b820160c08185031215613b47575f80fd5b613b4f612a98565b81516001600160401b03811115613b64575f80fd5b613b70868285016134ad565b825250613b7f602083016133e6565b6020820152613b9060408301613b06565b6040820152613ba160608301613b06565b6060820152613bb260808301613b06565b608082015260a08201516001600160401b03811115613bcf575f80fd5b613bdb868285016134ad565b60a083015250949350505050565b5f60208284031215613bf9575f80fd5b81516001600160401b03811115613c0e575f80fd5b820160e08185031215613c1f575f80fd5b613c27612a76565b613c30826133e6565b8152613c3e602083016133e6565b6020820152613c4f6040830161341f565b6040820152613c606060830161341f565b606082015260808201516001600160401b03811115613c7d575f80fd5b613c89868285016134ad565b60808301525060a08201516001600160401b03811115613ca7575f80fd5b613cb3868285016134ad565b60a083015250613cc560c08301613646565b60c0820152949350505050565b5f60208284031215613ce2575f80fd5b81516001600160401b03811115613cf7575f80fd5b82016102208185031215613d09575f80fd5b613d11612aba565b613d1a826133e6565b8152613d28602083016133e6565b6020820152613d3960408301613776565b6040820152613d4a60608301613776565b6060820152613d5b608083016133e6565b6080820152613d6c60a083016133e6565b60a0820152613d7d60c083016133e6565b60c0820152613d8e60e08301613646565b60e08201526101008201516001600160401b03811115613dac575f80fd5b613db8868285016134ad565b610100830152506101208201516001600160401b03811115613dd8575f80fd5b613de4868285016134ad565b61012083015250613df86101408301613826565b610140820152613e0b6101608301613826565b610160820152613e1e61018083016133e6565b610180820152613e316101a083016133e6565b6101a0820152613e446101c08301613646565b6101c0820152613e576101e08301613646565b6101e0820152613e6a6102008301613646565b610200820152949350505050565b5f60208284031215613e88575f80fd5b81516001600160401b03811115613e9d575f80fd5b82016101208185031215613eaf575f80fd5b613eb7612a53565b81516001600160401b03811115613ecc575f80fd5b613ed8868285016134ad565b825250602082810151908201526040808301519082015260608083015190820152613f056080830161343b565b6080820152613f1660a0830161343b565b60a0820152613f2760c0830161374e565b60c0820152613f3860e0830161374e565b60e08201526101008201516001600160401b03811115613f56575f80fd5b613f62868285016134ad565b61010083015250949350505050565b5f610240828403128015613f83575f80fd5b50613f8c612add565b613f95836133e6565b8152613fa3602084016133e6565b6020820152613fb4604084016133e6565b6040820152613fc5606084016133e6565b6060820152613fd6608084016133e6565b6080820152613fe760a084016133e6565b60a0820152613ff860c084016133e6565b60c082015261400960e084016133e6565b60e082015261401b61010084016133e6565b61010082015261402e61012084016133e6565b61012082015261404161014084016133e6565b61014082015261405461016084016133e6565b61016082015261406761018084016133e6565b61018082015261407a6101a084016133e6565b6101a082015261408d6101c084016133e6565b6101c08201526140a06101e084016133e6565b6101e08201526140b361020084016133e6565b6102008201526140c661022084016133e6565b6102208201529392505050565b5f602082840312156140e3575f80fd5b81516001600160401b038111156140f8575f80fd5b8201610100818503121561410a575f80fd5b614112612b00565b61411b826133e6565b815260208201516001600160401b03811115614135575f80fd5b614141868285016134ad565b602083015250614153604083016133e6565b604082015260608201516001600160401b03811115614170575f80fd5b61417c868285016134ad565b60608301525060808201516001600160401b0381111561419a575f80fd5b6141a6868285016134ad565b6080830152506141b860a08301613646565b60a08201526141c960c08301613646565b60c08201526141da60e0830161374e565b60e082015294935050505056fea264697066735822122079743ca016140daf95631ccd3b33cff353ca3123d0cc096dbfaccfbcc565b29664736f6c634300081a0033",
1514
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610260575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610678578063de7b5d141461068b578063e444c3df146106a0578063f0ea17c3146106c0578063f7f318d3146106e0578063febe92af146106f3575f80fd5b8063b82d7ef5146105ea578063bd7d9d8514610614578063cd55e51b14610634578063d06458c614610647578063d4cda0d814610667575f80fd5b8063887b1fa911610110578063887b1fa9146104fd5780638eb9000d1461051d5780639096a1f314610530578063a310e2a314610543578063a5961b4c1461056e578063a7ef3d21146105ca575f80fd5b806378ae9350146104a95780637bfd3217146104bc5780637d8f1e81146104cf5780637e54602a146104e25780638129fc1c146104f5575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104285780635da894021461044857806364eb3a9b1461045b57806364fc31421461046e5780636791f7ab1461048157806375d357df14610496575f80fd5b806339bb60cd146103965780633f093cd6146103b657806344aa6836146103e25780634793b4ab146103f55780634fb784f514610415575f80fd5b8063228e42ec11610228578063228e42ec1461031a57806326decd401461032d57806327b1d7921461035057806334bd5be31461037057806335898f5d14610383575f80fd5b80630232ca491461026457806309648a9d146102945780630b5d931c146102b95780631488c845146102d95780631d3be477146102fa575b5f80fd5b6102776102723660046126a2565b610713565b6040516001600160601b0390911681526020015b60405180910390f35b6102a76102a23660046126bd565b61078d565b60405160ff909116815260200161028b565b6102cc6102c73660046126a2565b610802565b60405161028b91906126d4565b6102ec6102e73660046127b6565b6108b0565b60405190815260200161028b565b61030d6103083660046127fe565b61092c565b60405161028b9190612847565b6102776103283660046126a2565b610a70565b61034061033b3660046128f5565b610aa9565b604051901515815260200161028b565b61036361035e3660046126a2565b610b87565b60405161028b9190612910565b6102ec61037e3660046126a2565b610c44565b6102ec6103913660046126a2565b610cdb565b6103a96103a4366004612969565b610d07565b60405161028b919061299c565b6103c96103c4366004612b79565b610e51565b6040516001600160c01b0319909116815260200161028b565b6102ec6103f03660046126bd565b610ecb565b6104086104033660046126a2565b610f05565b60405161028b9190612c05565b6102ec6104233660046126a2565b610fa6565b61043b6104363660046126a2565b610fd2565b60405161028b9190612c90565b6102a7610456366004612969565b6110a3565b6102ec6104693660046126a2565b61119b565b61034061047c366004612d11565b6111c7565b61049461048f3660046128f5565b6112b6565b005b6103406104a43660046126a2565b611389565b6102a76104b7366004612d4c565b61160a565b6102ec6104ca3660046126a2565b611669565b6102a76104dd3660046126a2565b611695565b6102ec6104f03660046126a2565b61170e565b61049461173a565b61051061050b3660046127fe565b611768565b60405161028b9190612d78565b61027761052b3660046126a2565b611889565b6102a761053e3660046126a2565b6118c2565b6105566105513660046126a2565b6118de565b6040516001600160a01b03909116815260200161028b565b61058161057c3660046126bd565b611986565b60405161028b91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105dd6105d8366004612d4c565b611a10565b60405161028b9190612dad565b6105fd6105f83660046127fe565b611b5d565b6040805192835260ff90911660208301520161028b565b6106276106223660046126a2565b611df9565b60405161028b9190612e53565b610340610642366004612d11565b611f19565b61065a6106553660046127fe565b611fcd565b60405161028b9190612fe2565b6001546001600160a01b0316610556565b6102ec6106863660046126a2565b612132565b5f5461010090046001600160a01b0316610556565b6106b36106ae3660046126a2565b61215e565b60405161028b9190613083565b6106d36106ce3660046126a2565b612287565b60405161028b9190613273565b6102ec6106ee3660046126a2565b612350565b6107066107013660046132fd565b61237c565b60405161028b9190613318565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078791906133f6565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f89190613446565b6020015192915050565b61080a61252a565b6001545f906001600160a01b03166354f6127f61082685611669565b6040518263ffffffff1660e01b815260040161084491815260200190565b5f60405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261088591908101906134fc565b8051909150156108aa57808060200190518101906108a3919061355c565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061361d565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af41580156109cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f3919061361d565b6040518263ffffffff1660e01b8152600401610a1191815260200190565b5f60405180830381865afa158015610a2b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a5291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613651565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610748565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610afa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1e9190613733565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061375d565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610bc78561170e565b6040518263ffffffff1660e01b8152600401610be591815260200190565b5f60405180830381865afa158015610bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c2691908101906134fc565b8051909150156108aa57808060200190518101906108a39190613781565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610cb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610787919061361d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610c6c565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610da1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc5919061361d565b6040518263ffffffff1660e01b8152600401610de391815260200190565b5f60405180830381865afa158015610dfd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e2491908101906134fc565b805190915015610e4a5780806020019051810190610e429190613831565b915050610787565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610e8c90869086906004016138c9565b602060405180830381865af4158015610ea7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a391906138ea565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c9c565b610f0d612634565b6001545f906001600160a01b03166354f6127f610f2985612350565b6040518263ffffffff1660e01b8152600401610f4791815260200190565b5f60405180830381865afa158015610f61573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f8891908101906134fc565b8051909150156108aa57808060200190518101906108a39190613905565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c6c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61102685612132565b6040518263ffffffff1660e01b815260040161104491815260200190565b5f60405180830381865afa15801561105e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261108591908101906134fc565b8051909150156108aa57808060200190518101906108a391906139c9565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561111a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113e919061361d565b6040518263ffffffff1660e01b815260040161115c91815260200190565b602060405180830381865afa158015611177573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c6c565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611218573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123c9190613733565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611292573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a3919061375d565b5f5460ff16156112d95760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611342573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113669190613733565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061139483611df9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156113f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611414919061375d565b1561142157505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561147c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a0919061375d565b156114ad57505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611508573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152c919061375d565b1561153957505f92915050565b61016081015161ffff161561155057505f92915050565b61156381610180015182608001516124ca565b156115715750600192915050565b6115f473__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156115bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115df9190613a6e565b826101e0015164ffffffffff90811691161090565b1561160157505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044016110ff565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c6c565b6001545f906001600160a01b03166309648a9d6116b184612350565b6040518263ffffffff1660e01b81526004016116cf91815260200190565b602060405180830381865afa1580156116ea573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613a53565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610c6c565b5f5460ff161561175d5760405163ae9eff1b60e01b815260040160405180910390fd5b611766336112b6565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156117e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061180c919061361d565b6040518263ffffffff1660e01b815260040161182a91815260200190565b5f60405180830381865afa158015611844573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261186b91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613a89565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610748565b6001545f906001600160a01b03166309648a9d6116b18461119b565b6001545f9081906001600160a01b03166354f6127f6118fc85610fa6565b6040518263ffffffff1660e01b815260040161191a91815260200190565b5f60405180830381865afa158015611934573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261195b91908101906134fc565b8051909150156108aa575f8180602001905181019061197a9190613b11565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156119ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190613446565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611abc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae0919061361d565b6040518263ffffffff1660e01b8152600401611afe91815260200190565b5f60405180830381865afa158015611b18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b3f91908101906134fc565b805190915015610e4a5780806020019051810190610e429190613be9565b5f805f611b698461092c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611bc6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bea919061375d565b15611c675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5a919061361d565b60645b9250925050915091565b611ce98160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cda9190613a6e565b64ffffffffff90811691161090565b15611d605773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d59919061361d565b606e611c5d565b806060015163ffffffff16816080015163ffffffff1610611ded5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de6919061361d565b6078611c5d565b6040810151600a611c5d565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611e9c8561119b565b6040518263ffffffff1660e01b8152600401611eba91815260200190565b5f60405180830381865afa158015611ed4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611efb91908101906134fc565b8051909150156108aa57808060200190518101906108a39190613cd2565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8e9190613733565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611277565b612025604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612091573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120b5919061361d565b6040518263ffffffff1660e01b81526004016120d391815260200190565b5f60405180830381865afa1580156120ed573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261211491908101906134fc565b8051909150156108aa57808060200190518101906108a39190613e78565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c6c565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61220a85610c44565b6040518263ffffffff1660e01b815260040161222891815260200190565b5f60405180830381865afa158015612242573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261226991908101906134fc565b8051909150156108aa57808060200190518101906108a39190613f71565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6122d385610fa6565b6040518263ffffffff1660e01b81526004016122f191815260200190565b5f60405180830381865afa15801561230b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261233291908101906134fc565b8051909150156108aa57808060200190518101906108a39190613b11565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610c6c565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061244d919061361d565b6040518263ffffffff1660e01b815260040161246b91815260200190565b5f60405180830381865afa158015612485573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124ac91908101906134fc565b8051909150156108aa57808060200190518101906108a391906140d3565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611292573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161256f60405180604001604052805f81526020015f81525090565b815260200161258f60405180604001604052805f81526020015f81525090565b81526020016125af60405180604001604052805f81526020015f81525090565b81526020016125cf60405180604001604052805f81526020015f81525090565b81526020016125ef60405180604001604052805f81526020015f81525090565b815260200161260f60405180604001604052805f81526020015f81525090565b815260200161262f60405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161266960405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b038116811461269f575f80fd5b50565b5f602082840312156126b2575f80fd5b81356108a38161268b565b5f602082840312156126cd575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612701908401826001600160601b03169052565b50604083015161271e604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610e4a565b5f80604083850312156127c7575f80fd5b8235915060208301355f81900b81146127de575f80fd5b809150509250929050565b6001600160c01b03198116811461269f575f80fd5b5f6020828403121561280e575f80fd5b81356108a3816127e9565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612876610100840182612819565b90506040840151606084015263ffffffff606085015116608084015260808401516128a960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128d88282612819565b95945050505050565b6001600160a01b038116811461269f575f80fd5b5f60208284031215612905575f80fd5b81356108a3816128e1565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261294d60a0840182612819565b905063ffffffff60608501511660808401528091505092915050565b5f806040838503121561297a575f80fd5b82356129858161268b565b9150602083013562ffffff811681146127de575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f6040830151608060608401526129d860a0840182612819565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405290565b604080519081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161012081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160e081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405160c081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161022081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161024081016001600160401b0381118282101715612a2b57612a2b6129f5565b60405161010081016001600160401b0381118282101715612a2b57612a2b6129f5565b604051601f8201601f191681016001600160401b0381118282101715612b4b57612b4b6129f5565b604052919050565b5f6001600160401b03821115612b6b57612b6b6129f5565b50601f01601f191660200190565b5f8060408385031215612b8a575f80fd5b8235612b958161268b565b915060208301356001600160401b03811115612baf575f80fd5b8301601f81018513612bbf575f80fd5b8035612bd2612bcd82612b53565b612b23565b818152866020838501011115612be6575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c36604084018280518252602090810151910152565b50604083015160e06080840152612c51610100840182612819565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160401b0383511682526001600160601b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612ce2608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b038116811461269f575f80fd5b5f8060408385031215612d22575f80fd5b8235612d2d816128e1565b915060208301356127de81612cfd565b61ffff8116811461269f575f80fd5b5f8060408385031215612d5d575f80fd5b8235612d688161268b565b915060208301356127de81612d3d565b602081526001600160601b0382511660208201525f6020830151604080840152612da56060840182612819565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612de9606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e13610100840182612819565b905060a0840151601f198483030160c0850152612e308282612819565b91505060c0840151612e4b60e085018264ffffffffff169052565b509392505050565b60208152612e6d6020820183516001600160601b03169052565b5f6020830151612e8860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612f25610240840182612819565b9050610120840151601f1984830301610140850152612f448282612819565b915050610140840151612f5e61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612e4b565b602081525f82516101206020840152612fff610140840182612819565b9050602084015160408401526040840151606084015260608401516080840152608084015161303660a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128d88282612819565b81516001600160601b03168152610240810160208301516130af60208401826001600160601b03169052565b5060408301516130ca60408401826001600160601b03169052565b5060608301516130e560608401826001600160601b03169052565b50608083015161310060808401826001600160601b03169052565b5060a083015161311b60a08401826001600160601b03169052565b5060c083015161313660c08401826001600160601b03169052565b5060e083015161315160e08401826001600160601b03169052565b5061010083015161316e6101008401826001600160601b03169052565b5061012083015161318b6101208401826001600160601b03169052565b506101408301516131a86101408401826001600160601b03169052565b506101608301516131c56101608401826001600160601b03169052565b506101808301516131e26101808401826001600160601b03169052565b506101a08301516131ff6101a08401826001600160601b03169052565b506101c083015161321c6101c08401826001600160601b03169052565b506101e08301516132396101e08401826001600160601b03169052565b506102008301516132566102008401826001600160601b03169052565b50610220830151610e4a6102208401826001600160601b03169052565b602081525f825160c0602084015261328e60e0840182612819565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516132e160a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128d88282612819565b5f6020828403121561330d575f80fd5b81356108a381612cfd565b602081526133326020820183516001600160601b03169052565b5f6020830151610100604084015261334e610120840182612819565b9050604084015161336a60608501826001600160601b03169052565b506060840151838203601f190160808501526133868282612819565b9150506080840151601f198483030160a08501526133a48282612819565b91505060a08401516133bf60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612e4b565b80516133f18161268b565b919050565b5f60208284031215613406575f80fd5b81516108a38161268b565b60ff8116811461269f575f80fd5b80516133f181613411565b63ffffffff8116811461269f575f80fd5b80516133f18161342a565b5f6080828403128015613457575f80fd5b50613460612a09565b825161346b81613411565b8152602083015161347b81613411565b6020820152604083015161348e8161342a565b604082015260608301516134a18161342a565b60608201529392505050565b5f82601f8301126134bc575f80fd5b8151602083015f6134cf612bcd84612b53565b90508281528583830111156134e2575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561350c575f80fd5b81516001600160401b03811115613521575f80fd5b612da5848285016134ad565b5f6040828403121561353d575f80fd5b613545612a31565b825181526020928301519281019290925250919050565b5f61020082840312801561356e575f80fd5b50613577612a53565b613580836133e6565b815261358e602084016133e6565b60208201526135a0846040850161352d565b60408201526135b2846080850161352d565b60608201526135c48460c0850161352d565b60808201526135d784610100850161352d565b60a08201526135ea84610140850161352d565b60c08201526135fd84610180850161352d565b60e0820152613610846101c0850161352d565b6101008201529392505050565b5f6020828403121561362d575f80fd5b5051919050565b64ffffffffff8116811461269f575f80fd5b80516133f181613634565b5f60208284031215613661575f80fd5b81516001600160401b03811115613676575f80fd5b820160e08185031215613687575f80fd5b61368f612a76565b613698826133e6565b815260208201516001600160401b038111156136b2575f80fd5b6136be868285016134ad565b602083015250604082810151908201526136da6060830161343b565b60608201526136eb6080830161343b565b60808201526136fc60a08301613646565b60a082015260c08201516001600160401b03811115613719575f80fd5b613725868285016134ad565b60c083015250949350505050565b5f60208284031215613743575f80fd5b81516108a3816128e1565b805180151581146133f1575f80fd5b5f6020828403121561376d575f80fd5b6108a38261374e565b80516133f1816127e9565b5f60208284031215613791575f80fd5b81516001600160401b038111156137a6575f80fd5b8201608081850312156137b7575f80fd5b6137bf612a09565b81516137ca816127e9565b81526137d86020830161374e565b602082015260408201516001600160401b038111156137f5575f80fd5b613801868285016134ad565b604083015250606082015191506138178261342a565b60608101919091529392505050565b80516133f181612d3d565b5f60208284031215613841575f80fd5b81516001600160401b03811115613856575f80fd5b820160808185031215613867575f80fd5b61386f612a09565b815161387a81612d3d565b8152602082015161388a8161268b565b602082015260408201516001600160401b038111156138a7575f80fd5b6138b3868285016134ad565b6040830152506060820151915061381782613634565b6001600160601b0383168152604060208201525f612da56040830184612819565b5f602082840312156138fa575f80fd5b81516108a3816127e9565b5f60208284031215613915575f80fd5b81516001600160401b0381111561392a575f80fd5b820160e0818503121561393b575f80fd5b613943612a98565b815161394e8161268b565b815261395d856020840161352d565b602082015260608201516001600160401b0381111561397a575f80fd5b613986868285016134ad565b604083015250608082015161399a81613634565b60608201526139ab60a08301613646565b60808201526139bc60c08301613646565b60a0820152949350505050565b5f60e08284031280156139da575f80fd5b506139e3612a76565b82516139ee81612cfd565b815260208301516139fe8161268b565b6020820152613a0f6040840161374e565b6040820152613a206060840161374e565b6060820152613a316080840161374e565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613a63575f80fd5b81516108a381613411565b5f60208284031215613a7e575f80fd5b81516108a381613634565b5f60208284031215613a99575f80fd5b81516001600160401b03811115613aae575f80fd5b820160408185031215613abf575f80fd5b613ac7612a31565b8151613ad28161268b565b815260208201516001600160401b03811115613aec575f80fd5b613af8868285016134ad565b602083015250949350505050565b80516133f1816128e1565b5f60208284031215613b21575f80fd5b81516001600160401b03811115613b36575f80fd5b820160c08185031215613b47575f80fd5b613b4f612a98565b81516001600160401b03811115613b64575f80fd5b613b70868285016134ad565b825250613b7f602083016133e6565b6020820152613b9060408301613b06565b6040820152613ba160608301613b06565b6060820152613bb260808301613b06565b608082015260a08201516001600160401b03811115613bcf575f80fd5b613bdb868285016134ad565b60a083015250949350505050565b5f60208284031215613bf9575f80fd5b81516001600160401b03811115613c0e575f80fd5b820160e08185031215613c1f575f80fd5b613c27612a76565b613c30826133e6565b8152613c3e602083016133e6565b6020820152613c4f6040830161341f565b6040820152613c606060830161341f565b606082015260808201516001600160401b03811115613c7d575f80fd5b613c89868285016134ad565b60808301525060a08201516001600160401b03811115613ca7575f80fd5b613cb3868285016134ad565b60a083015250613cc560c08301613646565b60c0820152949350505050565b5f60208284031215613ce2575f80fd5b81516001600160401b03811115613cf7575f80fd5b82016102208185031215613d09575f80fd5b613d11612aba565b613d1a826133e6565b8152613d28602083016133e6565b6020820152613d3960408301613776565b6040820152613d4a60608301613776565b6060820152613d5b608083016133e6565b6080820152613d6c60a083016133e6565b60a0820152613d7d60c083016133e6565b60c0820152613d8e60e08301613646565b60e08201526101008201516001600160401b03811115613dac575f80fd5b613db8868285016134ad565b610100830152506101208201516001600160401b03811115613dd8575f80fd5b613de4868285016134ad565b61012083015250613df86101408301613826565b610140820152613e0b6101608301613826565b610160820152613e1e61018083016133e6565b610180820152613e316101a083016133e6565b6101a0820152613e446101c08301613646565b6101c0820152613e576101e08301613646565b6101e0820152613e6a6102008301613646565b610200820152949350505050565b5f60208284031215613e88575f80fd5b81516001600160401b03811115613e9d575f80fd5b82016101208185031215613eaf575f80fd5b613eb7612a53565b81516001600160401b03811115613ecc575f80fd5b613ed8868285016134ad565b825250602082810151908201526040808301519082015260608083015190820152613f056080830161343b565b6080820152613f1660a0830161343b565b60a0820152613f2760c0830161374e565b60c0820152613f3860e0830161374e565b60e08201526101008201516001600160401b03811115613f56575f80fd5b613f62868285016134ad565b61010083015250949350505050565b5f610240828403128015613f83575f80fd5b50613f8c612add565b613f95836133e6565b8152613fa3602084016133e6565b6020820152613fb4604084016133e6565b6040820152613fc5606084016133e6565b6060820152613fd6608084016133e6565b6080820152613fe760a084016133e6565b60a0820152613ff860c084016133e6565b60c082015261400960e084016133e6565b60e082015261401b61010084016133e6565b61010082015261402e61012084016133e6565b61012082015261404161014084016133e6565b61014082015261405461016084016133e6565b61016082015261406761018084016133e6565b61018082015261407a6101a084016133e6565b6101a082015261408d6101c084016133e6565b6101c08201526140a06101e084016133e6565b6101e08201526140b361020084016133e6565b6102008201526140c661022084016133e6565b6102208201529392505050565b5f602082840312156140e3575f80fd5b81516001600160401b038111156140f8575f80fd5b8201610100818503121561410a575f80fd5b614112612b00565b61411b826133e6565b815260208201516001600160401b03811115614135575f80fd5b614141868285016134ad565b602083015250614153604083016133e6565b604082015260608201516001600160401b03811115614170575f80fd5b61417c868285016134ad565b60608301525060808201516001600160401b0381111561419a575f80fd5b6141a6868285016134ad565b6080830152506141b860a08301613646565b60a08201526141c960c08301613646565b60c08201526141da60e0830161374e565b60e082015294935050505056fea264697066735822122079743ca016140daf95631ccd3b33cff353ca3123d0cc096dbfaccfbcc565b29664736f6c634300081a0033",
1277
1515
  "linkReferences": {
1278
1516
  "contracts/type/Amount.sol": {
1279
1517
  "AmountLib": [
1280
1518
  {
1281
1519
  "length": 20,
1282
- "start": 8042
1520
+ "start": 9495
1283
1521
  }
1284
1522
  ]
1285
1523
  },
@@ -1287,11 +1525,11 @@
1287
1525
  "ClaimIdLib": [
1288
1526
  {
1289
1527
  "length": 20,
1290
- "start": 4211
1528
+ "start": 5740
1291
1529
  },
1292
1530
  {
1293
1531
  "length": 20,
1294
- "start": 5521
1532
+ "start": 6825
1295
1533
  }
1296
1534
  ]
1297
1535
  },
@@ -1299,7 +1537,7 @@
1299
1537
  "DistributorTypeLib": [
1300
1538
  {
1301
1539
  "length": 20,
1302
- "start": 7147
1540
+ "start": 8318
1303
1541
  }
1304
1542
  ]
1305
1543
  },
@@ -1307,35 +1545,39 @@
1307
1545
  "NftIdLib": [
1308
1546
  {
1309
1547
  "length": 20,
1310
- "start": 2111
1548
+ "start": 3180
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 3331
1311
1553
  },
1312
1554
  {
1313
1555
  "length": 20,
1314
- "start": 2467
1556
+ "start": 4046
1315
1557
  },
1316
1558
  {
1317
1559
  "length": 20,
1318
- "start": 3453
1560
+ "start": 4547
1319
1561
  },
1320
1562
  {
1321
1563
  "length": 20,
1322
- "start": 3542
1564
+ "start": 5085
1323
1565
  },
1324
1566
  {
1325
1567
  "length": 20,
1326
- "start": 4249
1568
+ "start": 5777
1327
1569
  },
1328
1570
  {
1329
1571
  "length": 20,
1330
- "start": 4294
1572
+ "start": 5942
1331
1573
  },
1332
1574
  {
1333
1575
  "length": 20,
1334
- "start": 7374
1576
+ "start": 8538
1335
1577
  },
1336
1578
  {
1337
1579
  "length": 20,
1338
- "start": 7960
1580
+ "start": 9080
1339
1581
  }
1340
1582
  ]
1341
1583
  },
@@ -1343,11 +1585,11 @@
1343
1585
  "PayoutIdLib": [
1344
1586
  {
1345
1587
  "length": 20,
1346
- "start": 2608
1588
+ "start": 3470
1347
1589
  },
1348
1590
  {
1349
1591
  "length": 20,
1350
- "start": 3259
1592
+ "start": 4358
1351
1593
  }
1352
1594
  ]
1353
1595
  },
@@ -1355,11 +1597,19 @@
1355
1597
  "ReferralLib": [
1356
1598
  {
1357
1599
  "length": 20,
1358
- "start": 1871
1600
+ "start": 2492
1359
1601
  },
1360
1602
  {
1361
1603
  "length": 20,
1362
- "start": 2864
1604
+ "start": 3719
1605
+ }
1606
+ ]
1607
+ },
1608
+ "contracts/type/RequestId.sol": {
1609
+ "RequestIdLib": [
1610
+ {
1611
+ "length": 20,
1612
+ "start": 9238
1363
1613
  }
1364
1614
  ]
1365
1615
  },
@@ -1367,7 +1617,7 @@
1367
1617
  "RiskIdLib": [
1368
1618
  {
1369
1619
  "length": 20,
1370
- "start": 4409
1620
+ "start": 6101
1371
1621
  }
1372
1622
  ]
1373
1623
  },
@@ -1375,23 +1625,23 @@
1375
1625
  "TimestampLib": [
1376
1626
  {
1377
1627
  "length": 20,
1378
- "start": 3685
1628
+ "start": 5225
1379
1629
  },
1380
1630
  {
1381
1631
  "length": 20,
1382
- "start": 3828
1632
+ "start": 5365
1383
1633
  },
1384
1634
  {
1385
1635
  "length": 20,
1386
- "start": 3998
1636
+ "start": 5531
1387
1637
  },
1388
1638
  {
1389
1639
  "length": 20,
1390
- "start": 5795
1640
+ "start": 7091
1391
1641
  },
1392
1642
  {
1393
1643
  "length": 20,
1394
- "start": 6026
1644
+ "start": 7318
1395
1645
  }
1396
1646
  ]
1397
1647
  },
@@ -1399,23 +1649,23 @@
1399
1649
  "UFixedLib": [
1400
1650
  {
1401
1651
  "length": 20,
1402
- "start": 1659
1652
+ "start": 2293
1403
1653
  },
1404
1654
  {
1405
1655
  "length": 20,
1406
- "start": 2996
1656
+ "start": 3848
1407
1657
  },
1408
1658
  {
1409
1659
  "length": 20,
1410
- "start": 5896
1660
+ "start": 7190
1411
1661
  },
1412
1662
  {
1413
1663
  "length": 20,
1414
- "start": 6155
1664
+ "start": 7445
1415
1665
  },
1416
1666
  {
1417
1667
  "length": 20,
1418
- "start": 6298
1668
+ "start": 7586
1419
1669
  }
1420
1670
  ]
1421
1671
  }
@@ -1425,7 +1675,7 @@
1425
1675
  "AmountLib": [
1426
1676
  {
1427
1677
  "length": 20,
1428
- "start": 8010
1678
+ "start": 9458
1429
1679
  }
1430
1680
  ]
1431
1681
  },
@@ -1433,11 +1683,11 @@
1433
1683
  "ClaimIdLib": [
1434
1684
  {
1435
1685
  "length": 20,
1436
- "start": 4179
1686
+ "start": 5703
1437
1687
  },
1438
1688
  {
1439
1689
  "length": 20,
1440
- "start": 5489
1690
+ "start": 6788
1441
1691
  }
1442
1692
  ]
1443
1693
  },
@@ -1445,7 +1695,7 @@
1445
1695
  "DistributorTypeLib": [
1446
1696
  {
1447
1697
  "length": 20,
1448
- "start": 7115
1698
+ "start": 8281
1449
1699
  }
1450
1700
  ]
1451
1701
  },
@@ -1453,35 +1703,39 @@
1453
1703
  "NftIdLib": [
1454
1704
  {
1455
1705
  "length": 20,
1456
- "start": 2079
1706
+ "start": 3143
1457
1707
  },
1458
1708
  {
1459
1709
  "length": 20,
1460
- "start": 2435
1710
+ "start": 3294
1461
1711
  },
1462
1712
  {
1463
1713
  "length": 20,
1464
- "start": 3421
1714
+ "start": 4009
1465
1715
  },
1466
1716
  {
1467
1717
  "length": 20,
1468
- "start": 3510
1718
+ "start": 4510
1469
1719
  },
1470
1720
  {
1471
1721
  "length": 20,
1472
- "start": 4217
1722
+ "start": 5048
1473
1723
  },
1474
1724
  {
1475
1725
  "length": 20,
1476
- "start": 4262
1726
+ "start": 5740
1477
1727
  },
1478
1728
  {
1479
1729
  "length": 20,
1480
- "start": 7342
1730
+ "start": 5905
1481
1731
  },
1482
1732
  {
1483
1733
  "length": 20,
1484
- "start": 7928
1734
+ "start": 8501
1735
+ },
1736
+ {
1737
+ "length": 20,
1738
+ "start": 9043
1485
1739
  }
1486
1740
  ]
1487
1741
  },
@@ -1489,11 +1743,11 @@
1489
1743
  "PayoutIdLib": [
1490
1744
  {
1491
1745
  "length": 20,
1492
- "start": 2576
1746
+ "start": 3433
1493
1747
  },
1494
1748
  {
1495
1749
  "length": 20,
1496
- "start": 3227
1750
+ "start": 4321
1497
1751
  }
1498
1752
  ]
1499
1753
  },
@@ -1501,11 +1755,19 @@
1501
1755
  "ReferralLib": [
1502
1756
  {
1503
1757
  "length": 20,
1504
- "start": 1839
1758
+ "start": 2455
1505
1759
  },
1506
1760
  {
1507
1761
  "length": 20,
1508
- "start": 2832
1762
+ "start": 3682
1763
+ }
1764
+ ]
1765
+ },
1766
+ "contracts/type/RequestId.sol": {
1767
+ "RequestIdLib": [
1768
+ {
1769
+ "length": 20,
1770
+ "start": 9201
1509
1771
  }
1510
1772
  ]
1511
1773
  },
@@ -1513,7 +1775,7 @@
1513
1775
  "RiskIdLib": [
1514
1776
  {
1515
1777
  "length": 20,
1516
- "start": 4377
1778
+ "start": 6064
1517
1779
  }
1518
1780
  ]
1519
1781
  },
@@ -1521,23 +1783,23 @@
1521
1783
  "TimestampLib": [
1522
1784
  {
1523
1785
  "length": 20,
1524
- "start": 3653
1786
+ "start": 5188
1525
1787
  },
1526
1788
  {
1527
1789
  "length": 20,
1528
- "start": 3796
1790
+ "start": 5328
1529
1791
  },
1530
1792
  {
1531
1793
  "length": 20,
1532
- "start": 3966
1794
+ "start": 5494
1533
1795
  },
1534
1796
  {
1535
1797
  "length": 20,
1536
- "start": 5763
1798
+ "start": 7054
1537
1799
  },
1538
1800
  {
1539
1801
  "length": 20,
1540
- "start": 5994
1802
+ "start": 7281
1541
1803
  }
1542
1804
  ]
1543
1805
  },
@@ -1545,23 +1807,23 @@
1545
1807
  "UFixedLib": [
1546
1808
  {
1547
1809
  "length": 20,
1548
- "start": 1627
1810
+ "start": 2256
1549
1811
  },
1550
1812
  {
1551
1813
  "length": 20,
1552
- "start": 2964
1814
+ "start": 3811
1553
1815
  },
1554
1816
  {
1555
1817
  "length": 20,
1556
- "start": 5864
1818
+ "start": 7153
1557
1819
  },
1558
1820
  {
1559
1821
  "length": 20,
1560
- "start": 6123
1822
+ "start": 7408
1561
1823
  },
1562
1824
  {
1563
1825
  "length": 20,
1564
- "start": 6266
1826
+ "start": 7549
1565
1827
  }
1566
1828
  ]
1567
1829
  }