@etherisc/gif-next 3.0.0-a511887-523 → 3.0.0-ab0fcb2-112

Sign up to get free protection for your applications and to get access to all the features.
Files changed (456) hide show
  1. package/README.md +1 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +59 -107
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +59 -156
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +13 -61
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +58 -90
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +80 -59
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  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 +14 -46
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +45 -85
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +2 -2
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +13 -61
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +119 -175
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +89 -190
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +13 -61
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +13 -61
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +54 -103
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +2 -2
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +104 -153
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +18 -18
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  47. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  48. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +604 -0
  49. package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.json +229 -0
  51. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1255 -0
  53. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +825 -0
  55. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1528 -0
  57. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +820 -0
  59. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2635 -0
  61. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +820 -0
  63. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +586 -0
  65. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +57 -119
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +2 -2
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +51 -113
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +59 -121
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +2 -2
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +63 -125
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +18 -18
  81. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  83. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +49 -54
  84. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  86. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +14 -62
  87. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +13 -61
  89. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  90. package/artifacts/contracts/instance/Instance.sol/Instance.json +42 -95
  91. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  92. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +158 -182
  93. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +2 -2
  95. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +179 -77
  97. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +51 -99
  99. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +55 -152
  101. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2 -2
  103. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +2 -2
  105. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  106. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +53 -58
  107. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  108. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  109. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  110. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +1 -1
  111. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  113. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  114. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  115. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  116. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +3 -8
  117. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  118. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +2 -2
  119. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  120. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  121. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  122. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  123. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  124. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  125. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +41 -81
  127. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
  129. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  130. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +13 -61
  132. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +13 -103
  134. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +13 -61
  136. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +61 -175
  138. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -169
  140. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +13 -61
  142. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +2 -2
  144. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +95 -151
  146. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +78 -179
  148. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +13 -61
  150. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +13 -61
  152. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +25 -104
  154. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  155. package/artifacts/contracts/pool/Pool.sol/Pool.json +13 -61
  156. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  157. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +24 -252
  158. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  159. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +143 -190
  160. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +89 -170
  162. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +59 -99
  164. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +59 -152
  166. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +13 -61
  168. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +18 -18
  170. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +103 -151
  172. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +81 -178
  174. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +13 -61
  176. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +13 -61
  178. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +13 -82
  180. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +13 -61
  182. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +13 -61
  184. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +13 -61
  186. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +83 -152
  188. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  189. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +2 -2
  190. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  191. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +71 -168
  192. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.json +71 -119
  194. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +65 -162
  196. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  197. package/artifacts/contracts/product/Product.sol/Product.json +13 -61
  198. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.json +63 -95
  200. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +58 -147
  202. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  203. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  204. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  205. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +13 -61
  206. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  208. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  209. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  210. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  211. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +140 -169
  212. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
  213. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +2 -2
  214. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +51 -99
  216. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  217. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +55 -157
  218. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  219. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +146 -183
  220. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  222. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  223. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +98 -185
  224. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +2 -2
  226. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  227. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +13 -71
  228. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Component.sol/Component.json +13 -61
  230. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  231. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +81 -137
  232. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  233. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +70 -171
  234. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +411 -139
  236. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.json +691 -0
  239. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +13 -61
  241. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +13 -61
  243. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +13 -61
  245. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  247. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +1 -70
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +1 -54
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +13 -61
  252. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +1 -54
  254. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  255. package/artifacts/contracts/shared/IService.sol/IService.json +13 -61
  256. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  258. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  259. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +13 -61
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -76
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +3 -56
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +13 -61
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +3 -79
  271. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  272. package/artifacts/contracts/shared/Service.sol/Service.json +13 -61
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  279. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +13 -61
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +13 -61
  284. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +1 -1
  285. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  286. package/artifacts/contracts/staking/Staking.sol/Staking.json +73 -121
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +26 -31
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +66 -163
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +5 -64
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +49 -97
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +54 -151
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +200 -266
  299. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +1 -1
  300. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +27 -19
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +2 -2
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +2 -2
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +22 -25
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  329. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  330. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +21 -2
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/String.sol/StrLib.json +21 -2
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  347. package/artifacts/contracts/upgradeability/IUpgradeable.sol/IUpgradeable.dbg.json +1 -1
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +29 -121
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  351. package/artifacts/contracts/upgradeability/Upgradeable.sol/Upgradeable.dbg.json +1 -1
  352. package/contracts/accounting/AccountingService.sol +3 -4
  353. package/contracts/accounting/AccountingServiceManager.sol +1 -3
  354. package/contracts/authorization/AccessAdmin.sol +3 -3
  355. package/contracts/authorization/AccessAdminLib.sol +14 -11
  356. package/contracts/authorization/IAccessAdmin.sol +1 -0
  357. package/contracts/distribution/BasicDistribution.sol +0 -2
  358. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  359. package/contracts/distribution/Distribution.sol +0 -2
  360. package/contracts/distribution/DistributionService.sol +14 -13
  361. package/contracts/distribution/DistributionServiceManager.sol +1 -3
  362. package/contracts/examples/fire/FirePool.sol +0 -4
  363. package/contracts/examples/fire/FireProduct.sol +0 -4
  364. package/contracts/examples/flight/FlightLib.sol +322 -0
  365. package/contracts/examples/flight/FlightMessageVerifier.sol +128 -0
  366. package/contracts/examples/flight/FlightOracle.sol +163 -0
  367. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  368. package/contracts/examples/flight/FlightPool.sol +85 -0
  369. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  370. package/contracts/examples/flight/FlightProduct.sol +650 -0
  371. package/contracts/examples/flight/FlightProductAuthorization.sol +45 -0
  372. package/contracts/examples/flight/FlightUSD.sol +28 -0
  373. package/contracts/examples/flight/originalV1.sol +396 -0
  374. package/contracts/examples/unpermissioned/SimpleDistribution.sol +0 -4
  375. package/contracts/examples/unpermissioned/SimpleOracle.sol +0 -4
  376. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  377. package/contracts/examples/unpermissioned/SimpleProduct.sol +0 -4
  378. package/contracts/instance/IInstance.sol +1 -1
  379. package/contracts/instance/Instance.sol +6 -7
  380. package/contracts/instance/InstanceAdmin.sol +6 -8
  381. package/contracts/instance/InstanceReader.sol +40 -18
  382. package/contracts/instance/InstanceService.sol +14 -16
  383. package/contracts/instance/InstanceServiceManager.sol +1 -3
  384. package/contracts/instance/base/Cloneable.sol +4 -10
  385. package/contracts/instance/base/ObjectSet.sol +2 -2
  386. package/contracts/oracle/BasicOracle.sol +0 -2
  387. package/contracts/oracle/IOracleService.sol +12 -16
  388. package/contracts/oracle/Oracle.sol +0 -2
  389. package/contracts/oracle/OracleService.sol +36 -66
  390. package/contracts/oracle/OracleServiceManager.sol +1 -3
  391. package/contracts/pool/BasicPool.sol +2 -4
  392. package/contracts/pool/BasicPoolAuthorization.sol +1 -1
  393. package/contracts/pool/BundleService.sol +20 -14
  394. package/contracts/pool/BundleServiceManager.sol +2 -4
  395. package/contracts/pool/IPoolService.sol +5 -6
  396. package/contracts/pool/Pool.sol +1 -3
  397. package/contracts/pool/PoolLib.sol +4 -104
  398. package/contracts/pool/PoolService.sol +66 -100
  399. package/contracts/pool/PoolServiceManager.sol +1 -3
  400. package/contracts/product/ApplicationService.sol +9 -29
  401. package/contracts/product/ApplicationServiceManager.sol +1 -3
  402. package/contracts/product/BasicProduct.sol +0 -2
  403. package/contracts/product/BasicProductAuthorization.sol +4 -3
  404. package/contracts/product/ClaimService.sol +9 -33
  405. package/contracts/product/ClaimServiceManager.sol +2 -4
  406. package/contracts/product/IPolicyService.sol +0 -1
  407. package/contracts/product/PolicyService.sol +43 -56
  408. package/contracts/product/PolicyServiceManager.sol +1 -3
  409. package/contracts/product/PricingService.sol +6 -7
  410. package/contracts/product/PricingServiceManager.sol +1 -3
  411. package/contracts/product/Product.sol +0 -2
  412. package/contracts/product/RiskService.sol +7 -39
  413. package/contracts/product/RiskServiceManager.sol +1 -3
  414. package/contracts/registry/RegistryAdmin.sol +6 -11
  415. package/contracts/registry/RegistryAuthorization.sol +2 -2
  416. package/contracts/registry/RegistryService.sol +14 -15
  417. package/contracts/registry/RegistryServiceManager.sol +1 -8
  418. package/contracts/registry/ReleaseAdmin.sol +2 -11
  419. package/contracts/registry/ReleaseRegistry.sol +14 -26
  420. package/contracts/registry/TokenRegistry.sol +6 -15
  421. package/contracts/shared/Component.sol +3 -5
  422. package/contracts/shared/ComponentService.sol +18 -30
  423. package/contracts/shared/ComponentServiceManager.sol +2 -4
  424. package/contracts/shared/ContractLib.sol +359 -93
  425. package/contracts/shared/EcdsaChecker.sol +5 -0
  426. package/contracts/shared/IAuthorizedComponent.sol +15 -0
  427. package/contracts/shared/IInstanceLinkedComponent.sol +2 -6
  428. package/contracts/shared/INftOwnable.sol +0 -2
  429. package/contracts/shared/IRegisterable.sol +6 -0
  430. package/contracts/shared/IRegistryLinked.sol +1 -5
  431. package/contracts/shared/InstanceLinkedComponent.sol +73 -22
  432. package/contracts/shared/NftOwnable.sol +8 -8
  433. package/contracts/shared/PolicyHolder.sol +0 -2
  434. package/contracts/shared/Registerable.sol +5 -6
  435. package/contracts/shared/RegistryLinked.sol +4 -30
  436. package/contracts/shared/Service.sol +2 -4
  437. package/contracts/staking/Staking.sol +22 -17
  438. package/contracts/staking/StakingLib.sol +3 -1
  439. package/contracts/staking/StakingManager.sol +0 -3
  440. package/contracts/staking/StakingReader.sol +9 -17
  441. package/contracts/staking/StakingService.sol +6 -6
  442. package/contracts/staking/StakingServiceManager.sol +1 -4
  443. package/contracts/staking/StakingStore.sol +4 -6
  444. package/contracts/staking/TargetHandler.sol +4 -5
  445. package/contracts/type/ObjectType.sol +2 -31
  446. package/contracts/type/Referral.sol +6 -0
  447. package/contracts/type/RequestIdSet.sol +62 -0
  448. package/contracts/type/Seconds.sol +4 -0
  449. package/contracts/type/String.sol +30 -0
  450. package/contracts/type/Timestamp.sol +10 -1
  451. package/contracts/upgradeability/ProxyManager.sol +1 -5
  452. package/package.json +2 -1
  453. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +0 -4
  454. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +0 -24
  455. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +0 -4
  456. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +0 -40
