@etherisc/gif-next 0.0.2-d16f92c-416 → 0.0.2-d18e1c5-511

Sign up to get free protection for your applications and to get access to all the features.
Files changed (642) hide show
  1. package/README.md +130 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{shared → authorization}/IAccessAdmin.sol/IAccessAdmin.json +525 -342
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +139 -616
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +754 -323
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +228 -124
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +145 -282
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +535 -78
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1474 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  53. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  54. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  55. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  56. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +805 -0
  58. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  60. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  64. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +805 -0
  66. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  67. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  68. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  69. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  72. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  73. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  74. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  75. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  78. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  81. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  82. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  83. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  84. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  85. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +59 -195
  86. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  88. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  90. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  91. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +580 -80
  92. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +398 -75
  94. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  95. package/artifacts/contracts/instance/Instance.sol/Instance.json +590 -218
  96. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  97. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1889 -313
  98. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  99. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -0
  100. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  101. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1760 -840
  102. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +392 -274
  104. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +141 -127
  106. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  107. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1298 -1857
  108. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  109. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  110. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  111. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  112. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  114. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  116. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  117. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  118. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  119. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  120. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  121. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  122. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  123. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  125. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  126. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  127. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  128. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  129. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  130. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  131. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  132. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +805 -0
  134. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  135. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
  136. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  137. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +142 -139
  138. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  139. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  140. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  141. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +140 -423
  142. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  143. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  144. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +177 -97
  146. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  147. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1232 -0
  148. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  149. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  150. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  151. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +569 -265
  152. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +216 -104
  154. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  155. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +383 -53
  156. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  157. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +147 -406
  158. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  159. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
  160. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  161. package/artifacts/contracts/pool/Pool.sol/Pool.json +144 -694
  162. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  163. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  164. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  165. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
  166. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  167. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +230 -106
  168. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  169. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  170. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +159 -99
  172. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  173. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1149 -0
  174. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  175. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  176. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  177. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  178. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  179. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +187 -123
  180. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  181. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  182. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  183. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  184. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  185. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +417 -101
  186. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  187. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  188. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  189. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +282 -271
  190. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  191. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  192. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  193. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +532 -311
  194. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  195. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  196. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  197. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +196 -108
  198. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  199. package/artifacts/contracts/product/PricingService.sol/PricingService.json +249 -329
  200. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +165 -137
  202. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  203. package/artifacts/contracts/product/Product.sol/Product.json +316 -606
  204. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  205. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  206. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  207. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  208. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  210. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +384 -69
  212. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  213. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +97 -148
  214. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  215. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  216. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  217. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  218. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  219. package/artifacts/contracts/registry/Registry.sol/Registry.json +617 -133
  220. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +796 -537
  222. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  223. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  224. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  225. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  226. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  227. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +141 -89
  228. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  229. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  230. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  231. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  232. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  233. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  234. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  235. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +523 -27
  236. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  237. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  238. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Component.sol/Component.json +86 -287
  240. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  241. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +609 -569
  242. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  243. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +197 -131
  244. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  246. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  247. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  248. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  249. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  250. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  251. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  252. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -103
  254. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  255. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +535 -240
  256. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +131 -139
  258. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  259. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  260. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  262. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  264. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  266. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  268. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  269. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  270. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  271. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  272. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +125 -376
  273. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  274. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  275. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  276. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  277. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  278. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  279. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  280. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  281. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  282. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  283. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  284. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  285. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  286. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  287. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  288. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  289. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  290. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  291. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  292. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  293. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  294. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1513 -204
  295. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  296. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  297. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  298. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  299. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  300. package/artifacts/contracts/staking/Staking.sol/Staking.json +1635 -465
  301. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  302. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  303. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  304. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +191 -105
  305. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  306. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  307. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  308. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  309. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  310. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +144 -96
  311. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  312. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1637 -801
  313. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  314. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  315. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  316. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +184 -76
  317. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  318. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  319. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
  321. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  323. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  325. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  327. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  329. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  331. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  333. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  334. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  335. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  337. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  338. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  339. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +61 -9
  341. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  343. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  345. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  347. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.dbg.json +4 -0
  348. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.json +33 -0
  349. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  351. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  352. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -91
  353. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  354. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +112 -2
  355. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  356. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  357. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  358. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  359. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  360. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  361. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  362. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  363. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  364. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +56 -5
  365. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  366. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  367. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  368. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  369. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  370. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  371. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  372. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  373. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  374. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  375. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  376. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  377. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  378. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  379. package/contracts/accounting/AccountingService.sol +274 -0
  380. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  381. package/contracts/accounting/IAccountingService.sol +47 -0
  382. package/contracts/authorization/AccessAdmin.sol +780 -0
  383. package/contracts/authorization/AccessAdminLib.sol +396 -0
  384. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  385. package/contracts/authorization/Authorization.sol +169 -0
  386. package/contracts/authorization/IAccess.sol +67 -0
  387. package/contracts/authorization/IAccessAdmin.sol +144 -0
  388. package/contracts/authorization/IAuthorization.sol +26 -0
  389. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  390. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  391. package/contracts/distribution/BasicDistribution.sol +140 -0
  392. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  393. package/contracts/distribution/Distribution.sol +125 -141
  394. package/contracts/distribution/DistributionService.sol +284 -133
  395. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  396. package/contracts/distribution/IDistributionComponent.sol +21 -42
  397. package/contracts/distribution/IDistributionService.sol +60 -26
  398. package/contracts/examples/fire/DamageLevel.sol +59 -0
  399. package/contracts/examples/fire/FirePool.sol +86 -0
  400. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  401. package/contracts/examples/fire/FireProduct.sol +433 -0
  402. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  403. package/contracts/examples/fire/FireUSD.sol +26 -0
  404. package/contracts/examples/flight/FlightLib.sol +279 -0
  405. package/contracts/examples/flight/FlightOracle.sol +167 -0
  406. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  407. package/contracts/examples/flight/FlightPool.sol +89 -0
  408. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  409. package/contracts/examples/flight/FlightProduct.sol +470 -0
  410. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  411. package/contracts/examples/flight/FlightUSD.sol +26 -0
  412. package/contracts/examples/flight/originalV1.sol +396 -0
  413. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  414. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  415. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  416. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  417. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  418. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  419. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  420. package/contracts/instance/BaseStore.sol +93 -0
  421. package/contracts/instance/BundleSet.sol +130 -0
  422. package/contracts/instance/IBaseStore.sol +37 -0
  423. package/contracts/instance/IInstance.sol +118 -49
  424. package/contracts/instance/IInstanceService.sol +68 -46
  425. package/contracts/instance/Instance.sol +221 -133
  426. package/contracts/instance/InstanceAdmin.sol +297 -249
  427. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  428. package/contracts/instance/InstanceReader.sol +498 -256
  429. package/contracts/instance/InstanceService.sol +340 -265
  430. package/contracts/instance/InstanceServiceManager.sol +8 -13
  431. package/contracts/instance/InstanceStore.sol +163 -109
  432. package/contracts/instance/ProductStore.sol +290 -0
  433. package/contracts/instance/RiskSet.sol +126 -0
  434. package/contracts/instance/TargetNames.sol +10 -0
  435. package/contracts/instance/base/BalanceStore.sol +4 -6
  436. package/contracts/instance/base/ObjectCounter.sol +1 -2
  437. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  438. package/contracts/instance/base/ObjectSet.sol +77 -0
  439. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  440. package/contracts/instance/module/IBundle.sol +6 -5
  441. package/contracts/instance/module/IComponents.sol +29 -21
  442. package/contracts/instance/module/IDistribution.sol +21 -9
  443. package/contracts/instance/module/IPolicy.sol +50 -29
  444. package/contracts/instance/module/IRisk.sol +5 -0
  445. package/contracts/mock/Dip.sol +1 -1
  446. package/contracts/oracle/BasicOracle.sol +44 -0
  447. package/contracts/oracle/BasicOracleAuthorization.sol +52 -0
  448. package/contracts/oracle/IOracle.sol +25 -4
  449. package/contracts/oracle/IOracleComponent.sol +2 -1
  450. package/contracts/oracle/IOracleService.sol +14 -13
  451. package/contracts/oracle/Oracle.sol +60 -53
  452. package/contracts/oracle/OracleService.sol +119 -87
  453. package/contracts/oracle/OracleServiceManager.sol +8 -11
  454. package/contracts/pool/BasicPool.sol +161 -0
  455. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  456. package/contracts/pool/BundleService.sol +222 -132
  457. package/contracts/pool/BundleServiceManager.sol +8 -11
  458. package/contracts/pool/IBundleService.sol +43 -33
  459. package/contracts/pool/IPoolComponent.sol +20 -70
  460. package/contracts/pool/IPoolService.sol +97 -77
  461. package/contracts/pool/Pool.sol +196 -164
  462. package/contracts/pool/PoolLib.sol +341 -0
  463. package/contracts/pool/PoolService.sol +419 -257
  464. package/contracts/pool/PoolServiceManager.sol +6 -9
  465. package/contracts/product/ApplicationService.sol +154 -81
  466. package/contracts/product/ApplicationServiceManager.sol +6 -6
  467. package/contracts/product/BasicProduct.sol +48 -0
  468. package/contracts/product/BasicProductAuthorization.sol +64 -0
  469. package/contracts/product/ClaimService.sol +391 -207
  470. package/contracts/product/ClaimServiceManager.sol +6 -6
  471. package/contracts/product/IApplicationService.sol +29 -3
  472. package/contracts/product/IClaimService.sol +48 -11
  473. package/contracts/product/IPolicyService.sol +61 -37
  474. package/contracts/product/IPricingService.sol +11 -10
  475. package/contracts/product/IProductComponent.sol +29 -9
  476. package/contracts/product/IRiskService.sol +48 -0
  477. package/contracts/product/PolicyService.sol +445 -275
  478. package/contracts/product/PolicyServiceLib.sol +139 -0
  479. package/contracts/product/PolicyServiceManager.sol +6 -9
  480. package/contracts/product/PricingService.sol +90 -84
  481. package/contracts/product/PricingServiceManager.sol +6 -9
  482. package/contracts/product/Product.sol +261 -147
  483. package/contracts/product/RiskService.sol +189 -0
  484. package/contracts/product/RiskServiceManager.sol +39 -0
  485. package/contracts/registry/ChainNft.sol +72 -40
  486. package/contracts/registry/IRegistry.sol +84 -36
  487. package/contracts/registry/IRegistryService.sol +3 -10
  488. package/contracts/registry/IRelease.sol +29 -0
  489. package/contracts/registry/ITransferInterceptor.sol +1 -2
  490. package/contracts/registry/Registry.sol +378 -224
  491. package/contracts/registry/RegistryAdmin.sol +119 -261
  492. package/contracts/registry/RegistryAuthorization.sol +336 -0
  493. package/contracts/registry/RegistryService.sol +42 -67
  494. package/contracts/registry/RegistryServiceManager.sol +5 -5
  495. package/contracts/registry/ReleaseAdmin.sol +195 -0
  496. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  497. package/contracts/registry/ReleaseRegistry.sol +525 -0
  498. package/contracts/registry/ServiceAuthorizationV3.sol +213 -71
  499. package/contracts/registry/TokenRegistry.sol +61 -59
  500. package/contracts/shared/Component.sol +71 -142
  501. package/contracts/shared/ComponentService.sol +459 -385
  502. package/contracts/shared/ComponentServiceManager.sol +10 -7
  503. package/contracts/shared/ContractLib.sol +312 -0
  504. package/contracts/shared/IComponent.sol +6 -18
  505. package/contracts/shared/IComponentService.sol +50 -41
  506. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  507. package/contracts/shared/ILifecycle.sol +3 -2
  508. package/contracts/shared/INftOwnable.sol +4 -0
  509. package/contracts/shared/IPolicyHolder.sol +12 -22
  510. package/contracts/shared/IRegisterable.sol +22 -1
  511. package/contracts/shared/IService.sol +4 -6
  512. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  513. package/contracts/shared/InstanceLinkedComponent.sol +145 -57
  514. package/contracts/shared/Lifecycle.sol +30 -72
  515. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  516. package/contracts/shared/NftOwnable.sol +33 -11
  517. package/contracts/shared/PolicyHolder.sol +20 -59
  518. package/contracts/shared/Registerable.sol +52 -21
  519. package/contracts/shared/RegistryLinked.sol +9 -14
  520. package/contracts/shared/Service.sol +22 -38
  521. package/contracts/shared/TokenHandler.sol +310 -26
  522. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  523. package/contracts/staking/IStaking.sol +272 -73
  524. package/contracts/staking/IStakingService.sol +48 -74
  525. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  526. package/contracts/staking/Staking.sol +534 -250
  527. package/contracts/staking/StakingLib.sol +195 -0
  528. package/contracts/staking/StakingManager.sol +14 -15
  529. package/contracts/staking/StakingReader.sol +72 -88
  530. package/contracts/staking/StakingService.sol +62 -152
  531. package/contracts/staking/StakingServiceManager.sol +9 -7
  532. package/contracts/staking/StakingStore.sol +1096 -341
  533. package/contracts/staking/TargetHandler.sol +132 -0
  534. package/contracts/staking/TargetManagerLib.sol +73 -46
  535. package/contracts/type/Amount.sol +31 -5
  536. package/contracts/type/Blocknumber.sol +22 -16
  537. package/contracts/type/ChainId.sol +101 -0
  538. package/contracts/type/ClaimId.sol +6 -1
  539. package/contracts/type/Fee.sol +8 -8
  540. package/contracts/type/Key32.sol +2 -2
  541. package/contracts/type/Key32Set.sol +62 -0
  542. package/contracts/type/NftId.sol +7 -0
  543. package/contracts/type/ObjectType.sol +91 -54
  544. package/contracts/type/PayoutId.sol +10 -10
  545. package/contracts/type/Referral.sol +7 -0
  546. package/contracts/type/RequestIdSet.sol +62 -0
  547. package/contracts/type/RiskId.sol +38 -6
  548. package/contracts/type/RoleId.sol +93 -114
  549. package/contracts/type/Seconds.sol +44 -1
  550. package/contracts/type/Selector.sol +5 -0
  551. package/contracts/type/StateId.sol +15 -1
  552. package/contracts/type/String.sol +42 -0
  553. package/contracts/type/Timestamp.sol +24 -8
  554. package/contracts/type/UFixed.sol +62 -125
  555. package/contracts/type/Version.sol +57 -6
  556. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  557. package/contracts/{shared → upgradeability}/ProxyManager.sol +96 -49
  558. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  559. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  560. package/package.json +9 -6
  561. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  562. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -709
  563. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  564. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  565. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -187
  567. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  568. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  569. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  570. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  571. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  572. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  573. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  575. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +0 -4
  576. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +0 -129
  577. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  578. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1218
  579. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +0 -4
  580. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +0 -171
  581. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +0 -4
  582. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +0 -1559
  583. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  584. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  585. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  586. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1747
  587. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  588. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1760
  589. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  590. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1838
  591. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  592. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1856
  593. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  594. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  595. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  596. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +0 -4
  597. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  598. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  599. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  600. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  601. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  602. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  603. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  604. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  605. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  606. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -571
  607. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  608. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  609. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  610. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  611. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  612. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  613. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  614. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  615. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  616. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  617. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  618. package/contracts/instance/BundleManager.sol +0 -126
  619. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
  620. package/contracts/instance/base/ObjectManager.sol +0 -80
  621. package/contracts/instance/module/IAccess.sol +0 -46
  622. package/contracts/product/IProductService.sol +0 -33
  623. package/contracts/product/ProductService.sol +0 -124
  624. package/contracts/product/ProductServiceManager.sol +0 -42
  625. package/contracts/registry/IServiceAuthorization.sol +0 -35
  626. package/contracts/registry/ReleaseManager.sol +0 -527
  627. package/contracts/registry/ServiceAuthorization.sol +0 -86
  628. package/contracts/shared/AccessAdmin.sol +0 -759
  629. package/contracts/shared/AccessManagerCustom.sol +0 -741
  630. package/contracts/shared/AccessManagerExtended.sol +0 -481
  631. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  632. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  633. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  634. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  635. package/contracts/shared/IAccessAdmin.sol +0 -168
  636. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  637. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  638. package/contracts/shared/IKeyValueStore.sol +0 -53
  639. package/contracts/shared/InitializableCustom.sol +0 -177
  640. package/contracts/shared/KeyValueStore.sol +0 -127
  641. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  642. package/contracts/staking/StakeManagerLib.sol +0 -231
