@etherisc/gif-next 0.0.2-f18fb8b-243 → 0.0.2-f1f3b2c-994

Sign up to get free protection for your applications and to get access to all the features.
Files changed (465) hide show
  1. package/README.md +19 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +81 -63
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +48 -30
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +21 -2
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +72 -9
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +106 -248
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +64 -222
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +228 -217
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +93 -101
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +64 -37
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +120 -31
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +6 -6
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +5 -5
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +17 -106
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +146 -112
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +31 -31
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +437 -129
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +44 -151
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +285 -228
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +45 -4
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  80. package/artifacts/contracts/instance/base/{ObjectManager.sol/ObjectManager.json → ObjectSet.sol/ObjectSet.json} +6 -6
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  88. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +74 -229
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +18 -18
  93. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +45 -31
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +42 -213
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +94 -274
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +458 -161
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +154 -86
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +229 -1
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +87 -88
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +360 -171
  117. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/Pool.sol/Pool.json +84 -270
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +492 -333
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +98 -82
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +36 -162
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -89
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +62 -242
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +263 -181
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +104 -100
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +147 -6
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +295 -119
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +62 -57
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  146. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +406 -321
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -100
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.json +118 -265
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -120
  155. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  156. package/artifacts/contracts/product/Product.sol/Product.json +62 -242
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +274 -22
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +0 -183
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  168. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  169. package/artifacts/contracts/registry/Registry.sol/Registry.json +493 -80
  170. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +263 -145
  172. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -313
  174. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  176. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +46 -5
  178. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1061 -0
  180. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +70 -12
  182. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  184. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  185. package/artifacts/contracts/shared/Component.sol/Component.json +15 -205
  186. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +247 -161
  188. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +105 -95
  190. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  192. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  194. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +15 -20
  196. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +153 -0
  198. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +34 -31
  200. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  202. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  204. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  206. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  207. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  209. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  210. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  211. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  212. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  213. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +34 -216
  214. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  215. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +41 -0
  216. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  217. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +41 -0
  218. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  219. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  220. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  222. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  223. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  224. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  226. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  227. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  228. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  230. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  231. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  232. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  233. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  234. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  235. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +42 -21
  236. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  238. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +73 -93
  239. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  240. package/artifacts/contracts/staking/Staking.sol/Staking.json +100 -256
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  242. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +45 -4
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +77 -88
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  250. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  252. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +176 -130
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  254. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  255. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  256. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  258. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  260. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  262. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  263. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  264. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  266. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  267. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  268. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  270. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  272. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  274. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  276. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  278. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  280. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  282. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  284. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  286. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  290. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  293. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  295. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  297. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  299. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  301. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  302. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  303. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  304. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  305. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  306. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  307. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  308. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  309. package/contracts/authorization/AccessAdmin.sol +31 -24
  310. package/contracts/authorization/Authorization.sol +5 -2
  311. package/contracts/authorization/IAccessAdmin.sol +3 -2
  312. package/contracts/authorization/IServiceAuthorization.sol +4 -2
  313. package/contracts/authorization/ServiceAuthorization.sol +27 -11
  314. package/contracts/distribution/BasicDistribution.sol +4 -15
  315. package/contracts/distribution/BasicDistributionAuthorization.sol +5 -1
  316. package/contracts/distribution/Distribution.sol +23 -11
  317. package/contracts/distribution/DistributionService.sol +76 -42
  318. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  319. package/contracts/distribution/IDistributionComponent.sol +8 -4
  320. package/contracts/distribution/IDistributionService.sol +18 -2
  321. package/contracts/examples/fire/DamageLevel.sol +59 -0
  322. package/contracts/examples/fire/FirePool.sol +75 -0
  323. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  324. package/contracts/examples/fire/FireProduct.sol +411 -0
  325. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  326. package/contracts/examples/fire/FireUSD.sol +26 -0
  327. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  328. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  329. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  330. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  331. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  332. package/contracts/instance/IInstance.sol +11 -34
  333. package/contracts/instance/IInstanceService.sol +5 -5
  334. package/contracts/instance/Instance.sol +13 -38
  335. package/contracts/instance/InstanceAdmin.sol +31 -9
  336. package/contracts/instance/InstanceAuthorizationV3.sol +16 -14
  337. package/contracts/instance/InstanceReader.sol +115 -25
  338. package/contracts/instance/InstanceService.sol +71 -49
  339. package/contracts/instance/InstanceServiceManager.sol +8 -13
  340. package/contracts/instance/InstanceStore.sol +12 -1
  341. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  342. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +5 -5
  343. package/contracts/instance/module/IBundle.sol +1 -1
  344. package/contracts/instance/module/IComponents.sol +4 -8
  345. package/contracts/instance/module/IDistribution.sol +0 -1
  346. package/contracts/instance/module/IPolicy.sol +24 -24
  347. package/contracts/mock/Dip.sol +1 -1
  348. package/contracts/oracle/IOracleComponent.sol +2 -1
  349. package/contracts/oracle/Oracle.sol +17 -7
  350. package/contracts/oracle/OracleService.sol +11 -8
  351. package/contracts/oracle/OracleServiceManager.sol +8 -11
  352. package/contracts/pool/BasicPool.sol +7 -5
  353. package/contracts/pool/BasicPoolAuthorization.sol +11 -2
  354. package/contracts/pool/BundleService.sol +221 -56
  355. package/contracts/pool/BundleServiceManager.sol +8 -11
  356. package/contracts/pool/IBundleService.sol +42 -5
  357. package/contracts/pool/IPoolComponent.sol +24 -8
  358. package/contracts/pool/IPoolService.sol +57 -36
  359. package/contracts/pool/Pool.sol +72 -30
  360. package/contracts/pool/PoolService.sol +240 -129
  361. package/contracts/pool/PoolServiceManager.sol +6 -9
  362. package/contracts/product/ApplicationService.sol +62 -65
  363. package/contracts/product/ApplicationServiceManager.sol +6 -6
  364. package/contracts/product/BasicProduct.sol +3 -32
  365. package/contracts/product/BasicProductAuthorization.sol +3 -0
  366. package/contracts/product/ClaimService.sol +254 -115
  367. package/contracts/product/ClaimServiceManager.sol +6 -6
  368. package/contracts/product/IApplicationService.sol +1 -0
  369. package/contracts/product/IClaimService.sol +31 -7
  370. package/contracts/product/IPolicyService.sol +34 -32
  371. package/contracts/product/IPricingService.sol +7 -7
  372. package/contracts/product/IProductComponent.sol +18 -4
  373. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  374. package/contracts/product/PolicyService.sol +404 -193
  375. package/contracts/product/PolicyServiceManager.sol +6 -9
  376. package/contracts/product/PricingService.sol +46 -46
  377. package/contracts/product/PricingServiceManager.sol +5 -8
  378. package/contracts/product/Product.sol +90 -50
  379. package/contracts/product/{ProductService.sol → RiskService.sol} +13 -41
  380. package/contracts/product/RiskServiceManager.sol +39 -0
  381. package/contracts/registry/ChainNft.sol +65 -32
  382. package/contracts/registry/IRegistry.sol +65 -19
  383. package/contracts/registry/IRegistryService.sol +0 -9
  384. package/contracts/registry/Registry.sol +340 -211
  385. package/contracts/registry/RegistryAdmin.sol +155 -72
  386. package/contracts/registry/RegistryService.sol +59 -66
  387. package/contracts/registry/RegistryServiceManager.sol +4 -4
  388. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  389. package/contracts/registry/ReleaseRegistry.sol +496 -0
  390. package/contracts/registry/ServiceAuthorizationV3.sol +13 -15
  391. package/contracts/registry/TokenRegistry.sol +2 -2
  392. package/contracts/shared/Component.sol +38 -43
  393. package/contracts/shared/ComponentService.sol +88 -28
  394. package/contracts/shared/ComponentServiceManager.sol +10 -7
  395. package/contracts/shared/ComponentVerifyingService.sol +2 -3
  396. package/contracts/shared/ContractLib.sol +38 -0
  397. package/contracts/shared/IComponent.sol +7 -4
  398. package/contracts/shared/IComponentService.sol +15 -9
  399. package/contracts/shared/IInstanceLinkedComponent.sol +9 -10
  400. package/contracts/shared/ILifecycle.sol +3 -1
  401. package/contracts/shared/IPolicyHolder.sol +12 -22
  402. package/contracts/shared/IService.sol +1 -1
  403. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  404. package/contracts/shared/InstanceLinkedComponent.sol +26 -6
  405. package/contracts/shared/KeyValueStore.sol +1 -1
  406. package/contracts/shared/Lifecycle.sol +13 -2
  407. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  408. package/contracts/shared/NftOwnable.sol +7 -7
  409. package/contracts/shared/PolicyHolder.sol +17 -57
  410. package/contracts/shared/Registerable.sol +4 -4
  411. package/contracts/shared/RegistryLinked.sol +3 -2
  412. package/contracts/shared/Service.sol +19 -15
  413. package/contracts/shared/TokenHandler.sol +100 -19
  414. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  415. package/contracts/staking/IStaking.sol +3 -3
  416. package/contracts/staking/IStakingService.sol +12 -5
  417. package/contracts/staking/StakeManagerLib.sol +18 -25
  418. package/contracts/staking/Staking.sol +27 -42
  419. package/contracts/staking/StakingManager.sol +10 -12
  420. package/contracts/staking/StakingReader.sol +23 -20
  421. package/contracts/staking/StakingService.sol +10 -14
  422. package/contracts/staking/StakingServiceManager.sol +4 -4
  423. package/contracts/staking/StakingStore.sol +12 -22
  424. package/contracts/staking/TargetManagerLib.sol +7 -3
  425. package/contracts/type/Amount.sol +27 -5
  426. package/contracts/type/Blocknumber.sol +7 -1
  427. package/contracts/type/ClaimId.sol +6 -1
  428. package/contracts/type/NftId.sol +1 -0
  429. package/contracts/type/ObjectType.sol +19 -18
  430. package/contracts/type/PayoutId.sol +10 -10
  431. package/contracts/type/Referral.sol +1 -0
  432. package/contracts/type/RiskId.sol +15 -1
  433. package/contracts/type/Seconds.sol +21 -1
  434. package/contracts/type/StateId.sol +15 -1
  435. package/contracts/type/Timestamp.sol +11 -1
  436. package/contracts/type/UFixed.sol +33 -10
  437. package/contracts/type/Version.sol +3 -1
  438. package/contracts/{shared → upgradeability}/ProxyManager.sol +70 -38
  439. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  440. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  441. package/package.json +2 -1
  442. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  443. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  444. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  445. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  446. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  447. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  448. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  449. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  450. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  451. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  452. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  453. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  454. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  455. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  456. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  457. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  458. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  459. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  460. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  461. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  462. package/contracts/product/ProductServiceManager.sol +0 -42
  463. package/contracts/registry/ReleaseManager.sol +0 -487
  464. package/contracts/shared/InitializableCustom.sol +0 -177
  465. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -0,0 +1,1061 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ReleaseRegistry",
