@etherisc/gif-next 0.0.2-fd4931b-974 → 0.0.2-fd5f17a-625

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. package/README.md +51 -5
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +65 -463
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +291 -234
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +88 -100
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -165
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +171 -47
  36. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  37. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  38. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  39. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  40. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  44. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +77 -78
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +149 -52
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +75 -205
  52. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  54. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +410 -130
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +191 -206
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +60 -92
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +387 -268
  64. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  66. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  68. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  70. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  72. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  81. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  82. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  83. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  85. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  87. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  92. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  94. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  100. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  102. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +440 -169
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +132 -84
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +225 -2
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  110. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +56 -295
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +255 -101
  113. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  114. package/artifacts/contracts/pool/Pool.sol/Pool.json +102 -627
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +309 -251
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +57 -81
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  120. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +72 -160
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +55 -87
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  124. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  128. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +229 -168
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +82 -94
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  132. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +134 -1
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +204 -120
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +63 -44
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  140. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +43 -84
  141. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  142. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +22 -3
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  144. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +273 -301
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +77 -93
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PricingService.sol/PricingService.json +134 -243
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +70 -110
  151. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  152. package/artifacts/contracts/product/Product.sol/Product.json +53 -390
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  154. package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  158. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  160. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +302 -61
  161. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  162. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -184
  163. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  164. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  165. package/artifacts/contracts/registry/Registry.sol/Registry.json +645 -123
  166. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  167. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  168. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  169. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +66 -124
  170. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +46 -81
  172. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  174. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  175. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  176. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  177. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  178. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +46 -177
  180. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  181. package/artifacts/contracts/shared/Component.sol/Component.json +18 -223
  182. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +271 -164
  184. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  185. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +83 -95
  186. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  187. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +14 -107
  188. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  189. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -31
  190. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +180 -1
  192. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  193. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +43 -42
  194. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +11 -15
  196. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  197. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +0 -5
  198. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  200. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +0 -42
  202. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  204. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  208. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  209. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  210. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  211. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  212. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +50 -287
  213. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  214. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +15 -99
  215. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +4 -65
  217. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  218. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  219. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +10 -55
  221. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  222. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +4 -136
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  224. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +11 -94
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  226. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  227. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  228. package/artifacts/contracts/shared/Service.sol/Service.json +14 -107
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  230. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  231. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  232. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  233. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  234. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +273 -605
  235. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  236. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +471 -62
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  238. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  239. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  240. package/artifacts/contracts/staking/Staking.sol/Staking.json +332 -1004
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +73 -203
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -39
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +484 -213
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  250. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +57 -84
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  252. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  254. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +318 -19
  255. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  256. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/Amount.sol/AmountLib.json +97 -4
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  263. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  267. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  268. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +28 -4
  271. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  272. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  280. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  281. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +100 -2
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  291. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  293. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  294. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
  301. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  303. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  305. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  306. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  308. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
  309. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  310. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  311. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  312. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  313. package/contracts/authorization/AccessAdmin.sol +589 -0
  314. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  315. package/contracts/authorization/Authorization.sol +217 -0
  316. package/contracts/authorization/IAccess.sol +48 -0
  317. package/contracts/authorization/IAccessAdmin.sol +136 -0
  318. package/contracts/authorization/IAuthorization.sol +54 -0
  319. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  320. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  321. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  322. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  323. package/contracts/distribution/BasicDistribution.sol +138 -0
  324. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  325. package/contracts/distribution/Distribution.sol +146 -114
  326. package/contracts/distribution/DistributionService.sol +84 -46
  327. package/contracts/distribution/DistributionServiceManager.sol +2 -17
  328. package/contracts/distribution/IDistributionComponent.sol +26 -40
  329. package/contracts/distribution/IDistributionService.sol +24 -4
  330. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  331. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  332. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  333. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  334. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  335. package/contracts/instance/IInstance.sol +29 -43
  336. package/contracts/instance/IInstanceService.sol +36 -27
  337. package/contracts/instance/Instance.sol +117 -116
  338. package/contracts/instance/InstanceAdmin.sol +285 -0
  339. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  340. package/contracts/instance/InstanceReader.sol +82 -18
  341. package/contracts/instance/InstanceService.sol +206 -106
  342. package/contracts/instance/InstanceServiceManager.sol +2 -6
  343. package/contracts/instance/InstanceStore.sol +49 -22
  344. package/contracts/instance/base/BalanceStore.sol +11 -6
  345. package/contracts/instance/base/Cloneable.sol +2 -25
  346. package/contracts/instance/base/ObjectCounter.sol +21 -0
  347. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  348. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  349. package/contracts/instance/module/IAccess.sol +2 -10
  350. package/contracts/instance/module/IBundle.sol +1 -1
  351. package/contracts/instance/module/IComponents.sol +1 -7
  352. package/contracts/instance/module/IDistribution.sol +0 -1
  353. package/contracts/instance/module/IPolicy.sol +22 -22
  354. package/contracts/mock/Dip.sol +1 -1
  355. package/contracts/oracle/BasicOracle.sol +48 -0
  356. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  357. package/contracts/oracle/IOracle.sol +36 -0
  358. package/contracts/oracle/IOracleComponent.sol +33 -0
  359. package/contracts/oracle/IOracleService.sol +65 -0
  360. package/contracts/oracle/Oracle.sol +167 -0
  361. package/contracts/oracle/OracleService.sol +279 -0
  362. package/contracts/oracle/OracleServiceManager.sol +39 -0
  363. package/contracts/pool/BasicPool.sol +166 -0
  364. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  365. package/contracts/pool/BundleService.sol +211 -69
  366. package/contracts/pool/BundleServiceManager.sol +2 -5
  367. package/contracts/pool/IBundleService.sol +34 -6
  368. package/contracts/pool/IPoolComponent.sol +6 -60
  369. package/contracts/pool/IPoolService.sol +40 -27
  370. package/contracts/pool/Pool.sol +165 -138
  371. package/contracts/pool/PoolService.sol +199 -114
  372. package/contracts/pool/PoolServiceManager.sol +2 -5
  373. package/contracts/product/ApplicationService.sol +59 -65
  374. package/contracts/product/ApplicationServiceManager.sol +2 -2
  375. package/contracts/product/BasicProduct.sol +53 -0
  376. package/contracts/product/BasicProductAuthorization.sol +43 -0
  377. package/contracts/product/ClaimService.sol +132 -82
  378. package/contracts/product/ClaimServiceManager.sol +2 -2
  379. package/contracts/product/IApplicationService.sol +2 -1
  380. package/contracts/product/IClaimService.sol +32 -3
  381. package/contracts/product/IPolicyService.sol +28 -33
  382. package/contracts/product/IPricingService.sol +8 -8
  383. package/contracts/product/IProductComponent.sol +7 -10
  384. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -2
  385. package/contracts/product/PolicyService.sol +289 -189
  386. package/contracts/product/PolicyServiceManager.sol +2 -5
  387. package/contracts/product/PricingService.sol +52 -52
  388. package/contracts/product/PricingServiceManager.sol +2 -5
  389. package/contracts/product/Product.sol +163 -115
  390. package/contracts/product/{ProductService.sol → RiskService.sol} +18 -45
  391. package/contracts/product/RiskServiceManager.sol +39 -0
  392. package/contracts/registry/ChainNft.sol +65 -31
  393. package/contracts/registry/IRegistry.sol +79 -29
  394. package/contracts/registry/IRegistryService.sol +7 -6
  395. package/contracts/registry/Registry.sol +354 -215
  396. package/contracts/registry/RegistryAdmin.sol +464 -0
  397. package/contracts/registry/RegistryService.sol +14 -90
  398. package/contracts/registry/RegistryServiceManager.sol +3 -22
  399. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  400. package/contracts/registry/ReleaseRegistry.sol +491 -0
  401. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  402. package/contracts/registry/TokenRegistry.sol +58 -62
  403. package/contracts/shared/Component.sol +35 -53
  404. package/contracts/shared/ComponentService.sol +127 -81
  405. package/contracts/shared/ComponentServiceManager.sol +2 -2
  406. package/contracts/shared/ComponentVerifyingService.sol +14 -8
  407. package/contracts/shared/IComponent.sol +7 -11
  408. package/contracts/shared/IComponentService.sol +26 -9
  409. package/contracts/shared/IInstanceLinkedComponent.sol +10 -7
  410. package/contracts/shared/IKeyValueStore.sol +2 -1
  411. package/contracts/shared/ILifecycle.sol +1 -2
  412. package/contracts/shared/INftOwnable.sol +1 -1
  413. package/contracts/shared/IPolicyHolder.sol +0 -9
  414. package/contracts/shared/IService.sol +9 -2
  415. package/contracts/shared/InitializableCustom.sol +177 -0
  416. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  417. package/contracts/shared/InstanceLinkedComponent.sol +51 -24
  418. package/contracts/shared/KeyValueStore.sol +7 -6
  419. package/contracts/shared/Lifecycle.sol +16 -60
  420. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +3 -7
  421. package/contracts/shared/NftOwnable.sol +9 -20
  422. package/contracts/shared/PolicyHolder.sol +8 -53
  423. package/contracts/shared/Registerable.sol +4 -4
  424. package/contracts/shared/RegistryLinked.sol +3 -2
  425. package/contracts/shared/Service.sol +33 -28
  426. package/contracts/shared/TokenHandler.sol +100 -19
  427. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  428. package/contracts/staking/IStaking.sol +96 -41
  429. package/contracts/staking/IStakingService.sol +78 -40
  430. package/contracts/staking/StakeManagerLib.sol +224 -0
  431. package/contracts/staking/Staking.sol +305 -155
  432. package/contracts/staking/StakingLifecycle.sol +23 -0
  433. package/contracts/staking/StakingManager.sol +21 -23
  434. package/contracts/staking/StakingReader.sol +119 -28
  435. package/contracts/staking/StakingService.sol +190 -77
  436. package/contracts/staking/StakingServiceManager.sol +4 -4
  437. package/contracts/staking/StakingStore.sol +605 -0
  438. package/contracts/staking/TargetManagerLib.sol +83 -13
  439. package/contracts/type/AddressSet.sol +1 -1
  440. package/contracts/type/Amount.sol +24 -3
  441. package/contracts/type/Blocknumber.sol +20 -2
  442. package/contracts/type/Fee.sol +1 -1
  443. package/contracts/type/NftId.sol +9 -9
  444. package/contracts/type/NftIdSet.sol +1 -1
  445. package/contracts/type/ObjectType.sol +174 -68
  446. package/contracts/type/Referral.sol +2 -1
  447. package/contracts/type/RequestId.sol +75 -0
  448. package/contracts/type/RiskId.sol +1 -1
  449. package/contracts/type/RoleId.sol +104 -73
  450. package/contracts/type/Seconds.sol +39 -1
  451. package/contracts/type/Selector.sol +102 -0
  452. package/contracts/type/StateId.sol +13 -0
  453. package/contracts/type/String.sol +53 -0
  454. package/contracts/type/Timestamp.sol +17 -3
  455. package/contracts/type/UFixed.sol +34 -9
  456. package/contracts/type/Version.sol +4 -2
  457. package/contracts/{shared → upgradeability}/ProxyManager.sol +9 -6
  458. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  459. package/package.json +8 -5
  460. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  461. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  462. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  463. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  464. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  465. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
  466. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  468. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  469. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  470. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
  471. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  472. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -675
  473. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  474. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -298
  475. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  476. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1112
  477. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  478. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  479. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  480. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  481. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  482. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  483. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  484. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  485. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -314
  486. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  487. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
  488. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  489. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  490. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  491. package/contracts/instance/InstanceAccessManager.sol +0 -543
  492. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
  493. package/contracts/product/ProductServiceManager.sol +0 -42
  494. package/contracts/registry/RegistryAccessManager.sol +0 -167
  495. package/contracts/registry/ReleaseManager.sol +0 -530
  496. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  497. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  498. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  499. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -45,11 +45,11 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "instanceBundleManager",
