@etherisc/gif-next 0.0.2-e0ff180-567 → 0.0.2-e14821a-976

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