@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e7a5428-226

Sign up to get free protection for your applications and to get access to all the features.
Files changed (577) hide show
  1. package/README.md +133 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +146 -607
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +767 -301
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +288 -118
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +152 -273
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +553 -77
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +595 -96
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +497 -75
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +617 -250
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1789 -713
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -220
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +204 -96
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1109 -817
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +582 -235
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +278 -96
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +398 -49
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +151 -394
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +770 -365
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +148 -682
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +940 -518
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +283 -97
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +382 -166
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +222 -92
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +502 -230
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +251 -113
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +436 -101
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +202 -80
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +291 -264
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +295 -150
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +564 -292
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +259 -97
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +262 -299
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +220 -122
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +322 -596
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +454 -42
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +275 -193
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +806 -97
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1061 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +320 -312
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +206 -94
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +257 -147
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Component.sol/Component.json +92 -277
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +632 -542
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +241 -115
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +99 -94
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +549 -228
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +138 -130
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +51 -19
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +131 -366
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +61 -104
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -98
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1388 -635
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1703 -957
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  282. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +274 -92
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +544 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +751 -212
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +215 -85
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2637 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +657 -0
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +81 -17
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +26 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +126 -142
  371. package/contracts/distribution/DistributionService.sol +288 -137
  372. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  373. package/contracts/distribution/IDistributionComponent.sol +22 -43
  374. package/contracts/distribution/IDistributionService.sol +61 -27
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +117 -49
  390. package/contracts/instance/IInstanceService.sol +80 -46
  391. package/contracts/instance/Instance.sol +252 -133
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +499 -233
  395. package/contracts/instance/InstanceService.sol +370 -218
  396. package/contracts/instance/InstanceServiceManager.sol +14 -29
  397. package/contracts/instance/InstanceStore.sol +94 -55
  398. package/contracts/instance/RiskSet.sol +126 -0
  399. package/contracts/instance/base/BalanceStore.sol +16 -13
  400. package/contracts/instance/base/Cloneable.sol +2 -25
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +6 -5
  406. package/contracts/instance/module/IComponents.sol +30 -20
  407. package/contracts/instance/module/IDistribution.sol +21 -9
  408. package/contracts/instance/module/IPolicy.sol +50 -29
  409. package/contracts/instance/module/IRisk.sol +5 -0
  410. package/contracts/mock/Dip.sol +26 -0
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +162 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  421. package/contracts/pool/BundleService.sol +225 -152
  422. package/contracts/pool/BundleServiceManager.sol +13 -25
  423. package/contracts/pool/IBundleService.sol +44 -34
  424. package/contracts/pool/IPoolComponent.sol +20 -70
  425. package/contracts/pool/IPoolService.sol +99 -76
  426. package/contracts/pool/Pool.sol +198 -164
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +448 -255
  429. package/contracts/pool/PoolServiceManager.sol +12 -24
  430. package/contracts/product/ApplicationService.sol +160 -86
  431. package/contracts/product/ApplicationServiceManager.sol +12 -9
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +389 -195
  435. package/contracts/product/ClaimServiceManager.sol +12 -9
  436. package/contracts/product/IApplicationService.sol +30 -4
  437. package/contracts/product/IClaimService.sol +52 -9
  438. package/contracts/product/IPolicyService.sol +62 -38
  439. package/contracts/product/IPricingService.sol +12 -11
  440. package/contracts/product/IProductComponent.sol +29 -9
  441. package/contracts/product/IRiskService.sol +48 -0
  442. package/contracts/product/PolicyService.sol +450 -276
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +12 -27
  445. package/contracts/product/PricingService.sol +97 -91
  446. package/contracts/product/PricingServiceManager.sol +12 -24
  447. package/contracts/product/Product.sol +263 -147
  448. package/contracts/product/RiskService.sol +190 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +72 -39
  451. package/contracts/registry/IRegistry.sol +99 -38
  452. package/contracts/registry/IRegistryService.sol +26 -43
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -2
  455. package/contracts/registry/Registry.sol +439 -232
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +309 -0
  458. package/contracts/registry/RegistryService.sol +66 -152
  459. package/contracts/registry/RegistryServiceManager.sol +23 -30
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +525 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  464. package/contracts/registry/TokenRegistry.sol +211 -81
  465. package/contracts/shared/Component.sol +71 -143
  466. package/contracts/shared/ComponentService.sol +460 -369
  467. package/contracts/shared/ComponentServiceManager.sol +10 -7
  468. package/contracts/shared/ContractLib.sol +312 -0
  469. package/contracts/shared/IComponent.sol +7 -23
  470. package/contracts/shared/IComponentService.sol +51 -31
  471. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  472. package/contracts/shared/IKeyValueStore.sol +3 -2
  473. package/contracts/shared/ILifecycle.sol +3 -2
  474. package/contracts/shared/INftOwnable.sol +5 -1
  475. package/contracts/shared/IPolicyHolder.sol +12 -17
  476. package/contracts/shared/IRegisterable.sol +22 -1
  477. package/contracts/shared/IService.sol +11 -6
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +95 -46
  480. package/contracts/shared/KeyValueStore.sol +32 -70
  481. package/contracts/shared/Lifecycle.sol +30 -63
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +35 -24
  484. package/contracts/shared/PolicyHolder.sol +19 -50
  485. package/contracts/shared/Registerable.sol +52 -21
  486. package/contracts/shared/RegistryLinked.sol +9 -14
  487. package/contracts/shared/Service.sol +32 -42
  488. package/contracts/shared/TokenHandler.sol +310 -26
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +229 -42
  491. package/contracts/staking/IStakingService.sol +98 -76
  492. package/contracts/staking/Staking.sol +633 -99
  493. package/contracts/staking/StakingLib.sol +195 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +25 -20
  496. package/contracts/staking/StakingReader.sol +151 -0
  497. package/contracts/staking/StakingService.sol +174 -53
  498. package/contracts/staking/StakingServiceManager.sol +13 -8
  499. package/contracts/staking/StakingStore.sol +973 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/type/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +43 -3
  503. package/contracts/type/Blocknumber.sol +34 -16
  504. package/contracts/type/ChainId.sol +101 -0
  505. package/contracts/type/ClaimId.sol +6 -1
  506. package/contracts/type/Fee.sol +9 -9
  507. package/contracts/type/Key32.sol +2 -2
  508. package/contracts/type/Key32Set.sol +62 -0
  509. package/contracts/type/NftId.sol +16 -4
  510. package/contracts/type/NftIdSet.sol +1 -1
  511. package/contracts/type/ObjectType.sol +204 -62
  512. package/contracts/type/PayoutId.sol +10 -10
  513. package/contracts/type/Referral.sol +2 -1
  514. package/contracts/type/RequestId.sol +75 -0
  515. package/contracts/type/RiskId.sol +39 -7
  516. package/contracts/type/RoleId.sol +122 -80
  517. package/contracts/type/Seconds.sol +62 -1
  518. package/contracts/type/Selector.sol +107 -0
  519. package/contracts/type/StateId.sol +41 -2
  520. package/contracts/type/String.sol +65 -0
  521. package/contracts/type/Timestamp.sol +20 -9
  522. package/contracts/type/UFixed.sol +62 -125
  523. package/contracts/type/Version.sol +58 -7
  524. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  525. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  526. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  527. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  528. package/package.json +12 -8
  529. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  530. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  531. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  532. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  533. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  534. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
  535. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  536. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  537. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  539. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  540. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -381
  541. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  542. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
  543. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  544. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -636
  545. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  546. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
  547. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  548. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -688
  549. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  550. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  551. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  552. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  553. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  554. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  556. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  558. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  560. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  561. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  562. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  563. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  564. package/contracts/instance/BundleManager.sol +0 -126
  565. package/contracts/instance/InstanceAccessManager.sol +0 -543
  566. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
  567. package/contracts/instance/base/ObjectManager.sol +0 -82
  568. package/contracts/instance/module/IAccess.sol +0 -54
  569. package/contracts/product/IProductService.sol +0 -33
  570. package/contracts/product/ProductService.sol +0 -122
  571. package/contracts/product/ProductServiceManager.sol +0 -54
  572. package/contracts/registry/RegistryAccessManager.sol +0 -213
  573. package/contracts/registry/ReleaseManager.sol +0 -375
  574. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  575. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  576. package/contracts/shared/ComponentVerifyingService.sol +0 -111
  577. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -6,9 +6,14 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "address",
9
+ "internalType": "contract IRegistry",
10
10
  "name": "registry",
11
11
  "type": "address"
12
+ },
13
+ {
14
+ "internalType": "contract IERC20Metadata",
15
+ "name": "dipToken",
16
+ "type": "address"
12
17
  }
13
18
  ],
14
19
  "stateMutability": "nonpayable",
@@ -17,39 +22,39 @@
17
22
  {
18
23
  "inputs": [
19
24
  {
20
- "internalType": "NftId",
21
- "name": "nftId",
22
- "type": "uint96"
25
+ "internalType": "address",
26
+ "name": "authority",
27
+ "type": "address"
23
28
  }
24
29
  ],
25
- "name": "ErrorNftOwnableAlreadyLinked",
30
+ "name": "AccessManagedInvalidAuthority",
26
31
  "type": "error"
27
32
  },
