@etherisc/gif-next 3.0.0-24be7ed-702 → 3.0.0-2e16ebd-614

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