4
+ "sourceName": "contracts/registry/ReleaseRegistry.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "contract Registry",
10
+ "name": "registry",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "authority",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "AccessManagedInvalidAuthority",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "address",
32
+ "name": "caller",
33
+ "type": "address"
34
+ },
35
+ {
36
+ "internalType": "uint32",
37
+ "name": "delay",
38
+ "type": "uint32"
39
+ }
40
+ ],
41
+ "name": "AccessManagedRequiredDelay",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "caller",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AccessManagedUnauthorized",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "contractAddress",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "objectType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "StateId",
69
+ "name": "actual",
70
+ "type": "uint8"
71
+ },
72
+ {
73
+ "internalType": "StateId",
74
+ "name": "required",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ErrorFromStateMissmatch",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "contractAddress",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "internalType": "ObjectType",
90
+ "name": "objectType",
91
+ "type": "uint8"
92
+ },
93
+ {
94
+ "internalType": "StateId",
95
+ "name": "fromStateId",
96
+ "type": "uint8"
97
+ },
98
+ {
99
+ "internalType": "StateId",
100
+ "name": "toStateId",
101
+ "type": "uint8"
102
+ }
103
+ ],
104
+ "name": "ErrorInvalidStateTransition",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "contractAddress",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "internalType": "ObjectType",
116
+ "name": "objectType",
117
+ "type": "uint8"
118
+ }
119
+ ],
120
+ "name": "ErrorNoLifecycle",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "address",
127
+ "name": "registryAddress",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "ErrorNotRegistry",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "contract Registry",
138
+ "name": "registry",
139
+ "type": "address"
140
+ }
141
+ ],
142
+ "name": "ErrorReleaseRegistryNotRegistry",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "notService",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "ErrorReleaseRegistryNotService",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "notAuth",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorReleaseRegistryNotServiceAuth",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "VersionPart",
171
+ "name": "releaseVersion",
172
+ "type": "uint8"
173
+ }
174
+ ],
175
+ "name": "ErrorReleaseRegistryRegistryServiceMissing",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "expected",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "address",
187
+ "name": "actual",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorReleaseRegistryServiceAddressMismatch",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "contract IServiceAuthorization",
198
+ "name": "auth",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "internalType": "VersionPart",
203
+ "name": "version",
204
+ "type": "uint8"
205
+ }
206
+ ],
207
+ "name": "ErrorReleaseRegistryServiceAuthDomainsZero",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "contract IServiceAuthorization",
214
+ "name": "auth",
215
+ "type": "address"
216
+ },
217
+ {
218
+ "internalType": "VersionPart",
219
+ "name": "expected",
220
+ "type": "uint8"
221
+ },
222
+ {
223
+ "internalType": "VersionPart",
224
+ "name": "actual",
225
+ "type": "uint8"
226
+ }
227
+ ],
228
+ "name": "ErrorReleaseRegistryServiceAuthVersionMismatch",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "contract IService",
235
+ "name": "service",
236
+ "type": "address"
237
+ },
238
+ {
239
+ "internalType": "address",
240
+ "name": "serviceAuthority",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "releaseAuthority",
246
+ "type": "address"
247
+ }
248
+ ],
249
+ "name": "ErrorReleaseRegistryServiceAuthorityMismatch",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "contract IService",
256
+ "name": "service",
257
+ "type": "address"
258
+ },
259
+ {
260
+ "internalType": "ObjectType",
261
+ "name": "expectedDomain",
262
+ "type": "uint8"
263
+ },
264
+ {
265
+ "internalType": "ObjectType",
266
+ "name": "actualDomain",
267
+ "type": "uint8"
268
+ }
269
+ ],
270
+ "name": "ErrorReleaseRegistryServiceDomainMismatch",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "contract IService",
277
+ "name": "service",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "address",
282
+ "name": "expected",
283
+ "type": "address"
284
+ }
285
+ ],
286
+ "name": "ErrorReleaseRegistryServiceInfoAddressInvalid",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "contract IService",
293
+ "name": "service",
294
+ "type": "address"
295
+ },
296
+ {
297
+ "internalType": "bool",
298
+ "name": "isInterceptor",
299
+ "type": "bool"
300
+ }
301
+ ],
302
+ "name": "ErrorReleaseRegistryServiceInfoInterceptorInvalid",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "contract IService",
309
+ "name": "service",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "internalType": "address",
314
+ "name": "expected",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "internalType": "address",
319
+ "name": "found",
320
+ "type": "address"
321
+ }
322
+ ],
323
+ "name": "ErrorReleaseRegistryServiceInfoOwnerInvalid",
324
+ "type": "error"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "contract IService",
330
+ "name": "service",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "internalType": "ObjectType",
335
+ "name": "expected",
336
+ "type": "uint8"
337
+ },
338
+ {
339
+ "internalType": "ObjectType",
340
+ "name": "found",
341
+ "type": "uint8"
342
+ }
343
+ ],
344
+ "name": "ErrorReleaseRegistryServiceInfoTypeInvalid",
345
+ "type": "error"
346
+ },
347
+ {
348
+ "inputs": [
349
+ {
350
+ "internalType": "contract IService",
351
+ "name": "service",
352
+ "type": "address"
353
+ },
354
+ {
355
+ "internalType": "address",
356
+ "name": "owner",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "name": "ErrorReleaseRegistryServiceOwnerRegistered",
361
+ "type": "error"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "contract IService",
367
+ "name": "service",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "name": "ErrorReleaseRegistryServiceSelfRegistration",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [
376
+ {
377
+ "internalType": "contract IService",
378
+ "name": "service",
379
+ "type": "address"
380
+ },
381
+ {
382
+ "internalType": "VersionPart",
383
+ "name": "serviceVersion",
384
+ "type": "uint8"
385
+ },
386
+ {
387
+ "internalType": "VersionPart",
388
+ "name": "releaseVersion",
389
+ "type": "uint8"
390
+ }
391
+ ],
392
+ "name": "ErrorReleaseRegistryServiceVersionMismatch",
393
+ "type": "error"
394
+ },
395
+ {
396
+ "anonymous": false,
397
+ "inputs": [
398
+ {
399
+ "indexed": false,
400
+ "internalType": "address",
401
+ "name": "authority",
402
+ "type": "address"
403
+ }
404
+ ],
405
+ "name": "AuthorityUpdated",
406
+ "type": "event"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "VersionPart",
414
+ "name": "version",
415
+ "type": "uint8"
416
+ }
417
+ ],
418
+ "name": "LogReleaseActivation",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": false,
426
+ "internalType": "VersionPart",
427
+ "name": "version",
428
+ "type": "uint8"
429
+ },
430
+ {
431
+ "indexed": false,
432
+ "internalType": "bytes32",
433
+ "name": "salt",
434
+ "type": "bytes32"
435
+ }
436
+ ],
437
+ "name": "LogReleaseCreation",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "anonymous": false,
442
+ "inputs": [
443
+ {
444
+ "indexed": false,
445
+ "internalType": "VersionPart",
446
+ "name": "version",
447
+ "type": "uint8"
448
+ }
449
+ ],
450
+ "name": "LogReleaseDisabled",
451
+ "type": "event"
452
+ },
453
+ {
454
+ "anonymous": false,
455
+ "inputs": [
456
+ {
457
+ "indexed": false,
458
+ "internalType": "VersionPart",
459
+ "name": "version",
460
+ "type": "uint8"
461
+ }
462
+ ],
463
+ "name": "LogReleaseEnabled",
464
+ "type": "event"
465
+ },
466
+ {
467
+ "inputs": [],
468
+ "name": "INITIAL_GIF_VERSION",
469
+ "outputs": [
470
+ {
471
+ "internalType": "uint256",
472
+ "name": "",
473
+ "type": "uint256"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "MIN_DISABLE_DELAY",
482
+ "outputs": [
483
+ {
484
+ "internalType": "Seconds",
485
+ "name": "",
486
+ "type": "uint40"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "_admin",
495
+ "outputs": [
496
+ {
497
+ "internalType": "contract RegistryAdmin",
498
+ "name": "",
499
+ "type": "address"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "_registry",
508
+ "outputs": [
509
+ {
510
+ "internalType": "contract Registry",
511
+ "name": "",
512
+ "type": "address"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "activateNextRelease",
521
+ "outputs": [],
522
+ "stateMutability": "nonpayable",
523
+ "type": "function"
524
+ },
525
+ {
526
+ "inputs": [],
527
+ "name": "authority",
528
+ "outputs": [
529
+ {
530
+ "internalType": "address",
531
+ "name": "",
532
+ "type": "address"
533
+ }
534
+ ],
535
+ "stateMutability": "view",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [
540
+ {
541
+ "internalType": "StateId",
542
+ "name": "stateId",
543
+ "type": "uint8"
544
+ },
545
+ {
546
+ "internalType": "ObjectType",
547
+ "name": "objectType",
548
+ "type": "uint8"
549
+ },
550
+ {
551
+ "internalType": "StateId",
552
+ "name": "fromId",
553
+ "type": "uint8"
554
+ },
555
+ {
556
+ "internalType": "StateId",
557
+ "name": "toId",
558
+ "type": "uint8"
559
+ }
560
+ ],
561
+ "name": "checkTransition",
562
+ "outputs": [],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "createNextRelease",
569
+ "outputs": [
570
+ {
571
+ "internalType": "VersionPart",
572
+ "name": "",
573
+ "type": "uint8"
574
+ }
575
+ ],
576
+ "stateMutability": "nonpayable",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "ObjectType",
583
+ "name": "objectType",
584
+ "type": "uint8"
585
+ }
586
+ ],
587
+ "name": "getInitialState",
588
+ "outputs": [
589
+ {
590
+ "internalType": "StateId",
591
+ "name": "",
592
+ "type": "uint8"
593
+ }
594
+ ],
595
+ "stateMutability": "view",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [],
600
+ "name": "getLatestVersion",
601
+ "outputs": [
602
+ {
603
+ "internalType": "VersionPart",
604
+ "name": "",
605
+ "type": "uint8"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [],
613
+ "name": "getNextVersion",
614
+ "outputs": [
615
+ {
616
+ "internalType": "VersionPart",
617
+ "name": "",
618
+ "type": "uint8"
619
+ }
620
+ ],
621
+ "stateMutability": "view",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [],
626
+ "name": "getRegistry",
627
+ "outputs": [
628
+ {
629
+ "internalType": "contract IRegistry",
630
+ "name": "",
631
+ "type": "address"
632
+ }
633
+ ],
634
+ "stateMutability": "view",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [],
639
+ "name": "getRegistryAdmin",
640
+ "outputs": [
641
+ {
642
+ "internalType": "address",
643
+ "name": "",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "stateMutability": "view",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "VersionPart",
654
+ "name": "version",
655
+ "type": "uint8"
656
+ }
657
+ ],
658
+ "name": "getReleaseInfo",
659
+ "outputs": [
660
+ {
661
+ "components": [
662
+ {
663
+ "internalType": "StateId",
664
+ "name": "state",
665
+ "type": "uint8"
666
+ },
667
+ {
668
+ "internalType": "VersionPart",
669
+ "name": "version",
670
+ "type": "uint8"
671
+ },
672
+ {
673
+ "internalType": "bytes32",
674
+ "name": "salt",
675
+ "type": "bytes32"
676
+ },
677
+ {
678
+ "internalType": "contract IServiceAuthorization",
679
+ "name": "auth",
680
+ "type": "address"
681
+ },
682
+ {
683
+ "internalType": "Timestamp",
684
+ "name": "activatedAt",
685
+ "type": "uint40"
686
+ },
687
+ {
688
+ "internalType": "Timestamp",
689
+ "name": "disabledAt",
690
+ "type": "uint40"
691
+ }
692
+ ],
693
+ "internalType": "struct IRegistry.ReleaseInfo",
694
+ "name": "",
695
+ "type": "tuple"
696
+ }
697
+ ],
698
+ "stateMutability": "view",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "getRemainingServicesToRegister",
704
+ "outputs": [
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "services",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "VersionPart",
718
+ "name": "version",
719
+ "type": "uint8"
720
+ }
721
+ ],
722
+ "name": "getServiceAuthorization",
723
+ "outputs": [
724
+ {
725
+ "internalType": "contract IServiceAuthorization",
726
+ "name": "serviceAuthorization",
727
+ "type": "address"
728
+ }
729
+ ],
730
+ "stateMutability": "view",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [
735
+ {
736
+ "internalType": "VersionPart",
737
+ "name": "version",
738
+ "type": "uint8"
739
+ }
740
+ ],
741
+ "name": "getState",
742
+ "outputs": [
743
+ {
744
+ "internalType": "StateId",
745
+ "name": "stateId",
746
+ "type": "uint8"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [
754
+ {
755
+ "internalType": "ObjectType",
756
+ "name": "objectType",
757
+ "type": "uint8"
758
+ }
759
+ ],
760
+ "name": "hasLifecycle",
761
+ "outputs": [
762
+ {
763
+ "internalType": "bool",
764
+ "name": "",
765
+ "type": "bool"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "VersionPart",
775
+ "name": "version",
776
+ "type": "uint8"
777
+ }
778
+ ],
779
+ "name": "isActiveRelease",
780
+ "outputs": [
781
+ {
782
+ "internalType": "bool",
783
+ "name": "",
784
+ "type": "bool"
785
+ }
786
+ ],
787
+ "stateMutability": "view",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "inputs": [],
792
+ "name": "isConsumingScheduledOp",
793
+ "outputs": [
794
+ {
795
+ "internalType": "bytes4",
796
+ "name": "",
797
+ "type": "bytes4"
798
+ }
799
+ ],
800
+ "stateMutability": "view",
801
+ "type": "function"
802
+ },
803
+ {
804
+ "inputs": [
805
+ {
806
+ "internalType": "ObjectType",
807
+ "name": "objectType",
808
+ "type": "uint8"
809
+ },
810
+ {
811
+ "internalType": "StateId",
812
+ "name": "fromId",
813
+ "type": "uint8"
814
+ },
815
+ {
816
+ "internalType": "StateId",
817
+ "name": "toId",
818
+ "type": "uint8"
819
+ }
820
+ ],
821
+ "name": "isValidTransition",
822
+ "outputs": [
823
+ {
824
+ "internalType": "bool",
825
+ "name": "",
826
+ "type": "bool"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "VersionPart",
836
+ "name": "version",
837
+ "type": "uint8"
838
+ }
839
+ ],
840
+ "name": "pauseRelease",
841
+ "outputs": [],
842
+ "stateMutability": "nonpayable",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [
847
+ {
848
+ "internalType": "address",
849
+ "name": "implementation",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "internalType": "bytes32",
854
+ "name": "salt",
855
+ "type": "bytes32"
856
+ },
857
+ {
858
+ "internalType": "address",
859
+ "name": "deployer",
860
+ "type": "address"
861
+ }
862
+ ],
863
+ "name": "predictDeterministicAddress",
864
+ "outputs": [
865
+ {
866
+ "internalType": "address",
867
+ "name": "predicted",
868
+ "type": "address"
869
+ }
870
+ ],
871
+ "stateMutability": "pure",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "contract IServiceAuthorization",
878
+ "name": "serviceAuthorization",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "bytes32",
883
+ "name": "salt",
884
+ "type": "bytes32"
885
+ }
886
+ ],
887
+ "name": "prepareNextRelease",
888
+ "outputs": [
889
+ {
890
+ "internalType": "address",
891
+ "name": "releaseAuthority",
892
+ "type": "address"
893
+ },
894
+ {
895
+ "internalType": "VersionPart",
896
+ "name": "releaseVersion",
897
+ "type": "uint8"
898
+ },
899
+ {
900
+ "internalType": "bytes32",
901
+ "name": "releaseSalt",
902
+ "type": "bytes32"
903
+ }
904
+ ],
905
+ "stateMutability": "nonpayable",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "contract IService",
912
+ "name": "service",
913
+ "type": "address"
914
+ }
915
+ ],
916
+ "name": "registerService",
917
+ "outputs": [
918
+ {
919
+ "internalType": "NftId",
920
+ "name": "nftId",
921
+ "type": "uint96"
922
+ }
923
+ ],
924
+ "stateMutability": "nonpayable",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [],
929
+ "name": "releases",
930
+ "outputs": [
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "stateMutability": "view",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "address",
944
+ "name": "newAuthority",
945
+ "type": "address"
946
+ }
947
+ ],
948
+ "name": "setAuthority",
949
+ "outputs": [],
950
+ "stateMutability": "nonpayable",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [
955
+ {
956
+ "internalType": "VersionPart",
957
+ "name": "version",
958
+ "type": "uint8"
959
+ }
960
+ ],
961
+ "name": "unpauseRelease",
962
+ "outputs": [],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ }
966
+ ],
967
+ "bytecode": "0x60c060405234801561000f575f80fd5b50604051612fc6380380612fc683398101604081905261002e9161052c565b33610038816101fa565b5061004161024d565b61004a816102c7565b610077576040516324981a5560e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6100df816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100da919061052c565b6103d3565b6001600160a01b03811660a08190526040805163016f41bf60e51b81529051632de837e0916004808201926020929091908290030181865afa158015610127573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014b919061052c565b6001600160a01b031660805273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__638e4ad86c61017d6001600361054e565b6040518263ffffffff1660e01b815260040161019b91815260200190565b602060405180830381865af41580156101b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101da919061056d565b600560016101000a81548160ff021916908360ff160217905550506105e6565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6102596006600261044b565b610268600660025b6006610496565b610276600660026003610496565b61028260066003610261565b610290600660036004610496565b61029c60066004610261565b6102ab600660045b6005610496565b6102b960066005606e610496565b6102c56006606e6102a4565b565b5f6001600160a01b0382166102dd57505f919050565b604051632f2a35f760e11b81526001600160a01b0383166004820181905290635e546bee90602401602060405180830381865afa158015610320573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610344919061058d565b604051630a4d29dd60e31b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561039b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bf91906105b3565b156103cb57505f919050565b506001919050565b5f5433906001600160a01b031681146104095760405162d1953b60e31b81526001600160a01b038216600482015260240161006e565b816001600160a01b03163b5f0361043e576040516361798f2f60e11b81526001600160a01b038316600482015260240161006e565b610447826101fa565b5050565b60ff8281165f90815260016020526040812054610469921690610505565b610475576104756105d2565b60ff9182165f908152600160205260409020805460ff191691909216179055565b60ff8084165f90815260026020908152604080832086851684528252808320858516845290915290205416156104ce576104ce6105d2565b60ff9283165f908152600260209081526040808320948616835293815283822092909416815292529020805460ff19166001179055565b60ff828116908216145b92915050565b6001600160a01b0381168114610529575f80fd5b50565b5f6020828403121561053c575f80fd5b815161054781610515565b9392505050565b8181038181111561050f57634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561057d575f80fd5b815160ff81168114610547575f80fd5b5f6020828403121561059d575f80fd5b81516001600160601b0381168114610547575f80fd5b5f602082840312156105c3575f80fd5b81518015158114610547575f80fd5b634e487b7160e01b5f52600160045260245ffd5b60805160a0516129566106705f395f81816103180152818161036a01528181610e8d01528181610fe0015281816111270152818161155f01528181611819015261215101525f81816101ff015281816105b40152818161090e01528181610f5a01528181611098015281816111d101528181611360015281816114f301526118c101526129565ff3fe608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80637a9e5e4b116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105b2578063e9e96c70146105d8578063f40d7c3014610615578063fdd9ec7d14610625575f80fd5b8063bf1db3f914610470578063bf7e214f14610483578063d2213b5b14610493575f80fd5b806393a7e711116100ce57806393a7e711146103c857806399a228e514610432578063a28448241461043a578063a972d69814610442575f80fd5b80637a9e5e4b1461038c5780638fb360371461039f578063913e10e9146103c0575f80fd5b806330ac5bf21161015e5780635ab1bd53116101395780635ab1bd53146103165780636428e2631461033c57806371ed16e41461034f57806379cbc5fa14610365575f80fd5b806330ac5bf2146102b457806331d53763146102c957806354f1fa8114610303575f80fd5b80630af43fe1116101995780630af43fe1146102595780630d358181146102615780630e6d1de91461028657806311edceaa14610291575f80fd5b8062d19f30146101be57806301bc45c9146101fa57806305c937ed14610239575b5f80fd5b6101e36101cc3660046121fc565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6102436208052081565b60405164ffffffffff90911681526020016101f1565b6101e3610650565b6101e361026f3660046121fc565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b6102a461029f3660046121fc565b610804565b60405190151581526020016101f1565b6102c76102c23660046121fc565b610824565b005b6102dc6102d7366004612232565b6108c4565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102c761031136600461225c565b610a19565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102c761034a3660046121fc565b610b77565b610357610ca7565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102c761039a3660046122b5565b610cbd565b6103a7610d35565b6040516001600160e01b031990911681526020016101f1565b600454610357565b6102216103d63660046122d0565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610357600381565b6102c7610d57565b6102216104503660046121fc565b60ff165f908152600360205260409020600201546001600160a01b031690565b6102a461047e3660046121fc565b61129a565b5f546001600160a01b0316610221565b61054b6104a13660046121fc565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a46105e636600461230f565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b6106386106333660046122b5565b611320565b6040516001600160601b0390911681526020016101f1565b5f61065d335b5f3661164a565b600554610100900460ff16610689600660ff8084165f90815260036020526040902054166105e6600690565b156106ab5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af4158015610703573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610727919061234c565b610732906001612377565b6040518263ffffffff1660e01b815260040161075091815260200190565b602060405180830381865af415801561076b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078f919061239a565b6005805460ff8316610100810261ff001992831681179093555f9081526003602052604090208054909116909117905590506107cc61026f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61082d33610656565b60ff8181165f9081526003602052604090205461085191166006606e5b6005610a19565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b1916905561088a908290611740565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f80806108d033610656565b60055460ff61010090910481165f818152600360205260409020549093506108fe9116600660026003610a19565b5f61090a86848761192d565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610968573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098c91906123c0565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610a7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9f91906123ea565b15610acd5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b0e5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610ac4565b60ff8084165f90815260026020908152604080832086851684528252808320858516845290915290205416610b715760405163f33b49a360e01b815230600482015260ff8085166024830152808416604483015282166064820152608401610ac4565b50505050565b610b8033610656565b60ff8181165f90815260036020526040902054610ba3911660066005606e610a19565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c309190612403565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610c74816001611740565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108b9565b5f600654600754610cb89190612427565b905090565b5f5433906001600160a01b03168114610cf35760405162d1953b60e31b81526001600160a01b0382166004820152602401610ac4565b816001600160a01b03163b5f03610d28576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ac4565b610d3182611af4565b5050565b5f8054600160a01b900460ff16610d4b57505f90565b50638fb3603760e01b90565b610d6033610656565b60055460ff61010090910481165f818152600360205260409020549091610d8b91166006600461084a565b6005805460ff191660ff831617905560048054905f610da98361243a565b9190505550610db6600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e499190612403565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610eba600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610efe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2291906123c0565b90506001600160a01b038116610f50576040516381d94faf60e01b815260ff83166004820152602401610ac4565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610fc8575f80fd5b505af1158015610fda573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e6043611015600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611059573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107d91906123c0565b90506001600160a01b0381161561111d576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611106575f80fd5b505af1158015611118573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611192573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b691906123c0565b90506001600160a01b03811615611256576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b505050505b611260825f611740565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156112fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906123ea565b5f61132a33610656565b600554610100900460ff9081165f81815260036020526040902054909161135d91166006611356600390565b6004610a19565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113de91906123c0565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c0091611428919060040190815260200190565b602060405180830381865afa158015611443573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611467919061239a565b90505f805f61147889878987611b41565b6006805493965091945092505f61148e8361243a565b9190505550600654600754036114bb5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611534575f80fd5b505af1158015611546573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a56915061159a90869085908790600401612480565b6020604051808303815f875af11580156115b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115da9190612548565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163d9190612548565b5050505050505050919050565b5f8061167d6116605f546001600160a01b031690565b863061166f60045f898b612561565b61167891612588565b611ed2565b91509150816117395763ffffffff811615611716575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906116d7908890889088906004016125c0565b5f604051808303815f87803b1580156116ee575f80fd5b505af1158015611700573d5f803e3d5ffd5b50505f805460ff60a01b19169055506117399050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610ac4565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa15801561179d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117c4919081019061266d565b90505f5b8151811015611924578181815181106117e3576117e3612721565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa15801561185e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188291906123c0565b94506001600160a01b03851661189a5761189a612735565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611902575f80fd5b505af1158015611914573d5f803e3d5ffd5b5050600190920191506117c89050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611978573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199c91906123ea565b6119c457604051631bead44b60e21b81526001600160a01b0385166004820152602401610ac4565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a25919061239a565b905060ff80851690821614611a5357848482604051630c3a335360e41b8152600401610ac493929190612749565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611a8e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ab5919081019061266d565b519150815f03611aec576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610ac4565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108b9565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be891906123ea565b611c1057604051635f569d0b60e01b81526001600160a01b0388166004820152602401610ac4565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7591906123c0565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd7919061276d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4e919061239a565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db0919061239a565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1491908101906127fb565b9450611e21898684611fda565b876001600160a01b0316816001600160a01b031614611e6e576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610ac4565b60ff80841690881614611e9a57888388604051633d36dbf960e01b8152600401610ac493929190612749565b60ff80851690871614611ec6578886856040516348fe94e360e11b8152600401610ac493929190612749565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f4091906128cd565b5f60405180830381855afa9150503d805f8114611f78576040519150601f19603f3d011682016040523d82523d5f602084013e611f7d565b606091505b50915091508115611fcf576040815110611faf5780806020019051810190611fa591906128e3565b9094509250611fcf565b6020815110611fcf5780806020019051810190611fcc91906123ea565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614612029576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610ac4565b60608201511561206457606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610ac4565b6120808260400151612074600890565b60ff9081169116141590565b156120a95782600883604001516040516336b258d560e11b8152600401610ac493929190612749565b60a08201516001600160a01b03808216908316146120f55760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610ac4565b836001600160a01b0316816001600160a01b0316036121325760405163076ab37760e31b81526001600160a01b0385166004820152602401610ac4565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612196573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ba91906123ea565b15610b715760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610ac4565b60ff811681146121f9575f80fd5b50565b5f6020828403121561220c575f80fd5b8135612217816121eb565b9392505050565b6001600160a01b03811681146121f9575f80fd5b5f8060408385031215612243575f80fd5b823561224e8161221e565b946020939093013593505050565b5f805f806080858703121561226f575f80fd5b843561227a816121eb565b9350602085013561228a816121eb565b9250604085013561229a816121eb565b915060608501356122aa816121eb565b939692955090935050565b5f602082840312156122c5575f80fd5b81356122178161221e565b5f805f606084860312156122e2575f80fd5b83356122ed8161221e565b92506020840135915060408401356123048161221e565b809150509250925092565b5f805f60608486031215612321575f80fd5b833561232c816121eb565b9250602084013561233c816121eb565b91506040840135612304816121eb565b5f6020828403121561235c575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561081e5761081e612363565b8051612395816121eb565b919050565b5f602082840312156123aa575f80fd5b8151612217816121eb565b80516123958161221e565b5f602082840312156123d0575f80fd5b81516122178161221e565b80518015158114612395575f80fd5b5f602082840312156123fa575f80fd5b612217826123db565b5f60208284031215612413575f80fd5b815164ffffffffff81168114612217575f80fd5b8181038181111561081e5761081e612363565b5f6001820161244b5761244b612363565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f60608501516124c860c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261250f610140840182612452565b915050612521602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b0381168114612395575f80fd5b5f60208284031215612558575f80fd5b61221782612532565b5f808585111561256f575f80fd5b8386111561257b575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156125b9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612636576126366125ff565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612665576126656125ff565b604052919050565b5f6020828403121561267d575f80fd5b815167ffffffffffffffff811115612693575f80fd5b8201601f810184136126a3575f80fd5b805167ffffffffffffffff8111156126bd576126bd6125ff565b8060051b6126cd6020820161263c565b918252602081840181019290810190878411156126e8575f80fd5b6020850194505b838510156127165784519250612704836121eb565b828252602094850194909101906126ef565b979650505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f6020828403121561277d575f80fd5b815162ffffff81168114612217575f80fd5b5f82601f83011261279e575f80fd5b815167ffffffffffffffff8111156127b8576127b86125ff565b6127cb601f8201601f191660200161263c565b8181528460208386010111156127df575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561280b575f80fd5b815167ffffffffffffffff811115612821575f80fd5b820160e08185031215612832575f80fd5b61283a612613565b61284382612532565b815261285160208301612532565b60208201526128626040830161238a565b6040820152612873606083016123db565b6060820152612884608083016123b5565b608082015261289560a083016123b5565b60a082015260c082015167ffffffffffffffff8111156128b3575f80fd5b6128bf8682850161278f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156128f4575f80fd5b6128fd836123db565b9150602083015163ffffffff81168114612915575f80fd5b80915050925092905056fea26469706673582212205ab489128bc9d7ec604f436b31e80d26099997ee6ccaf32fc9522c6ff155a58764736f6c634300081a0033",
968
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101ba575f3560e01c80637a9e5e4b116100f3578063bf1db3f911610093578063dde4fd8a1161006e578063dde4fd8a146105b2578063e9e96c70146105d8578063f40d7c3014610615578063fdd9ec7d14610625575f80fd5b8063bf1db3f914610470578063bf7e214f14610483578063d2213b5b14610493575f80fd5b806393a7e711116100ce57806393a7e711146103c857806399a228e514610432578063a28448241461043a578063a972d69814610442575f80fd5b80637a9e5e4b1461038c5780638fb360371461039f578063913e10e9146103c0575f80fd5b806330ac5bf21161015e5780635ab1bd53116101395780635ab1bd53146103165780636428e2631461033c57806371ed16e41461034f57806379cbc5fa14610365575f80fd5b806330ac5bf2146102b457806331d53763146102c957806354f1fa8114610303575f80fd5b80630af43fe1116101995780630af43fe1146102595780630d358181146102615780630e6d1de91461028657806311edceaa14610291575f80fd5b8062d19f30146101be57806301bc45c9146101fa57806305c937ed14610239575b5f80fd5b6101e36101cc3660046121fc565b60ff9081165f908152600360205260409020541690565b60405160ff90911681526020015b60405180910390f35b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f1565b6102436208052081565b60405164ffffffffff90911681526020016101f1565b6101e3610650565b6101e361026f3660046121fc565b60ff9081165f908152600160205260409020541690565b60055460ff166101e3565b6102a461029f3660046121fc565b610804565b60405190151581526020016101f1565b6102c76102c23660046121fc565b610824565b005b6102dc6102d7366004612232565b6108c4565b604080516001600160a01b03909416845260ff9092166020840152908201526060016101f1565b6102c761031136600461225c565b610a19565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102c761034a3660046121fc565b610b77565b610357610ca7565b6040519081526020016101f1565b6102217f000000000000000000000000000000000000000000000000000000000000000081565b6102c761039a3660046122b5565b610cbd565b6103a7610d35565b6040516001600160e01b031990911681526020016101f1565b600454610357565b6102216103d63660046122d0565b60405160388101919091526f5af43d82803e903d91602b57fd5bf3ff60248201526014810192909252733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c8201206078820152605560439091012090565b610357600381565b6102c7610d57565b6102216104503660046121fc565b60ff165f908152600360205260409020600201546001600160a01b031690565b6102a461047e3660046121fc565b61129a565b5f546001600160a01b0316610221565b61054b6104a13660046121fc565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091525060ff9081165f90815260036020908152604091829020825160c08101845281548086168252610100900490941691840191909152600181015491830191909152600201546001600160a01b038116606083015264ffffffffff600160a01b820481166080840152600160c81b9091041660a082015290565b6040516101f191905f60c08201905060ff835116825260ff60208401511660208301526040830151604083015260018060a01b03606084015116606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b7f0000000000000000000000000000000000000000000000000000000000000000610221565b6102a46105e636600461230f565b60ff9283165f908152600260209081526040808320948616835293815283822092851682529190915220541690565b600554610100900460ff166101e3565b6106386106333660046122b5565b611320565b6040516001600160601b0390911681526020016101f1565b5f61065d335b5f3661164a565b600554610100900460ff16610689600660ff8084165f90815260036020526040902054166105e6600690565b156106ab5760ff81165f908152600360205260409020805460ff191660061790555b604051632b10f60d60e21b815260ff8216600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90829063ac43d83490602401602060405180830381865af4158015610703573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610727919061234c565b610732906001612377565b6040518263ffffffff1660e01b815260040161075091815260200190565b602060405180830381865af415801561076b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061078f919061239a565b6005805460ff8316610100810261ff001992831681179093555f9081526003602052604090208054909116909117905590506107cc61026f600690565b60ff9182165f908152600360205260408120805460ff1916928416929092179091556007819055600655600554610100900416919050565b60ff8181165f908152600360205260408120549091166005145b92915050565b61082d33610656565b60ff8181165f9081526003602052604090205461085191166006606e5b6005610a19565b60ff81165f908152600360205260408120805460ff19166005178155600201805464ffffffffff60c81b1916905561088a908290611740565b60405160ff821681527f8c9377f44d861d9abb7de1a880bb234de50528f98b5e198945cb16818bbbb992906020015b60405180910390a150565b5f80806108d033610656565b60055460ff61010090910481165f818152600360205260409020549093506108fe9116600660026003610a19565b5f61090a86848761192d565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610968573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098c91906123c0565b600782905560ff84165f81815260036020818152604092839020805460ff19169092178255600182018a9055600290910180546001600160a01b0319166001600160a01b038c161790558151928352820188905280519296508794507f59754c54c6ce6d53c285831436dd3536e7b6dacb922705904d13bbc16cfa550792918290030190a1509250925092565b60ff8381165f908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610a7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9f91906123ea565b15610acd5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610b0e5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610ac4565b60ff8084165f90815260026020908152604080832086851684528252808320858516845290915290205416610b715760405163f33b49a360e01b815230600482015260ff8085166024830152808416604483015282166064820152608401610ac4565b50505050565b610b8033610656565b60ff8181165f90815260036020526040902054610ba3911660066005606e610a19565b60ff81165f90815260036020908152604091829020805460ff1916606e17905581516356db0c1960e11b8152915173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb618329260048083019391928290030181865af4158015610c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c309190612403565b60ff82165f908152600360205260409020600201805464ffffffffff92909216600160c81b0264ffffffffff60c81b19909216919091179055610c74816001611740565b60405160ff821681527f332d7fb458421533fc26f5789a63f5b7538fc95dd42452533aff2b353c57e826906020016108b9565b5f600654600754610cb89190612427565b905090565b5f5433906001600160a01b03168114610cf35760405162d1953b60e31b81526001600160a01b0382166004820152602401610ac4565b816001600160a01b03163b5f03610d28576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ac4565b610d3182611af4565b5050565b5f8054600160a01b900460ff16610d4b57505f90565b50638fb3603760e01b90565b610d6033610656565b60055460ff61010090910481165f818152600360205260409020549091610d8b91166006600461084a565b6005805460ff191660ff831617905560048054905f610da98361243a565b9190505550610db6600590565b60ff8281165f90815260036020908152604091829020805460ff1916949093169390931790915580516356db0c1960e11b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb6183292600480820193918290030181865af4158015610e25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e499190612403565b60ff82165f908152600360205260408120600201805464ffffffffff93909316600160a01b0264ffffffffff60a01b19909316929092179091556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043610eba600290565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015610efe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2291906123c0565b90506001600160a01b038116610f50576040516381d94faf60e01b815260ff83166004820152602401610ac4565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260026040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610fc8575f80fd5b505af1158015610fda573d5f803e3d5ffd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d39e6043611015600390565b6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611059573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107d91906123c0565b90506001600160a01b0381161561111d576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b358260036040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611106575f80fd5b505af1158015611118573d5f803e3d5ffd5b505050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e6043600f6040516001600160e01b031960e084901b16815260ff91821660048201529085166024820152604401602060405180830381865afa158015611192573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b691906123c0565b90506001600160a01b03811615611256576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663420e0b3582600f6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260ff1660248201526044015f604051808303815f87803b15801561123f575f80fd5b505af1158015611251573d5f803e3d5ffd5b505050505b611260825f611740565b60405160ff831681527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d49060200160405180910390a15050565b60ff8181165f9081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af41580156112fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906123ea565b5f61132a33610656565b600554610100900460ff9081165f81815260036020526040902054909161135d91166006611356600390565b6004610a19565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113de91906123c0565b60ff83165f9081526003602052604080822060020154600654915162212fa360ea1b81529394506001600160a01b03169283916384be8c0091611428919060040190815260200190565b602060405180830381865afa158015611443573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611467919061239a565b90505f805f61147889878987611b41565b6006805493965091945092505f61148e8361243a565b9190505550600654600754036114bb5760ff87165f908152600360205260409020805460ff191660041790555b604051637485407160e01b81526001600160a01b0386811660048301528a8116602483015260ff8085166044840152891660648301527f000000000000000000000000000000000000000000000000000000000000000016906374854071906084015f604051808303815f87803b158015611534575f80fd5b505af1158015611546573d5f803e3d5ffd5b5050604051635382852b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063a7050a56915061159a90869085908790600401612480565b6020604051808303815f875af11580156115b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115da9190612548565b9750886001600160a01b031663138461e06040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163d9190612548565b5050505050505050919050565b5f8061167d6116605f546001600160a01b031690565b863061166f60045f898b612561565b61167891612588565b611ed2565b91509150816117395763ffffffff811615611716575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906116d7908890889088906004016125c0565b5f604051808303815f87803b1580156116ee575f80fd5b505af1158015611700573d5f803e3d5ffd5b50505f805460ff60a01b19169055506117399050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610ac4565b5050505050565b60ff82165f908152600360205260408082206002015481516368c55b1360e01b8152915183926001600160a01b0390921691839183916368c55b1391600480830192869291908290030181865afa15801561179d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117c4919081019061266d565b90505f5b8151811015611924578181815181106117e3576117e3612721565b602090810291909101015160405163d39e604360e01b815260ff8083166004830152891660248201529094506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d39e604390604401602060405180830381865afa15801561185e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188291906123c0565b94506001600160a01b03851661189a5761189a612735565b6040516333cbe07760e21b81526001600160a01b03868116600483015287151560248301527f0000000000000000000000000000000000000000000000000000000000000000169063cf2f81dc906044015f604051808303815f87803b158015611902575f80fd5b505af1158015611914573d5f803e3d5ffd5b5050600190920191506117c89050565b50505050505050565b6040516301ffc9a760e01b81526332d11fef60e01b60048201525f906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015611978573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061199c91906123ea565b6119c457604051631bead44b60e21b81526001600160a01b0385166004820152602401610ac4565b5f846001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a25919061239a565b905060ff80851690821614611a5357848482604051630c3a335360e41b8152600401610ac493929190612749565b846001600160a01b03166368c55b136040518163ffffffff1660e01b81526004015f60405180830381865afa158015611a8e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ab5919081019061266d565b519150815f03611aec576040516310c48b6b60e21b81526001600160a01b038616600482015260ff85166024820152604401610ac4565b509392505050565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016108b9565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c083015291516301ffc9a760e01b815263daf9067160e01b600482015290919081906001600160a01b038816906301ffc9a790602401602060405180830381865afa158015611bc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611be891906123ea565b611c1057604051635f569d0b60e01b81526001600160a01b0388166004820152602401610ac4565b5f3390505f886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7591906123c0565b9050886001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd7919061276d565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015611d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4e919061239a565b9250886001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611db0919061239a565b9350886001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1491908101906127fb565b9450611e21898684611fda565b876001600160a01b0316816001600160a01b031614611e6e576040516349aec65360e01b81526001600160a01b03808b166004830152808316602483015289166044820152606401610ac4565b60ff80841690881614611e9a57888388604051633d36dbf960e01b8152600401610ac493929190612749565b60ff80851690871614611ec6578886856040516348fe94e360e11b8152600401610ac493929190612749565b50509450945094915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611f4091906128cd565b5f60405180830381855afa9150503d805f8114611f78576040519150601f19603f3d011682016040523d82523d5f602084013e611f7d565b606091505b50915091508115611fcf576040815110611faf5780806020019051810190611fa591906128e3565b9094509250611fcf565b6020815110611fcf5780806020019051810190611fcc91906123ea565b93505b505094509492505050565b826001600160a01b031682608001516001600160a01b031614612029576080820151604051633db89c6160e01b81526001600160a01b0380861660048301529091166024820152604401610ac4565b60608201511561206457606082015160405163955d053f60e01b81526001600160a01b03851660048201529015156024820152604401610ac4565b6120808260400151612074600890565b60ff9081169116141590565b156120a95782600883604001516040516336b258d560e11b8152600401610ac493929190612749565b60a08201516001600160a01b03808216908316146120f55760405163fb581fd160e01b81526001600160a01b038086166004830152808416602483015282166044820152606401610ac4565b836001600160a01b0316816001600160a01b0316036121325760405163076ab37760e31b81526001600160a01b0385166004820152602401610ac4565b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015612196573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ba91906123ea565b15610b715760405163b1e0f1f560e01b81526001600160a01b03808616600483015282166024820152604401610ac4565b60ff811681146121f9575f80fd5b50565b5f6020828403121561220c575f80fd5b8135612217816121eb565b9392505050565b6001600160a01b03811681146121f9575f80fd5b5f8060408385031215612243575f80fd5b823561224e8161221e565b946020939093013593505050565b5f805f806080858703121561226f575f80fd5b843561227a816121eb565b9350602085013561228a816121eb565b9250604085013561229a816121eb565b915060608501356122aa816121eb565b939692955090935050565b5f602082840312156122c5575f80fd5b81356122178161221e565b5f805f606084860312156122e2575f80fd5b83356122ed8161221e565b92506020840135915060408401356123048161221e565b809150509250925092565b5f805f60608486031215612321575f80fd5b833561232c816121eb565b9250602084013561233c816121eb565b91506040840135612304816121eb565b5f6020828403121561235c575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561081e5761081e612363565b8051612395816121eb565b919050565b5f602082840312156123aa575f80fd5b8151612217816121eb565b80516123958161221e565b5f602082840312156123d0575f80fd5b81516122178161221e565b80518015158114612395575f80fd5b5f602082840312156123fa575f80fd5b612217826123db565b5f60208284031215612413575f80fd5b815164ffffffffff81168114612217575f80fd5b8181038181111561081e5761081e612363565b5f6001820161244b5761244b612363565b5060010190565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081526001600160601b0384511660608201526001600160601b03602085015116608082015260ff60408501511660a08201525f60608501516124c860c084018215159052565b5060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e061012084015261250f610140840182612452565b915050612521602083018560ff169052565b60ff83166040830152949350505050565b80516001600160601b0381168114612395575f80fd5b5f60208284031215612558575f80fd5b61221782612532565b5f808585111561256f575f80fd5b8386111561257b575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156125b9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715612636576126366125ff565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612665576126656125ff565b604052919050565b5f6020828403121561267d575f80fd5b815167ffffffffffffffff811115612693575f80fd5b8201601f810184136126a3575f80fd5b805167ffffffffffffffff8111156126bd576126bd6125ff565b8060051b6126cd6020820161263c565b918252602081840181019290810190878411156126e8575f80fd5b6020850194505b838510156127165784519250612704836121eb565b828252602094850194909101906126ef565b979650505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0393909316835260ff918216602084015216604082015260600190565b5f6020828403121561277d575f80fd5b815162ffffff81168114612217575f80fd5b5f82601f83011261279e575f80fd5b815167ffffffffffffffff8111156127b8576127b86125ff565b6127cb601f8201601f191660200161263c565b8181528460208386010111156127df575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561280b575f80fd5b815167ffffffffffffffff811115612821575f80fd5b820160e08185031215612832575f80fd5b61283a612613565b61284382612532565b815261285160208301612532565b60208201526128626040830161238a565b6040820152612873606083016123db565b6060820152612884608083016123b5565b608082015261289560a083016123b5565b60a082015260c082015167ffffffffffffffff8111156128b3575f80fd5b6128bf8682850161278f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156128f4575f80fd5b6128fd836123db565b9150602083015163ffffffff81168114612915575f80fd5b80915050925092905056fea26469706673582212205ab489128bc9d7ec604f436b31e80d26099997ee6ccaf32fc9522c6ff155a58764736f6c634300081a0033",
969
+ "linkReferences": {
970
+ "contracts/type/NftId.sol": {
971
+ "NftIdLib": [
972
+ {
973
+ "length": 20,
974
+ "start": 867
975
+ }
976
+ ]
977
+ },
978
+ "contracts/type/StateId.sol": {
979
+ "StateIdLib": [
980
+ {
981
+ "length": 20,
982
+ "start": 4275
983
+ },
984
+ {
985
+ "length": 20,
986
+ "start": 6452
987
+ }
988
+ ]
989
+ },
990
+ "contracts/type/Timestamp.sol": {
991
+ "TimestampLib": [
992
+ {
993
+ "length": 20,
994
+ "start": 4675
995
+ },
996
+ {
997
+ "length": 20,
998
+ "start": 5213
999
+ }
1000
+ ]
1001
+ },
1002
+ "contracts/type/Version.sol": {
1003
+ "VersionLib": [
1004
+ {
1005
+ "length": 20,
1006
+ "start": 9058
1007
+ }
1008
+ ],
1009
+ "VersionPartLib": [
1010
+ {
1011
+ "length": 20,
1012
+ "start": 345
1013
+ },
1014
+ {
1015
+ "length": 20,
1016
+ "start": 3379
1017
+ }
1018
+ ]
1019
+ }
1020
+ },
1021
+ "deployedLinkReferences": {
1022
+ "contracts/type/StateId.sol": {
1023
+ "StateIdLib": [
1024
+ {
1025
+ "length": 20,
1026
+ "start": 2627
1027
+ },
1028
+ {
1029
+ "length": 20,
1030
+ "start": 4804
1031
+ }
1032
+ ]
1033
+ },
1034
+ "contracts/type/Timestamp.sol": {
1035
+ "TimestampLib": [
1036
+ {
1037
+ "length": 20,
1038
+ "start": 3027
1039
+ },
1040
+ {
1041
+ "length": 20,
1042
+ "start": 3565
1043
+ }
1044
+ ]
1045
+ },
1046
+ "contracts/type/Version.sol": {
1047
+ "VersionLib": [
1048
+ {
1049
+ "length": 20,
1050
+ "start": 7410
1051
+ }
1052
+ ],
1053
+ "VersionPartLib": [
1054
+ {
1055
+ "length": 20,
1056
+ "start": 1731
1057
+ }
1058
+ ]
1059
+ }
1060
+ }
1061
+ }