@@ -7,12 +7,12 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "NftId",
10
- "name": "componentNftId",
10
+ "name": "callerNftId",
11
11
  "type": "uint96"
12
12
  },
13
13
  {
14
14
  "internalType": "ObjectType",
15
- "name": "objectType",
15
+ "name": "callerType",
16
16
  "type": "uint8"
17
17
  }
18
18
  ],
@@ -23,7 +23,7 @@
23
23
  "inputs": [
24
24
  {
25
25
  "internalType": "address",
26
- "name": "target",
26
+ "name": "caller",
27
27
  "type": "address"
28
28
  }
29
29
  ],
@@ -41,6 +41,27 @@
41
41
  "name": "ErrorContractLibComponentInactive",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ },
51
+ {
52
+ "internalType": "VersionPart",
53
+ "name": "expectedRelease",
54
+ "type": "uint8"
55
+ },
56
+ {
57
+ "internalType": "VersionPart",
58
+ "name": "actualRelease",
59
+ "type": "uint8"
60
+ }
61
+ ],
62
+ "name": "ErrorContractLibComponentReleaseMismatch",
63
+ "type": "error"
64
+ },
44
65
  {
45
66
  "inputs": [
46
67
  {
@@ -62,6 +83,80 @@
62
83
  "name": "ErrorContractLibComponentTypeMismatch",
63
84
  "type": "error"
64
85
  },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "objectNftId",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorContractLibObjectNotRegistered",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "objectNftId",
102
+ "type": "uint96"
103
+ },
104
+ {
105
+ "internalType": "NftId",
106
+ "name": "expectedParentNftId",
107
+ "type": "uint96"
108
+ },
109
+ {
110
+ "internalType": "NftId",
111
+ "name": "actualParentNftId",
112
+ "type": "uint96"
113
+ }
114
+ ],
115
+ "name": "ErrorContractLibObjectParentMismatch",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "objectNftId",
123
+ "type": "uint96"
124
+ },
125
+ {
126
+ "internalType": "VersionPart",
127
+ "name": "expectedRelease",
128
+ "type": "uint8"
129
+ },
130
+ {
131
+ "internalType": "VersionPart",
132
+ "name": "actualRelease",
133
+ "type": "uint8"
134
+ }
135
+ ],
136
+ "name": "ErrorContractLibObjectReleaseMismatch",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "NftId",
143
+ "name": "objectNftId",
144
+ "type": "uint96"
145
+ },
146
+ {
147
+ "internalType": "ObjectType",
148
+ "name": "expectedType",
149
+ "type": "uint8"
150
+ },
151
+ {
152
+ "internalType": "ObjectType",
153
+ "name": "actualType",
154
+ "type": "uint8"
155
+ }
156
+ ],
157
+ "name": "ErrorContractLibObjectTypeMismatch",
158
+ "type": "error"
159
+ },
65
160
  {
66
161
  "inputs": [
67
162
  {
@@ -97,64 +192,76 @@
97
192
  {
98
193
  "inputs": [
99
194
  {
100
- "internalType": "contract IRegistry",
101
- "name": "registry",
102
- "type": "IRegistry"
195
+ "internalType": "NftId",
196
+ "name": "componentNftId",
197
+ "type": "uint96"
198
+ },
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "componentParentNftId",
202
+ "type": "uint96"
103
203
  },
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "objectNftId",
207
+ "type": "uint96"
208
+ },
209
+ {
210
+ "internalType": "NftId",
211
+ "name": "objectParentNftId",
212
+ "type": "uint96"
213
+ }
214
+ ],
215
+ "name": "ErrorContractLibParentsMismatch",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "REGISTRY_ADDRESS",
221
+ "outputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "inputs": [
104
233
  {
105
234
  "internalType": "address",
106
235
  "name": "caller",
107
236
  "type": "address"
108
237
  },
238
+ {
239
+ "internalType": "ObjectType",
240
+ "name": "expectedType",
241
+ "type": "uint8"
242
+ },
243
+ {
244
+ "internalType": "VersionPart",
245
+ "name": "expectedRelease",
246
+ "type": "uint8"
247
+ },
109
248
  {
110
249
  "internalType": "bool",
111
250
  "name": "onlyActive",
112
251
  "type": "bool"
113
252
  }
114
253
  ],
115
- "name": "getAndVerifyAnyComponent",
254
+ "name": "getAndVerifyComponent",
116
255
  "outputs": [
117
256
  {
118
- "components": [
119
- {
120
- "internalType": "NftId",
121
- "name": "nftId",
122
- "type": "uint96"
123
- },
124
- {
125
- "internalType": "NftId",
126
- "name": "parentNftId",
127
- "type": "uint96"
128
- },
129
- {
130
- "internalType": "ObjectType",
131
- "name": "objectType",
132
- "type": "uint8"
133
- },
134
- {
135
- "internalType": "VersionPart",
136
- "name": "release",
137
- "type": "uint8"
138
- },
139
- {
140
- "internalType": "bool",
141
- "name": "isInterceptor",
142
- "type": "bool"
143
- },
144
- {
145
- "internalType": "address",
146
- "name": "objectAddress",
147
- "type": "address"
148
- }
149
- ],
150
- "internalType": "struct IRegistry.ObjectInfo",
151
- "name": "callerInfo",
152
- "type": "tuple"
257
+ "internalType": "NftId",
258
+ "name": "componentNftId",
259
+ "type": "uint96"
153
260
  },
154
261
  {
155
- "internalType": "address",
262
+ "internalType": "contract IInstance",
156
263
  "name": "instance",
157
- "type": "address"
264
+ "type": "IInstance"
158
265
  }
159
266
  ],
160
267
  "stateMutability": "view",
@@ -162,70 +269,53 @@
162
269
  },
