@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1e6957-384

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