28
33
  {
29
34
  "inputs": [
30
35
  {
31
36
  "internalType": "address",
32
- "name": "contractAddress",
37
+ "name": "caller",
33
38
  "type": "address"
39
+ },
40
+ {
41
+ "internalType": "uint32",
42
+ "name": "delay",
43
+ "type": "uint32"
34
44
  }
35
45
  ],
36
- "name": "ErrorNftOwnableContractNotRegistered",
37
- "type": "error"
38
- },
39
- {
40
- "inputs": [],
41
- "name": "ErrorNftOwnableInitialOwnerZero",
46
+ "name": "AccessManagedRequiredDelay",
42
47
  "type": "error"
43
48
  },
44
49
  {
45
50
  "inputs": [
46
51
  {
47
52
  "internalType": "address",
48
- "name": "account",
53
+ "name": "caller",
49
54
  "type": "address"
50
55
  }
51
56
  ],
52
- "name": "ErrorNftOwnableNotOwner",
57
+ "name": "AccessManagedUnauthorized",
53
58
  "type": "error"
54
59
  },
55
60
  {
@@ -63,11 +68,16 @@
63
68
  "name": "ErrorNotRegistry",
64
69
  "type": "error"
65
70
  },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorTokenRegistryChainIdZero",
74
+ "type": "error"
75
+ },
66
76
  {
67
77
  "inputs": [
68
78
  {
69
79
  "internalType": "VersionPart",
70
- "name": "majorVersion",
80
+ "name": "release",
71
81
  "type": "uint8"
72
82
  }
73
83
  ],
@@ -77,9 +87,30 @@
77
87
  {
78
88
  "inputs": [
79
89
  {
80
- "internalType": "uint256",
90
+ "internalType": "ChainId",
81
91
  "name": "chainId",
82
- "type": "uint256"
92
+ "type": "uint96"
93
+ },
94
+ {
95
+ "internalType": "address",
96
+ "name": "token",
97
+ "type": "address"
98
+ }
99
+ ],
100
+ "name": "ErrorTokenRegistryNotRemoteToken",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "ErrorTokenRegistryTokenAddressZero",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "ChainId",
112
+ "name": "chainId",
113
+ "type": "uint96"
83
114
  },
84
115
  {
85
116
  "internalType": "address",
@@ -93,9 +124,9 @@
93
124
  {
94
125
  "inputs": [
95
126
  {
96
- "internalType": "uint256",
127
+ "internalType": "ChainId",
97
128
  "name": "chainId",
98
- "type": "uint256"
129
+ "type": "uint96"
99
130
  },
100
131
  {
101
132
  "internalType": "address",
@@ -109,9 +140,9 @@
109
140
  {
110
141
  "inputs": [
111
142
  {
112
- "internalType": "uint256",
143
+ "internalType": "ChainId",
113
144
  "name": "chainId",
114
- "type": "uint256"
145
+ "type": "uint96"
115
146
  },
116
147
  {
117
148
  "internalType": "address",
@@ -125,9 +156,9 @@
125
156
  {
126
157
  "inputs": [
127
158
  {
128
- "internalType": "uint256",
159
+ "internalType": "ChainId",
129
160
  "name": "chainId",
130
- "type": "uint256"
161
+ "type": "uint96"
131
162
  },
132
163
  {
133
164
  "internalType": "address",
@@ -139,26 +170,41 @@
139
170
  "type": "error"
140
171
  },
141
172
  {
142
- "inputs": [],
143
- "name": "InvalidInitialization",
144
- "type": "error"
145
- },
146
- {
147
- "inputs": [],
148
- "name": "NotInitializing",
149
- "type": "error"
173
+ "anonymous": false,
174
+ "inputs": [
175
+ {
176
+ "indexed": false,
177
+ "internalType": "address",
178
+ "name": "authority",
179
+ "type": "address"
180
+ }
181
+ ],
182
+ "name": "AuthorityUpdated",
183
+ "type": "event"
150
184
  },
151
185
  {
152
186
  "anonymous": false,
153
187
  "inputs": [
154
188
  {
155
189
  "indexed": false,
156
- "internalType": "uint64",
157
- "name": "version",
158
- "type": "uint64"
190
+ "internalType": "ChainId",
191
+ "name": "chainId",
192
+ "type": "uint96"
193
+ },
194
+ {
195
+ "indexed": false,
196
+ "internalType": "address",
197
+ "name": "token",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "bool",
203
+ "name": "active",
204
+ "type": "bool"
159
205
  }
160
206
  ],
161
- "name": "Initialized",
207
+ "name": "LogTokenRegistryTokenGlobalStateSet",
162
208
  "type": "event"
163
209
  },
164
210
  {
@@ -166,9 +212,9 @@
166
212
  "inputs": [
167
213
  {
168
214
  "indexed": false,
169
- "internalType": "uint256",
215
+ "internalType": "ChainId",
170
216
  "name": "chainId",
171
- "type": "uint256"
217
+ "type": "uint96"
172
218
  },
173
219
  {
174
220
  "indexed": false,
@@ -197,9 +243,9 @@
197
243
  "inputs": [
198
244
  {
199
245
  "indexed": false,
200
- "internalType": "uint256",
246
+ "internalType": "ChainId",
201
247
  "name": "chainId",
202
- "type": "uint256"
248
+ "type": "uint96"
203
249
  },
204
250
  {
205
251
  "indexed": false,
@@ -210,7 +256,7 @@
210
256
  {
211
257
  "indexed": false,
212
258
  "internalType": "VersionPart",
213
- "name": "majorVersion",
259
+ "name": "release",
214
260
  "type": "uint8"
215
261
  },
216
262
  {
@@ -225,12 +271,12 @@
225
271
  },
226
272
  {
227
273
  "inputs": [],
228
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
274
+ "name": "authority",
229
275
  "outputs": [
230
276
  {
231
- "internalType": "bytes32",
277
+ "internalType": "address",
232
278
  "name": "",
233
- "type": "bytes32"
279
+ "type": "address"
234
280
  }
235
281
  ],
236
282
  "stateMutability": "view",
@@ -238,12 +284,12 @@
238
284
  },
239
285
  {
240
286
  "inputs": [],
241
- "name": "getNftId",
287
+ "name": "getDipToken",
242
288
  "outputs": [
243
289
  {
244
- "internalType": "NftId",
245
- "name": "",
246
- "type": "uint96"
290
+ "internalType": "contract IERC20Metadata",
291
+ "name": "dipToken",
292
+ "type": "address"
247
293
  }
248
294
  ],
249
295
  "stateMutability": "view",
@@ -251,7 +297,7 @@
251
297
  },
252
298
  {
253
299
  "inputs": [],
254
- "name": "getOwner",
300
+ "name": "getDipTokenAddress",
255
301
  "outputs": [
256
302
  {
257
303
  "internalType": "address",
@@ -278,19 +324,24 @@
278
324
  {
279
325
  "inputs": [
280
326
  {
281
- "internalType": "uint256",
282
- "name": "idx",
283
- "type": "uint256"
327
+ "internalType": "ChainId",
328
+ "name": "chainId",
329
+ "type": "uint96"
330
+ },
331
+ {
332
+ "internalType": "address",
333
+ "name": "token",
334
+ "type": "address"
284
335
  }
285
336
  ],
286
- "name": "getToken",
337
+ "name": "getTokenInfo",
287
338
  "outputs": [
288
339
  {
289
340
  "components": [
290
341
  {
291
- "internalType": "uint256",
342
+ "internalType": "ChainId",
292
343
  "name": "chainId",
293
- "type": "uint256"
344
+ "type": "uint96"
294
345
  },
295
346
  {
296
347
  "internalType": "address",
@@ -302,6 +353,11 @@
302
353
  "name": "decimals",
303
354
  "type": "uint8"
304
355
  },
356
+ {
357
+ "internalType": "bool",
358
+ "name": "active",
359
+ "type": "bool"
360
+ },
305
361
  {
306
362
  "internalType": "string",
307
363
  "name": "symbol",
@@ -319,60 +375,55 @@
319
375
  {
320
376
  "inputs": [
321
377
  {
322
- "internalType": "address",
323
- "name": "registry",
324
- "type": "address"
325
- }
326
- ],
327
- "name": "initialize",
328
- "outputs": [],
329
- "stateMutability": "nonpayable",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [],
334
- "name": "initializeERC165",
335
- "outputs": [],
336
- "stateMutability": "nonpayable",
337
- "type": "function"
338
- },
339
- {
340
- "inputs": [
341
- {
342
- "internalType": "address",
343
- "name": "initialOwner",
344
- "type": "address"
345
- },
346
- {
347
- "internalType": "address",
348
- "name": "registryAddress",
349
- "type": "address"
378
+ "internalType": "uint256",
379
+ "name": "idx",
380
+ "type": "uint256"
350
381
  }
351
382
  ],
352
- "name": "initializeNftOwnable",
353
- "outputs": [],
354
- "stateMutability": "nonpayable",
355
- "type": "function"
356
- },
357
- {
358
- "inputs": [
383
+ "name": "getTokenInfo",
384
+ "outputs": [
359
385
  {
360
- "internalType": "address",
361
- "name": "registryAddress",
362
- "type": "address"
386
+ "components": [
387
+ {
388
+ "internalType": "ChainId",
389
+ "name": "chainId",
390
+ "type": "uint96"
391
+ },
392
+ {
393
+ "internalType": "address",
394
+ "name": "token",
395
+ "type": "address"
396
+ },
397
+ {
398
+ "internalType": "uint8",
399
+ "name": "decimals",
400
+ "type": "uint8"
401
+ },
402
+ {
403
+ "internalType": "bool",
404
+ "name": "active",
405
+ "type": "bool"
406
+ },
407
+ {
408
+ "internalType": "string",
409
+ "name": "symbol",
410
+ "type": "string"
411
+ }
412
+ ],
413
+ "internalType": "struct TokenRegistry.TokenInfo",
414
+ "name": "tokenInfo",
415
+ "type": "tuple"
363
416
  }
364
417
  ],
365
- "name": "initializeRegistryLinked",
366
- "outputs": [],
367
- "stateMutability": "nonpayable",
418
+ "stateMutability": "view",
368
419
  "type": "function"
369
420
  },
370
421
  {
371
422
  "inputs": [
372
423
  {
373
- "internalType": "uint256",
424
+ "internalType": "ChainId",
374
425
  "name": "chainId",
375
- "type": "uint256"
426
+ "type": "uint96"
376
427
  },
377
428
  {
378
429
  "internalType": "address",
@@ -381,7 +432,7 @@
381
432
  },
382
433
  {
383
434
  "internalType": "VersionPart",
384
- "name": "majorVersion",
435
+ "name": "release",
385
436
  "type": "uint8"
386
437
  }
387
438
  ],
@@ -396,12 +447,25 @@
396
447
  "stateMutability": "view",
397
448
  "type": "function"
398
449
  },
450
+ {
451
+ "inputs": [],
452
+ "name": "isConsumingScheduledOp",
453
+ "outputs": [
454
+ {
455
+ "internalType": "bytes4",
456
+ "name": "",
457
+ "type": "bytes4"
458
+ }
459
+ ],
460
+ "stateMutability": "view",
461
+ "type": "function"
462
+ },
399
463
  {
400
464
  "inputs": [
401
465
  {
402
- "internalType": "uint256",
466
+ "internalType": "ChainId",
403
467
  "name": "chainId",
404
- "type": "uint256"
468
+ "type": "uint96"
405
469
  },
406
470
  {
407
471
  "internalType": "address",
@@ -421,15 +485,29 @@
421
485
  "type": "function"
422
486
  },
423
487
  {
424
- "inputs": [],
425
- "name": "linkToRegisteredNftId",
426
- "outputs": [],
427
- "stateMutability": "nonpayable",
428
- "type": "function"
429
- },
430
- {
431
- "inputs": [],
432
- "name": "linkToRegistryService",
488
+ "inputs": [
489
+ {
490
+ "internalType": "ChainId",
491
+ "name": "chainId",
492
+ "type": "uint96"
493
+ },
494
+ {
495
+ "internalType": "address",
496
+ "name": "token",
497
+ "type": "address"
498
+ },
499
+ {
500
+ "internalType": "uint8",
501
+ "name": "decimals",
502
+ "type": "uint8"
503
+ },
504
+ {
505
+ "internalType": "string",
506
+ "name": "symbol",
507
+ "type": "string"
508
+ }
509
+ ],
510
+ "name": "registerRemoteToken",
433
511
  "outputs": [],
434
512
  "stateMutability": "nonpayable",
435
513
  "type": "function"
@@ -437,25 +515,35 @@
437
515
  {
438
516
  "inputs": [
439
517
  {
440
- "internalType": "bytes4",
441
- "name": "interfaceId",
442
- "type": "bytes4"
518
+ "internalType": "address",
519
+ "name": "tokenAddress",
520
+ "type": "address"
443
521
  }
444
522
  ],
445
- "name": "registerInterface",
523
+ "name": "registerToken",
446
524
  "outputs": [],
447
525
  "stateMutability": "nonpayable",
448
526
  "type": "function"
449
527
  },
450
528
  {
451
529
  "inputs": [
530
+ {
531
+ "internalType": "ChainId",
532
+ "name": "chainId",
533
+ "type": "uint96"
534
+ },
452
535
  {
453
536
  "internalType": "address",
454
537
  "name": "token",
455
538
  "type": "address"
539
+ },
540
+ {
541
+ "internalType": "bool",
542
+ "name": "active",
543
+ "type": "bool"
456
544
  }
457
545
  ],
458
- "name": "registerToken",
546
+ "name": "setActive",
459
547
  "outputs": [],
460
548
  "stateMutability": "nonpayable",
461
549
  "type": "function"
@@ -463,9 +551,9 @@
463
551
  {
464
552
  "inputs": [
465
553
  {
466
- "internalType": "uint256",
554
+ "internalType": "ChainId",
467
555
  "name": "chainId",
468
- "type": "uint256"
556
+ "type": "uint96"
469
557
  },
470
558
  {
471
559
  "internalType": "address",
@@ -474,7 +562,7 @@
474
562
  },
475
563
  {
476
564
  "internalType": "VersionPart",
477
- "name": "majorVersion",
565
+ "name": "release",
478
566
  "type": "uint8"
479
567
  },
480
568
  {
@@ -483,7 +571,7 @@
483
571
  "type": "bool"
484
572
  }
485
573
  ],
486
- "name": "setActive",
574
+ "name": "setActiveForVersion",
487
575
  "outputs": [],
488
576
  "stateMutability": "nonpayable",
489
577
  "type": "function"
@@ -491,9 +579,9 @@
491
579
  {
492
580
  "inputs": [
493
581
  {
494
- "internalType": "uint256",
582
+ "internalType": "ChainId",
495
583
  "name": "chainId",
496
- "type": "uint256"
584
+ "type": "uint96"
497
585
  },
498
586
  {
499
587
  "internalType": "address",
@@ -502,7 +590,7 @@
502
590
  },
503
591
  {
504
592
  "internalType": "VersionPart",
505
- "name": "majorVersion",
593
+ "name": "release",
506
594
  "type": "uint8"
507
595
  },
508
596
  {
@@ -524,20 +612,14 @@
524
612
  {
525
613
  "inputs": [
526
614
  {
527
- "internalType": "bytes4",
528
- "name": "interfaceId",
529
- "type": "bytes4"
530
- }
531
- ],
532
- "name": "supportsInterface",
533
- "outputs": [
534
- {
535
- "internalType": "bool",
536
- "name": "",
537
- "type": "bool"
615
+ "internalType": "address",
616
+ "name": "newAuthority",
617
+ "type": "address"
538
618
  }
539
619
  ],
540
- "stateMutability": "view",
620
+ "name": "setAuthority",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable",
541
623
  "type": "function"
542
624
  },
543
625
  {
@@ -554,22 +636,46 @@
554
636
  "type": "function"
555
637
  }
556
638
  ],
557
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001ed538038062001ed58339810160408190526200003491620003b4565b6200003f8162000046565b506200040a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b0316600081158015620000915750825b90506000826001600160401b03166001148015620000ae5750303b155b905081158015620000bd575080155b15620000dc5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156200010b57845460ff60401b1916680100000000000000001785555b62000117338762000166565b83156200015e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b62000170620001ff565b6200017b8162000250565b620001856200036c565b6001600160a01b038216620001ad5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200024e57604051631afcd79f60e31b815260040160405180910390fd5b565b6200025a620001ff565b806001600160a01b03163b600003620002965760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa92505050801562000313575060408051601f3d908101601f191682019092526200031091810190620003e6565b60015b6200033d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200028d565b80620003685760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200028d565b5050565b62000376620001ff565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600060208284031215620003c757600080fd5b81516001600160a01b0381168114620003df57600080fd5b9392505050565b600060208284031215620003f957600080fd5b81518015158114620003df57600080fd5b611abb806200041a6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063893d20e8116100ad578063b81f6e1811610071578063b81f6e181461028d578063c4d66de8146102c6578063e4b50cb8146102d9578063f16ddea1146102f9578063f7c34ee01461030c57600080fd5b8063893d20e814610213578063900dc67e1461021b5780639d63848a1461025e578063ada9652e14610270578063b0a2d2cc1461028557600080fd5b806336fc697e116100f457806336fc697e1461019857806359c3c46a146101a05780635ab1bd53146101b3578063644c45e0146101d8578063675393bf1461020057600080fd5b806301ffc9a71461012657806309824a8014610168578063138461e01461017d578063214cdb8014610185575b600080fd5b6101536101343660046114e6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017b61017636600461152c565b61031f565b005b61017b610503565b61017b6101933660046114e6565b610705565b61017b610732565b61017b6101ae366004611566565b610778565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b600080516020611a66833981519152546040516001600160601b03909116815260200161015f565b61017b61020e36600461152c565b6107c7565b6101c06108d5565b6101536102293660046115b9565b60009283526004602090815260408085206001600160a01b0394909416855292815282842060ff928316855290529120541690565b6002545b60405190815260200161015f565b610262600080516020611a6683398151915281565b61017b610a0c565b61015361029b3660046115fb565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61017b6102d436600461152c565b610b0b565b6102ec6102e736600461162b565b610c1c565b60405161015f9190611694565b61017b6103073660046116e0565b610d3a565b61017b61031a366004611748565b610f7e565b6103276108d5565b6001600160a01b0316336001600160a01b03161461035f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b4660008181526003602090815260408083206001600160a01b038616845290915290205460ff16156103b6576040516305f5150b60e11b8152600481018290526001600160a01b0383166024820152604401610356565b816001600160a01b03163b6000036103f35760405163025558af60e11b8152600481018290526001600160a01b0383166024820152604401610356565b816103fd81610ff5565b61042c57604051633e9a49c360e01b8152600481018390526001600160a01b0384166024820152604401610356565b6104fe8284836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561046f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104939190611776565b846001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104f991908101906117a9565b611149565b505050565b6000600080516020611a6683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105969190611856565b156105c25780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610356565b306105d56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561061d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106419190611856565b6106695760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610356565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611873565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61070d61129a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61073a61129a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6107806108d5565b6001600160a01b0316336001600160a01b0316146107b35760405163086391f760e31b8152336004820152602401610356565b6107c1848484846001610d3a565b50505050565b6107cf61129a565b806001600160a01b03163b6000036108055760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610356565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa92505050801561087f575060408051601f3d908101601f1916820190925261087c91810190611856565b60015b6108a75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610356565b806108d05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610356565b505b50565b600080600080516020611a6683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190611856565b156109f6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f0919061189c565b91505090565b54600160601b90046001600160a01b0316919050565b6000610a206001546001600160a01b031690565b905060006001600160a01b03821663d39e60436028846001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611776565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061189c565b90506104fe816112e5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610b515750825b905060008267ffffffffffffffff166001148015610b6e5750303b155b905081158015610b7c575080155b15610b9a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc457845460ff60401b1916600160401b1785555b610bce3387610f7e565b8315610c1457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b604080516080810182526000808252602082018190529181019190915260608082015260028281548110610c5257610c526118b9565b6000918252602091829020604080516080810182526003939093029091018054835260018101546001600160a01b03811694840194909452600160a01b90930460ff1690820152600282018054919291606084019190610cb1906118cf565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd906118cf565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050815250509050919050565b610d426108d5565b6001600160a01b0316336001600160a01b031614610d755760405163086391f760e31b8152336004820152602401610356565b60008581526003602090815260408083206001600160a01b038816845290915290205460ff16610dca57604051636cf1a9b160e11b8152600481018690526001600160a01b0385166024820152604401610356565b8015610eee57604051632b10f60d60e21b815260ff8416600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610e25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e499190611909565b9050610e5d6001546001600160a01b031690565b60405163a52ec52960e01b815260ff861660048201526001600160a01b03919091169063a52ec52990602401602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca9190611856565b610eec57604051639d56678360e01b815260ff85166004820152602401610356565b505b60008581526004602090815260408083206001600160a01b03881680855290835281842060ff881680865290845293829020805460ff191687151590811790915582518a8152938401919091529082019290925260608101919091527f015d9882728d7e5451123d8a8187ea813d2fcc2fcf588ecb4a8f4ed35b5903f19060800160405180910390a15050505050565b610f8661129a565b610f8f816107c7565b610f97610732565b6001600160a01b038216610fbe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020611a6683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611051575060408051601f3d908101601f1916820190925261104e91810190611909565b60015b61105d57506000919050565b506040516370a0823160e01b8152600160048201526001600160a01b038316906370a0823190602401602060405180830381865afa9250505080156110bf575060408051601f3d908101601f191682019092526110bc91810190611909565b60015b6110cb57506000919050565b50604051636eb1769f60e11b815260016004820152600260248201526001600160a01b0383169063dd62ed3e90604401602060405180830381865afa925050508015611134575060408051601f3d908101601f1916820190925261113191810190611909565b60015b61114057506000919050565b50506001919050565b60008481526003602081815260408084206001600160a01b03808916808752918452828620805460ff1916600190811790915583516080810185528b815294850192835260ff898116948601948552606086018981526002805493840181559098528551919096027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace810191825592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf840180549551909716600160a01b026001600160a81b03199095169216919091179290921790935592519092917f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad001906112549082611968565b5050507fbc359a9240eeacbce8ce70b4afa8a563cf60b7707c55488668a72ab78d45f46c8484848460405161128c9493929190611a28565b60405180910390a150505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112e357604051631afcd79f60e31b815260040160405180910390fd5b565b600080600080516020611a6683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611355573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113799190611856565b156113a55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610356565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141d9190611856565b6114455760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610356565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bd9190611873565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000602082840312156114f857600080fd5b81356001600160e01b03198116811461151057600080fd5b9392505050565b6001600160a01b03811681146108d257600080fd5b60006020828403121561153e57600080fd5b813561151081611517565b60ff811681146108d257600080fd5b80151581146108d257600080fd5b6000806000806080858703121561157c57600080fd5b84359350602085013561158e81611517565b9250604085013561159e81611549565b915060608501356115ae81611558565b939692955090935050565b6000806000606084860312156115ce57600080fd5b8335925060208401356115e081611517565b915060408401356115f081611549565b809150509250925092565b6000806040838503121561160e57600080fd5b82359150602083013561162081611517565b809150509250929050565b60006020828403121561163d57600080fd5b5035919050565b60005b8381101561165f578181015183820152602001611647565b50506000910152565b60008151808452611680816020860160208601611644565b601f01601f19169290920160200192915050565b602081528151602082015260018060a01b03602083015116604082015260ff6040830151166060820152600060608301516080808401526116d860a0840182611668565b949350505050565b600080600080600060a086880312156116f857600080fd5b85359450602086013561170a81611517565b9350604086013561171a81611549565b9250606086013561172a81611558565b9150608086013561173a81611558565b809150509295509295909350565b6000806040838503121561175b57600080fd5b823561176681611517565b9150602083013561162081611517565b60006020828403121561178857600080fd5b815161151081611549565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156117bb57600080fd5b815167ffffffffffffffff808211156117d357600080fd5b818401915084601f8301126117e757600080fd5b8151818111156117f9576117f9611793565b604051601f8201601f19908116603f0116810190838211818310171561182157611821611793565b8160405282815287602084870101111561183a57600080fd5b61184b836020830160208801611644565b979650505050505050565b60006020828403121561186857600080fd5b815161151081611558565b60006020828403121561188557600080fd5b81516001600160601b038116811461151057600080fd5b6000602082840312156118ae57600080fd5b815161151081611517565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806118e357607f821691505b60208210810361190357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561191b57600080fd5b5051919050565b601f8211156104fe57600081815260208120601f850160051c810160208610156119495750805b601f850160051c820191505b81811015610c1457828155600101611955565b815167ffffffffffffffff81111561198257611982611793565b6119968161199084546118cf565b84611922565b602080601f8311600181146119cb57600084156119b35750858301515b600019600386901b1c1916600185901b178555610c14565b600085815260208120601f198616915b828110156119fa578886015182559484019460019091019084016119db565b5085821015611a185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8481526001600160a01b038416602082015260ff83166040820152608060608201819052600090611a5b90830184611668565b969550505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220696a242895be2ad7e776c26540f16dff2b07128f06fb31b5bca1a3b6997379a164736f6c63430008140033",
558
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063893d20e8116100ad578063b81f6e1811610071578063b81f6e181461028d578063c4d66de8146102c6578063e4b50cb8146102d9578063f16ddea1146102f9578063f7c34ee01461030c57600080fd5b8063893d20e814610213578063900dc67e1461021b5780639d63848a1461025e578063ada9652e14610270578063b0a2d2cc1461028557600080fd5b806336fc697e116100f457806336fc697e1461019857806359c3c46a146101a05780635ab1bd53146101b3578063644c45e0146101d8578063675393bf1461020057600080fd5b806301ffc9a71461012657806309824a8014610168578063138461e01461017d578063214cdb8014610185575b600080fd5b6101536101343660046114e6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017b61017636600461152c565b61031f565b005b61017b610503565b61017b6101933660046114e6565b610705565b61017b610732565b61017b6101ae366004611566565b610778565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b600080516020611a66833981519152546040516001600160601b03909116815260200161015f565b61017b61020e36600461152c565b6107c7565b6101c06108d5565b6101536102293660046115b9565b60009283526004602090815260408085206001600160a01b0394909416855292815282842060ff928316855290529120541690565b6002545b60405190815260200161015f565b610262600080516020611a6683398151915281565b61017b610a0c565b61015361029b3660046115fb565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61017b6102d436600461152c565b610b0b565b6102ec6102e736600461162b565b610c1c565b60405161015f9190611694565b61017b6103073660046116e0565b610d3a565b61017b61031a366004611748565b610f7e565b6103276108d5565b6001600160a01b0316336001600160a01b03161461035f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b4660008181526003602090815260408083206001600160a01b038616845290915290205460ff16156103b6576040516305f5150b60e11b8152600481018290526001600160a01b0383166024820152604401610356565b816001600160a01b03163b6000036103f35760405163025558af60e11b8152600481018290526001600160a01b0383166024820152604401610356565b816103fd81610ff5565b61042c57604051633e9a49c360e01b8152600481018390526001600160a01b0384166024820152604401610356565b6104fe8284836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561046f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104939190611776565b846001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104f991908101906117a9565b611149565b505050565b6000600080516020611a6683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105969190611856565b156105c25780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610356565b306105d56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561061d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106419190611856565b6106695760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610356565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611873565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61070d61129a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61073a61129a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6107806108d5565b6001600160a01b0316336001600160a01b0316146107b35760405163086391f760e31b8152336004820152602401610356565b6107c1848484846001610d3a565b50505050565b6107cf61129a565b806001600160a01b03163b6000036108055760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610356565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263256dc24d60e21b60048201526301ffc9a790602401602060405180830381865afa92505050801561087f575060408051601f3d908101601f1916820190925261087c91810190611856565b60015b6108a75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610356565b806108d05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610356565b505b50565b600080600080516020611a6683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190611856565b156109f6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f0919061189c565b91505090565b54600160601b90046001600160a01b0316919050565b6000610a206001546001600160a01b031690565b905060006001600160a01b03821663d39e60436028846001600160a01b031663f40d7c306040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611776565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b00919061189c565b90506104fe816112e5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610b515750825b905060008267ffffffffffffffff166001148015610b6e5750303b155b905081158015610b7c575080155b15610b9a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc457845460ff60401b1916600160401b1785555b610bce3387610f7e565b8315610c1457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b604080516080810182526000808252602082018190529181019190915260608082015260028281548110610c5257610c526118b9565b6000918252602091829020604080516080810182526003939093029091018054835260018101546001600160a01b03811694840194909452600160a01b90930460ff1690820152600282018054919291606084019190610cb1906118cf565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd906118cf565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050815250509050919050565b610d426108d5565b6001600160a01b0316336001600160a01b031614610d755760405163086391f760e31b8152336004820152602401610356565b60008581526003602090815260408083206001600160a01b038816845290915290205460ff16610dca57604051636cf1a9b160e11b8152600481018690526001600160a01b0385166024820152604401610356565b8015610eee57604051632b10f60d60e21b815260ff8416600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610e25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e499190611909565b9050610e5d6001546001600160a01b031690565b60405163a52ec52960e01b815260ff861660048201526001600160a01b03919091169063a52ec52990602401602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca9190611856565b610eec57604051639d56678360e01b815260ff85166004820152602401610356565b505b60008581526004602090815260408083206001600160a01b03881680855290835281842060ff881680865290845293829020805460ff191687151590811790915582518a8152938401919091529082019290925260608101919091527f015d9882728d7e5451123d8a8187ea813d2fcc2fcf588ecb4a8f4ed35b5903f19060800160405180910390a15050505050565b610f8661129a565b610f8f816107c7565b610f97610732565b6001600160a01b038216610fbe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020611a6683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611051575060408051601f3d908101601f1916820190925261104e91810190611909565b60015b61105d57506000919050565b506040516370a0823160e01b8152600160048201526001600160a01b038316906370a0823190602401602060405180830381865afa9250505080156110bf575060408051601f3d908101601f191682019092526110bc91810190611909565b60015b6110cb57506000919050565b50604051636eb1769f60e11b815260016004820152600260248201526001600160a01b0383169063dd62ed3e90604401602060405180830381865afa925050508015611134575060408051601f3d908101601f1916820190925261113191810190611909565b60015b61114057506000919050565b50506001919050565b60008481526003602081815260408084206001600160a01b03808916808752918452828620805460ff1916600190811790915583516080810185528b815294850192835260ff898116948601948552606086018981526002805493840181559098528551919096027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace810191825592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf840180549551909716600160a01b026001600160a81b03199095169216919091179290921790935592519092917f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad001906112549082611968565b5050507fbc359a9240eeacbce8ce70b4afa8a563cf60b7707c55488668a72ab78d45f46c8484848460405161128c9493929190611a28565b60405180910390a150505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112e357604051631afcd79f60e31b815260040160405180910390fd5b565b600080600080516020611a6683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611355573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113799190611856565b156113a55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610356565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141d9190611856565b6114455760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610356565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bd9190611873565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000602082840312156114f857600080fd5b81356001600160e01b03198116811461151057600080fd5b9392505050565b6001600160a01b03811681146108d257600080fd5b60006020828403121561153e57600080fd5b813561151081611517565b60ff811681146108d257600080fd5b80151581146108d257600080fd5b6000806000806080858703121561157c57600080fd5b84359350602085013561158e81611517565b9250604085013561159e81611549565b915060608501356115ae81611558565b939692955090935050565b6000806000606084860312156115ce57600080fd5b8335925060208401356115e081611517565b915060408401356115f081611549565b809150509250925092565b6000806040838503121561160e57600080fd5b82359150602083013561162081611517565b809150509250929050565b60006020828403121561163d57600080fd5b5035919050565b60005b8381101561165f578181015183820152602001611647565b50506000910152565b60008151808452611680816020860160208601611644565b601f01601f19169290920160200192915050565b602081528151602082015260018060a01b03602083015116604082015260ff6040830151166060820152600060608301516080808401526116d860a0840182611668565b949350505050565b600080600080600060a086880312156116f857600080fd5b85359450602086013561170a81611517565b9350604086013561171a81611549565b9250606086013561172a81611558565b9150608086013561173a81611558565b809150509295509295909350565b6000806040838503121561175b57600080fd5b823561176681611517565b9150602083013561162081611517565b60006020828403121561178857600080fd5b815161151081611549565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156117bb57600080fd5b815167ffffffffffffffff808211156117d357600080fd5b818401915084601f8301126117e757600080fd5b8151818111156117f9576117f9611793565b604051601f8201601f19908116603f0116810190838211818310171561182157611821611793565b8160405282815287602084870101111561183a57600080fd5b61184b836020830160208801611644565b979650505050505050565b60006020828403121561186857600080fd5b815161151081611558565b60006020828403121561188557600080fd5b81516001600160601b038116811461151057600080fd5b6000602082840312156118ae57600080fd5b815161151081611517565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806118e357607f821691505b60208210810361190357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561191b57600080fd5b5051919050565b601f8211156104fe57600081815260208120601f850160051c810160208610156119495750805b601f850160051c820191505b81811015610c1457828155600101611955565b815167ffffffffffffffff81111561198257611982611793565b6119968161199084546118cf565b84611922565b602080601f8311600181146119cb57600084156119b35750858301515b600019600386901b1c1916600185901b178555610c14565b600085815260208120601f198616915b828110156119fa578886015182559484019460019091019084016119db565b5085821015611a185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8481526001600160a01b038416602082015260ff83166040820152608060608201819052600090611a5b90830184611668565b969550505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220696a242895be2ad7e776c26540f16dff2b07128f06fb31b5bca1a3b6997379a164736f6c63430008140033",
639
+ "bytecode": "0x60806040819052639fa6a6e360e01b815273__$dacf551d137a232f87fa09e79113e25430$__90639fa6a6e390608490602090600481865af4158015610047573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061006b91906109d3565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555034801561009c575f80fd5b506040516126d93803806126d98339810160408190526100bb91610a10565b336100c5816102cb565b505f826001600160a01b0316632de837e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610103573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101279190610a48565b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610162573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101869190610a48565b90506101918161031e565b600480546001600160a01b0319166001600160a01b0385161790556101b58261039b565b600580546001600160a01b0319166001600160a01b03929092169182179055600480546040805163313ce56760e01b815290516102c394600160a01b9093046001600160601b031693839263313ce56792818301926020928290030181865afa158015610224573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102489190610a63565b60055f9054906101000a90046001600160a01b03166001600160a01b03166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa158015610297573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526102be9190810190610a97565b6104fd565b505050610d18565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b5f5433906001600160a01b031681146103595760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361038e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610350565b610397826102cb565b5050565b806001600160a01b0381163b5f0361044c5773__$dacf551d137a232f87fa09e79113e25430$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156103f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041891906109d3565b604051630a0cb36b60e31b81526001600160601b0390911660048201526001600160a01b0383166024820152604401610350565b610455816107dc565b6104f85773__$dacf551d137a232f87fa09e79113e25430$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156104a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c491906109d3565b60405163bcd20b3b60e01b81526001600160601b0390911660048201526001600160a01b0383166024820152604401610350565b919050565b610507848461092c565b1561053f57604051637cd757c960e01b81526001600160601b03851660048201526001600160a01b0384166024820152604401610350565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$dacf551d137a232f87fa09e79113e25430$__906352694ee890602401602060405180830381865af4158015610595573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b99190610b47565b156105d757604051634998330760e01b815260040160405180910390fd5b6001600160a01b0383166105fe5760405163dad20a1560e01b815260040160405180910390fd5b6040805160a0810182526001600160601b038087168083526001600160a01b03808816602080860182815260ff808b16888a01908152600160608a0181815260808b018d81525f998a528287528c8a20978a529690955299909620885192519095166c01000000000000000000000000029190961617835592519582018054935115156101000261ffff1990941696909416959095179190911790915591519091829160028201906106b09082610bea565b5050600380546001810182555f829052835160208501516001600160a01b03166c01000000000000000000000000026001600160601b039091161791027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810191825560408401517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c82018054606087015115156101000261ffff1990911660ff9093169290921791909117905560808401518493507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d909101906107959082610bea565b5050507ffd0995f0018ce5282fc02eabca02e90b4eadd96ad13f1cdd63dafef4efeef777858585856040516107cd9493929190610ca4565b60405180910390a15050505050565b5f816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610837575060408051601f3d908101601f1916820190925261083491810190610d01565b60015b61084257505f919050565b506040516370a0823160e01b8152600160048201526001600160a01b038316906370a0823190602401602060405180830381865afa9250505080156108a4575060408051601f3d908101601f191682019092526108a191810190610d01565b60015b6108af57505f919050565b50604051636eb1769f60e11b815260016004820152600260248201526001600160a01b0383169063dd62ed3e90604401602060405180830381865afa925050508015610918575060408051601f3d908101601f1916820190925261091591810190610d01565b60015b61092357505f919050565b50506001919050565b6001600160601b038281165f9081526001602090815260408083206001600160a01b03861684529091528082205490516330b8415f60e01b8152921660048301529073__$dacf551d137a232f87fa09e79113e25430$__906330b8415f90602401602060405180830381865af41580156109a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109cc9190610b47565b9392505050565b5f602082840312156109e3575f80fd5b81516001600160601b03811681146109cc575f80fd5b6001600160a01b0381168114610a0d575f80fd5b50565b5f8060408385031215610a21575f80fd5b8251610a2c816109f9565b6020840151909250610a3d816109f9565b809150509250929050565b5f60208284031215610a58575f80fd5b81516109cc816109f9565b5f60208284031215610a73575f80fd5b815160ff811681146109cc575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610aa7575f80fd5b81516001600160401b03811115610abc575f80fd5b8201601f81018413610acc575f80fd5b80516001600160401b03811115610ae557610ae5610a83565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610b1357610b13610a83565b604052818152828201602001861015610b2a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610b57575f80fd5b815180151581146109cc575f80fd5b600181811c90821680610b7a57607f821691505b602082108103610b9857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610be557805f5260205f20601f840160051c81016020851015610bc35750805b601f840160051c820191505b81811015610be2575f8155600101610bcf565b50505b505050565b81516001600160401b03811115610c0357610c03610a83565b610c1781610c118454610b66565b84610b9e565b6020601f821160018114610c49575f8315610c325750848201515b5f19600385901b1c1916600184901b178455610be2565b5f84815260208120601f198516915b82811015610c785787850151825560209485019460019092019101610c58565b5084821015610c9557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60018060601b038516815260018060a01b038416602082015260ff83166040820152608060608201525f8251806080840152806020850160a085015e5f60a0828501015260a0601f19601f83011684010191505095945050505050565b5f60208284031215610d11575f80fd5b5051919050565b6119b480610d255f395ff3fe608060405234801561000f575f80fd5b50600436106100fb575f3560e01c80639159eeae11610093578063cf44b1eb11610063578063cf44b1eb14610214578063d40c08d514610237578063f11bcbe7146101f3578063fa87e9761461024a575f80fd5b80639159eeae146101cf5780639d63848a146101e2578063b201f709146101f3578063bf7e214f14610204575f80fd5b80637a9e5e4b116100ce5780637a9e5e4b146101755780637f480903146101885780638c7a63ae1461019b5780638fb36037146101ae575f80fd5b806309824a80146100ff5780635809c85d146101145780635ab1bd531461013d5780637681f14a14610162575b5f80fd5b61011261010d366004611275565b61025d565b005b6101276101223660046112a5565b61035a565b6040516101349190611306565b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610134565b610112610170366004611381565b610490565b610112610183366004611275565b6104e5565b610112610196366004611458565b610559565b6101276101a9366004611507565b6105ad565b6101b66106eb565b6040516001600160e01b03199091168152602001610134565b6101126101dd36600461151e565b61070d565b600354604051908152602001610134565b6005546001600160a01b031661014a565b5f546001600160a01b031661014a565b610227610222366004611575565b610759565b6040519015158152602001610134565b6102276102453660046112a5565b6107db565b6101126102583660046115bb565b61087b565b610269335b5f3661093d565b5f61027382610a33565b9050610356600460149054906101000a90046001600160601b031683836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ef91906115f6565b846001600160a01b03166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa15801561032a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526103519190810190611611565b610b65565b5050565b6040805160a0810182525f8082526020820181905291810182905260608082019290925260808101919091526001600160601b038084165f9081526001602081815260408084206001600160a01b03808916865290835293819020815160a08101835281549687168152600160601b909604909416918501919091529082015460ff808216928501929092526101009004161515606083015260028101805460808401919061040890611686565b80601f016020809104026020016040519081016040528092919081815260200182805461043490611686565b801561047f5780601f106104565761010080835404028352916020019161047f565b820191905f5260205f20905b81548152906001019060200180831161046257829003601f168201915b505050505081525050905092915050565b61049933610262565b84846104a582826107db565b6104cf578181604051636426588560e01b81526004016104c69291906116be565b60405180910390fd5b6104dc8787878787610e0d565b50505050505050565b5f5433906001600160a01b0316811461051b5760405162d1953b60e31b81526001600160a01b03821660048201526024016104c6565b816001600160a01b03163b5f03610550576040516361798f2f60e11b81526001600160a01b03831660048201526024016104c6565b61035682610fb4565b61056233610262565b6004546001600160601b03808616600160a01b909204160361059b578383604051635d1d46df60e11b81526004016104c69291906116be565b6105a784848484610b65565b50505050565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600382815481106105ec576105ec6116e0565b5f9182526020918290206040805160a081018252600390930290910180546001600160601b03811684526001600160a01b03600160601b9091041693830193909352600183015460ff808216928401929092526101009004161515606082015260028201805491929160808401919061066490611686565b80601f016020809104026020016040519081016040528092919081815260200182805461069090611686565b80156106db5780601f106106b2576101008083540402835291602001916106db565b820191905f5260205f20905b8154815290600101906020018083116106be57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff1661070157505f90565b50638fb3603760e01b90565b61071633610262565b838361072282826107db565b610743578181604051636426588560e01b81526004016104c69291906116be565b610751868686866001610e0d565b505050505050565b6001600160601b0383165f9081526001602081815260408084206001600160a01b038716855290915282200154610100900460ff1661079957505f6107d4565b506001600160601b0383165f9081526002602090815260408083206001600160a01b0386168452825280832060ff8086168552925290912054165b9392505050565b6001600160601b038281165f9081526001602090815260408083206001600160a01b03861684529091528082205490516330b8415f60e01b8152921660048301529073__$dacf551d137a232f87fa09e79113e25430$__906330b8415f90602401602060405180830381865af4158015610857573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d491906116f4565b61088433610262565b828261089082826107db565b6108b1578181604051636426588560e01b81526004016104c69291906116be565b6001600160601b0385165f8181526001602081815260408084206001600160a01b038a1680865290835293819020909201805461ff001916610100891515908102919091179091558251948552908401929092528201527f1b6da2069e5d2bc17e239ebaae07bf1e3076d259390dca82f5b778b05921c8c1906060015b60405180910390a15050505050565b5f806109706109535f546001600160a01b031690565b863061096260045f898b61170f565b61096b91611736565b611007565b9150915081610a2c5763ffffffff811615610a09575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906109ca9088908890889060040161176e565b5f604051808303815f87803b1580156109e1575f80fd5b505af11580156109f3573d5f803e3d5ffd5b50505f805460ff60a01b1916905550610a2c9050565b60405162d1953b60e31b81526001600160a01b03861660048201526024016104c6565b5050505050565b806001600160a01b0381163b5f03610acc5773__$dacf551d137a232f87fa09e79113e25430$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab091906117ad565b82604051630a0cb36b60e31b81526004016104c69291906116be565b610ad58161110f565b610b605773__$dacf551d137a232f87fa09e79113e25430$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4491906117ad565b8260405163bcd20b3b60e01b81526004016104c69291906116be565b919050565b610b6f84846107db565b15610b91578383604051637cd757c960e01b81526004016104c69291906116be565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$dacf551d137a232f87fa09e79113e25430$__906352694ee890602401602060405180830381865af4158015610be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0b91906116f4565b15610c2957604051634998330760e01b815260040160405180910390fd5b6001600160a01b038316610c505760405163dad20a1560e01b815260040160405180910390fd5b6040805160a0810182526001600160601b038087168083526001600160a01b03808816602080860182815260ff808b16888a01908152600160608a0181815260808b018d81525f998a528287528c8a20978a52969095529990962088519251909516600160601b029190961617835592519582018054935115156101000261ffff199094169690941695909517919091179091559151909182916002820190610cf99082611811565b5050600380546001810182555f829052835160208501516001600160a01b0316600160601b026001600160601b039091161791027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810191825560408401517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c82018054606087015115156101000261ffff1990911660ff9093169290921791909117905560808401518493507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d90910190610dd59082611811565b5050507ffd0995f0018ce5282fc02eabca02e90b4eadd96ad13f1cdd63dafef4efeef7778585858560405161092e94939291906118cc565b8015610f2c57604051632b10f60d60e21b815260ff841660048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610e65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e899190611911565b9050610e9d6004546001600160a01b031690565b6040516308f6e75560e11b815260ff861660048201526001600160a01b0391909116906311edceaa90602401602060405180830381865afa158015610ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0891906116f4565b610f2a57604051639d56678360e01b815260ff851660048201526024016104c6565b505b6001600160601b0385165f8181526002602090815260408083206001600160a01b03891680855290835281842060ff891680865290845293829020805460ff191688151590811790915582519586529285015283019190915260608201527f87b54cef13dc402843e917a6faeaae0a69fe24d79c6f28761d7e4b6f0787de159060800161092e565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516110759190611928565b5f60405180830381855afa9150503d805f81146110ad576040519150601f19603f3d011682016040523d82523d5f602084013e6110b2565b606091505b509150915081156111045760408151106110e457808060200190518101906110da919061193e565b9094509250611104565b6020815110611104578080602001905181019061110191906116f4565b93505b505094509492505050565b5f816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561116a575060408051601f3d908101601f1916820190925261116791810190611911565b60015b61117557505f919050565b506040516370a0823160e01b8152600160048201526001600160a01b038316906370a0823190602401602060405180830381865afa9250505080156111d7575060408051601f3d908101601f191682019092526111d491810190611911565b60015b6111e257505f919050565b50604051636eb1769f60e11b815260016004820152600260248201526001600160a01b0383169063dd62ed3e90604401602060405180830381865afa92505050801561124b575060408051601f3d908101601f1916820190925261124891810190611911565b60015b61125657505f919050565b50506001919050565b80356001600160a01b0381168114610b60575f80fd5b5f60208284031215611285575f80fd5b6107d48261125f565b6001600160601b03811681146112a2575f80fd5b50565b5f80604083850312156112b6575f80fd5b82356112c18161128e565b91506112cf6020840161125f565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b03825116602082015260018060a01b03602083015116604082015260ff60408301511660608201526060820151151560808201525f608083015160a08084015261135e60c08401826112d8565b949350505050565b60ff811681146112a2575f80fd5b80151581146112a2575f80fd5b5f805f805f60a08688031215611395575f80fd5b85356113a08161128e565b94506113ae6020870161125f565b935060408601356113be81611366565b925060608601356113ce81611374565b915060808601356113de81611374565b809150509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611429576114296113ec565b604052919050565b5f67ffffffffffffffff82111561144a5761144a6113ec565b50601f01601f191660200190565b5f805f806080858703121561146b575f80fd5b84356114768161128e565b93506114846020860161125f565b9250604085013561149481611366565b9150606085013567ffffffffffffffff8111156114af575f80fd5b8501601f810187136114bf575f80fd5b80356114d26114cd82611431565b611400565b8181528860208385010111156114e6575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f60208284031215611517575f80fd5b5035919050565b5f805f8060808587031215611531575f80fd5b843561153c8161128e565b935061154a6020860161125f565b9250604085013561155a81611366565b9150606085013561156a81611374565b939692955090935050565b5f805f60608486031215611587575f80fd5b83356115928161128e565b92506115a06020850161125f565b915060408401356115b081611366565b809150509250925092565b5f805f606084860312156115cd575f80fd5b83356115d88161128e565b92506115e66020850161125f565b915060408401356115b081611374565b5f60208284031215611606575f80fd5b81516107d481611366565b5f60208284031215611621575f80fd5b815167ffffffffffffffff811115611637575f80fd5b8201601f81018413611647575f80fd5b80516116556114cd82611431565b818152856020838501011115611669575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b600181811c9082168061169a57607f821691505b6020821081036116b857634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611704575f80fd5b81516107d481611374565b5f808585111561171d575f80fd5b83861115611729575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611767576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f602082840312156117bd575f80fd5b81516107d48161128e565b601f82111561180c57805f5260205f20601f840160051c810160208510156117ed5750805b601f840160051c820191505b81811015610a2c575f81556001016117f9565b505050565b815167ffffffffffffffff81111561182b5761182b6113ec565b61183f816118398454611686565b846117c8565b6020601f821160018114611871575f831561185a5750848201515b5f19600385901b1c1916600184901b178455610a2c565b5f84815260208120601f198516915b828110156118a05787850151825560209485019460019092019101611880565b50848210156118bd57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b03851681526001600160a01b038416602082015260ff831660408201526080606082018190525f90611907908301846112d8565b9695505050505050565b5f60208284031215611921575f80fd5b5051919050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561194f575f80fd5b825161195a81611374565b602084015190925063ffffffff81168114611973575f80fd5b80915050925092905056fea2646970667358221220af0725214dd41f562cd7bde5ea46273265e495995862fe33504df7e9375a0bf664736f6c634300081a0033",
640
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100fb575f3560e01c80639159eeae11610093578063cf44b1eb11610063578063cf44b1eb14610214578063d40c08d514610237578063f11bcbe7146101f3578063fa87e9761461024a575f80fd5b80639159eeae146101cf5780639d63848a146101e2578063b201f709146101f3578063bf7e214f14610204575f80fd5b80637a9e5e4b116100ce5780637a9e5e4b146101755780637f480903146101885780638c7a63ae1461019b5780638fb36037146101ae575f80fd5b806309824a80146100ff5780635809c85d146101145780635ab1bd531461013d5780637681f14a14610162575b5f80fd5b61011261010d366004611275565b61025d565b005b6101276101223660046112a5565b61035a565b6040516101349190611306565b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610134565b610112610170366004611381565b610490565b610112610183366004611275565b6104e5565b610112610196366004611458565b610559565b6101276101a9366004611507565b6105ad565b6101b66106eb565b6040516001600160e01b03199091168152602001610134565b6101126101dd36600461151e565b61070d565b600354604051908152602001610134565b6005546001600160a01b031661014a565b5f546001600160a01b031661014a565b610227610222366004611575565b610759565b6040519015158152602001610134565b6102276102453660046112a5565b6107db565b6101126102583660046115bb565b61087b565b610269335b5f3661093d565b5f61027382610a33565b9050610356600460149054906101000a90046001600160601b031683836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ef91906115f6565b846001600160a01b03166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa15801561032a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526103519190810190611611565b610b65565b5050565b6040805160a0810182525f8082526020820181905291810182905260608082019290925260808101919091526001600160601b038084165f9081526001602081815260408084206001600160a01b03808916865290835293819020815160a08101835281549687168152600160601b909604909416918501919091529082015460ff808216928501929092526101009004161515606083015260028101805460808401919061040890611686565b80601f016020809104026020016040519081016040528092919081815260200182805461043490611686565b801561047f5780601f106104565761010080835404028352916020019161047f565b820191905f5260205f20905b81548152906001019060200180831161046257829003601f168201915b505050505081525050905092915050565b61049933610262565b84846104a582826107db565b6104cf578181604051636426588560e01b81526004016104c69291906116be565b60405180910390fd5b6104dc8787878787610e0d565b50505050505050565b5f5433906001600160a01b0316811461051b5760405162d1953b60e31b81526001600160a01b03821660048201526024016104c6565b816001600160a01b03163b5f03610550576040516361798f2f60e11b81526001600160a01b03831660048201526024016104c6565b61035682610fb4565b61056233610262565b6004546001600160601b03808616600160a01b909204160361059b578383604051635d1d46df60e11b81526004016104c69291906116be565b6105a784848484610b65565b50505050565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600382815481106105ec576105ec6116e0565b5f9182526020918290206040805160a081018252600390930290910180546001600160601b03811684526001600160a01b03600160601b9091041693830193909352600183015460ff808216928401929092526101009004161515606082015260028201805491929160808401919061066490611686565b80601f016020809104026020016040519081016040528092919081815260200182805461069090611686565b80156106db5780601f106106b2576101008083540402835291602001916106db565b820191905f5260205f20905b8154815290600101906020018083116106be57829003601f168201915b5050505050815250509050919050565b5f8054600160a01b900460ff1661070157505f90565b50638fb3603760e01b90565b61071633610262565b838361072282826107db565b610743578181604051636426588560e01b81526004016104c69291906116be565b610751868686866001610e0d565b505050505050565b6001600160601b0383165f9081526001602081815260408084206001600160a01b038716855290915282200154610100900460ff1661079957505f6107d4565b506001600160601b0383165f9081526002602090815260408083206001600160a01b0386168452825280832060ff8086168552925290912054165b9392505050565b6001600160601b038281165f9081526001602090815260408083206001600160a01b03861684529091528082205490516330b8415f60e01b8152921660048301529073__$dacf551d137a232f87fa09e79113e25430$__906330b8415f90602401602060405180830381865af4158015610857573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d491906116f4565b61088433610262565b828261089082826107db565b6108b1578181604051636426588560e01b81526004016104c69291906116be565b6001600160601b0385165f8181526001602081815260408084206001600160a01b038a1680865290835293819020909201805461ff001916610100891515908102919091179091558251948552908401929092528201527f1b6da2069e5d2bc17e239ebaae07bf1e3076d259390dca82f5b778b05921c8c1906060015b60405180910390a15050505050565b5f806109706109535f546001600160a01b031690565b863061096260045f898b61170f565b61096b91611736565b611007565b9150915081610a2c5763ffffffff811615610a09575f805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906109ca9088908890889060040161176e565b5f604051808303815f87803b1580156109e1575f80fd5b505af11580156109f3573d5f803e3d5ffd5b50505f805460ff60a01b1916905550610a2c9050565b60405162d1953b60e31b81526001600160a01b03861660048201526024016104c6565b5050505050565b806001600160a01b0381163b5f03610acc5773__$dacf551d137a232f87fa09e79113e25430$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab091906117ad565b82604051630a0cb36b60e31b81526004016104c69291906116be565b610ad58161110f565b610b605773__$dacf551d137a232f87fa09e79113e25430$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4491906117ad565b8260405163bcd20b3b60e01b81526004016104c69291906116be565b919050565b610b6f84846107db565b15610b91578383604051637cd757c960e01b81526004016104c69291906116be565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$dacf551d137a232f87fa09e79113e25430$__906352694ee890602401602060405180830381865af4158015610be7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0b91906116f4565b15610c2957604051634998330760e01b815260040160405180910390fd5b6001600160a01b038316610c505760405163dad20a1560e01b815260040160405180910390fd5b6040805160a0810182526001600160601b038087168083526001600160a01b03808816602080860182815260ff808b16888a01908152600160608a0181815260808b018d81525f998a528287528c8a20978a52969095529990962088519251909516600160601b029190961617835592519582018054935115156101000261ffff199094169690941695909517919091179091559151909182916002820190610cf99082611811565b5050600380546001810182555f829052835160208501516001600160a01b0316600160601b026001600160601b039091161791027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810191825560408401517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c82018054606087015115156101000261ffff1990911660ff9093169290921791909117905560808401518493507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d90910190610dd59082611811565b5050507ffd0995f0018ce5282fc02eabca02e90b4eadd96ad13f1cdd63dafef4efeef7778585858560405161092e94939291906118cc565b8015610f2c57604051632b10f60d60e21b815260ff841660048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610e65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e899190611911565b9050610e9d6004546001600160a01b031690565b6040516308f6e75560e11b815260ff861660048201526001600160a01b0391909116906311edceaa90602401602060405180830381865afa158015610ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0891906116f4565b610f2a57604051639d56678360e01b815260ff851660048201526024016104c6565b505b6001600160601b0385165f8181526002602090815260408083206001600160a01b03891680855290835281842060ff891680865290845293829020805460ff191688151590811790915582519586529285015283019190915260608201527f87b54cef13dc402843e917a6faeaae0a69fe24d79c6f28761d7e4b6f0787de159060800161092e565b5f80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516110759190611928565b5f60405180830381855afa9150503d805f81146110ad576040519150601f19603f3d011682016040523d82523d5f602084013e6110b2565b606091505b509150915081156111045760408151106110e457808060200190518101906110da919061193e565b9094509250611104565b6020815110611104578080602001905181019061110191906116f4565b93505b505094509492505050565b5f816001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561116a575060408051601f3d908101601f1916820190925261116791810190611911565b60015b61117557505f919050565b506040516370a0823160e01b8152600160048201526001600160a01b038316906370a0823190602401602060405180830381865afa9250505080156111d7575060408051601f3d908101601f191682019092526111d491810190611911565b60015b6111e257505f919050565b50604051636eb1769f60e11b815260016004820152600260248201526001600160a01b0383169063dd62ed3e90604401602060405180830381865afa92505050801561124b575060408051601f3d908101601f1916820190925261124891810190611911565b60015b61125657505f919050565b50506001919050565b80356001600160a01b0381168114610b60575f80fd5b5f60208284031215611285575f80fd5b6107d48261125f565b6001600160601b03811681146112a2575f80fd5b50565b5f80604083850312156112b6575f80fd5b82356112c18161128e565b91506112cf6020840161125f565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b03825116602082015260018060a01b03602083015116604082015260ff60408301511660608201526060820151151560808201525f608083015160a08084015261135e60c08401826112d8565b949350505050565b60ff811681146112a2575f80fd5b80151581146112a2575f80fd5b5f805f805f60a08688031215611395575f80fd5b85356113a08161128e565b94506113ae6020870161125f565b935060408601356113be81611366565b925060608601356113ce81611374565b915060808601356113de81611374565b809150509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611429576114296113ec565b604052919050565b5f67ffffffffffffffff82111561144a5761144a6113ec565b50601f01601f191660200190565b5f805f806080858703121561146b575f80fd5b84356114768161128e565b93506114846020860161125f565b9250604085013561149481611366565b9150606085013567ffffffffffffffff8111156114af575f80fd5b8501601f810187136114bf575f80fd5b80356114d26114cd82611431565b611400565b8181528860208385010111156114e6575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f60208284031215611517575f80fd5b5035919050565b5f805f8060808587031215611531575f80fd5b843561153c8161128e565b935061154a6020860161125f565b9250604085013561155a81611366565b9150606085013561156a81611374565b939692955090935050565b5f805f60608486031215611587575f80fd5b83356115928161128e565b92506115a06020850161125f565b915060408401356115b081611366565b809150509250925092565b5f805f606084860312156115cd575f80fd5b83356115d88161128e565b92506115e66020850161125f565b915060408401356115b081611374565b5f60208284031215611606575f80fd5b81516107d481611366565b5f60208284031215611621575f80fd5b815167ffffffffffffffff811115611637575f80fd5b8201601f81018413611647575f80fd5b80516116556114cd82611431565b818152856020838501011115611669575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b600181811c9082168061169a57607f821691505b6020821081036116b857634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611704575f80fd5b81516107d481611374565b5f808585111561171d575f80fd5b83861115611729575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611767576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f602082840312156117bd575f80fd5b81516107d48161128e565b601f82111561180c57805f5260205f20601f840160051c810160208510156117ed5750805b601f840160051c820191505b81811015610a2c575f81556001016117f9565b505050565b815167ffffffffffffffff81111561182b5761182b6113ec565b61183f816118398454611686565b846117c8565b6020601f821160018114611871575f831561185a5750848201515b5f19600385901b1c1916600184901b178455610a2c565b5f84815260208120601f198516915b828110156118a05787850151825560209485019460019092019101611880565b50848210156118bd57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b03851681526001600160a01b038416602082015260ff831660408201526080606082018190525f90611907908301846112d8565b9695505050505050565b5f60208284031215611921575f80fd5b5051919050565b5f82518060208501845e5f920191825250919050565b5f806040838503121561194f575f80fd5b825161195a81611374565b602084015190925063ffffffff81168114611973575f80fd5b80915050925092905056fea2646970667358221220af0725214dd41f562cd7bde5ea46273265e495995862fe33504df7e9375a0bf664736f6c634300081a0033",
559
641
  "linkReferences": {
560
- "contracts/type/NftId.sol": {
561
- "NftIdLib": [
642
+ "contracts/type/ChainId.sol": {
643
+ "ChainIdLib": [
644
+ {
645
+ "length": 20,
646
+ "start": 18
647
+ },
562
648
  {
563
649
  "length": 20,
564
- "start": 2386
650
+ "start": 943
565
651
  },
566
652
  {
567
653
  "length": 20,
568
- "start": 3365
654
+ "start": 1115
569
655
  },
570
656
  {
571
657
  "length": 20,
572
- "start": 5941
658
+ "start": 1373
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 2416
663
+ },
664
+ {
665
+ "length": 20,
666
+ "start": 5444
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 5996
671
+ },
672
+ {
673
+ "length": 20,
674
+ "start": 6144
675
+ },
676
+ {
677
+ "length": 20,
678
+ "start": 6356
573
679
  }
574
680
  ]
575
681
  },
@@ -577,25 +683,29 @@
577
683
  "VersionPartLib": [
578
684
  {
579
685
  "length": 20,
580
- "start": 4613
686
+ "start": 6994
581
687
  }
582
688
  ]
583
689
  }
584
690
  },
585
691
  "deployedLinkReferences": {
586
- "contracts/type/NftId.sol": {
587
- "NftIdLib": [
692
+ "contracts/type/ChainId.sol": {
693
+ "ChainIdLib": [
694
+ {
695
+ "length": 20,
696
+ "start": 2079
697
+ },
588
698
  {
589
699
  "length": 20,
590
- "start": 1336
700
+ "start": 2631
591
701
  },
592
702
  {
593
703
  "length": 20,
594
- "start": 2315
704
+ "start": 2779
595
705
  },
596
706
  {
597
707
  "length": 20,
598
- "start": 4891
708
+ "start": 2991
599
709
  }
600
710
  ]
601
711
  },
@@ -603,7 +713,7 @@
603
713
  "VersionPartLib": [
604
714
  {
605
715
  "length": 20,
606
- "start": 3563
716
+ "start": 3629
607
717
  }
608
718
  ]
609
719
  }