163
270
  {
164
271
  "inputs": [
165
- {
166
- "internalType": "contract IRegistry",
167
- "name": "registry",
168
- "type": "IRegistry"
169
- },
170
272
  {
171
273
  "internalType": "address",
172
- "name": "caller",
274
+ "name": "component",
173
275
  "type": "address"
174
276
  },
175
277
  {
176
278
  "internalType": "ObjectType",
177
- "name": "expectedType",
279
+ "name": "expectedComponentType",
178
280
  "type": "uint8"
179
281
  },
180
282
  {
181
283
  "internalType": "bool",
182
284
  "name": "onlyActive",
183
285
  "type": "bool"
286
+ },
287
+ {
288
+ "internalType": "NftId",
289
+ "name": "objectNftId",
290
+ "type": "uint96"
291
+ },
292
+ {
293
+ "internalType": "ObjectType",
294
+ "name": "expectedObjectType",
295
+ "type": "uint8"
296
+ },
297
+ {
298
+ "internalType": "VersionPart",
299
+ "name": "expectedRelease",
300
+ "type": "uint8"
184
301
  }
185
302
  ],
186
- "name": "getAndVerifyComponent",
303
+ "name": "getAndVerifyComponentAndObject",
187
304
  "outputs": [
188
305
  {
189
- "components": [
190
- {
191
- "internalType": "NftId",
192
- "name": "nftId",
193
- "type": "uint96"
194
- },
195
- {
196
- "internalType": "NftId",
197
- "name": "parentNftId",
198
- "type": "uint96"
199
- },
200
- {
201
- "internalType": "ObjectType",
202
- "name": "objectType",
203
- "type": "uint8"
204
- },
205
- {
206
- "internalType": "VersionPart",
207
- "name": "release",
208
- "type": "uint8"
209
- },
210
- {
211
- "internalType": "bool",
212
- "name": "isInterceptor",
213
- "type": "bool"
214
- },
215
- {
216
- "internalType": "address",
217
- "name": "objectAddress",
218
- "type": "address"
219
- }
220
- ],
221
- "internalType": "struct IRegistry.ObjectInfo",
222
- "name": "info",
223
- "type": "tuple"
306
+ "internalType": "NftId",
307
+ "name": "componentNftId",
308
+ "type": "uint96"
224
309
  },
225
310
  {
226
311
  "internalType": "address",
227
- "name": "instance",
312
+ "name": "objectAddress",
228
313
  "type": "address"
314
+ },
315
+ {
316
+ "internalType": "contract IInstance",
317
+ "name": "instance",
318
+ "type": "IInstance"
229
319
  }
230
320
  ],
231
321
  "stateMutability": "view",
@@ -234,10 +324,83 @@
234
324
  {
235
325
  "inputs": [
236
326
  {
237
- "internalType": "contract IRegistry",
238
- "name": "registry",
239
- "type": "IRegistry"
327
+ "internalType": "NftId",
328
+ "name": "oracleNftId",
329
+ "type": "uint96"
330
+ },
331
+ {
332
+ "internalType": "VersionPart",
333
+ "name": "expectedRelease",
334
+ "type": "uint8"
335
+ }
336
+ ],
337
+ "name": "getAndVerifyComponentAndOracle",
338
+ "outputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "requesterNftId",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "internalType": "contract IOracleComponent",
346
+ "name": "oracle",
347
+ "type": "IOracleComponent"
348
+ },
349
+ {
350
+ "internalType": "contract IInstance",
351
+ "name": "instance",
352
+ "type": "IInstance"
353
+ }
354
+ ],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [
360
+ {
361
+ "internalType": "address",
362
+ "name": "component",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "internalType": "bool",
367
+ "name": "onlyActive",
368
+ "type": "bool"
369
+ },
370
+ {
371
+ "internalType": "NftId",
372
+ "name": "childNftId",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "internalType": "ObjectType",
377
+ "name": "expectedChildType",
378
+ "type": "uint8"
379
+ },
380
+ {
381
+ "internalType": "VersionPart",
382
+ "name": "expectedRelease",
383
+ "type": "uint8"
384
+ }
385
+ ],
386
+ "name": "getAndVerifyComponentWithChild",
387
+ "outputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "componentNftId",
391
+ "type": "uint96"
240
392
  },
393
+ {
394
+ "internalType": "contract IInstance",
395
+ "name": "instance",
396
+ "type": "IInstance"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [
241
404
  {
242
405
  "components": [
243
406
  {
@@ -279,9 +442,9 @@
279
442
  "name": "getAndVerifyInstance",
280
443
  "outputs": [
281
444
  {
282
- "internalType": "address",
445
+ "internalType": "contract IInstance",
283
446
  "name": "instance",
284
- "type": "address"
447
+ "type": "IInstance"
285
448
  }
286
449
  ],
287
450
  "stateMutability": "view",
@@ -290,15 +453,150 @@
290
453
  {
291
454
  "inputs": [
292
455
  {
293
- "internalType": "contract IRegistry",
294
- "name": "registry",
295
- "type": "IRegistry"
456
+ "internalType": "VersionPart",
457
+ "name": "expectedRelease",
458
+ "type": "uint8"
459
+ }
460
+ ],
461
+ "name": "getAndVerifyPool",
462
+ "outputs": [
463
+ {
464
+ "internalType": "NftId",
465
+ "name": "",
466
+ "type": "uint96"
296
467
  },
468
+ {
469
+ "internalType": "contract IInstance",
470
+ "name": "",
471
+ "type": "IInstance"
472
+ }
473
+ ],
474
+ "stateMutability": "view",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [
479
+ {
480
+ "internalType": "NftId",
481
+ "name": "bundleNftId",
482
+ "type": "uint96"
483
+ },
484
+ {
485
+ "internalType": "VersionPart",
486
+ "name": "expectedRelease",
487
+ "type": "uint8"
488
+ }
489
+ ],
490
+ "name": "getAndVerifyPoolForBundle",
491
+ "outputs": [
492
+ {
493
+ "internalType": "NftId",
494
+ "name": "",
495
+ "type": "uint96"
496
+ },
497
+ {
498
+ "internalType": "contract IInstance",
499
+ "name": "",
500
+ "type": "IInstance"
501
+ }
502
+ ],
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "NftId",
510
+ "name": "policyNftId",
511
+ "type": "uint96"
512
+ },
513
+ {
514
+ "internalType": "VersionPart",
515
+ "name": "expectedRelease",
516
+ "type": "uint8"
517
+ }
518
+ ],
519
+ "name": "getAndVerifyPoolForPolicy",
520
+ "outputs": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "poolNftId",
524
+ "type": "uint96"
525
+ },
526
+ {
527
+ "internalType": "contract IInstance",
528
+ "name": "instance",
529
+ "type": "IInstance"
530
+ }
531
+ ],
532
+ "stateMutability": "view",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "VersionPart",
539
+ "name": "expectedRelease",
540
+ "type": "uint8"
541
+ }
542
+ ],
543
+ "name": "getAndVerifyProduct",
544
+ "outputs": [
545
+ {
546
+ "internalType": "NftId",
547
+ "name": "",
548
+ "type": "uint96"
549
+ },
550
+ {
551
+ "internalType": "contract IInstance",
552
+ "name": "",
553
+ "type": "IInstance"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "policyNftId",
564
+ "type": "uint96"
565
+ },
566
+ {
567
+ "internalType": "VersionPart",
568
+ "name": "expectedRelease",
569
+ "type": "uint8"
570
+ }
571
+ ],
572
+ "name": "getAndVerifyProductForPolicy",
573
+ "outputs": [
574
+ {
575
+ "internalType": "NftId",
576
+ "name": "",
577
+ "type": "uint96"
578
+ },
579
+ {
580
+ "internalType": "contract IInstance",
581
+ "name": "",
582
+ "type": "IInstance"
583
+ }
584
+ ],
585
+ "stateMutability": "view",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
297
590
  {
298
591
  "internalType": "NftId",
299
592
  "name": "componentNftId",
300
593
  "type": "uint96"
301
594
  },
595
+ {
596
+ "internalType": "VersionPart",
597
+ "name": "release",
598
+ "type": "uint8"
599
+ },
302
600
  {
303
601
  "internalType": "bool",
304
602
  "name": "onlyActive",
@@ -345,9 +643,9 @@
345
643
  "type": "tuple"
346
644
  },
347
645
  {
348
- "internalType": "address",
646
+ "internalType": "contract IInstance",
349
647
  "name": "instance",
350
- "type": "address"
648
+ "type": "IInstance"
351
649
  }
352
650
  ],
353
651
  "stateMutability": "view",
@@ -355,11 +653,6 @@
355
653
  },