@@ -0,0 +1,1198 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "FlightOracle",
4
+ "sourceName": "contracts/examples/flight/FlightOracle.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "productNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "contract IAuthorization",
20
+ "name": "authorization",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "initialOwner",
26
+ "type": "address"
27
+ }
28
+ ],
29
+ "stateMutability": "nonpayable",
30
+ "type": "constructor"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "address",
36
+ "name": "authority",
37
+ "type": "address"
38
+ }
39
+ ],
40
+ "name": "AccessManagedInvalidAuthority",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "caller",
48
+ "type": "address"
49
+ },
50
+ {
51
+ "internalType": "uint32",
52
+ "name": "delay",
53
+ "type": "uint32"
54
+ }
55
+ ],
56
+ "name": "AccessManagedRequiredDelay",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "caller",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "AccessManagedUnauthorized",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "authority",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "ErrorAuthorityInvalid",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorComponentNameLengthZero",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "caller",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentNotChainNft",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "ErrorComponentProductNftIdNonzero",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorComponentProductNftIdZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorComponentWalletAddressZero",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ErrorComponentWalletNotComponent",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "ErrorNftOwnableAlreadyLinked",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "address",
169
+ "name": "contractAddress",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "name": "ErrorNftOwnableContractNotRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "ErrorNftOwnableInitialOwnerZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "account",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorNftOwnableNotOwner",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "registryAddress",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "ErrorNotRegistry",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "string",
223
+ "name": "methodName",
224
+ "type": "string"
225
+ }
226
+ ],
227
+ "name": "ErrorOracleNotImplemented",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorRegisterableNotActive",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "InvalidInitialization",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "NotInitializing",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "anonymous": false,
247
+ "inputs": [
248
+ {
249
+ "indexed": false,
250
+ "internalType": "address",
251
+ "name": "authority",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "AuthorityUpdated",
256
+ "type": "event"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [
261
+ {
262
+ "indexed": false,
263
+ "internalType": "uint64",
264
+ "name": "version",
265
+ "type": "uint64"
266
+ }
267
+ ],
268
+ "name": "Initialized",
269
+ "type": "event"
270
+ },
271
+ {
272
+ "anonymous": false,
273
+ "inputs": [
274
+ {
275
+ "indexed": false,
276
+ "internalType": "address",
277
+ "name": "tokenHandler",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "indexed": false,
282
+ "internalType": "address",
283
+ "name": "token",
284
+ "type": "address"
285
+ },
286
+ {
287
+ "indexed": false,
288
+ "internalType": "Amount",
289
+ "name": "limit",
290
+ "type": "uint96"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "bool",
295
+ "name": "isMaxAmount",
296
+ "type": "bool"
297
+ }
298
+ ],
299
+ "name": "LogComponentTokenHandlerApproved",
300
+ "type": "event"
301
+ },
302
+ {
303
+ "anonymous": false,
304
+ "inputs": [
305
+ {
306
+ "indexed": false,
307
+ "internalType": "address",
308
+ "name": "oldWallet",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "address",
314
+ "name": "newWallet",
315
+ "type": "address"
316
+ }
317
+ ],
318
+ "name": "LogComponentWalletAddressChanged",
319
+ "type": "event"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": false,
326
+ "internalType": "address",
327
+ "name": "from",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "address",
333
+ "name": "to",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "amount",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "name": "LogComponentWalletTokensTransferred",
344
+ "type": "event"
345
+ },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "RequestId",
352
+ "name": "requestId",
353
+ "type": "uint64"
354
+ }
355
+ ],
356
+ "name": "LogFlightOracleRequestCancelled",
357
+ "type": "event"
358
+ },
359
+ {
360
+ "anonymous": false,
361
+ "inputs": [
362
+ {
363
+ "indexed": false,
364
+ "internalType": "RequestId",
365
+ "name": "requestId",
366
+ "type": "uint64"
367
+ },
368
+ {
369
+ "indexed": false,
370
+ "internalType": "NftId",
371
+ "name": "requesterId",
372
+ "type": "uint96"
373
+ }
374
+ ],
375
+ "name": "LogFlightOracleRequestReceived",
376
+ "type": "event"
377
+ },
378
+ {
379
+ "anonymous": false,
380
+ "inputs": [
381
+ {
382
+ "indexed": false,
383
+ "internalType": "RequestId",
384
+ "name": "requestId",
385
+ "type": "uint64"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "bytes1",
390
+ "name": "status",
391
+ "type": "bytes1"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "int256",
396
+ "name": "delay",
397
+ "type": "int256"
398
+ }
399
+ ],
400
+ "name": "LogFlightOracleResponseSent",
401
+ "type": "event"
402
+ },
403
+ {
404
+ "anonymous": false,
405
+ "inputs": [
406
+ {
407
+ "indexed": false,
408
+ "internalType": "NftId",
409
+ "name": "nftId",
410
+ "type": "uint96"
411
+ },
412
+ {
413
+ "indexed": false,
414
+ "internalType": "address",
415
+ "name": "owner",
416
+ "type": "address"
417
+ }
418
+ ],
419
+ "name": "LogNftOwnableNftLinkedToAddress",
420
+ "type": "event"
421
+ },
422
+ {
423
+ "inputs": [],
424
+ "name": "COMPONENT_LOCATION_V1",
425
+ "outputs": [
426
+ {
427
+ "internalType": "bytes32",
428
+ "name": "",
429
+ "type": "bytes32"
430
+ }
431
+ ],
432
+ "stateMutability": "view",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [],
437
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
438
+ "outputs": [
439
+ {
440
+ "internalType": "bytes32",
441
+ "name": "",
442
+ "type": "bytes32"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [],
450
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
451
+ "outputs": [
452
+ {
453
+ "internalType": "bytes32",
454
+ "name": "",
455
+ "type": "bytes32"
456
+ }
457
+ ],
458
+ "stateMutability": "view",
459
+ "type": "function"
460
+ },
461
+ {
462
+ "inputs": [],
463
+ "name": "ORACLE_STORAGE_LOCATION_V1",
464
+ "outputs": [
465
+ {
466
+ "internalType": "bytes32",
467
+ "name": "",
468
+ "type": "bytes32"
469
+ }
470
+ ],
471
+ "stateMutability": "view",
472
+ "type": "function"
473
+ },
474
+ {
475
+ "inputs": [],
476
+ "name": "REGISTERABLE_LOCATION_V1",
477
+ "outputs": [
478
+ {
479
+ "internalType": "bytes32",
480
+ "name": "",
481
+ "type": "bytes32"
482
+ }
483
+ ],
484
+ "stateMutability": "view",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "inputs": [],
489
+ "name": "activeRequests",
490
+ "outputs": [
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "numberOfRequests",
494
+ "type": "uint256"
495
+ }
496
+ ],
497
+ "stateMutability": "view",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [],
502
+ "name": "authority",
503
+ "outputs": [
504
+ {
505
+ "internalType": "address",
506
+ "name": "",
507
+ "type": "address"
508
+ }
509
+ ],
510
+ "stateMutability": "view",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "RequestId",
517
+ "name": "requestId",
518
+ "type": "uint64"
519
+ }
520
+ ],
521
+ "name": "cancel",
522
+ "outputs": [],
523
+ "stateMutability": "nonpayable",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "idx",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "name": "getActiveRequest",
535
+ "outputs": [
536
+ {
537
+ "internalType": "RequestId",
538
+ "name": "requestId",
539
+ "type": "uint64"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [],
547
+ "name": "getAuthorization",
548
+ "outputs": [
549
+ {
550
+ "internalType": "contract IAuthorization",
551
+ "name": "authorization",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "getComponentInfo",
561
+ "outputs": [
562
+ {
563
+ "components": [
564
+ {
565
+ "internalType": "string",
566
+ "name": "name",
567
+ "type": "string"
568
+ },
569
+ {
570
+ "internalType": "contract TokenHandler",
571
+ "name": "tokenHandler",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "internalType": "struct IComponents.ComponentInfo",
576
+ "name": "info",
577
+ "type": "tuple"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [],
585
+ "name": "getInitialComponentInfo",
586
+ "outputs": [
587
+ {
588
+ "components": [
589
+ {
590
+ "internalType": "string",
591
+ "name": "name",
592
+ "type": "string"
593
+ },
594
+ {
595
+ "internalType": "contract TokenHandler",
596
+ "name": "tokenHandler",
597
+ "type": "address"
598
+ }
599
+ ],
600
+ "internalType": "struct IComponents.ComponentInfo",
601
+ "name": "info",
602
+ "type": "tuple"
603
+ }
604
+ ],
605
+ "stateMutability": "view",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [],
610
+ "name": "getInitialInfo",
611
+ "outputs": [
612
+ {
613
+ "components": [
614
+ {
615
+ "internalType": "NftId",
616
+ "name": "nftId",
617
+ "type": "uint96"
618
+ },
619
+ {
620
+ "internalType": "NftId",
621
+ "name": "parentNftId",
622
+ "type": "uint96"
623
+ },
624
+ {
625
+ "internalType": "ObjectType",
626
+ "name": "objectType",
627
+ "type": "uint8"
628
+ },
629
+ {
630
+ "internalType": "bool",
631
+ "name": "isInterceptor",
632
+ "type": "bool"
633
+ },
634
+ {
635
+ "internalType": "address",
636
+ "name": "objectAddress",
637
+ "type": "address"
638
+ },
639
+ {
640
+ "internalType": "address",
641
+ "name": "initialOwner",
642
+ "type": "address"
643
+ },
644
+ {
645
+ "internalType": "bytes",
646
+ "name": "data",
647
+ "type": "bytes"
648
+ }
649
+ ],
650
+ "internalType": "struct IRegistry.ObjectInfo",
651
+ "name": "info",
652
+ "type": "tuple"
653
+ }
654
+ ],
655
+ "stateMutability": "view",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [],
660
+ "name": "getInstance",
661
+ "outputs": [
662
+ {
663
+ "internalType": "contract IInstance",
664
+ "name": "instance",
665
+ "type": "address"
666
+ }
667
+ ],
668
+ "stateMutability": "view",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [],
673
+ "name": "getName",
674
+ "outputs": [
675
+ {
676
+ "internalType": "string",
677
+ "name": "name",
678
+ "type": "string"
679
+ }
680
+ ],
681
+ "stateMutability": "view",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [],
686
+ "name": "getNftId",
687
+ "outputs": [
688
+ {
689
+ "internalType": "NftId",
690
+ "name": "",
691
+ "type": "uint96"
692
+ }
693
+ ],
694
+ "stateMutability": "view",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [],
699
+ "name": "getOwner",
700
+ "outputs": [
701
+ {
702
+ "internalType": "address",
703
+ "name": "",
704
+ "type": "address"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [],
712
+ "name": "getRegistry",
713
+ "outputs": [
714
+ {
715
+ "internalType": "contract IRegistry",
716
+ "name": "",
717
+ "type": "address"
718
+ }
719
+ ],
720
+ "stateMutability": "view",
721
+ "type": "function"
722
+ },
723
+ {
724
+ "inputs": [],
725
+ "name": "getRelease",
726
+ "outputs": [
727
+ {
728
+ "internalType": "VersionPart",
729
+ "name": "release",
730
+ "type": "uint8"
731
+ }
732
+ ],
733
+ "stateMutability": "view",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [],
738
+ "name": "getToken",
739
+ "outputs": [
740
+ {
741
+ "internalType": "contract IERC20Metadata",
742
+ "name": "token",
743
+ "type": "address"
744
+ }
745
+ ],
746
+ "stateMutability": "view",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "inputs": [],
751
+ "name": "getTokenHandler",
752
+ "outputs": [
753
+ {
754
+ "internalType": "contract TokenHandler",
755
+ "name": "tokenHandler",
756
+ "type": "address"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [],
764
+ "name": "getVersion",
765
+ "outputs": [
766
+ {
767
+ "internalType": "Version",
768
+ "name": "version",
769
+ "type": "uint24"
770
+ }
771
+ ],
772
+ "stateMutability": "view",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [],
777
+ "name": "getWallet",
778
+ "outputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "walletAddress",
782
+ "type": "address"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [
790
+ {
791
+ "internalType": "address",
792
+ "name": "registry",
793
+ "type": "address"
794
+ },
795
+ {
796
+ "internalType": "NftId",
797
+ "name": "productNftId",
798
+ "type": "uint96"
799
+ },
800
+ {
801
+ "internalType": "contract IAuthorization",
802
+ "name": "authorization",
803
+ "type": "address"
804
+ },
805
+ {
806
+ "internalType": "address",
807
+ "name": "initialOwner",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "string",
812
+ "name": "name",
813
+ "type": "string"
814
+ }
815
+ ],
816
+ "name": "initialize",
817
+ "outputs": [],
818
+ "stateMutability": "nonpayable",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [],
823
+ "name": "isActive",
824
+ "outputs": [
825
+ {
826
+ "internalType": "bool",
827
+ "name": "active",
828
+ "type": "bool"
829
+ }
830
+ ],
831
+ "stateMutability": "view",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [],
836
+ "name": "isConsumingScheduledOp",
837
+ "outputs": [
838
+ {
839
+ "internalType": "bytes4",
840
+ "name": "",
841
+ "type": "bytes4"
842
+ }
843
+ ],
844
+ "stateMutability": "view",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [],
849
+ "name": "isNftInterceptor",
850
+ "outputs": [
851
+ {
852
+ "internalType": "bool",
853
+ "name": "isInterceptor",
854
+ "type": "bool"
855
+ }
856
+ ],
857
+ "stateMutability": "view",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [],
862
+ "name": "isRegistered",
863
+ "outputs": [
864
+ {
865
+ "internalType": "bool",
866
+ "name": "",
867
+ "type": "bool"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "isVerifying",
876
+ "outputs": [
877
+ {
878
+ "internalType": "bool",
879
+ "name": "verifying",
880
+ "type": "bool"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [],
888
+ "name": "linkToRegisteredNftId",
889
+ "outputs": [
890
+ {
891
+ "internalType": "NftId",
892
+ "name": "nftId",
893
+ "type": "uint96"
894
+ }
895
+ ],
896
+ "stateMutability": "nonpayable",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "address",
903
+ "name": "from",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "internalType": "address",
908
+ "name": "to",
909
+ "type": "address"
910
+ },
911
+ {
912
+ "internalType": "uint256",
913
+ "name": "tokenId",
914
+ "type": "uint256"
915
+ },
916
+ {
917
+ "internalType": "address",
918
+ "name": "operator",
919
+ "type": "address"
920
+ }
921
+ ],
922
+ "name": "nftTransferFrom",
923
+ "outputs": [],
924
+ "stateMutability": "nonpayable",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [
929
+ {
930
+ "internalType": "RequestId",
931
+ "name": "requestId",
932
+ "type": "uint64"
933
+ },
934
+ {
935
+ "internalType": "NftId",
936
+ "name": "requesterId",
937
+ "type": "uint96"
938
+ },
939
+ {
940
+ "internalType": "bytes",
941
+ "name": "requestData",
942
+ "type": "bytes"
943
+ },
944
+ {
945
+ "internalType": "Timestamp",
946
+ "name": "expiryAt",
947
+ "type": "uint40"
948
+ }
949
+ ],
950
+ "name": "request",
951
+ "outputs": [],
952
+ "stateMutability": "nonpayable",
953
+ "type": "function"
954
+ },
955
+ {
956
+ "inputs": [
957
+ {
958
+ "internalType": "RequestId",
959
+ "name": "requestId",
960
+ "type": "uint64"
961
+ },
962
+ {
963
+ "internalType": "bytes",
964
+ "name": "responseData",
965
+ "type": "bytes"
966
+ }
967
+ ],
968
+ "name": "respond",
969
+ "outputs": [],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "RequestId",
977
+ "name": "requestId",
978
+ "type": "uint64"
979
+ },
980
+ {
981
+ "internalType": "bytes1",
982
+ "name": "status",
983
+ "type": "bytes1"
984
+ },
985
+ {
986
+ "internalType": "int256",
987
+ "name": "delayMinutes",
988
+ "type": "int256"
989
+ }
990
+ ],
991
+ "name": "respondWithFlightStatus",
992
+ "outputs": [],
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [
998
+ {
999
+ "internalType": "address",
1000
+ "name": "newAuthority",
1001
+ "type": "address"
1002
+ }
1003
+ ],
1004
+ "name": "setAuthority",
1005
+ "outputs": [],
1006
+ "stateMutability": "nonpayable",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "internalType": "bytes4",
1013
+ "name": "interfaceId",
1014
+ "type": "bytes4"
1015
+ }
1016
+ ],
1017
+ "name": "supportsInterface",
1018
+ "outputs": [
1019
+ {
1020
+ "internalType": "bool",
1021
+ "name": "",
1022
+ "type": "bool"
1023
+ }
1024
+ ],
1025
+ "stateMutability": "view",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "Amount",
1032
+ "name": "amount",
1033
+ "type": "uint96"
1034
+ }
1035
+ ],
1036
+ "name": "withdrawFees",
1037
+ "outputs": [
1038
+ {
1039
+ "internalType": "Amount",
1040
+ "name": "",
1041
+ "type": "uint96"
1042
+ }
1043
+ ],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ }
1047
+ ],
1048
+ "bytecode": "0x608060405234801561000f575f80fd5b506040516142eb3803806142eb83398101604081905261002e91610c62565b610065848484846040518060400160405280600c81526020016b466c696768744f7261636c6560a01b81525061006e60201b60201c565b5050505061101a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b75750825b90505f826001600160401b031660011480156100d25750303b155b9050811580156100e0575080155b156100fe5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012c57845460ff60401b1916680100000000000000001785555b6101398a8a8a8a8a61018b565b831561017f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101936101a7565b6101a085858585856101f7565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166101f557604051631afcd79f60e31b815260040160405180910390fd5b565b6101ff6101a7565b610210858583600d876001886102a0565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900610240600b6104fb565b6104fb565b81546001600160a01b0319166001600160a01b039190911617815561026661023b600d90565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029863c0d4275760e01b610592565b505050505050565b6102a86101a7565b5f6102b48888876105c5565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015610326573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061034a9190610cba565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516103e8929163bf7e214f9160048083019260209291908290030181865afa1580156103a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c89190610cba565b8a8a8a8a898960405180602001604052805f81525061067060201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561042f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104539190610cba565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691871691909117905561049161023b600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104be61023b600d90565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556104f063a9c1bc6f60e01b610592565b505050505050505050565b5f61050e6001546001600160a01b031690565b6001600160a01b031663d39e604383610525610739565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610568573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058c9190610cba565b92915050565b61059a6101a7565b6105c2816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105e6576105dd8484600a6107cf565b50829050610669565b5f6105f38585600c6107cf565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610641573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106659190610cd5565b9150505b9392505050565b6106786101a7565b84515f036106995760405163591eebf360e11b815260040160405180910390fd5b6106a888888887878787610899565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106d48782610d83565b5060018101805460ff19168515151790556106f061023b600b90565b6001820180546001600160a01b039290921661010002610100600160a81b0319909216919091179055610729634a531f3360e01b610592565b6104f06306e9e5ff60e31b610592565b5f61076b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ca9190610e56565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561081d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108449190810190610f31565b905061085b81604001518460ff9081169116141590565b1561089157604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108a16101a7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091b9190611001565b6109435760405163cf6935e560e01b81526001600160a01b0388166004820152602401610888565b61094c876109ed565b61095686836109fe565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109d28382610d83565b506109e3634a531f3360e01b610592565b5050505050505050565b6109f56101a7565b6105c281610a90565b610a066101a7565b610a0e610aa1565b610a1782610ae9565b6001600160a01b038116610a3e5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a986101a7565b6105c281610bb5565b610aa96101a7565b6101f56301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610af16101a7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6b9190611001565b610b935760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610888565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105c2575f80fd5b8051610c4781610c28565b919050565b80516001600160601b0381168114610c47575f80fd5b5f805f8060808587031215610c75575f80fd5b8451610c8081610c28565b9350610c8e60208601610c4c565b92506040850151610c9e81610c28565b6060860151909250610caf81610c28565b939692955090935050565b5f60208284031215610cca575f80fd5b815161066981610c28565b5f60208284031215610ce5575f80fd5b61066982610c4c565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610d1657607f821691505b602082108103610d3457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d7e57805f5260205f20601f840160051c81016020851015610d5f5750805b601f840160051c820191505b818110156101a0575f8155600101610d6b565b505050565b81516001600160401b03811115610d9c57610d9c610cee565b610db081610daa8454610d02565b84610d3a565b6020601f821160018114610de2575f8315610dcb5750848201515b5f19600385901b1c1916600184901b1784556101a0565b5f84815260208120601f198516915b82811015610e115787850151825560209485019460019092019101610df1565b5084821015610e2e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105c2575f80fd5b8051610c4781610e3d565b5f60208284031215610e66575f80fd5b815161066981610e3d565b60405160e081016001600160401b0381118282101715610e9357610e93610cee565b60405290565b80518015158114610c47575f80fd5b5f82601f830112610eb7575f80fd5b81516001600160401b03811115610ed057610ed0610cee565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610efe57610efe610cee565b604052818152838201602001851015610f15575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f41575f80fd5b81516001600160401b03811115610f56575f80fd5b820160e08185031215610f67575f80fd5b610f6f610e71565b610f7882610c4c565b8152610f8660208301610c4c565b6020820152610f9760408301610e4b565b6040820152610fa860608301610e99565b6060820152610fb960808301610c3c565b6080820152610fca60a08301610c3c565b60a082015260c08201516001600160401b03811115610fe7575f80fd5b610ff386828501610ea8565b60c083015250949350505050565b5f60208284031215611011575f80fd5b61066982610e99565b6132c4806110275f395ff3fe608060405234801561000f575f80fd5b506004361061021e575f3560e01c8063644c45e01161012a578063963cb067116100b4578063bf7e214f11610079578063bf7e214f146104fb578063cf4ee77a14610503578063de7b5d1414610516578063ea15869f14610546578063ffb696741461056d575f80fd5b8063963cb067146104a6578063a4687632146104b9578063ad12ad60146104cc578063ada9652e146104df578063b423086c146104f3575f80fd5b806383cc915c116100fa57806383cc915c1461045a57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b8063644c45e0146103e05780636bd1c0eb146103fd57806376b707b71461042d5780637a9e5e4b14610447575f80fd5b806321df0da7116101ab57806343d752d31161017b57806343d752d3146103855780634bd100e41461038d5780634c125e79146103b45780635741e5e9146103c75780635ab1bd53146103cf575f80fd5b806321df0da714610346578063223668441461034e57806322f3e2d4146103565780632eb3e6f41461035e575f80fd5b806313299604116101f157806313299604146102a9578063138461e0146102c957806317d7de7c146102e95780631c6b2190146102fe5780631eff4b2214610311575f80fd5b806301ffc9a7146102225780630b29e28e146102635780630d8e6e2c146102785780630fec111c14610294575b5f80fd5b61024e61023036600461264d565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102766102713660046126be565b610598565b005b6102806105b8565b60405162ffffff909116815260200161025a565b61029c61063f565b60405161025a919061278d565b6102b16107f9565b6040516001600160a01b03909116815260200161025a565b6102d1610861565b6040516001600160601b03909116815260200161025a565b6102f161086b565b60405161025a9190612821565b6102d161030c366004612833565b61087b565b6103387f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b6102b16108fd565b61024e610941565b61024e610a37565b6103387fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b1610aae565b6103387faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102766103c236600461284e565b610ac0565b61024e610ad5565b6001546001600160a01b03166102b1565b5f8051602061324f833981519152546001600160601b03166102d1565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b1565b610435610b8b565b60405160ff909116815260200161025a565b61027661045536600461287d565b610bf3565b610338610c79565b5f61024e565b6102b1610ced565b610478610e1e565b6040516001600160e01b0319909116815260200161025a565b610499610e53565b60405161025a9190612898565b6102766104b43660046129c4565b610e84565b6102766104c7366004612a59565b610f98565b6102766104da366004612aa3565b6111f6565b6103385f8051602061324f83398151915281565b610499611299565b6102b16112b5565b610276610511366004612af3565b6112d0565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b1565b6103387fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61058061057b366004612b52565b6112e3565b6040516001600160401b03909116815260200161025a565b6105a4335b5f36611364565b6105b18585858585611462565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612b69565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070f9190612b96565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610757610ced565b6001600160a01b0316815260200182600101805461077490612bb1565b80601f01602080910402602001604051908101604052809291908181526020018280546107a090612bb1565b80156107eb5780601f106107c2576101008083540402835291602001916107eb565b820191905f5260205f20905b8154815290600101906020018083116107ce57829003601f168201915b505050505081525091505090565b5f610802610aae565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612bf4565b5f61063a30611533565b6060610875610e53565b51919050565b5f610884610ced565b6001600160a01b0316336001600160a01b0316146108bc5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108c53361059d565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108b3565b5f610906610aae565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083d573d5f803e3d5ffd5b5f6109546001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610998573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bc9190612b96565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a13573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612c1e565b5f610a406112b5565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa89190612c1e565b15905090565b5f610ab7610e53565b60200151905090565b610ac93361059d565b610ad281611789565b50565b5f610ade610941565b15610b62576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610b32573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b599190810190612c9f565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610b946112b5565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bcf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612d6f565b33610bfc6112b5565b6001600160a01b0316816001600160a01b031614610c375760405162d1953b60e31b81526001600160a01b03821660048201526024016108b3565b816001600160a01b03163b5f03610c6c576040516361798f2f60e11b81526001600160a01b03831660048201526024016108b3565b610c7582611837565b5050565b604051638e2705fd60e01b8152600260048201525f9073__$ec374a3008b75cbe46ae87186d4769bad8$__90638e2705fd90602401602060405180830381865af4158015610cc9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612d8a565b5f805f8051602061324f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190612c1e565b15610e08576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dde573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e029190612bf4565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061326f83398151915280545f9190600160a01b900460ff16610e45575f610e02565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610e6f610941565b15610e7c5761063a611897565b61063a611299565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ec85750825b90505f826001600160401b03166001148015610ee35750303b155b905081158015610ef1575080155b15610f0f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f3957845460ff60401b1916600160401b1785555b610f468a8a8a8a8a611a66565b8315610f8c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b610fa13361059d565b5f610faa611a7b565b60405163febe92af60e01b81526001600160401b03861660048201526001600160a01b03919091169063febe92af906024015f60405180830381865afa158015610ff6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261101d9190810190612dac565b60c0015190505f818060200190518101906110389190612ed5565b505060408051606080820183526001600160c01b031985168083526001600160f81b03198a811660208086018281529587018c815287519182019490945294519091168486015290518383015283518084039092018252608083018085526001600160401b038c16905260a083015260c08201889052915193945090927fcd3e2f8fb676aafdcfb1e138a54506aeba5d6703e59ab46915da9d31ad1a1a6e92509081900360e00190a16110eb8682611aa9565b5f6111766110f7611a7b565b6040516381bfd4cb60e01b81526001600160401b038a1660048201526001600160a01b0391909116906381bfd4cb90602401602060405180830381865afa158015611144573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111689190612d6f565b60465b60ff90811691161490565b905080156111ed5760405163847c020f60e01b8152600260048201526001600160401b038816602482015273__$ec374a3008b75cbe46ae87186d4769bad8$__9063847c020f906044015f6040518083038186803b1580156111d6575f80fd5b505af41580156111e8573d5f803e3d5ffd5b505050505b50505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561123d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112619190612bf4565b6001600160a01b0316336001600160a01b0316146112935760405162f0630960e01b81523360048201526024016108b3565b50505050565b60408051808201909152606081525f602082015261063a611897565b5f8051602061326f833981519152546001600160a01b031690565b6112d93361059d565b610c758282611aa9565b604051630d43895960e31b815260026004820152602481018290525f9073__$ec374a3008b75cbe46ae87186d4769bad8$__90636a1c4ac890604401602060405180830381865af415801561133a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135e9190612f13565b92915050565b5f8051602061326f8339815191525f8061139c61137f6112b5565b873061138e60045f8a8c612f2e565b61139791612f55565b611b3f565b915091508161145a5763ffffffff81161561143757825460ff60a01b1916600160a01b1783556113ca6112b5565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113f993929190612f8d565b5f604051808303815f87803b158015611410575f80fd5b505af1158015611422573d5f803e3d5ffd5b5050845460ff60a01b191685555061145a9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108b3565b505050505050565b5f61146f83850185612fcc565b60405163c33e533f60e01b8152600260048201526001600160401b038816602482015290915073__$ec374a3008b75cbe46ae87186d4769bad8$__9063c33e533f906044015f6040518083038186803b1580156114ca575f80fd5b505af41580156114dc573d5f803e3d5ffd5b5050604080516001600160401b038a1681526001600160601b03891660208201527f9fd69795fea0f6b59f2d6c9f84306e13d5f749bcea0251bb3f9125984fe82e06935001905060405180910390a1505050505050565b5f805f8051602061324f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561159f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c39190612c1e565b156115ef5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108b3565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611641573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116659190612c1e565b61168d5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108b3565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156116df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117039190612b96565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061174f610ced565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b60405163847c020f60e01b8152600260048201526001600160401b038216602482015273__$ec374a3008b75cbe46ae87186d4769bad8$__9063847c020f906044015f6040518083038186803b1580156117e1575f80fd5b505af41580156117f3573d5f803e3d5ffd5b50506040516001600160401b03841681527fff8a1518f8d1dbd24e801d852a2d634acf9cfc950635915f570a7ac285bc4f479250602001905060405180910390a150565b5f8051602061326f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f6118be6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611902573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119269190612b96565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561197f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a39190612c1e565b15611a5e576119b0611a7b565b6001600160a01b031663f0ea17c36119dc5f8051602061324f833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611a1d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a44919081019061303e565b60208101519092506001600160a01b031615611a5e575090565b610e02611c47565b611a6e611d24565b6105b18585858585611d6f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90611afa90859085906004016130dc565b6020604051808303815f875af1158015611b16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3a9190612c1e565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611bad91906130fd565b5f60405180830381855afa9150503d805f8114611be5576040519150601f19603f3d011682016040523d82523d5f602084013e611bea565b606091505b50915091508115611c3c576040815110611c1c5780806020019051810190611c129190613113565b9094509250611c3c565b6020815110611c3c5780806020019051810190611c399190612c1e565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054611c9890612bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc490612bb1565b8015611d0f5780601f10611ce657610100808354040283529160200191611d0f565b820191905f5260205f20905b815481529060010190602001808311611cf257829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d6d57604051631afcd79f60e31b815260040160405180910390fd5b565b611d77611d24565b611d88858583600d87600188611e0a565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611db3600b61205d565b81546001600160a01b0319166001600160a01b0391909116178155611dd8600d61205d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561145a63c0d4275760e01b6120ee565b611e12611d24565b5f611e1e88888761211e565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015611e90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb49190612bf4565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611f4c929163bf7e214f9160048083019260209291908290030181865afa158015611f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f329190612bf4565b8a8a8a8a898960405180602001604052805f8152506121ce565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fb79190612bf4565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055611ff4600b61205d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612020600d61205d565b6004820180546001600160a01b0319166001600160a01b039290921691909117905561205263a9c1bc6f60e01b6120ee565b505050505050505050565b5f6120706001546001600160a01b031690565b6001600160a01b031663d39e604383612087610b8b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135e9190612bf4565b6120f6611d24565b610ad2816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f61212a82600c61116b565b156121445761213b8484600a612295565b508290506121c7565b5f6121518585600c612295565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa15801561219f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121c39190612b96565b9150505b9392505050565b6121d6611d24565b84515f036121f75760405163591eebf360e11b815260040160405180910390fd5b6122068888888787878761235a565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806122328782613194565b5060018101805460ff191685151517905561224d600b61205d565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550612285634a531f3360e01b6120ee565b6120526306e9e5ff60e31b6120ee565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156122e3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261230a9190810190612c9f565b905061232181604001518460ff9081169116141590565b1561235257604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016108b3565b509392505050565b612362611d24565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156123b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123dc9190612c1e565b6124045760405163cf6935e560e01b81526001600160a01b03881660048201526024016108b3565b61240d876124a1565b61241786836124b2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124868382613194565b50612497634a531f3360e01b6120ee565b5050505050505050565b6124a9611d24565b610ad281612528565b6124ba611d24565b6124c2612539565b6124cb82612581565b6001600160a01b0381166124f25760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061324f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612530611d24565b610ad281611837565b612541611d24565b611d6d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612589611d24565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156125df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126039190612c1e565b61262b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561265d575f80fd5b81356001600160e01b0319811681146121c7575f80fd5b6001600160401b0381168114610ad2575f80fd5b6001600160601b0381168114610ad2575f80fd5b64ffffffffff81168114610ad2575f80fd5b80356126b98161269c565b919050565b5f805f805f608086880312156126d2575f80fd5b85356126dd81612674565b945060208601356126ed81612688565b935060408601356001600160401b03811115612707575f80fd5b8601601f81018813612717575f80fd5b80356001600160401b0381111561272c575f80fd5b88602082840101111561273d575f80fd5b60209190910193509150612753606087016126ae565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516127d5608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261281961010084018261275f565b949350505050565b602081525f6121c7602083018461275f565b5f60208284031215612843575f80fd5b81356121c781612688565b5f6020828403121561285e575f80fd5b81356121c781612674565b6001600160a01b0381168114610ad2575f80fd5b5f6020828403121561288d575f80fd5b81356121c781612869565b602081525f8251604060208401526128b3606084018261275f565b602094909401516001600160a01b0316604093909301929092525090919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561290a5761290a6128d4565b60405290565b60405161010081016001600160401b038111828210171561290a5761290a6128d4565b604051601f8201601f191681016001600160401b038111828210171561295b5761295b6128d4565b604052919050565b5f6001600160401b0382111561297b5761297b6128d4565b50601f01601f191660200190565b5f61299b61299684612963565b612933565b90508281528383830111156129ae575f80fd5b828260208301375f602084830101529392505050565b5f805f805f60a086880312156129d8575f80fd5b85356129e381612869565b945060208601356129f381612688565b93506040860135612a0381612869565b92506060860135612a1381612869565b915060808601356001600160401b03811115612a2d575f80fd5b8601601f81018813612a3d575f80fd5b612a4c88823560208401612989565b9150509295509295909350565b5f805f60608486031215612a6b575f80fd5b8335612a7681612674565b925060208401356001600160f81b031981168114612a92575f80fd5b929592945050506040919091013590565b5f805f8060808587031215612ab6575f80fd5b8435612ac181612869565b93506020850135612ad181612869565b9250604085013591506060850135612ae881612869565b939692955090935050565b5f8060408385031215612b04575f80fd5b8235612b0f81612674565b915060208301356001600160401b03811115612b29575f80fd5b8301601f81018513612b39575f80fd5b612b4885823560208401612989565b9150509250929050565b5f60208284031215612b62575f80fd5b5035919050565b5f60208284031215612b79575f80fd5b815162ffffff811681146121c7575f80fd5b80516126b981612688565b5f60208284031215612ba6575f80fd5b81516121c781612688565b600181811c90821680612bc557607f821691505b602082108103612be357634e487b7160e01b5f52602260045260245ffd5b50919050565b80516126b981612869565b5f60208284031215612c04575f80fd5b81516121c781612869565b805180151581146126b9575f80fd5b5f60208284031215612c2e575f80fd5b6121c782612c0f565b60ff81168114610ad2575f80fd5b80516126b981612c37565b5f82601f830112612c5f575f80fd5b8151602083015f612c7261299684612963565b9050828152858383011115612c85575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215612caf575f80fd5b81516001600160401b03811115612cc4575f80fd5b820160e08185031215612cd5575f80fd5b612cdd6128e8565b612ce682612b8b565b8152612cf460208301612b8b565b6020820152612d0560408301612c45565b6040820152612d1660608301612c0f565b6060820152612d2760808301612be9565b6080820152612d3860a08301612be9565b60a082015260c08201516001600160401b03811115612d55575f80fd5b612d6186828501612c50565b60c083015250949350505050565b5f60208284031215612d7f575f80fd5b81516121c781612c37565b5f60208284031215612d9a575f80fd5b5051919050565b80516126b98161269c565b5f60208284031215612dbc575f80fd5b81516001600160401b03811115612dd1575f80fd5b82016101008185031215612de3575f80fd5b612deb612910565b612df482612b8b565b8152612e0260208301612b8b565b6020820152612e1360408301612c0f565b6040820152612e2460608301612da1565b6060820152612e3560808301612da1565b608082015260a08201516001600160401b03811115612e52575f80fd5b612e5e86828501612c50565b60a08301525060c08201516001600160401b03811115612e7c575f80fd5b612e8886828501612c50565b60c08301525060e08201516001600160401b03811115612ea6575f80fd5b612eb286828501612c50565b60e083015250949350505050565b6001600160c01b031981168114610ad2575f80fd5b5f805f8060808587031215612ee8575f80fd5b8451612ef381612ec0565b6020860151604087015160608801519296509094509250612ae88161269c565b5f60208284031215612f23575f80fd5b81516121c781612674565b5f8085851115612f3c575f80fd5b83861115612f48575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612f86576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6080828403128015612fdd575f80fd5b50604051608081016001600160401b0381118282101715613000576130006128d4565b604052823561300e81612ec0565b8152602083810135908201526040808401359082015260608301356130328161269c565b60608201529392505050565b5f6020828403121561304e575f80fd5b81516001600160401b03811115613063575f80fd5b820160408185031215613074575f80fd5b604080519081016001600160401b0381118282101715613096576130966128d4565b60405281516001600160401b038111156130ae575f80fd5b6130ba86828501612c50565b825250602082015191506130cd82612869565b60208101919091529392505050565b6001600160401b0383168152604060208201525f612819604083018461275f565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613124575f80fd5b61312d83612c0f565b9150602083015163ffffffff81168114613145575f80fd5b809150509250929050565b601f821115611b3a57805f5260205f20601f840160051c810160208510156131755750805b601f840160051c820191505b818110156105b1575f8155600101613181565b81516001600160401b038111156131ad576131ad6128d4565b6131c1816131bb8454612bb1565b84613150565b6020601f8211600181146131f3575f83156131dc5750848201515b5f19600385901b1c1916600184901b1784556105b1565b5f84815260208120601f198516915b828110156132225787850151825560209485019460019092019101613202565b508482101561323f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220dbe7cb45f52f4eaa24698860eefbaadda318a955afe6858c30e1f3c8bc1ccf5264736f6c634300081a0033",
1049
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061021e575f3560e01c8063644c45e01161012a578063963cb067116100b4578063bf7e214f11610079578063bf7e214f146104fb578063cf4ee77a14610503578063de7b5d1414610516578063ea15869f14610546578063ffb696741461056d575f80fd5b8063963cb067146104a6578063a4687632146104b9578063ad12ad60146104cc578063ada9652e146104df578063b423086c146104f3575f80fd5b806383cc915c116100fa57806383cc915c1461045a57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b8063644c45e0146103e05780636bd1c0eb146103fd57806376b707b71461042d5780637a9e5e4b14610447575f80fd5b806321df0da7116101ab57806343d752d31161017b57806343d752d3146103855780634bd100e41461038d5780634c125e79146103b45780635741e5e9146103c75780635ab1bd53146103cf575f80fd5b806321df0da714610346578063223668441461034e57806322f3e2d4146103565780632eb3e6f41461035e575f80fd5b806313299604116101f157806313299604146102a9578063138461e0146102c957806317d7de7c146102e95780631c6b2190146102fe5780631eff4b2214610311575f80fd5b806301ffc9a7146102225780630b29e28e146102635780630d8e6e2c146102785780630fec111c14610294575b5f80fd5b61024e61023036600461264d565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102766102713660046126be565b610598565b005b6102806105b8565b60405162ffffff909116815260200161025a565b61029c61063f565b60405161025a919061278d565b6102b16107f9565b6040516001600160a01b03909116815260200161025a565b6102d1610861565b6040516001600160601b03909116815260200161025a565b6102f161086b565b60405161025a9190612821565b6102d161030c366004612833565b61087b565b6103387f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b6102b16108fd565b61024e610941565b61024e610a37565b6103387fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b1610aae565b6103387faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102766103c236600461284e565b610ac0565b61024e610ad5565b6001546001600160a01b03166102b1565b5f8051602061324f833981519152546001600160601b03166102d1565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b1565b610435610b8b565b60405160ff909116815260200161025a565b61027661045536600461287d565b610bf3565b610338610c79565b5f61024e565b6102b1610ced565b610478610e1e565b6040516001600160e01b0319909116815260200161025a565b610499610e53565b60405161025a9190612898565b6102766104b43660046129c4565b610e84565b6102766104c7366004612a59565b610f98565b6102766104da366004612aa3565b6111f6565b6103385f8051602061324f83398151915281565b610499611299565b6102b16112b5565b610276610511366004612af3565b6112d0565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b1565b6103387fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61058061057b366004612b52565b6112e3565b6040516001600160401b03909116815260200161025a565b6105a4335b5f36611364565b6105b18585858585611462565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612b69565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070f9190612b96565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610757610ced565b6001600160a01b0316815260200182600101805461077490612bb1565b80601f01602080910402602001604051908101604052809291908181526020018280546107a090612bb1565b80156107eb5780601f106107c2576101008083540402835291602001916107eb565b820191905f5260205f20905b8154815290600101906020018083116107ce57829003601f168201915b505050505081525091505090565b5f610802610aae565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612bf4565b5f61063a30611533565b6060610875610e53565b51919050565b5f610884610ced565b6001600160a01b0316336001600160a01b0316146108bc5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108c53361059d565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108b3565b5f610906610aae565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083d573d5f803e3d5ffd5b5f6109546001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610998573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bc9190612b96565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a13573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612c1e565b5f610a406112b5565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa89190612c1e565b15905090565b5f610ab7610e53565b60200151905090565b610ac93361059d565b610ad281611789565b50565b5f610ade610941565b15610b62576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610b32573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b599190810190612c9f565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610b946112b5565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bcf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612d6f565b33610bfc6112b5565b6001600160a01b0316816001600160a01b031614610c375760405162d1953b60e31b81526001600160a01b03821660048201526024016108b3565b816001600160a01b03163b5f03610c6c576040516361798f2f60e11b81526001600160a01b03831660048201526024016108b3565b610c7582611837565b5050565b604051638e2705fd60e01b8152600260048201525f9073__$ec374a3008b75cbe46ae87186d4769bad8$__90638e2705fd90602401602060405180830381865af4158015610cc9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063a9190612d8a565b5f805f8051602061324f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190612c1e565b15610e08576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dde573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e029190612bf4565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061326f83398151915280545f9190600160a01b900460ff16610e45575f610e02565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610e6f610941565b15610e7c5761063a611897565b61063a611299565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ec85750825b90505f826001600160401b03166001148015610ee35750303b155b905081158015610ef1575080155b15610f0f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f3957845460ff60401b1916600160401b1785555b610f468a8a8a8a8a611a66565b8315610f8c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b610fa13361059d565b5f610faa611a7b565b60405163febe92af60e01b81526001600160401b03861660048201526001600160a01b03919091169063febe92af906024015f60405180830381865afa158015610ff6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261101d9190810190612dac565b60c0015190505f818060200190518101906110389190612ed5565b505060408051606080820183526001600160c01b031985168083526001600160f81b03198a811660208086018281529587018c815287519182019490945294519091168486015290518383015283518084039092018252608083018085526001600160401b038c16905260a083015260c08201889052915193945090927fcd3e2f8fb676aafdcfb1e138a54506aeba5d6703e59ab46915da9d31ad1a1a6e92509081900360e00190a16110eb8682611aa9565b5f6111766110f7611a7b565b6040516381bfd4cb60e01b81526001600160401b038a1660048201526001600160a01b0391909116906381bfd4cb90602401602060405180830381865afa158015611144573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111689190612d6f565b60465b60ff90811691161490565b905080156111ed5760405163847c020f60e01b8152600260048201526001600160401b038816602482015273__$ec374a3008b75cbe46ae87186d4769bad8$__9063847c020f906044015f6040518083038186803b1580156111d6575f80fd5b505af41580156111e8573d5f803e3d5ffd5b505050505b50505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561123d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112619190612bf4565b6001600160a01b0316336001600160a01b0316146112935760405162f0630960e01b81523360048201526024016108b3565b50505050565b60408051808201909152606081525f602082015261063a611897565b5f8051602061326f833981519152546001600160a01b031690565b6112d93361059d565b610c758282611aa9565b604051630d43895960e31b815260026004820152602481018290525f9073__$ec374a3008b75cbe46ae87186d4769bad8$__90636a1c4ac890604401602060405180830381865af415801561133a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135e9190612f13565b92915050565b5f8051602061326f8339815191525f8061139c61137f6112b5565b873061138e60045f8a8c612f2e565b61139791612f55565b611b3f565b915091508161145a5763ffffffff81161561143757825460ff60a01b1916600160a01b1783556113ca6112b5565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113f993929190612f8d565b5f604051808303815f87803b158015611410575f80fd5b505af1158015611422573d5f803e3d5ffd5b5050845460ff60a01b191685555061145a9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108b3565b505050505050565b5f61146f83850185612fcc565b60405163c33e533f60e01b8152600260048201526001600160401b038816602482015290915073__$ec374a3008b75cbe46ae87186d4769bad8$__9063c33e533f906044015f6040518083038186803b1580156114ca575f80fd5b505af41580156114dc573d5f803e3d5ffd5b5050604080516001600160401b038a1681526001600160601b03891660208201527f9fd69795fea0f6b59f2d6c9f84306e13d5f749bcea0251bb3f9125984fe82e06935001905060405180910390a1505050505050565b5f805f8051602061324f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561159f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c39190612c1e565b156115ef5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108b3565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611641573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116659190612c1e565b61168d5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108b3565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156116df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117039190612b96565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061174f610ced565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b60405163847c020f60e01b8152600260048201526001600160401b038216602482015273__$ec374a3008b75cbe46ae87186d4769bad8$__9063847c020f906044015f6040518083038186803b1580156117e1575f80fd5b505af41580156117f3573d5f803e3d5ffd5b50506040516001600160401b03841681527fff8a1518f8d1dbd24e801d852a2d634acf9cfc950635915f570a7ac285bc4f479250602001905060405180910390a150565b5f8051602061326f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f6118be6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611902573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119269190612b96565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561197f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a39190612c1e565b15611a5e576119b0611a7b565b6001600160a01b031663f0ea17c36119dc5f8051602061324f833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611a1d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a44919081019061303e565b60208101519092506001600160a01b031615611a5e575090565b610e02611c47565b611a6e611d24565b6105b18585858585611d6f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90611afa90859085906004016130dc565b6020604051808303815f875af1158015611b16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3a9190612c1e565b505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611bad91906130fd565b5f60405180830381855afa9150503d805f8114611be5576040519150601f19603f3d011682016040523d82523d5f602084013e611bea565b606091505b50915091508115611c3c576040815110611c1c5780806020019051810190611c129190613113565b9094509250611c3c565b6020815110611c3c5780806020019051810190611c399190612c1e565b93505b505094509492505050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054611c9890612bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc490612bb1565b8015611d0f5780601f10611ce657610100808354040283529160200191611d0f565b820191905f5260205f20905b815481529060010190602001808311611cf257829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d6d57604051631afcd79f60e31b815260040160405180910390fd5b565b611d77611d24565b611d88858583600d87600188611e0a565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611db3600b61205d565b81546001600160a01b0319166001600160a01b0391909116178155611dd8600d61205d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561145a63c0d4275760e01b6120ee565b611e12611d24565b5f611e1e88888761211e565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015611e90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb49190612bf4565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611f4c929163bf7e214f9160048083019260209291908290030181865afa158015611f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f329190612bf4565b8a8a8a8a898960405180602001604052805f8152506121ce565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fb79190612bf4565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055611ff4600b61205d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612020600d61205d565b6004820180546001600160a01b0319166001600160a01b039290921691909117905561205263a9c1bc6f60e01b6120ee565b505050505050505050565b5f6120706001546001600160a01b031690565b6001600160a01b031663d39e604383612087610b8b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156120ca573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135e9190612bf4565b6120f6611d24565b610ad2816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f61212a82600c61116b565b156121445761213b8484600a612295565b508290506121c7565b5f6121518585600c612295565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa15801561219f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121c39190612b96565b9150505b9392505050565b6121d6611d24565b84515f036121f75760405163591eebf360e11b815260040160405180910390fd5b6122068888888787878761235a565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806122328782613194565b5060018101805460ff191685151517905561224d600b61205d565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550612285634a531f3360e01b6120ee565b6120526306e9e5ff60e31b6120ee565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156122e3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261230a9190810190612c9f565b905061232181604001518460ff9081169116141590565b1561235257604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016108b3565b509392505050565b612362611d24565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156123b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123dc9190612c1e565b6124045760405163cf6935e560e01b81526001600160a01b03881660048201526024016108b3565b61240d876124a1565b61241786836124b2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124868382613194565b50612497634a531f3360e01b6120ee565b5050505050505050565b6124a9611d24565b610ad281612528565b6124ba611d24565b6124c2612539565b6124cb82612581565b6001600160a01b0381166124f25760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061324f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612530611d24565b610ad281611837565b612541611d24565b611d6d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612589611d24565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156125df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126039190612c1e565b61262b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561265d575f80fd5b81356001600160e01b0319811681146121c7575f80fd5b6001600160401b0381168114610ad2575f80fd5b6001600160601b0381168114610ad2575f80fd5b64ffffffffff81168114610ad2575f80fd5b80356126b98161269c565b919050565b5f805f805f608086880312156126d2575f80fd5b85356126dd81612674565b945060208601356126ed81612688565b935060408601356001600160401b03811115612707575f80fd5b8601601f81018813612717575f80fd5b80356001600160401b0381111561272c575f80fd5b88602082840101111561273d575f80fd5b60209190910193509150612753606087016126ae565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516127d5608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261281961010084018261275f565b949350505050565b602081525f6121c7602083018461275f565b5f60208284031215612843575f80fd5b81356121c781612688565b5f6020828403121561285e575f80fd5b81356121c781612674565b6001600160a01b0381168114610ad2575f80fd5b5f6020828403121561288d575f80fd5b81356121c781612869565b602081525f8251604060208401526128b3606084018261275f565b602094909401516001600160a01b0316604093909301929092525090919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561290a5761290a6128d4565b60405290565b60405161010081016001600160401b038111828210171561290a5761290a6128d4565b604051601f8201601f191681016001600160401b038111828210171561295b5761295b6128d4565b604052919050565b5f6001600160401b0382111561297b5761297b6128d4565b50601f01601f191660200190565b5f61299b61299684612963565b612933565b90508281528383830111156129ae575f80fd5b828260208301375f602084830101529392505050565b5f805f805f60a086880312156129d8575f80fd5b85356129e381612869565b945060208601356129f381612688565b93506040860135612a0381612869565b92506060860135612a1381612869565b915060808601356001600160401b03811115612a2d575f80fd5b8601601f81018813612a3d575f80fd5b612a4c88823560208401612989565b9150509295509295909350565b5f805f60608486031215612a6b575f80fd5b8335612a7681612674565b925060208401356001600160f81b031981168114612a92575f80fd5b929592945050506040919091013590565b5f805f8060808587031215612ab6575f80fd5b8435612ac181612869565b93506020850135612ad181612869565b9250604085013591506060850135612ae881612869565b939692955090935050565b5f8060408385031215612b04575f80fd5b8235612b0f81612674565b915060208301356001600160401b03811115612b29575f80fd5b8301601f81018513612b39575f80fd5b612b4885823560208401612989565b9150509250929050565b5f60208284031215612b62575f80fd5b5035919050565b5f60208284031215612b79575f80fd5b815162ffffff811681146121c7575f80fd5b80516126b981612688565b5f60208284031215612ba6575f80fd5b81516121c781612688565b600181811c90821680612bc557607f821691505b602082108103612be357634e487b7160e01b5f52602260045260245ffd5b50919050565b80516126b981612869565b5f60208284031215612c04575f80fd5b81516121c781612869565b805180151581146126b9575f80fd5b5f60208284031215612c2e575f80fd5b6121c782612c0f565b60ff81168114610ad2575f80fd5b80516126b981612c37565b5f82601f830112612c5f575f80fd5b8151602083015f612c7261299684612963565b9050828152858383011115612c85575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215612caf575f80fd5b81516001600160401b03811115612cc4575f80fd5b820160e08185031215612cd5575f80fd5b612cdd6128e8565b612ce682612b8b565b8152612cf460208301612b8b565b6020820152612d0560408301612c45565b6040820152612d1660608301612c0f565b6060820152612d2760808301612be9565b6080820152612d3860a08301612be9565b60a082015260c08201516001600160401b03811115612d55575f80fd5b612d6186828501612c50565b60c083015250949350505050565b5f60208284031215612d7f575f80fd5b81516121c781612c37565b5f60208284031215612d9a575f80fd5b5051919050565b80516126b98161269c565b5f60208284031215612dbc575f80fd5b81516001600160401b03811115612dd1575f80fd5b82016101008185031215612de3575f80fd5b612deb612910565b612df482612b8b565b8152612e0260208301612b8b565b6020820152612e1360408301612c0f565b6040820152612e2460608301612da1565b6060820152612e3560808301612da1565b608082015260a08201516001600160401b03811115612e52575f80fd5b612e5e86828501612c50565b60a08301525060c08201516001600160401b03811115612e7c575f80fd5b612e8886828501612c50565b60c08301525060e08201516001600160401b03811115612ea6575f80fd5b612eb286828501612c50565b60e083015250949350505050565b6001600160c01b031981168114610ad2575f80fd5b5f805f8060808587031215612ee8575f80fd5b8451612ef381612ec0565b6020860151604087015160608801519296509094509250612ae88161269c565b5f60208284031215612f23575f80fd5b81516121c781612674565b5f8085851115612f3c575f80fd5b83861115612f48575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612f86576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6080828403128015612fdd575f80fd5b50604051608081016001600160401b0381118282101715613000576130006128d4565b604052823561300e81612ec0565b8152602083810135908201526040808401359082015260608301356130328161269c565b60608201529392505050565b5f6020828403121561304e575f80fd5b81516001600160401b03811115613063575f80fd5b820160408185031215613074575f80fd5b604080519081016001600160401b0381118282101715613096576130966128d4565b60405281516001600160401b038111156130ae575f80fd5b6130ba86828501612c50565b825250602082015191506130cd82612869565b60208101919091529392505050565b6001600160401b0383168152604060208201525f612819604083018461275f565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613124575f80fd5b61312d83612c0f565b9150602083015163ffffffff81168114613145575f80fd5b809150509250929050565b601f821115611b3a57805f5260205f20601f840160051c810160208510156131755750805b601f840160051c820191505b818110156105b1575f8155600101613181565b81516001600160401b038111156131ad576131ad6128d4565b6131c1816131bb8454612bb1565b84613150565b6020601f8211600181146131f3575f83156131dc5750848201515b5f19600385901b1c1916600184901b1784556105b1565b5f84815260208120601f198516915b828110156132225787850151825560209485019460019092019101613202565b508482101561323f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220dbe7cb45f52f4eaa24698860eefbaadda318a955afe6858c30e1f3c8bc1ccf5264736f6c634300081a0033",
1050
+ "linkReferences": {
1051
+ "contracts/shared/ContractLib.sol": {
1052
+ "ContractLib": [
1053
+ {
1054
+ "length": 20,
1055
+ "start": 2239
1056
+ },
1057
+ {
1058
+ "length": 20,
1059
+ "start": 2831
1060
+ },
1061
+ {
1062
+ "length": 20,
1063
+ "start": 13223
1064
+ },
1065
+ {
1066
+ "length": 20,
1067
+ "start": 13774
1068
+ }
1069
+ ]
1070
+ },
1071
+ "contracts/type/NftId.sol": {
1072
+ "NftIdLib": [
1073
+ {
1074
+ "length": 20,
1075
+ "start": 5837
1076
+ },
1077
+ {
1078
+ "length": 20,
1079
+ "start": 6658
1080
+ },
1081
+ {
1082
+ "length": 20,
1083
+ "start": 7496
1084
+ },
1085
+ {
1086
+ "length": 20,
1087
+ "start": 9614
1088
+ },
1089
+ {
1090
+ "length": 20,
1091
+ "start": 10606
1092
+ }
1093
+ ]
1094
+ },
1095
+ "contracts/type/RequestIdSet.sol": {
1096
+ "RequestIdSet": [
1097
+ {
1098
+ "length": 20,
1099
+ "start": 7352
1100
+ },
1101
+ {
1102
+ "length": 20,
1103
+ "start": 8650
1104
+ },
1105
+ {
1106
+ "length": 20,
1107
+ "start": 9001
1108
+ },
1109
+ {
1110
+ "length": 20,
1111
+ "start": 9406
1112
+ },
1113
+ {
1114
+ "length": 20,
1115
+ "start": 10197
1116
+ }
1117
+ ]
1118
+ },
1119
+ "contracts/type/Version.sol": {
1120
+ "VersionLib": [
1121
+ {
1122
+ "length": 20,
1123
+ "start": 5637
1124
+ }
1125
+ ]
1126
+ }
1127
+ },
1128
+ "deployedLinkReferences": {
1129
+ "contracts/shared/ContractLib.sol": {
1130
+ "ContractLib": [
1131
+ {
1132
+ "length": 20,
1133
+ "start": 9088
1134
+ },
1135
+ {
1136
+ "length": 20,
1137
+ "start": 9639
1138
+ }
1139
+ ]
1140
+ },
1141
+ "contracts/type/NftId.sol": {
1142
+ "NftIdLib": [
1143
+ {
1144
+ "length": 20,
1145
+ "start": 1702
1146
+ },
1147
+ {
1148
+ "length": 20,
1149
+ "start": 2523
1150
+ },
1151
+ {
1152
+ "length": 20,
1153
+ "start": 3361
1154
+ },
1155
+ {
1156
+ "length": 20,
1157
+ "start": 5479
1158
+ },
1159
+ {
1160
+ "length": 20,
1161
+ "start": 6471
1162
+ }
1163
+ ]
1164
+ },
1165
+ "contracts/type/RequestIdSet.sol": {
1166
+ "RequestIdSet": [
1167
+ {
1168
+ "length": 20,
1169
+ "start": 3217
1170
+ },
1171
+ {
1172
+ "length": 20,
1173
+ "start": 4515
1174
+ },
1175
+ {
1176
+ "length": 20,
1177
+ "start": 4866
1178
+ },
1179
+ {
1180
+ "length": 20,
1181
+ "start": 5271
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 6062
1186
+ }
1187
+ ]
1188
+ },
1189
+ "contracts/type/Version.sol": {
1190
+ "VersionLib": [
1191
+ {
1192
+ "length": 20,
1193
+ "start": 1502
1194
+ }
1195
+ ]
1196
+ }
1197
+ }
1198
+ }