48
+ "name": "instanceBundleSet",
49
49
  "type": "address"
50
50
  }
51
51
  ],
52
- "name": "ErrorInstanceBundleManagerAlreadySet",
52
+ "name": "ErrorInstanceBundleSetAlreadySet",
53
53
  "type": "error"
54
54
  },
55
55
  {
@@ -60,7 +60,7 @@
60
60
  "type": "address"
61
61
  }
62
62
  ],
63
- "name": "ErrorInstanceBundleManagerAuthorityMismatch",
63
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
64
64
  "type": "error"
65
65
  },
66
66
  {
@@ -71,18 +71,18 @@
71
71
  "type": "address"
72
72
  }
73
73
  ],
74
- "name": "ErrorInstanceBundleManagerInstanceMismatch",
74
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
75
75
  "type": "error"
76
76
  },
77
77
  {
78
78
  "inputs": [
79
79
  {
80
80
  "internalType": "address",
81
- "name": "instanceAccessManager",
81
+ "name": "InstanceAdmin",
82
82
  "type": "address"
83
83
  }
84
84
  ],
85
- "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
86
86
  "type": "error"
87
87
  },
88
88
  {
@@ -93,12 +93,12 @@
93
93
  "type": "address"
94
94
  }
95
95
  ],
96
- "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
97
97
  "type": "error"
98
98
  },
99
99
  {
100
100
  "inputs": [],
101
- "name": "ErrorInstanceInstanceAccessManagerZero",
101
+ "name": "ErrorInstanceInstanceAdminZero",
102
102
  "type": "error"
103
103
  },
104
104
  {
@@ -320,36 +320,10 @@
320
320
  },
