@etherisc/gif-next 3.0.0-c46a89a-335 → 3.0.0-cdd3800-286

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