@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff596ab-857

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