321
321
  {
322
322
  "inputs": [],
323
- "name": "getBundleManager",
323
+ "name": "getBundleSet",
324
324
  "outputs": [
325
325
  {
326
- "internalType": "contract BundleManager",
327
- "name": "",
328
- "type": "address"
329
- }
330
- ],
331
- "stateMutability": "view",
332
- "type": "function"
333
- },
334
- {
335
- "inputs": [],
336
- "name": "getBundleService",
337
- "outputs": [
338
- {
339
- "internalType": "contract IBundleService",
340
- "name": "",
341
- "type": "address"
342
- }
343
- ],
344
- "stateMutability": "view",
345
- "type": "function"
346
- },
347
- {
348
- "inputs": [],
349
- "name": "getDistributionService",
350
- "outputs": [
351
- {
352
- "internalType": "contract IDistributionService",
326
+ "internalType": "contract BundleSet",
353
327
  "name": "",
354
328
  "type": "address"
355
329
  }
@@ -409,10 +383,10 @@
409
383
  },
410
384
  {
411
385
  "inputs": [],
412
- "name": "getInstanceAccessManager",
386
+ "name": "getInstanceAdmin",
413
387
  "outputs": [
414
388
  {
415
- "internalType": "contract InstanceAccessManager",
389
+ "internalType": "contract InstanceAdmin",
416
390
  "name": "",
417
391
  "type": "address"
418
392
  }
@@ -485,45 +459,6 @@
485
459
  "stateMutability": "view",
486
460
  "type": "function"
487
461
  },
488
- {
489
- "inputs": [],
490
- "name": "getPolicyService",
491
- "outputs": [
492
- {
493
- "internalType": "contract IPolicyService",
494
- "name": "",
495
- "type": "address"
496
- }
497
- ],
498
- "stateMutability": "view",
499
- "type": "function"
500
- },
501
- {
502
- "inputs": [],
503
- "name": "getPoolService",
504
- "outputs": [
505
- {
506
- "internalType": "contract IPoolService",
507
- "name": "",
508
- "type": "address"
509
- }
510
- ],
511
- "stateMutability": "view",
512
- "type": "function"
513
- },
514
- {
515
- "inputs": [],
516
- "name": "getProductService",
517
- "outputs": [
518
- {
519
- "internalType": "contract IProductService",
520
- "name": "",
521
- "type": "address"
522
- }
523
- ],
524
- "stateMutability": "view",
525
- "type": "function"
526
- },
527
462
  {
528
463
  "inputs": [],
529
464
  "name": "getRegistry",
@@ -558,98 +493,37 @@
558
493
  {
559
494
  "inputs": [
560
495
  {
561
- "internalType": "address",
562
- "name": "authority",
496
+ "internalType": "contract InstanceAdmin",
497
+ "name": "instanceAdmin",
563
498
  "type": "address"
564
499
  },
565
500
  {
566
- "internalType": "address",
567
- "name": "registryAddress",
501
+ "internalType": "contract InstanceStore",
502
+ "name": "instanceStore",
568
503
  "type": "address"
569
504
  },
570
505
  {
571
- "internalType": "address",
572
- "name": "initialOwner",
573
- "type": "address"
574
- }
575
- ],
576
- "name": "initialize",
577
- "outputs": [],
578
- "stateMutability": "nonpayable",
579
- "type": "function"
580
- },
581
- {
582
- "inputs": [],
583
- "name": "initializeERC165",
584
- "outputs": [],
585
- "stateMutability": "nonpayable",
586
- "type": "function"
587
- },
588
- {
589
- "inputs": [
590
- {
591
- "internalType": "address",
592
- "name": "initialOwner",
506
+ "internalType": "contract BundleSet",
507
+ "name": "bundleManager",
593
508
  "type": "address"
594
509
  },
595
510
  {
596
- "internalType": "address",
597
- "name": "registryAddress",
598
- "type": "address"
599
- }
600
- ],
601
- "name": "initializeNftOwnable",
602
- "outputs": [],
603
- "stateMutability": "nonpayable",
604
- "type": "function"
605
- },
606
- {
607
- "inputs": [
608
- {
609
- "internalType": "address",
610
- "name": "registryAddress",
511
+ "internalType": "contract InstanceReader",
512
+ "name": "instanceReader",
611
513
  "type": "address"
612
514
  },
613
515
  {
614
- "internalType": "NftId",
615
- "name": "parentNftId",
616
- "type": "uint96"
617
- },
618
- {
619
- "internalType": "ObjectType",
620
- "name": "objectType",
621
- "type": "uint8"
622
- },
623
- {
624
- "internalType": "bool",
625
- "name": "isInterceptor",
626
- "type": "bool"
627
- },
628
- {
629
- "internalType": "address",
630
- "name": "initialOwner",
516
+ "internalType": "contract IRegistry",
517
+ "name": "registry",
631
518
  "type": "address"
632
519
  },
633
- {
634
- "internalType": "bytes",
635
- "name": "registryData",
636
- "type": "bytes"
637
- }
638
- ],
639
- "name": "initializeRegisterable",
640
- "outputs": [],
641
- "stateMutability": "nonpayable",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [
646
520
  {
647
521
  "internalType": "address",
648
- "name": "registryAddress",
522
+ "name": "initialOwner",
649
523
  "type": "address"
650
524
  }
651
525
  ],
652
- "name": "initializeRegistryLinked",
526
+ "name": "initialize",
653
527
  "outputs": [],
654
528
  "stateMutability": "nonpayable",
655
529
  "type": "function"
@@ -670,7 +544,13 @@
670
544
  {
671
545
  "inputs": [],
672
546
  "name": "linkToRegisteredNftId",
673
- "outputs": [],
547
+ "outputs": [
548
+ {
549
+ "internalType": "NftId",
550
+ "name": "nftId",
551
+ "type": "uint96"
552
+ }
553
+ ],
674
554
  "stateMutability": "nonpayable",
675
555
  "type": "function"
676
556
  },
@@ -718,12 +598,12 @@
718
598
  {
719
599
  "inputs": [
720
600
  {
721
- "internalType": "bytes4",
722
- "name": "interfaceId",
723
- "type": "bytes4"
601
+ "internalType": "Amount",
602
+ "name": "dipAmount",
603
+ "type": "uint96"
724
604
  }
725
605
  ],
726
- "name": "registerInterface",
606
+ "name": "refillStakingRewardReserves",
727
607
  "outputs": [],
728
608
  "stateMutability": "nonpayable",
729
609
  "type": "function"
@@ -762,25 +642,12 @@
762
642
  {
763
643
  "inputs": [
764
644
  {
765
- "internalType": "contract BundleManager",
766
- "name": "bundleManager",
767
- "type": "address"
768
- }
769
- ],
770
- "name": "setBundleManager",
771
- "outputs": [],
772
- "stateMutability": "nonpayable",
773
- "type": "function"
774
- },
775
- {
776
- "inputs": [
777
- {
778
- "internalType": "contract InstanceAccessManager",
779
- "name": "accessManager",
645
+ "internalType": "contract InstanceReader",
646
+ "name": "instanceReader",
780
647
  "type": "address"
781
648
  }
782
649
  ],
783
- "name": "setInstanceAccessManager",
650
+ "name": "setInstanceReader",
784
651
  "outputs": [],
785
652
  "stateMutability": "nonpayable",
786
653
  "type": "function"
@@ -788,12 +655,12 @@
788
655
  {
789
656
  "inputs": [
790
657
  {
791
- "internalType": "contract InstanceReader",
792
- "name": "instanceReader",
793
- "type": "address"
658
+ "internalType": "Seconds",
659
+ "name": "stakeLockingPeriod",
660
+ "type": "uint40"
794
661
  }
795
662
  ],
796
- "name": "setInstanceReader",
663
+ "name": "setStakingLockingPeriod",
797
664
  "outputs": [],
798
665
  "stateMutability": "nonpayable",
799
666
  "type": "function"
@@ -801,12 +668,12 @@
801
668
  {
802
669
  "inputs": [
803
670
  {
804
- "internalType": "contract InstanceStore",
805
- "name": "instanceStore",
806
- "type": "address"
671
+ "internalType": "UFixed",
672
+ "name": "rewardRate",
673
+ "type": "uint256"
807
674
  }
808
675
  ],
809
- "name": "setInstanceStore",
676
+ "name": "setStakingRewardRate",
810
677
  "outputs": [],
811
678
  "stateMutability": "nonpayable",
812
679
  "type": "function"
@@ -870,32 +737,43 @@
870
737
  ],
871
738
  "stateMutability": "view",
872
739
  "type": "function"
740
+ },
741
+ {
742
+ "inputs": [
743
+ {
744
+ "internalType": "Amount",
745
+ "name": "dipAmount",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "name": "withdrawStakingRewardReserves",
750
+ "outputs": [
751
+ {
752
+ "internalType": "Amount",
753
+ "name": "newBalance",
754
+ "type": "uint96"
755
+ }
756
+ ],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
873
759
  }
874
760
  ],
875
- "bytecode": "0x608060405234801561001057600080fd5b50612900806100206000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611f1e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611f55565b610582565b005b6102d161069d565b6040516102869190611fc2565b6102c7610861565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611f1e565b610a63565b6102c761033c366004611f55565b610a90565b61030d600381565b6102c761035736600461210a565b610ba2565b6102c761036a3660046121f6565b610c47565b6102c7610cb4565b6102c7610385366004611f55565b610cfa565b61029c610ea4565b6001546001600160a01b031661029c565b6102c76103b13660046122a0565b610f37565b6004546001600160a01b031661029c565b60008051602061288b833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611f55565b610fa8565b61029c6110b6565b6102c7610418366004611f55565b6110df565b6102c761042b3660046122ef565b611162565b61029c6111a5565b6104406112dc565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061288b83398151915281565b6102c761047c366004612328565b611314565b6102c761048f366004612328565b611397565b6102c76104a2366004612356565b6113d2565b61029c611575565b6102c76104bd366004612382565b611591565b61029c61175d565b6104d2611786565b60405160ff9091168152602001610286565b6104f76104f23660046123cd565b6117fd565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611888565b6002546001600160a01b031661029c565b6102c761054f366004612426565b6118b1565b6102c7610562366004611f55565b611a51565b6102c7610575366004612467565b611b11565b61029c611b88565b61058f335b600036611bb1565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612485565b6001600160a01b03161461067b57610656611575565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077591906124a2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107bd6111a5565b6001600160a01b031681526020018260010180546107da906124bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610806906124bf565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b505050505081525091505090565b600060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f491906124f9565b156109205780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306109336001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906124f9565b6109c75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3f91906124a2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a6b611caf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a9933610587565b6005546001600160a01b031615610ad257600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610ada611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190612485565b6001600160a01b031614610b8057610b5b611575565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610baa611caf565b610bb48287611b11565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c3d838261255c565b5050505050505050565b610c5033610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c8690879087908790879060040161261b565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610c3d573d6000803e3d6000fd5b610cbc611caf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610d0333610587565b6004546001600160a01b031615610d3f576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190612485565b6001600160a01b031614610dd45760405163decb98c560e01b81523060048201526024016105c4565b610ddc611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e479190612485565b6001600160a01b031614610e8257610e5d611575565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610eb86001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612485565b905090565b610f4033610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f729085908590600401612690565b600060405180830381600087803b158015610f8c57600080fd5b505af1158015610fa0573d6000803e3d6000fd5b505050505050565b610fb0611caf565b806001600160a01b03163b600003610fe65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152633135064760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611060575060408051601f3d908101601f1916820190925261105d918101906124f9565b60015b6110885760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110b15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110ca6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610ec9565b336110e8611575565b6001600160a01b0316816001600160a01b0316146111235760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b600003611159576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b6110b182611cfa565b61116b33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f72565b60008060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123991906124f9565b156112c6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561129c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c09190612485565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206128ab833981519152805460009190600160a01b900460ff166113065760006112c0565b638fb3603760e01b91505090565b61131d33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b09061134f90859085906004016126b4565b6020604051808303816000875af115801561136e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139291906124f9565b505050565b6113a033610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b1629061134f90859085906004016126b4565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f9190612485565b6001600160a01b0316336001600160a01b03161461145c57600080fd5b6002546001600160a01b03166303014974611475611d5b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa1580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906126d6565b156114ea576114ea6126ef565b6002546001600160a01b031663b428b0b0611503611d5b565b846040518363ffffffff1660e01b81526004016115219291906126b4565b6020604051808303816000875af1158015611540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156491906124f9565b15156001146110b1576110b16126ef565b6000805160206128ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115d65750825b90506000826001600160401b031660011480156115f25750303b155b905081158015611600575080155b1561161e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561164857845460ff60401b1916600160401b1785555b6001600160a01b03881661166f5760405163da1db49160e01b815260040160405180910390fd5b61167888611dd3565b60008790506116fd88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e391906124a2565b604660018b60405180602001604052806000815250610ba2565b61170d63425ec80560e01b610a63565b508315610c3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117716001546001600160a01b031690565b6001600160a01b031663d39e60436078610ec9565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612705565b60008061180933610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061183b9087908790600401612722565b60408051808303816000875af1158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d9190612750565b909590945092505050565b600061189c6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610ec9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191e9190612485565b6001600160a01b0316336001600160a01b03161461193b57600080fd5b6002546001600160a01b031663b7d2b162611954611d5b565b856040518363ffffffff1660e01b81526004016119729291906126b4565b6020604051808303816000875af1158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b591906124f9565b15156001146119c6576119c66126ef565b6002546001600160a01b031663b428b0b06119df611d5b565b846040518363ffffffff1660e01b81526004016119fd9291906126b4565b6020604051808303816000875af1158015611a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4091906124f9565b1515600114611392576113926126ef565b611a5a33610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac69190612485565b6001600160a01b031614611aef576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611b19611caf565b611b2281610fa8565b611b2a610cb4565b6001600160a01b038216611b515760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b9c6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610ec9565b6000805160206128ab833981519152600080611bec611bce611575565b8730611bde600460008a8c61277f565b611be7916127a9565b611de4565b9150915081610fa05763ffffffff811615611c8c57825460ff60a01b1916600160a01b178355611c1a611575565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c49939291906127d9565b600060405180830381600087803b158015611c6357600080fd5b505af1158015611c77573d6000803e3d6000fd5b5050845460ff60a01b1916855550610fa09050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611cf857604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206128ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612819565b611ddb611caf565b6110b381611ef0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e539190612836565b600060405180830381855afa9150503d8060008114611e8e576040519150601f19603f3d011682016040523d82523d6000602084013e611e93565b606091505b50915091508115611ee5576040815110611ec55780806020019051810190611ebb9190612852565b9094509250611ee5565b6020815110611ee55780806020019051810190611ee291906124f9565b93505b505094509492505050565b611ef8611caf565b6110b381611cfa565b80356001600160e01b031981168114611f1957600080fd5b919050565b600060208284031215611f3057600080fd5b611f3982611f01565b9392505050565b6001600160a01b03811681146110b357600080fd5b600060208284031215611f6757600080fd5b8135611f3981611f40565b60005b83811015611f8d578181015183820152602001611f75565b50506000910152565b60008151808452611fae816020860160208601611f72565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161202b60c08401826001600160a01b03169052565b5060c083015160e080840152612045610100840182611f96565b949350505050565b6001600160601b03811681146110b357600080fd5b60ff811681146110b357600080fd5b80151581146110b357600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156120af576120af61207f565b604051601f8501601f19908116603f011681019082821181831017156120d7576120d761207f565b816040528093508581528686860111156120f057600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561212357600080fd5b863561212e81611f40565b9550602087013561213e8161204d565b9450604087013561214e81612062565b9350606087013561215e81612071565b9250608087013561216e81611f40565b915060a08701356001600160401b0381111561218957600080fd5b8701601f8101891361219a57600080fd5b6121a989823560208401612095565b9150509295509295509295565b600082601f8301126121c757600080fd5b611f3983833560208501612095565b6001600160401b03811681146110b357600080fd5b8035611f19816121d6565b6000806000806060858703121561220c57600080fd5b84356001600160401b038082111561222357600080fd5b61222f888389016121b6565b9550602087013591508082111561224557600080fd5b818701915087601f83011261225957600080fd5b81358181111561226857600080fd5b8860208260051b850101111561227d57600080fd5b602083019550809450505050612295604086016121eb565b905092959194509250565b600080604083850312156122b357600080fd5b82356122be81611f40565b915060208301356001600160401b038111156122d957600080fd5b6122e5858286016121b6565b9150509250929050565b6000806040838503121561230257600080fd5b823561230d81611f40565b9150602083013561231d81612071565b809150509250929050565b6000806040838503121561233b57600080fd5b8235612346816121d6565b9150602083013561231d81611f40565b6000806040838503121561236957600080fd5b823561237481611f40565b946020939093013593505050565b60008060006060848603121561239757600080fd5b83356123a281611f40565b925060208401356123b281611f40565b915060408401356123c281611f40565b809150509250925092565b600080604083850312156123e057600080fd5b82356001600160401b03808211156123f757600080fd5b612403868387016121b6565b9350602085013591508082111561241957600080fd5b506122e5858286016121b6565b60008060006060848603121561243b57600080fd5b833561244681611f40565b9250602084013561245681611f40565b929592945050506040919091013590565b6000806040838503121561247a57600080fd5b823561234681611f40565b60006020828403121561249757600080fd5b8151611f3981611f40565b6000602082840312156124b457600080fd5b8151611f398161204d565b600181811c908216806124d357607f821691505b6020821081036124f357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561250b57600080fd5b8151611f3981612071565b601f82111561139257600081815260208120601f850160051c8101602086101561253d5750805b601f850160051c820191505b81811015610fa057828155600101612549565b81516001600160401b038111156125755761257561207f565b6125898161258384546124bf565b84612516565b602080601f8311600181146125be57600084156125a65750858301515b600019600386901b1c1916600185901b178555610fa0565b600085815260208120601f198616915b828110156125ed578886015182559484019460019091019084016125ce565b508582101561260b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60608152600061262e6060830187611f96565b8281036020848101919091528582528691810160005b87811015612671576001600160e01b031961265e85611f01565b1682529282019290820190600101612644565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061204590830184611f96565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000602082840312156126e857600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561271757600080fd5b8151611f3981612062565b6040815260006127356040830185611f96565b82810360208401526127478185611f96565b95945050505050565b6000806040838503121561276357600080fd5b825161276e816121d6565b602084015190925061231d816121d6565b6000808585111561278f57600080fd5b8386111561279c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127d15780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60006020828403121561282b57600080fd5b8151611f39816121d6565b60008251612848818460208701611f72565b9190910192915050565b6000806040838503121561286557600080fd5b825161287081612071565b602084015190925063ffffffff8116811461231d57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d5b75232ada4a2c352fe265617a0a5d61ee9c37ae062c0ad922994baed3de76064736f6c63430008140033",
876
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611f1e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611f55565b610582565b005b6102d161069d565b6040516102869190611fc2565b6102c7610861565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611f1e565b610a63565b6102c761033c366004611f55565b610a90565b61030d600381565b6102c761035736600461210a565b610ba2565b6102c761036a3660046121f6565b610c47565b6102c7610cb4565b6102c7610385366004611f55565b610cfa565b61029c610ea4565b6001546001600160a01b031661029c565b6102c76103b13660046122a0565b610f37565b6004546001600160a01b031661029c565b60008051602061288b833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611f55565b610fa8565b61029c6110b6565b6102c7610418366004611f55565b6110df565b6102c761042b3660046122ef565b611162565b61029c6111a5565b6104406112dc565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061288b83398151915281565b6102c761047c366004612328565b611314565b6102c761048f366004612328565b611397565b6102c76104a2366004612356565b6113d2565b61029c611575565b6102c76104bd366004612382565b611591565b61029c61175d565b6104d2611786565b60405160ff9091168152602001610286565b6104f76104f23660046123cd565b6117fd565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611888565b6002546001600160a01b031661029c565b6102c761054f366004612426565b6118b1565b6102c7610562366004611f55565b611a51565b6102c7610575366004612467565b611b11565b61029c611b88565b61058f335b600036611bb1565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612485565b6001600160a01b03161461067b57610656611575565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610751573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077591906124a2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107bd6111a5565b6001600160a01b031681526020018260010180546107da906124bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610806906124bf565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b505050505081525091505090565b600060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f491906124f9565b156109205780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306109336001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906124f9565b6109c75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3f91906124a2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a6b611caf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a9933610587565b6005546001600160a01b031615610ad257600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610ada611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b459190612485565b6001600160a01b031614610b8057610b5b611575565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610baa611caf565b610bb48287611b11565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c3d838261255c565b5050505050505050565b610c5033610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c8690879087908790879060040161261b565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610c3d573d6000803e3d6000fd5b610cbc611caf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610d0333610587565b6004546001600160a01b031615610d3f576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190612485565b6001600160a01b031614610dd45760405163decb98c560e01b81523060048201526024016105c4565b610ddc611575565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e479190612485565b6001600160a01b031614610e8257610e5d611575565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610eb86001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612485565b905090565b610f4033610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f729085908590600401612690565b600060405180830381600087803b158015610f8c57600080fd5b505af1158015610fa0573d6000803e3d6000fd5b505050505050565b610fb0611caf565b806001600160a01b03163b600003610fe65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152633135064760e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611060575060408051601f3d908101601f1916820190925261105d918101906124f9565b60015b6110885760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110b15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110ca6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610ec9565b336110e8611575565b6001600160a01b0316816001600160a01b0316146111235760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b600003611159576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b6110b182611cfa565b61116b33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f72565b60008060008051602061288b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123991906124f9565b156112c6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561129c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c09190612485565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206128ab833981519152805460009190600160a01b900460ff166113065760006112c0565b638fb3603760e01b91505090565b61131d33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b09061134f90859085906004016126b4565b6020604051808303816000875af115801561136e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139291906124f9565b505050565b6113a033610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b1629061134f90859085906004016126b4565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f9190612485565b6001600160a01b0316336001600160a01b03161461145c57600080fd5b6002546001600160a01b03166303014974611475611d5b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa1580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906126d6565b156114ea576114ea6126ef565b6002546001600160a01b031663b428b0b0611503611d5b565b846040518363ffffffff1660e01b81526004016115219291906126b4565b6020604051808303816000875af1158015611540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156491906124f9565b15156001146110b1576110b16126ef565b6000805160206128ab833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115d65750825b90506000826001600160401b031660011480156115f25750303b155b905081158015611600575080155b1561161e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561164857845460ff60401b1916600160401b1785555b6001600160a01b03881661166f5760405163da1db49160e01b815260040160405180910390fd5b61167888611dd3565b60008790506116fd88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e391906124a2565b604660018b60405180602001604052806000815250610ba2565b61170d63425ec80560e01b610a63565b508315610c3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117716001546001600160a01b031690565b6001600160a01b031663d39e60436078610ec9565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612705565b60008061180933610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061183b9087908790600401612722565b60408051808303816000875af1158015611859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187d9190612750565b909590945092505050565b600061189c6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610ec9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191e9190612485565b6001600160a01b0316336001600160a01b03161461193b57600080fd5b6002546001600160a01b031663b7d2b162611954611d5b565b856040518363ffffffff1660e01b81526004016119729291906126b4565b6020604051808303816000875af1158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b591906124f9565b15156001146119c6576119c66126ef565b6002546001600160a01b031663b428b0b06119df611d5b565b846040518363ffffffff1660e01b81526004016119fd9291906126b4565b6020604051808303816000875af1158015611a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4091906124f9565b1515600114611392576113926126ef565b611a5a33610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac69190612485565b6001600160a01b031614611aef576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611b19611caf565b611b2281610fa8565b611b2a610cb4565b6001600160a01b038216611b515760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b9c6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610ec9565b6000805160206128ab833981519152600080611bec611bce611575565b8730611bde600460008a8c61277f565b611be7916127a9565b611de4565b9150915081610fa05763ffffffff811615611c8c57825460ff60a01b1916600160a01b178355611c1a611575565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c49939291906127d9565b600060405180830381600087803b158015611c6357600080fd5b505af1158015611c77573d6000803e3d6000fd5b5050845460ff60a01b1916855550610fa09050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611cf857604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206128ab83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612819565b611ddb611caf565b6110b381611ef0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e539190612836565b600060405180830381855afa9150503d8060008114611e8e576040519150601f19603f3d011682016040523d82523d6000602084013e611e93565b606091505b50915091508115611ee5576040815110611ec55780806020019051810190611ebb9190612852565b9094509250611ee5565b6020815110611ee55780806020019051810190611ee291906124f9565b93505b505094509492505050565b611ef8611caf565b6110b381611cfa565b80356001600160e01b031981168114611f1957600080fd5b919050565b600060208284031215611f3057600080fd5b611f3982611f01565b9392505050565b6001600160a01b03811681146110b357600080fd5b600060208284031215611f6757600080fd5b8135611f3981611f40565b60005b83811015611f8d578181015183820152602001611f75565b50506000910152565b60008151808452611fae816020860160208601611f72565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161202b60c08401826001600160a01b03169052565b5060c083015160e080840152612045610100840182611f96565b949350505050565b6001600160601b03811681146110b357600080fd5b60ff811681146110b357600080fd5b80151581146110b357600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156120af576120af61207f565b604051601f8501601f19908116603f011681019082821181831017156120d7576120d761207f565b816040528093508581528686860111156120f057600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561212357600080fd5b863561212e81611f40565b9550602087013561213e8161204d565b9450604087013561214e81612062565b9350606087013561215e81612071565b9250608087013561216e81611f40565b915060a08701356001600160401b0381111561218957600080fd5b8701601f8101891361219a57600080fd5b6121a989823560208401612095565b9150509295509295509295565b600082601f8301126121c757600080fd5b611f3983833560208501612095565b6001600160401b03811681146110b357600080fd5b8035611f19816121d6565b6000806000806060858703121561220c57600080fd5b84356001600160401b038082111561222357600080fd5b61222f888389016121b6565b9550602087013591508082111561224557600080fd5b818701915087601f83011261225957600080fd5b81358181111561226857600080fd5b8860208260051b850101111561227d57600080fd5b602083019550809450505050612295604086016121eb565b905092959194509250565b600080604083850312156122b357600080fd5b82356122be81611f40565b915060208301356001600160401b038111156122d957600080fd5b6122e5858286016121b6565b9150509250929050565b6000806040838503121561230257600080fd5b823561230d81611f40565b9150602083013561231d81612071565b809150509250929050565b6000806040838503121561233b57600080fd5b8235612346816121d6565b9150602083013561231d81611f40565b6000806040838503121561236957600080fd5b823561237481611f40565b946020939093013593505050565b60008060006060848603121561239757600080fd5b83356123a281611f40565b925060208401356123b281611f40565b915060408401356123c281611f40565b809150509250925092565b600080604083850312156123e057600080fd5b82356001600160401b03808211156123f757600080fd5b612403868387016121b6565b9350602085013591508082111561241957600080fd5b506122e5858286016121b6565b60008060006060848603121561243b57600080fd5b833561244681611f40565b9250602084013561245681611f40565b929592945050506040919091013590565b6000806040838503121561247a57600080fd5b823561234681611f40565b60006020828403121561249757600080fd5b8151611f3981611f40565b6000602082840312156124b457600080fd5b8151611f398161204d565b600181811c908216806124d357607f821691505b6020821081036124f357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561250b57600080fd5b8151611f3981612071565b601f82111561139257600081815260208120601f850160051c8101602086101561253d5750805b601f850160051c820191505b81811015610fa057828155600101612549565b81516001600160401b038111156125755761257561207f565b6125898161258384546124bf565b84612516565b602080601f8311600181146125be57600084156125a65750858301515b600019600386901b1c1916600185901b178555610fa0565b600085815260208120601f198616915b828110156125ed578886015182559484019460019091019084016125ce565b508582101561260b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60608152600061262e6060830187611f96565b8281036020848101919091528582528691810160005b87811015612671576001600160e01b031961265e85611f01565b1682529282019290820190600101612644565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061204590830184611f96565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000602082840312156126e857600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561271757600080fd5b8151611f3981612062565b6040815260006127356040830185611f96565b82810360208401526127478185611f96565b95945050505050565b6000806040838503121561276357600080fd5b825161276e816121d6565b602084015190925061231d816121d6565b6000808585111561278f57600080fd5b8386111561279c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127d15780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60006020828403121561282b57600080fd5b8151611f39816121d6565b60008251612848818460208701611f72565b9190910192915050565b6000806040838503121561286557600080fd5b825161287081612071565b602084015190925063ffffffff8116811461231d57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d5b75232ada4a2c352fe265617a0a5d61ee9c37ae062c0ad922994baed3de76064736f6c63430008140033",
761
+ "bytecode": "0x6080604052348015600e575f80fd5b5061223e8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80638689231311610109578063bf7e214f1161009e578063d4cda0d81161006e578063d4cda0d814610463578063e52ba1cb14610474578063e7f7fb8614610487578063f7bc431c1461049a575f80fd5b8063bf7e214f146103fb578063cc2a9a5b14610403578063cde749f414610416578063d2192dbf14610430575f80fd5b8063b428b0b0116100d9578063b428b0b0146103b4578063b7d2b162146103c7578063b7d68519146103d5578063bb1e0e59146103e8575f80fd5b80638689231314610369578063893d20e8146103775780638fb360371461037f578063ada9652e146103a0575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610315578063644c45e0146103285780636dddada4146103455780637a9e5e4b14610356575f80fd5b80632d764ef8146102cd578063311adb68146102e05780634f8b8aba146102f15780635ab1bd5314610304575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b5780632781d443146102b057806329db8c3d146102b8575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611a66565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611ac2565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102a2600381565b6102cb6102c6366004611c09565b61067a565b005b6102cb6102db366004611cb2565b6106c0565b6003546001600160a01b031661022e565b6102cb6102ff366004611cea565b61075e565b6001546001600160a01b031661022e565b6102cb610323366004611d19565b610806565b5f805160206121c9833981519152546001600160601b0316610263565b6005546001600160a01b031661022e565b6102cb610364366004611d65565b610845565b6102cb610323366004611d8d565b61022e6108c7565b6103876109f8565b6040516001600160e01b03199091168152602001610218565b6102a25f805160206121c983398151915281565b6102cb6103c2366004611dc4565b610a2d565b6102cb610323366004611dc4565b6102cb6103e3366004611dee565b610aa9565b6102cb6103f6366004611e05565b610b15565b61022e610b9c565b6102cb610411366004611e2f565b610bb7565b61041e61104f565b60405160ff9091168152602001610218565b61044361043e366004611ead565b6110c3565b604080516001600160401b03938416815292909116602083015201610218565b6006546001600160a01b031661022e565b610263610482366004611cea565b611107565b6102cb610495366004611efa565b6111bf565b6102cb6104a8366004611d65565b61124b565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611f38565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96108c7565b6001600160a01b031681526020018260010180546105e690611f53565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611f53565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f6106753061130b565b905090565b6106826108c7565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b6106c86108c7565b6001600160a01b0316336001600160a01b0316146106fb5760405163086391f760e31b81523360048201526024016106b1565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610745575f80fd5b505af1158015610757573d5f803e3d5ffd5b5050505050565b6107666108c7565b6001600160a01b0316336001600160a01b0316146107995760405163086391f760e31b81523360048201526024016106b1565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b1580156107ec575f80fd5b505af11580156107fe573d5f803e3d5ffd5b505050505050565b61080e6108c7565b6001600160a01b0316336001600160a01b0316146108415760405163086391f760e31b81523360048201526024016106b1565b5050565b3361084e610b9c565b6001600160a01b0316816001600160a01b0316146108895760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036108be576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b61084182611504565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109579190611f8b565b156109e2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dc9190611fa6565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206121e983398151915280545f9190600160a01b900460ff16610a1f575f6109dc565b638fb3603760e01b91505090565b610a356108c7565b6001600160a01b0316336001600160a01b031614610a685760405163086391f760e31b81523360048201526024016106b1565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b0906044016107d5565b610ab16108c7565b6001600160a01b0316336001600160a01b031614610ae45760405163086391f760e31b81523360048201526024016106b1565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161072e565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190611fa6565b6001600160a01b0316336001600160a01b031614610841575f80fd5b5f805160206121e9833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610bfb5750825b90505f826001600160401b03166001148015610c165750303b155b905081158015610c24575080155b15610c425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6c57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce99190611fa6565b6001600160a01b031603610d10576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051610d82926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190611fa6565b611564565b610dff87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de69190611f38565b600a60018a60405180602001604052805f815250611578565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015610e6c575f80fd5b505af1158015610e7e573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ece575f80fd5b505af1158015610ee0573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b50505050610f4d6001546001600160a01b031690565b6001600160a01b031663d39e6043600a610f6561104f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcc9190611fa6565b600280546001600160a01b0319166001600160a01b0392909216919091179055610ffc632b1cb34b60e11b61161d565b831561104257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561109f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106759190611fc1565b5f806110cd6108c7565b6001600160a01b0316336001600160a01b0316146111005760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6111106108c7565b6001600160a01b0316336001600160a01b0316146111435760405163086391f760e31b81523360048201526024016106b1565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190611f38565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122a9190611fa6565b6001600160a01b0316336001600160a01b031614611246575f80fd5b505050565b611256335f36611649565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190611fa6565b6001600160a01b0316146112e9576040516345789cf560e01b81523060048201526024016106b1565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b9190611f8b565b156113c75780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f8b565b6114655760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190611f38565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206121e983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61156c61173f565b6115758161178a565b50565b61158061173f565b61158a828761179b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116138382612025565b5050505050505050565b61162561173f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206121e98339815191525f80611681611664610b9c565b873061167360045f8a8c6120df565b61167c91612106565b611811565b91509150816107fe5763ffffffff81161561171c57825460ff60a01b1916600160a01b1783556116af610b9c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116de9392919061213e565b5f604051808303815f87803b1580156116f5575f80fd5b505af1158015611707573d5f803e3d5ffd5b5050845460ff60a01b19168555506107fe9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661178857604051631afcd79f60e31b815260040160405180910390fd5b565b61179261173f565b61157581611504565b6117a361173f565b6117ac81611919565b6117b4611a21565b6001600160a01b0382166117db5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206121c983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161187f919061217d565b5f60405180830381855afa9150503d805f81146118b7576040519150601f19603f3d011682016040523d82523d5f602084013e6118bc565b606091505b5091509150811561190e5760408151106118ee57808060200190518101906118e49190612193565b909450925061190e565b602081511061190e578080602001905181019061190b9190611f8b565b93505b505094509492505050565b61192161173f565b806001600160a01b03163b5f036119565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156119d0575060408051601f3d908101601f191682019092526119cd91810190611f8b565b60015b6119f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108415760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611a2961173f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611a76575f80fd5b81356001600160e01b031981168114611a8d575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b0a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611b4e610100840182611a94565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611b79575f80fd5b81356001600160401b03811115611b9257611b92611b56565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611bc057611bc0611b56565b604052818152838201602001851015611bd7575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146111ba575f80fd5b5f805f8060608587031215611c1c575f80fd5b84356001600160401b03811115611c31575f80fd5b611c3d87828801611b6a565b94505060208501356001600160401b03811115611c58575f80fd5b8501601f81018713611c68575f80fd5b80356001600160401b03811115611c7d575f80fd5b8760208260051b8401011115611c91575f80fd5b60209190910193509150611ca760408601611bf3565b905092959194509250565b5f60208284031215611cc2575f80fd5b813564ffffffffff81168114611a8d575f80fd5b6001600160601b0381168114611575575f80fd5b5f60208284031215611cfa575f80fd5b8135611a8d81611cd6565b6001600160a01b0381168114611575575f80fd5b5f8060408385031215611d2a575f80fd5b8235611d3581611d05565b915060208301356001600160401b03811115611d4f575f80fd5b611d5b85828601611b6a565b9150509250929050565b5f60208284031215611d75575f80fd5b8135611a8d81611d05565b8015158114611575575f80fd5b5f8060408385031215611d9e575f80fd5b8235611da981611d05565b91506020830135611db981611d80565b809150509250929050565b5f8060408385031215611dd5575f80fd5b611dde83611bf3565b91506020830135611db981611d05565b5f60208284031215611dfe575f80fd5b5035919050565b5f8060408385031215611e16575f80fd5b8235611e2181611d05565b946020939093013593505050565b5f805f805f8060c08789031215611e44575f80fd5b8635611e4f81611d05565b95506020870135611e5f81611d05565b94506040870135611e6f81611d05565b93506060870135611e7f81611d05565b92506080870135611e8f81611d05565b915060a0870135611e9f81611d05565b809150509295509295509295565b5f8060408385031215611ebe575f80fd5b82356001600160401b03811115611ed3575f80fd5b611edf85828601611b6a565b92505060208301356001600160401b03811115611d4f575f80fd5b5f805f60608486031215611f0c575f80fd5b8335611f1781611d05565b92506020840135611f2781611d05565b929592945050506040919091013590565b5f60208284031215611f48575f80fd5b8151611a8d81611cd6565b600181811c90821680611f6757607f821691505b602082108103611f8557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611f9b575f80fd5b8151611a8d81611d80565b5f60208284031215611fb6575f80fd5b8151611a8d81611d05565b5f60208284031215611fd1575f80fd5b815160ff81168114611a8d575f80fd5b601f82111561124657805f5260205f20601f840160051c810160208510156120065750805b601f840160051c820191505b81811015610757575f8155600101612012565b81516001600160401b0381111561203e5761203e611b56565b6120528161204c8454611f53565b84611fe1565b6020601f821160018114612084575f831561206d5750848201515b5f19600385901b1c1916600184901b178455610757565b5f84815260208120601f198516915b828110156120b35787850151825560209485019460019092019101612093565b50848210156120d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156120ed575f80fd5b838611156120f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121a4575f80fd5b82516121af81611d80565b602084015190925063ffffffff81168114611db9575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220864e5ec0c7cf8192499ea8c91f9133548299badcfe3ac0f5cdce11bf53a1ad2964736f6c634300081a0033",
762
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80638689231311610109578063bf7e214f1161009e578063d4cda0d81161006e578063d4cda0d814610463578063e52ba1cb14610474578063e7f7fb8614610487578063f7bc431c1461049a575f80fd5b8063bf7e214f146103fb578063cc2a9a5b14610403578063cde749f414610416578063d2192dbf14610430575f80fd5b8063b428b0b0116100d9578063b428b0b0146103b4578063b7d2b162146103c7578063b7d68519146103d5578063bb1e0e59146103e8575f80fd5b80638689231314610369578063893d20e8146103775780638fb360371461037f578063ada9652e146103a0575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610315578063644c45e0146103285780636dddada4146103455780637a9e5e4b14610356575f80fd5b80632d764ef8146102cd578063311adb68146102e05780634f8b8aba146102f15780635ab1bd5314610304575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b5780632781d443146102b057806329db8c3d146102b8575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611a66565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611ac2565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102a2600381565b6102cb6102c6366004611c09565b61067a565b005b6102cb6102db366004611cb2565b6106c0565b6003546001600160a01b031661022e565b6102cb6102ff366004611cea565b61075e565b6001546001600160a01b031661022e565b6102cb610323366004611d19565b610806565b5f805160206121c9833981519152546001600160601b0316610263565b6005546001600160a01b031661022e565b6102cb610364366004611d65565b610845565b6102cb610323366004611d8d565b61022e6108c7565b6103876109f8565b6040516001600160e01b03199091168152602001610218565b6102a25f805160206121c983398151915281565b6102cb6103c2366004611dc4565b610a2d565b6102cb610323366004611dc4565b6102cb6103e3366004611dee565b610aa9565b6102cb6103f6366004611e05565b610b15565b61022e610b9c565b6102cb610411366004611e2f565b610bb7565b61041e61104f565b60405160ff9091168152602001610218565b61044361043e366004611ead565b6110c3565b604080516001600160401b03938416815292909116602083015201610218565b6006546001600160a01b031661022e565b610263610482366004611cea565b611107565b6102cb610495366004611efa565b6111bf565b6102cb6104a8366004611d65565b61124b565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611f38565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96108c7565b6001600160a01b031681526020018260010180546105e690611f53565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611f53565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f6106753061130b565b905090565b6106826108c7565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b6106c86108c7565b6001600160a01b0316336001600160a01b0316146106fb5760405163086391f760e31b81523360048201526024016106b1565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610745575f80fd5b505af1158015610757573d5f803e3d5ffd5b5050505050565b6107666108c7565b6001600160a01b0316336001600160a01b0316146107995760405163086391f760e31b81523360048201526024016106b1565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b1580156107ec575f80fd5b505af11580156107fe573d5f803e3d5ffd5b505050505050565b61080e6108c7565b6001600160a01b0316336001600160a01b0316146108415760405163086391f760e31b81523360048201526024016106b1565b5050565b3361084e610b9c565b6001600160a01b0316816001600160a01b0316146108895760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036108be576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b61084182611504565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109579190611f8b565b156109e2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dc9190611fa6565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206121e983398151915280545f9190600160a01b900460ff16610a1f575f6109dc565b638fb3603760e01b91505090565b610a356108c7565b6001600160a01b0316336001600160a01b031614610a685760405163086391f760e31b81523360048201526024016106b1565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b0906044016107d5565b610ab16108c7565b6001600160a01b0316336001600160a01b031614610ae45760405163086391f760e31b81523360048201526024016106b1565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161072e565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190611fa6565b6001600160a01b0316336001600160a01b031614610841575f80fd5b5f805160206121e9833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610bfb5750825b90505f826001600160401b03166001148015610c165750303b155b905081158015610c24575080155b15610c425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6c57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce99190611fa6565b6001600160a01b031603610d10576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051610d82926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190611fa6565b611564565b610dff87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de69190611f38565b600a60018a60405180602001604052805f815250611578565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015610e6c575f80fd5b505af1158015610e7e573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ece575f80fd5b505af1158015610ee0573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b50505050610f4d6001546001600160a01b031690565b6001600160a01b031663d39e6043600a610f6561104f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcc9190611fa6565b600280546001600160a01b0319166001600160a01b0392909216919091179055610ffc632b1cb34b60e11b61161d565b831561104257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561109f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106759190611fc1565b5f806110cd6108c7565b6001600160a01b0316336001600160a01b0316146111005760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6111106108c7565b6001600160a01b0316336001600160a01b0316146111435760405163086391f760e31b81523360048201526024016106b1565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190611f38565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122a9190611fa6565b6001600160a01b0316336001600160a01b031614611246575f80fd5b505050565b611256335f36611649565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190611fa6565b6001600160a01b0316146112e9576040516345789cf560e01b81523060048201526024016106b1565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b9190611f8b565b156113c75780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f8b565b6114655760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190611f38565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206121e983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61156c61173f565b6115758161178a565b50565b61158061173f565b61158a828761179b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116138382612025565b5050505050505050565b61162561173f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206121e98339815191525f80611681611664610b9c565b873061167360045f8a8c6120df565b61167c91612106565b611811565b91509150816107fe5763ffffffff81161561171c57825460ff60a01b1916600160a01b1783556116af610b9c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116de9392919061213e565b5f604051808303815f87803b1580156116f5575f80fd5b505af1158015611707573d5f803e3d5ffd5b5050845460ff60a01b19168555506107fe9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661178857604051631afcd79f60e31b815260040160405180910390fd5b565b61179261173f565b61157581611504565b6117a361173f565b6117ac81611919565b6117b4611a21565b6001600160a01b0382166117db5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206121c983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161187f919061217d565b5f60405180830381855afa9150503d805f81146118b7576040519150601f19603f3d011682016040523d82523d5f602084013e6118bc565b606091505b5091509150811561190e5760408151106118ee57808060200190518101906118e49190612193565b909450925061190e565b602081511061190e578080602001905181019061190b9190611f8b565b93505b505094509492505050565b61192161173f565b806001600160a01b03163b5f036119565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156119d0575060408051601f3d908101601f191682019092526119cd91810190611f8b565b60015b6119f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108415760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611a2961173f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611a76575f80fd5b81356001600160e01b031981168114611a8d575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b0a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611b4e610100840182611a94565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611b79575f80fd5b81356001600160401b03811115611b9257611b92611b56565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611bc057611bc0611b56565b604052818152838201602001851015611bd7575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146111ba575f80fd5b5f805f8060608587031215611c1c575f80fd5b84356001600160401b03811115611c31575f80fd5b611c3d87828801611b6a565b94505060208501356001600160401b03811115611c58575f80fd5b8501601f81018713611c68575f80fd5b80356001600160401b03811115611c7d575f80fd5b8760208260051b8401011115611c91575f80fd5b60209190910193509150611ca760408601611bf3565b905092959194509250565b5f60208284031215611cc2575f80fd5b813564ffffffffff81168114611a8d575f80fd5b6001600160601b0381168114611575575f80fd5b5f60208284031215611cfa575f80fd5b8135611a8d81611cd6565b6001600160a01b0381168114611575575f80fd5b5f8060408385031215611d2a575f80fd5b8235611d3581611d05565b915060208301356001600160401b03811115611d4f575f80fd5b611d5b85828601611b6a565b9150509250929050565b5f60208284031215611d75575f80fd5b8135611a8d81611d05565b8015158114611575575f80fd5b5f8060408385031215611d9e575f80fd5b8235611da981611d05565b91506020830135611db981611d80565b809150509250929050565b5f8060408385031215611dd5575f80fd5b611dde83611bf3565b91506020830135611db981611d05565b5f60208284031215611dfe575f80fd5b5035919050565b5f8060408385031215611e16575f80fd5b8235611e2181611d05565b946020939093013593505050565b5f805f805f8060c08789031215611e44575f80fd5b8635611e4f81611d05565b95506020870135611e5f81611d05565b94506040870135611e6f81611d05565b93506060870135611e7f81611d05565b92506080870135611e8f81611d05565b915060a0870135611e9f81611d05565b809150509295509295509295565b5f8060408385031215611ebe575f80fd5b82356001600160401b03811115611ed3575f80fd5b611edf85828601611b6a565b92505060208301356001600160401b03811115611d4f575f80fd5b5f805f60608486031215611f0c575f80fd5b8335611f1781611d05565b92506020840135611f2781611d05565b929592945050506040919091013590565b5f60208284031215611f48575f80fd5b8151611a8d81611cd6565b600181811c90821680611f6757607f821691505b602082108103611f8557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611f9b575f80fd5b8151611a8d81611d80565b5f60208284031215611fb6575f80fd5b8151611a8d81611d05565b5f60208284031215611fd1575f80fd5b815160ff81168114611a8d575f80fd5b601f82111561124657805f5260205f20601f840160051c810160208510156120065750805b601f840160051c820191505b81811015610757575f8155600101612012565b81516001600160401b0381111561203e5761203e611b56565b6120528161204c8454611f53565b84611fe1565b6020601f821160018114612084575f831561206d5750848201515b5f19600385901b1c1916600184901b178455610757565b5f84815260208120601f198516915b828110156120b35787850151825560209485019460019092019101612093565b50848210156120d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156120ed575f80fd5b838611156120f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121a4575f80fd5b82516121af81611d80565b602084015190925063ffffffff81168114611db9575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220864e5ec0c7cf8192499ea8c91f9133548299badcfe3ac0f5cdce11bf53a1ad2964736f6c634300081a0033",
877
763
  "linkReferences": {
878
764
  "contracts/type/NftId.sol": {
879
765
  "NftIdLib": [
880
766
  {
881
767
  "length": 20,
882
- "start": 1834
768
+ "start": 1332
883
769
  },
884
770
  {
885
771
  "length": 20,
886
- "start": 2230
772
+ "start": 2327
887
773
  },
888
774
  {
889
775
  "length": 20,
890
- "start": 4603
891
- }
892
- ]
893
- },
894
- "contracts/type/RoleId.sol": {
895
- "RoleIdLib": [
896
- {
897
- "length": 20,
898
- "start": 7573
776
+ "start": 4955
899
777
  }
900
778
  ]
901
779
  },
@@ -903,7 +781,7 @@
903
781
  "VersionPartLib": [
904
782
  {
905
783
  "length": 20,
906
- "start": 6079
784
+ "start": 4227
907
785
  }
908
786
  ]
909
787
  }
@@ -913,23 +791,15 @@
913
791
  "NftIdLib": [
914
792
  {
915
793
  "length": 20,
916
- "start": 1802
794
+ "start": 1304
917
795
  },
918
796
  {
919
797
  "length": 20,
920
- "start": 2198
798
+ "start": 2299
921
799
  },
922
800
  {
923
801
  "length": 20,
924
- "start": 4571
925
- }
926
- ]
927
- },
928
- "contracts/type/RoleId.sol": {
929
- "RoleIdLib": [
930
- {
931
- "length": 20,
932
- "start": 7541
802
+ "start": 4927
933
803
  }
934
804
  ]
935
805
  },
@@ -937,7 +807,7 @@
937
807
  "VersionPartLib": [
938
808
  {
939
809
  "length": 20,
940
- "start": 6047
810
+ "start": 4199
941
811
  }
942
812
  ]
943
813
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/069e2a3d84abad36150ad93219befd86.json"
4
+ }