356
654
  {
357
655
  "inputs": [
358
- {
359
- "internalType": "contract IRegistry",
360
- "name": "registry",
361
- "type": "IRegistry"
362
- },
363
656
  {
364
657
  "internalType": "NftId",
365
658
  "name": "componentNftId",
@@ -487,35 +780,6 @@
487
780
  "stateMutability": "view",
488
781
  "type": "function"
489
782
  },
490
- {
491
- "inputs": [
492
- {
493
- "internalType": "address",
494
- "name": "registry",
495
- "type": "address"
496
- },
497
- {
498
- "internalType": "address",
499
- "name": "caller",
500
- "type": "address"
501
- },
502
- {
503
- "internalType": "ObjectType",
504
- "name": "expectedType",
505
- "type": "uint8"
506
- }
507
- ],
508
- "name": "isRegistered",
509
- "outputs": [
510
- {
511
- "internalType": "bool",
512
- "name": "",
513
- "type": "bool"
514
- }
515
- ],
516
- "stateMutability": "view",
517
- "type": "function"
518
- },
519
783
  {
520
784
  "inputs": [
521
785
  {
@@ -532,7 +796,7 @@
532
796
  "type": "bool"
533
797
  }
534
798
  ],
535
- "stateMutability": "view",
799
+ "stateMutability": "pure",
536
800
  "type": "function"
537
801
  },
538
802
  {
@@ -579,18 +843,22 @@
579
843
  "type": "function"
580
844
  }
581
845
  ],
582
- "bytecode": "0x611378610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c80635c990ed311610093578063c52721a31161006e578063c52721a3146101ed578063ce64d28114610200578063d905700714610213578063e9d8dbfd14610226575f80fd5b80635c990ed3146101a6578063aa13a988146101c7578063b6bbad12146101da575f80fd5b80632330f247116100ce5780632330f247146101425780632cb82458146101555780633334d16b14610168578063398ac53c1461017b575f80fd5b80630f4809ac146100f4578063162790551461011c5780632227ca6d1461012f575b5f80fd5b610107610102366004610ed8565b610239565b60405190151581526020015b60405180910390f35b61010761012a366004610ed8565b6102d6565b61010761013d366004610f01565b6102f3565b610107610150366004610ed8565b610478565b610107610163366004610f5d565b6104a4565b610107610176366004610ed8565b610530565b61018e610189366004610ff8565b610556565b6040516001600160a01b039091168152602001610113565b6101b96101b43660046110ab565b610788565b6040516101139291906110f9565b6101b96101d5366004611175565b6107b6565b6101076101e8366004610ed8565b610871565b6101b96101fb3660046111b2565b610882565b61018e61020e3660046111df565b61090d565b610107610221366004611216565b610a73565b610107610234366004610ed8565b610a7e565b5f610243826102d6565b61024e57505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b0385169161028f919061124e565b5f60405180830381855afa9150503d805f81146102c7576040519150601f19603f3d011682016040523d82523d5f602084013e6102cc565b606091505b5090949350505050565b5f6001600160a01b0382166102ec57505f919050565b503b151590565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f918291861690635e546bee90602401602060405180830381865afa15801561033b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035f9190611264565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156103b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103dc919061127f565b156103ea575f915050610471565b6040516305247a1760e51b81526001600160601b038216600482015261046d906001600160a01b0387169063a48f42e09060240160c060405180830381865afa158015610439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061045d919061129a565b604001518460ff90811691161490565b9150505b9392505050565b5f610482826102d6565b61048d57505f919050565b61049e826309990e3960e41b610a73565b92915050565b60405163cf44b1eb60e01b81526001600160601b03841660048201526001600160a01b03838116602483015260ff831660448301525f919086169063cf44b1eb90606401602060405180830381865afa158015610503573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610527919061127f565b95945050505050565b5f61053a826102d6565b61054557505f919050565b61049e82639eb3344d60e01b610a73565b5f6105728260400151610567600c90565b60ff90811691161490565b156106545760208201516040516305247a1760e51b81526001600160601b0390911660048201525f906001600160a01b0385169063a48f42e09060240160c060405180830381865afa1580156105ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee919061129a565b905061060c8160400151610600600a90565b60ff9081169116141590565b15610649578251602084015160405163477f712160e01b81526001600160601b039283166004820152911660248201526044015b60405180910390fd5b60a00151905061049e565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0384169063a48f42e09060240160c060405180830381865afa1580156106a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c9919061129a565b91506106db8260400151610600600c90565b15610713578151602083015160405163695057c960e11b81526001600160601b03928316600482015291166024820152604401610640565b602082015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790602401602060405180830381865afa158015610764573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104719190611327565b610790610e8d565b5f61079b8686610aa4565b91506107a986838686610c34565b9150915094509492505050565b6107be610e8d565b5f6107c98585610aa4565b91506107db8260400151610567600c90565b806107f157506107f18260400151610567600f90565b8061080757506108078260400151610567600e90565b8061081d575061081d8260400151610567600d90565b610855578151604080840151905163447f933160e01b81526001600160601b03909216600483015260ff166024820152604401610640565b6108658583846040015186610c34565b91509150935093915050565b5f61049e82620b5ccf60e31b610cbc565b61088a610e8d565b6040516305247a1760e51b81526001600160601b03841660048201525f906001600160a01b0386169063a48f42e09060240160c060405180830381865afa1580156108d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fb919061129a565b91506108658583846040015186610c34565b60405163677d3feb60e11b81526001600160601b03821660048201525f9081906001600160a01b0385169063cefa7fd690602401602060405180830381865afa15801561095c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109809190611264565b60405163677d3feb60e11b81526001600160601b03821660048201529091505f906001600160a01b0386169063cefa7fd690602401602060405180830381865afa1580156109d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f49190611264565b6040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0386169063a48f42e09060240160c060405180830381865afa158015610a42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a66919061129a565b60a0015195945050505050565b5f6104718383610cbc565b5f610a88826102d6565b610a9357505f919050565b61049e8263daf9067160e01b610a73565b610aac610e8d565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f9190851690635e546bee90602401602060405180830381865afa158015610af3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b179190611264565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b94919061127f565b15610bbd57604051631988b69760e21b81526001600160a01b0384166004820152602401610640565b6040516305247a1760e51b81526001600160601b03821660048201526001600160a01b0385169063a48f42e09060240160c060405180830381865afa158015610c08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c919061129a565b949350505050565b610c3c610e8d565b5f610c5285604001518560ff9081169116141590565b15610c93578451604080870151905163176bb19d60e21b81526001600160601b03909216600483015260ff8087166024840152166044820152606401610640565b610c9d8686610556565b9050610cb2818660a00151875f015186610cd7565b9395939450505050565b5f610cc683610dd5565b801561047157506104718383610e07565b8015610dcf57836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3d9190611327565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015610d82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da6919061127f565b15610dcf57604051633a31890160e11b81526001600160601b0383166004820152602401610640565b50505050565b5f610de7826301ffc9a760e01b610e07565b801561049e5750610e00826001600160e01b0319610e07565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f519050828015610e77575060208210155b8015610e8257505f81115b979650505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a081019190915290565b6001600160a01b0381168114610ed5575f80fd5b50565b5f60208284031215610ee8575f80fd5b813561047181610ec1565b60ff81168114610ed5575f80fd5b5f805f60608486031215610f13575f80fd5b8335610f1e81610ec1565b92506020840135610f2e81610ec1565b91506040840135610f3e81610ef3565b809150509250925092565b6001600160601b0381168114610ed5575f80fd5b5f805f8060808587031215610f70575f80fd5b8435610f7b81610ec1565b93506020850135610f8b81610f49565b92506040850135610f9b81610ec1565b91506060850135610fab81610ef3565b939692955090935050565b60405160c0810167ffffffffffffffff81118282101715610fe557634e487b7160e01b5f52604160045260245ffd5b60405290565b8015158114610ed5575f80fd5b5f8082840360e081121561100a575f80fd5b833561101581610ec1565b925060c0601f1982011215611028575f80fd5b50611031610fb6565b602084013561103f81610f49565b8152604084013561104f81610f49565b6020820152606084013561106281610ef3565b6040820152608084013561107581610ef3565b606082015260a084013561108881610feb565b608082015260c084013561109b81610ec1565b60a0820152919491935090915050565b5f805f80608085870312156110be575f80fd5b84356110c981610ec1565b935060208501356110d981610ec1565b925060408501356110e981610ef3565b91506060850135610fab81610feb565b5f60e0820190506001600160601b0384511682526001600160601b03602085015116602083015260ff604085015116604083015260ff606085015116606083015260808401511515608083015260a084015161116060a08401826001600160a01b03169052565b506001600160a01b03831660c0830152610471565b5f805f60608486031215611187575f80fd5b833561119281610ec1565b925060208401356111a281610ec1565b91506040840135610f3e81610feb565b5f805f606084860312156111c4575f80fd5b83356111cf81610ec1565b925060208401356111a281610f49565b5f80604083850312156111f0575f80fd5b82356111fb81610ec1565b9150602083013561120b81610f49565b809150509250929050565b5f8060408385031215611227575f80fd5b823561123281610ec1565b915060208301356001600160e01b03198116811461120b575f80fd5b5f82518060208501845e5f920191825250919050565b5f60208284031215611274575f80fd5b815161047181610f49565b5f6020828403121561128f575f80fd5b815161047181610feb565b5f60c08284031280156112ab575f80fd5b506112b4610fb6565b82516112bf81610f49565b815260208301516112cf81610f49565b602082015260408301516112e281610ef3565b604082015260608301516112f581610ef3565b6060820152608083015161130881610feb565b608082015260a083015161131b81610ec1565b60a08201529392505050565b5f60208284031215611337575f80fd5b815161047181610ec156fea26469706673582212207896178695fcfd39a3d1f71d048ca4260630e118a9556aa437c4a91cecd92b7a64736f6c634300081a0033",
583
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c80635c990ed311610093578063c52721a31161006e578063c52721a3146101ed578063ce64d28114610200578063d905700714610213578063e9d8dbfd14610226575f80fd5b80635c990ed3146101a6578063aa13a988146101c7578063b6bbad12146101da575f80fd5b80632330f247116100ce5780632330f247146101425780632cb82458146101555780633334d16b14610168578063398ac53c1461017b575f80fd5b80630f4809ac146100f4578063162790551461011c5780632227ca6d1461012f575b5f80fd5b610107610102366004610ed8565b610239565b60405190151581526020015b60405180910390f35b61010761012a366004610ed8565b6102d6565b61010761013d366004610f01565b6102f3565b610107610150366004610ed8565b610478565b610107610163366004610f5d565b6104a4565b610107610176366004610ed8565b610530565b61018e610189366004610ff8565b610556565b6040516001600160a01b039091168152602001610113565b6101b96101b43660046110ab565b610788565b6040516101139291906110f9565b6101b96101d5366004611175565b6107b6565b6101076101e8366004610ed8565b610871565b6101b96101fb3660046111b2565b610882565b61018e61020e3660046111df565b61090d565b610107610221366004611216565b610a73565b610107610234366004610ed8565b610a7e565b5f610243826102d6565b61024e57505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b0385169161028f919061124e565b5f60405180830381855afa9150503d805f81146102c7576040519150601f19603f3d011682016040523d82523d5f602084013e6102cc565b606091505b5090949350505050565b5f6001600160a01b0382166102ec57505f919050565b503b151590565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f918291861690635e546bee90602401602060405180830381865afa15801561033b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035f9190611264565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156103b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103dc919061127f565b156103ea575f915050610471565b6040516305247a1760e51b81526001600160601b038216600482015261046d906001600160a01b0387169063a48f42e09060240160c060405180830381865afa158015610439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061045d919061129a565b604001518460ff90811691161490565b9150505b9392505050565b5f610482826102d6565b61048d57505f919050565b61049e826309990e3960e41b610a73565b92915050565b60405163cf44b1eb60e01b81526001600160601b03841660048201526001600160a01b03838116602483015260ff831660448301525f919086169063cf44b1eb90606401602060405180830381865afa158015610503573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610527919061127f565b95945050505050565b5f61053a826102d6565b61054557505f919050565b61049e82639eb3344d60e01b610a73565b5f6105728260400151610567600c90565b60ff90811691161490565b156106545760208201516040516305247a1760e51b81526001600160601b0390911660048201525f906001600160a01b0385169063a48f42e09060240160c060405180830381865afa1580156105ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ee919061129a565b905061060c8160400151610600600a90565b60ff9081169116141590565b15610649578251602084015160405163477f712160e01b81526001600160601b039283166004820152911660248201526044015b60405180910390fd5b60a00151905061049e565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0384169063a48f42e09060240160c060405180830381865afa1580156106a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c9919061129a565b91506106db8260400151610600600c90565b15610713578151602083015160405163695057c960e11b81526001600160601b03928316600482015291166024820152604401610640565b602082015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790602401602060405180830381865afa158015610764573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104719190611327565b610790610e8d565b5f61079b8686610aa4565b91506107a986838686610c34565b9150915094509492505050565b6107be610e8d565b5f6107c98585610aa4565b91506107db8260400151610567600c90565b806107f157506107f18260400151610567600f90565b8061080757506108078260400151610567600e90565b8061081d575061081d8260400151610567600d90565b610855578151604080840151905163447f933160e01b81526001600160601b03909216600483015260ff166024820152604401610640565b6108658583846040015186610c34565b91509150935093915050565b5f61049e82620b5ccf60e31b610cbc565b61088a610e8d565b6040516305247a1760e51b81526001600160601b03841660048201525f906001600160a01b0386169063a48f42e09060240160c060405180830381865afa1580156108d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fb919061129a565b91506108658583846040015186610c34565b60405163677d3feb60e11b81526001600160601b03821660048201525f9081906001600160a01b0385169063cefa7fd690602401602060405180830381865afa15801561095c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109809190611264565b60405163677d3feb60e11b81526001600160601b03821660048201529091505f906001600160a01b0386169063cefa7fd690602401602060405180830381865afa1580156109d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f49190611264565b6040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0386169063a48f42e09060240160c060405180830381865afa158015610a42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a66919061129a565b60a0015195945050505050565b5f6104718383610cbc565b5f610a88826102d6565b610a9357505f919050565b61049e8263daf9067160e01b610a73565b610aac610e8d565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f9190851690635e546bee90602401602060405180830381865afa158015610af3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b179190611264565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b94919061127f565b15610bbd57604051631988b69760e21b81526001600160a01b0384166004820152602401610640565b6040516305247a1760e51b81526001600160601b03821660048201526001600160a01b0385169063a48f42e09060240160c060405180830381865afa158015610c08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c919061129a565b949350505050565b610c3c610e8d565b5f610c5285604001518560ff9081169116141590565b15610c93578451604080870151905163176bb19d60e21b81526001600160601b03909216600483015260ff8087166024840152166044820152606401610640565b610c9d8686610556565b9050610cb2818660a00151875f015186610cd7565b9395939450505050565b5f610cc683610dd5565b801561047157506104718383610e07565b8015610dcf57836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3d9190611327565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015610d82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da6919061127f565b15610dcf57604051633a31890160e11b81526001600160601b0383166004820152602401610640565b50505050565b5f610de7826301ffc9a760e01b610e07565b801561049e5750610e00826001600160e01b0319610e07565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f519050828015610e77575060208210155b8015610e8257505f81115b979650505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a081019190915290565b6001600160a01b0381168114610ed5575f80fd5b50565b5f60208284031215610ee8575f80fd5b813561047181610ec1565b60ff81168114610ed5575f80fd5b5f805f60608486031215610f13575f80fd5b8335610f1e81610ec1565b92506020840135610f2e81610ec1565b91506040840135610f3e81610ef3565b809150509250925092565b6001600160601b0381168114610ed5575f80fd5b5f805f8060808587031215610f70575f80fd5b8435610f7b81610ec1565b93506020850135610f8b81610f49565b92506040850135610f9b81610ec1565b91506060850135610fab81610ef3565b939692955090935050565b60405160c0810167ffffffffffffffff81118282101715610fe557634e487b7160e01b5f52604160045260245ffd5b60405290565b8015158114610ed5575f80fd5b5f8082840360e081121561100a575f80fd5b833561101581610ec1565b925060c0601f1982011215611028575f80fd5b50611031610fb6565b602084013561103f81610f49565b8152604084013561104f81610f49565b6020820152606084013561106281610ef3565b6040820152608084013561107581610ef3565b606082015260a084013561108881610feb565b608082015260c084013561109b81610ec1565b60a0820152919491935090915050565b5f805f80608085870312156110be575f80fd5b84356110c981610ec1565b935060208501356110d981610ec1565b925060408501356110e981610ef3565b91506060850135610fab81610feb565b5f60e0820190506001600160601b0384511682526001600160601b03602085015116602083015260ff604085015116604083015260ff606085015116606083015260808401511515608083015260a084015161116060a08401826001600160a01b03169052565b506001600160a01b03831660c0830152610471565b5f805f60608486031215611187575f80fd5b833561119281610ec1565b925060208401356111a281610ec1565b91506040840135610f3e81610feb565b5f805f606084860312156111c4575f80fd5b83356111cf81610ec1565b925060208401356111a281610f49565b5f80604083850312156111f0575f80fd5b82356111fb81610ec1565b9150602083013561120b81610f49565b809150509250929050565b5f8060408385031215611227575f80fd5b823561123281610ec1565b915060208301356001600160e01b03198116811461120b575f80fd5b5f82518060208501845e5f920191825250919050565b5f60208284031215611274575f80fd5b815161047181610f49565b5f6020828403121561128f575f80fd5b815161047181610feb565b5f60c08284031280156112ab575f80fd5b506112b4610fb6565b82516112bf81610f49565b815260208301516112cf81610f49565b602082015260408301516112e281610ef3565b604082015260608301516112f581610ef3565b6060820152608083015161130881610feb565b608082015260a083015161131b81610ec1565b60a08201529392505050565b5f60208284031215611337575f80fd5b815161047181610ec156fea26469706673582212207896178695fcfd39a3d1f71d048ca4260630e118a9556aa437c4a91cecd92b7a64736f6c634300081a0033",
846
+ "bytecode": "0x611b15610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061013d575f3560e01c806362ee4e8f116100bf578063c55e752b11610084578063c55e752b14610314578063d796048c14610327578063d90570071461033a578063e1a8dd511461034d578063e9d8dbfd14610360578063fabb962d14610373575f80fd5b806362ee4e8f1461029557806388985b10146102a8578063a587ca93146102d3578063b6bbad12146102e6578063bd3bf7f3146102f9575f80fd5b80632cb82458116101055780632cb82458146101ea5780633334d16b146101fd578063422679871461022d57806352f5c8861461024057806358da47ce14610253575f80fd5b80630f4809ac1461014157806316279055146101695780631d8796f21461017c5780631d8c0e0b1461019d5780632330f247146101d7575b5f80fd5b61015461014f3660046115cc565b610386565b60405190151581526020015b60405180910390f35b6101546101773660046115cc565b610423565b61018f61018a366004611616565b610440565b60405161016092919061165e565b6101b06101ab3660046116da565b61051a565b604080516001600160601b0390931683526001600160a01b03909116602083015201610160565b6101546101e53660046115cc565b610537565b6101546101f8366004611711565b610563565b61015461020b3660046115cc565b6001600160a01b031673345ca3e014aaf5dca488057592ee47305d9b3e101490565b6101b061023b36600461176a565b6105ef565b6101b061024e3660046116da565b610609565b6102666102613660046116da565b610619565b604080516001600160601b0390941684526001600160a01b039283166020850152911690820152606001610160565b6101b06102a33660046116da565b61063d565b6102bb6102b6366004611785565b61065d565b6040516001600160a01b039091168152602001610160565b6101b06102e13660046117a0565b6107db565b6101546102f43660046115cc565b610804565b6102bb73345ca3e014aaf5dca488057592ee47305d9b3e1081565b6102bb610322366004611823565b610815565b6101b061033536600461176a565b610a61565b6101546103483660046118b0565b610a6e565b6101b061035b3660046118e8565b610a79565b61015461036e3660046115cc565b610d76565b610266610381366004611955565b610d9c565b5f61039082610423565b61039b57505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b038516916103dc91906119d3565b5f60405180830381855afa9150503d805f8114610414576040519150601f19603f3d011682016040523d82523d5f602084013e610419565b606091505b5090949350505050565b5f6001600160a01b03821661043957505f919050565b503b151590565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525f8073345ca3e014aaf5dca488057592ee47305d9b3e106040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e09060240160c060405180830381865afa1580156104d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fa91906119e9565b925061050c83846040015187876110d8565b939793965092945050505050565b5f8061052c3360018660165b87610a79565b915091509250929050565b5f61054182610423565b61054c57505f919050565b61055d826309990e3960e41b610a6e565b92915050565b60405163cf44b1eb60e01b81526001600160601b03841660048201526001600160a01b03838116602483015260ff831660448301525f919086169063cf44b1eb90606401602060405180830381865afa1580156105c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e69190611a6a565b95945050505050565b5f8061060033600c5b8560016107db565b91509150915091565b5f8061052c336001866015610526565b5f80808061062e33600b600189600d8a610d9c565b91989097509095509350505050565b5f8061065033600f600187601588610d9c565b9196919550909350505050565b5f8073345ca3e014aaf5dca488057592ee47305d9b3e1060405163677d3feb60e11b81526001600160601b03851660048201529091505f906001600160a01b0383169063cefa7fd690602401602060405180830381865afa1580156106c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e89190611a85565b60405163677d3feb60e11b81526001600160601b03821660048201529091505f906001600160a01b0384169063cefa7fd690602401602060405180830381865afa158015610738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075c9190611a85565b6040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0384169063a48f42e09060240160c060405180830381865afa1580156107aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ce91906119e9565b60a0015195945050505050565b5f805f6107e787611203565b90506107f5818787876110d8565b92509250505b94509492505050565b5f61055d82620b5ccf60e31b611360565b60408101515f9073345ca3e014aaf5dca488057592ee47305d9b3e109061084490600c5b60ff90811691161490565b156109265760208301516040516305247a1760e51b81526001600160601b0390911660048201525f906001600160a01b0383169063a48f42e09060240160c060405180830381865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c091906119e9565b90506108de81604001516108d2600a90565b60ff9081169116141590565b1561091b578351602085015160405163477f712160e01b81526001600160601b039283166004820152911660248201526044015b60405180910390fd5b60a001519392505050565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0382169063a48f42e09060240160c060405180830381865afa158015610977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099b91906119e9565b92506109ad83604001516108d2600c90565b156109e5578251602084015160405163695057c960e11b81526001600160601b03928316600482015291166024820152604401610912565b602083015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0382169063bf8e179790602401602060405180830381865afa158015610a36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5a9190611aa0565b9392505050565b5f8061060033600f6105f8565b5f610a5a8383611360565b5f808073345ca3e014aaf5dca488057592ee47305d9b3e106040516305247a1760e51b81526001600160601b03881660048201529091505f906001600160a01b0383169063a48f42e09060240160c060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906119e9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190611a6a565b15610bae5760405163a9bf1bcf60e01b81526001600160601b0388166004820152602401610912565b604081015160ff878116911614610be25786868260400151604051635b8cb97360e11b815260040161091293929190611abb565b606081015160ff868116911614610c16578685826060015160405163c06bb3e560e01b815260040161091293929190611abb565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0383169063a48f42e09060240160c060405180830381865afa158015610c67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8b91906119e9565b9050805f01519350886001600160a01b03168160a001516001600160a01b031614610d5357604051632f2a35f760e11b81526001600160a01b038a81166004830152889190841690635e546bee90602401602060405180830381865afa158015610cf7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1b9190611a85565b82516040516342198f0360e11b81526001600160601b0393841660048201529183166024830152919091166044820152606401610912565b610d5c81610815565b9250610d6a838a868b61137b565b50509550959350505050565b5f610d8082610423565b610d8b57505f919050565b61055d8263daf9067160e01b610a6e565b5f80808073345ca3e014aaf5dca488057592ee47305d9b3e106040516308b09a5f60e41b81526001600160a01b038c811660048301529192505f91831690638b09a5f09060240160c060405180830381865afa158015610dfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2291906119e9565b805195509050610e338a600b6108d2565b15610e7157604081015160ff8b8116911614610e6c578051604080830151905163176bb19d60e21b815261091292918d91600401611abb565b610efb565b610e818160400151610839600c90565b80610e975750610e978160400151610839600f90565b80610ead5750610ead8160400151610839600e90565b80610ec35750610ec38160400151610839600d90565b610efb578051604080830151905163447f933160e01b81526001600160601b03909216600483015260ff166024820152604401610912565b606081015160ff878116911614610f2f578051606082015160405163190048b760e31b815261091292918991600401611abb565b6040516305247a1760e51b81526001600160601b03891660048201525f906001600160a01b0384169063a48f42e09060240160c060405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa091906119e9565b90508060a001519450610fbe81604001518960ff9081169116141590565b15610fe65788888260400151604051635b8cb97360e11b815260040161091293929190611abb565b610ff68260400151610839600c90565b156110515761100c825f01518260200151611479565b1561104c57602081015182516040516342198f0360e11b81526001600160601b03808d166004830152928316602482015291166044820152606401610912565b6110b2565b61106382602001518260200151611479565b156110b257815160208084015190830151604051634256153160e11b81526001600160601b0393841660048201529183166024830152828c166044830152919091166064820152608401610912565b6110bb82610815565b93506110c9848d888d61137b565b50505096509650969350505050565b5f806110e585600b6108d2565b1561112357604086015160ff86811691161461111e578551604080880151905163176bb19d60e21b815261091292918891600401611abb565b6111ad565b6111338660400151610839600c90565b8061114957506111498660400151610839600f90565b8061115f575061115f8660400151610839600e90565b8061117557506111758660400151610839600d90565b6111ad578551604080880151905163447f933160e01b81526001600160601b03909216600483015260ff166024820152604401610912565b606086015160ff8581169116146111e1578551606087015160405163190048b760e31b815261091292918791600401611abb565b855191506111ee86610815565b90506107fb818760a00151885f01518661137b565b6040805160c080820183525f80835260208301819052828401819052606083018190526080830181905260a083015282516308b09a5f60e41b81526001600160a01b03851660048201529251919273345ca3e014aaf5dca488057592ee47305d9b3e10928392638b09a5f092602480820193918290030181865afa15801561128d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b191906119e9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290925073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561130d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113319190611a6a565b1561135a57604051631988b69760e21b81526001600160a01b0384166004820152602401610912565b50919050565b5f61136a836114fd565b8015610a5a5750610a5a838361152f565b801561147357836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e19190611aa0565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015611426573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144a9190611a6a565b1561147357604051633a31890160e11b81526001600160601b0383166004820152602401610912565b50505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af41580156114d9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5a9190611a6a565b5f61150f826301ffc9a760e01b61152f565b801561055d5750611528826001600160e01b031961152f565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f51905082801561159f575060208210155b80156115aa57505f81115b979650505050505050565b6001600160a01b03811681146115c9575f80fd5b50565b5f602082840312156115dc575f80fd5b8135610a5a816115b5565b6001600160601b03811681146115c9575f80fd5b60ff811681146115c9575f80fd5b80151581146115c9575f80fd5b5f805f60608486031215611628575f80fd5b8335611633816115e7565b92506020840135611643816115fb565b9150604084013561165381611609565b809150509250925092565b5f60e0820190506001600160601b0384511682526001600160601b03602085015116602083015260ff604085015116604083015260ff606085015116606083015260808401511515608083015260a08401516116c560a08401826001600160a01b03169052565b506001600160a01b03831660c0830152610a5a565b5f80604083850312156116eb575f80fd5b82356116f6816115e7565b91506020830135611706816115fb565b809150509250929050565b5f805f8060808587031215611724575f80fd5b843561172f816115b5565b9350602085013561173f816115e7565b9250604085013561174f816115b5565b9150606085013561175f816115fb565b939692955090935050565b5f6020828403121561177a575f80fd5b8135610a5a816115fb565b5f60208284031215611795575f80fd5b8135610a5a816115e7565b5f805f80608085870312156117b3575f80fd5b84356117be816115b5565b935060208501356117ce816115fb565b925060408501356117de816115fb565b9150606085013561175f81611609565b60405160c0810167ffffffffffffffff8111828210171561181d57634e487b7160e01b5f52604160045260245ffd5b60405290565b5f60c0828403128015611834575f80fd5b5061183d6117ee565b8235611848816115e7565b81526020830135611858816115e7565b6020820152604083013561186b816115fb565b6040820152606083013561187e816115fb565b6060820152608083013561189181611609565b608082015260a08301356118a4816115b5565b60a08201529392505050565b5f80604083850312156118c1575f80fd5b82356118cc816115b5565b915060208301356001600160e01b031981168114611706575f80fd5b5f805f805f60a086880312156118fc575f80fd5b8535611907816115b5565b9450602086013561191781611609565b93506040860135611927816115e7565b92506060860135611937816115fb565b91506080860135611947816115fb565b809150509295509295909350565b5f805f805f8060c0878903121561196a575f80fd5b8635611975816115b5565b95506020870135611985816115fb565b9450604087013561199581611609565b935060608701356119a5816115e7565b925060808701356119b5816115fb565b915060a08701356119c5816115fb565b809150509295509295509295565b5f82518060208501845e5f920191825250919050565b5f60c08284031280156119fa575f80fd5b50611a036117ee565b8251611a0e816115e7565b81526020830151611a1e816115e7565b60208201526040830151611a31816115fb565b60408201526060830151611a44816115fb565b60608201526080830151611a5781611609565b608082015260a08301516118a4816115b5565b5f60208284031215611a7a575f80fd5b8151610a5a81611609565b5f60208284031215611a95575f80fd5b8151610a5a816115e7565b5f60208284031215611ab0575f80fd5b8151610a5a816115b5565b6001600160601b0393909316835260ff91821660208401521660408201526060019056fea26469706673582212201ad1bf310d73ce00aca6711aeae86bc95b6ab65d0369573758335db9f35d8aed64736f6c634300081a0033",
847
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061013d575f3560e01c806362ee4e8f116100bf578063c55e752b11610084578063c55e752b14610314578063d796048c14610327578063d90570071461033a578063e1a8dd511461034d578063e9d8dbfd14610360578063fabb962d14610373575f80fd5b806362ee4e8f1461029557806388985b10146102a8578063a587ca93146102d3578063b6bbad12146102e6578063bd3bf7f3146102f9575f80fd5b80632cb82458116101055780632cb82458146101ea5780633334d16b146101fd578063422679871461022d57806352f5c8861461024057806358da47ce14610253575f80fd5b80630f4809ac1461014157806316279055146101695780631d8796f21461017c5780631d8c0e0b1461019d5780632330f247146101d7575b5f80fd5b61015461014f3660046115cc565b610386565b60405190151581526020015b60405180910390f35b6101546101773660046115cc565b610423565b61018f61018a366004611616565b610440565b60405161016092919061165e565b6101b06101ab3660046116da565b61051a565b604080516001600160601b0390931683526001600160a01b03909116602083015201610160565b6101546101e53660046115cc565b610537565b6101546101f8366004611711565b610563565b61015461020b3660046115cc565b6001600160a01b031673345ca3e014aaf5dca488057592ee47305d9b3e101490565b6101b061023b36600461176a565b6105ef565b6101b061024e3660046116da565b610609565b6102666102613660046116da565b610619565b604080516001600160601b0390941684526001600160a01b039283166020850152911690820152606001610160565b6101b06102a33660046116da565b61063d565b6102bb6102b6366004611785565b61065d565b6040516001600160a01b039091168152602001610160565b6101b06102e13660046117a0565b6107db565b6101546102f43660046115cc565b610804565b6102bb73345ca3e014aaf5dca488057592ee47305d9b3e1081565b6102bb610322366004611823565b610815565b6101b061033536600461176a565b610a61565b6101546103483660046118b0565b610a6e565b6101b061035b3660046118e8565b610a79565b61015461036e3660046115cc565b610d76565b610266610381366004611955565b610d9c565b5f61039082610423565b61039b57505f919050565b60408051600481526024810182526020810180516001600160e01b031663bf7e214f60e01b17905290515f916001600160a01b038516916103dc91906119d3565b5f60405180830381855afa9150503d805f8114610414576040519150601f19603f3d011682016040523d82523d5f602084013e610419565b606091505b5090949350505050565b5f6001600160a01b03821661043957505f919050565b503b151590565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525f8073345ca3e014aaf5dca488057592ee47305d9b3e106040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e09060240160c060405180830381865afa1580156104d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fa91906119e9565b925061050c83846040015187876110d8565b939793965092945050505050565b5f8061052c3360018660165b87610a79565b915091509250929050565b5f61054182610423565b61054c57505f919050565b61055d826309990e3960e41b610a6e565b92915050565b60405163cf44b1eb60e01b81526001600160601b03841660048201526001600160a01b03838116602483015260ff831660448301525f919086169063cf44b1eb90606401602060405180830381865afa1580156105c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e69190611a6a565b95945050505050565b5f8061060033600c5b8560016107db565b91509150915091565b5f8061052c336001866015610526565b5f80808061062e33600b600189600d8a610d9c565b91989097509095509350505050565b5f8061065033600f600187601588610d9c565b9196919550909350505050565b5f8073345ca3e014aaf5dca488057592ee47305d9b3e1060405163677d3feb60e11b81526001600160601b03851660048201529091505f906001600160a01b0383169063cefa7fd690602401602060405180830381865afa1580156106c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e89190611a85565b60405163677d3feb60e11b81526001600160601b03821660048201529091505f906001600160a01b0384169063cefa7fd690602401602060405180830381865afa158015610738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075c9190611a85565b6040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0384169063a48f42e09060240160c060405180830381865afa1580156107aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ce91906119e9565b60a0015195945050505050565b5f805f6107e787611203565b90506107f5818787876110d8565b92509250505b94509492505050565b5f61055d82620b5ccf60e31b611360565b60408101515f9073345ca3e014aaf5dca488057592ee47305d9b3e109061084490600c5b60ff90811691161490565b156109265760208301516040516305247a1760e51b81526001600160601b0390911660048201525f906001600160a01b0383169063a48f42e09060240160c060405180830381865afa15801561089c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c091906119e9565b90506108de81604001516108d2600a90565b60ff9081169116141590565b1561091b578351602085015160405163477f712160e01b81526001600160601b039283166004820152911660248201526044015b60405180910390fd5b60a001519392505050565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0382169063a48f42e09060240160c060405180830381865afa158015610977573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099b91906119e9565b92506109ad83604001516108d2600c90565b156109e5578251602084015160405163695057c960e11b81526001600160601b03928316600482015291166024820152604401610912565b602083015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0382169063bf8e179790602401602060405180830381865afa158015610a36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5a9190611aa0565b9392505050565b5f8061060033600f6105f8565b5f610a5a8383611360565b5f808073345ca3e014aaf5dca488057592ee47305d9b3e106040516305247a1760e51b81526001600160601b03881660048201529091505f906001600160a01b0383169063a48f42e09060240160c060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906119e9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610b61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b859190611a6a565b15610bae5760405163a9bf1bcf60e01b81526001600160601b0388166004820152602401610912565b604081015160ff878116911614610be25786868260400151604051635b8cb97360e11b815260040161091293929190611abb565b606081015160ff868116911614610c16578685826060015160405163c06bb3e560e01b815260040161091293929190611abb565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0383169063a48f42e09060240160c060405180830381865afa158015610c67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8b91906119e9565b9050805f01519350886001600160a01b03168160a001516001600160a01b031614610d5357604051632f2a35f760e11b81526001600160a01b038a81166004830152889190841690635e546bee90602401602060405180830381865afa158015610cf7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1b9190611a85565b82516040516342198f0360e11b81526001600160601b0393841660048201529183166024830152919091166044820152606401610912565b610d5c81610815565b9250610d6a838a868b61137b565b50509550959350505050565b5f610d8082610423565b610d8b57505f919050565b61055d8263daf9067160e01b610a6e565b5f80808073345ca3e014aaf5dca488057592ee47305d9b3e106040516308b09a5f60e41b81526001600160a01b038c811660048301529192505f91831690638b09a5f09060240160c060405180830381865afa158015610dfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2291906119e9565b805195509050610e338a600b6108d2565b15610e7157604081015160ff8b8116911614610e6c578051604080830151905163176bb19d60e21b815261091292918d91600401611abb565b610efb565b610e818160400151610839600c90565b80610e975750610e978160400151610839600f90565b80610ead5750610ead8160400151610839600e90565b80610ec35750610ec38160400151610839600d90565b610efb578051604080830151905163447f933160e01b81526001600160601b03909216600483015260ff166024820152604401610912565b606081015160ff878116911614610f2f578051606082015160405163190048b760e31b815261091292918991600401611abb565b6040516305247a1760e51b81526001600160601b03891660048201525f906001600160a01b0384169063a48f42e09060240160c060405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fa091906119e9565b90508060a001519450610fbe81604001518960ff9081169116141590565b15610fe65788888260400151604051635b8cb97360e11b815260040161091293929190611abb565b610ff68260400151610839600c90565b156110515761100c825f01518260200151611479565b1561104c57602081015182516040516342198f0360e11b81526001600160601b03808d166004830152928316602482015291166044820152606401610912565b6110b2565b61106382602001518260200151611479565b156110b257815160208084015190830151604051634256153160e11b81526001600160601b0393841660048201529183166024830152828c166044830152919091166064820152608401610912565b6110bb82610815565b93506110c9848d888d61137b565b50505096509650969350505050565b5f806110e585600b6108d2565b1561112357604086015160ff86811691161461111e578551604080880151905163176bb19d60e21b815261091292918891600401611abb565b6111ad565b6111338660400151610839600c90565b8061114957506111498660400151610839600f90565b8061115f575061115f8660400151610839600e90565b8061117557506111758660400151610839600d90565b6111ad578551604080880151905163447f933160e01b81526001600160601b03909216600483015260ff166024820152604401610912565b606086015160ff8581169116146111e1578551606087015160405163190048b760e31b815261091292918791600401611abb565b855191506111ee86610815565b90506107fb818760a00151885f01518661137b565b6040805160c080820183525f80835260208301819052828401819052606083018190526080830181905260a083015282516308b09a5f60e41b81526001600160a01b03851660048201529251919273345ca3e014aaf5dca488057592ee47305d9b3e10928392638b09a5f092602480820193918290030181865afa15801561128d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b191906119e9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290925073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561130d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113319190611a6a565b1561135a57604051631988b69760e21b81526001600160a01b0384166004820152602401610912565b50919050565b5f61136a836114fd565b8015610a5a5750610a5a838361152f565b801561147357836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e19190611aa0565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015611426573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144a9190611a6a565b1561147357604051633a31890160e11b81526001600160601b0383166004820152602401610912565b50505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af41580156114d9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5a9190611a6a565b5f61150f826301ffc9a760e01b61152f565b801561055d5750611528826001600160e01b031961152f565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f51905082801561159f575060208210155b80156115aa57505f81115b979650505050505050565b6001600160a01b03811681146115c9575f80fd5b50565b5f602082840312156115dc575f80fd5b8135610a5a816115b5565b6001600160601b03811681146115c9575f80fd5b60ff811681146115c9575f80fd5b80151581146115c9575f80fd5b5f805f60608486031215611628575f80fd5b8335611633816115e7565b92506020840135611643816115fb565b9150604084013561165381611609565b809150509250925092565b5f60e0820190506001600160601b0384511682526001600160601b03602085015116602083015260ff604085015116604083015260ff606085015116606083015260808401511515608083015260a08401516116c560a08401826001600160a01b03169052565b506001600160a01b03831660c0830152610a5a565b5f80604083850312156116eb575f80fd5b82356116f6816115e7565b91506020830135611706816115fb565b809150509250929050565b5f805f8060808587031215611724575f80fd5b843561172f816115b5565b9350602085013561173f816115e7565b9250604085013561174f816115b5565b9150606085013561175f816115fb565b939692955090935050565b5f6020828403121561177a575f80fd5b8135610a5a816115fb565b5f60208284031215611795575f80fd5b8135610a5a816115e7565b5f805f80608085870312156117b3575f80fd5b84356117be816115b5565b935060208501356117ce816115fb565b925060408501356117de816115fb565b9150606085013561175f81611609565b60405160c0810167ffffffffffffffff8111828210171561181d57634e487b7160e01b5f52604160045260245ffd5b60405290565b5f60c0828403128015611834575f80fd5b5061183d6117ee565b8235611848816115e7565b81526020830135611858816115e7565b6020820152604083013561186b816115fb565b6040820152606083013561187e816115fb565b6060820152608083013561189181611609565b608082015260a08301356118a4816115b5565b60a08201529392505050565b5f80604083850312156118c1575f80fd5b82356118cc816115b5565b915060208301356001600160e01b031981168114611706575f80fd5b5f805f805f60a086880312156118fc575f80fd5b8535611907816115b5565b9450602086013561191781611609565b93506040860135611927816115e7565b92506060860135611937816115fb565b91506080860135611947816115fb565b809150509295509295909350565b5f805f805f8060c0878903121561196a575f80fd5b8635611975816115b5565b95506020870135611985816115fb565b9450604087013561199581611609565b935060608701356119a5816115e7565b925060808701356119b5816115fb565b915060a08701356119c5816115fb565b809150509295509295509295565b5f82518060208501845e5f920191825250919050565b5f60c08284031280156119fa575f80fd5b50611a036117ee565b8251611a0e816115e7565b81526020830151611a1e816115e7565b60208201526040830151611a31816115fb565b60408201526060830151611a44816115fb565b60608201526080830151611a5781611609565b608082015260a08301516118a4816115b5565b5f60208284031215611a7a575f80fd5b8151610a5a81611609565b5f60208284031215611a95575f80fd5b8151610a5a816115e7565b5f60208284031215611ab0575f80fd5b8151610a5a816115b5565b6001600160601b0393909316835260ff91821660208401521660408201526060019056fea26469706673582212201ad1bf310d73ce00aca6711aeae86bc95b6ab65d0369573758335db9f35d8aed64736f6c634300081a0033",
584
848
  "linkReferences": {
585
849
  "contracts/type/NftId.sol": {
586
850
  "NftIdLib": [
587
851
  {
588
852
  "length": 20,
589
- "start": 948
853
+ "start": 2909
590
854
  },
591
855
  {
592
856
  "length": 20,
593
- "start": 2924
857
+ "start": 4873
858
+ },
859
+ {
860
+ "length": 20,
861
+ "start": 5333
594
862
  }
595
863
  ]
596
864
  }
@@ -600,11 +868,15 @@
600
868
  "NftIdLib": [
601
869
  {
602
870
  "length": 20,
603
- "start": 896
871
+ "start": 2857
872
+ },
873
+ {
874
+ "length": 20,
875
+ "start": 4821
604
876
  },
605
877
  {
606
878
  "length": 20,
607
- "start": 2872
879
+ "start": 5281
608
880
  }
609
881
  ]
610
882
  }