@etherisc/gif-next 0.0.2-c00cf5d-513 → 0.0.2-c04bff4-304

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. package/README.md +49 -4
  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/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  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 +160 -543
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +272 -455
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +75 -143
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +169 -263
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +186 -94
  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 +71 -85
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +190 -49
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +65 -227
  52. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1218 -284
  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 +592 -316
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +246 -196
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +65 -109
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1112 -372
  64. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  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/IBundle.sol/IBundle.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  80. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  81. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  82. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  84. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  86. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  88. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  90. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  92. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  94. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
  96. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
  98. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
  100. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  102. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +414 -359
  104. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +121 -117
  106. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +204 -32
  108. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +180 -366
  110. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +340 -219
  112. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  113. package/artifacts/contracts/pool/Pool.sol/Pool.json +204 -596
  114. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +394 -574
  116. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +51 -139
  118. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +84 -289
  120. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +54 -106
  122. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
  124. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  126. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +225 -305
  128. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +79 -123
  130. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
  132. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +134 -1
  134. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +217 -83
  136. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +83 -44
  138. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -183
  140. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  141. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +15 -57
  142. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +239 -435
  144. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +66 -162
  146. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.json +184 -347
  148. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -124
  150. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  151. package/artifacts/contracts/product/Product.sol/Product.json +286 -449
  152. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
  154. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
  156. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  158. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +308 -39
  160. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +42 -73
  162. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  163. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/Registry.sol/Registry.json +718 -74
  165. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  166. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1682 -113
  167. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  168. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +195 -137
  169. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +45 -93
  171. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  172. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  173. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  174. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  175. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  176. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  177. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  178. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -136
  179. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  180. package/artifacts/contracts/shared/Component.sol/Component.json +88 -295
  181. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  182. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1125 -207
  183. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +753 -0
  185. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  186. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +427 -0
  187. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  188. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +76 -107
  189. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  190. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  191. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  192. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  193. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  194. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +12 -16
  195. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  196. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  197. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  198. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  199. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +0 -24
  201. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  203. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  206. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  208. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  209. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  210. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  211. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  212. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  213. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  214. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  216. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  217. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  218. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -70
  220. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  221. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +4 -118
  222. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +16 -110
  224. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  226. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  227. package/artifacts/contracts/shared/Service.sol/Service.json +13 -125
  228. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
  230. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  232. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  234. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  235. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +566 -54
  236. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  238. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  239. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  240. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  242. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +714 -0
  244. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  246. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +636 -191
  248. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +65 -97
  250. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  252. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  254. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  255. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  256. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.json +97 -4
  258. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  260. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  262. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  263. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  264. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
  266. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  267. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  268. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  270. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  272. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  274. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  276. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  278. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  280. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  282. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  284. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  286. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  290. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  292. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  294. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  296. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  298. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
  300. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  304. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  305. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  306. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
  308. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  309. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  310. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  311. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  312. package/contracts/authorization/AccessAdmin.sol +589 -0
  313. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  314. package/contracts/authorization/Authorization.sol +217 -0
  315. package/contracts/authorization/IAccess.sol +48 -0
  316. package/contracts/authorization/IAccessAdmin.sol +136 -0
  317. package/contracts/authorization/IAuthorization.sol +54 -0
  318. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  319. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  320. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  321. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  322. package/contracts/distribution/BasicDistribution.sol +138 -0
  323. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  324. package/contracts/distribution/Distribution.sol +163 -153
  325. package/contracts/distribution/DistributionService.sol +132 -147
  326. package/contracts/distribution/DistributionServiceManager.sol +2 -5
  327. package/contracts/distribution/IDistributionComponent.sol +28 -47
  328. package/contracts/distribution/IDistributionService.sol +24 -10
  329. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  330. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  331. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  332. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  333. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  334. package/contracts/instance/IInstance.sol +24 -40
  335. package/contracts/instance/IInstanceService.sol +44 -24
  336. package/contracts/instance/Instance.sol +112 -117
  337. package/contracts/instance/InstanceAdmin.sol +221 -266
  338. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  339. package/contracts/instance/InstanceReader.sol +114 -52
  340. package/contracts/instance/InstanceService.sol +280 -112
  341. package/contracts/instance/InstanceServiceManager.sol +2 -6
  342. package/contracts/instance/InstanceStore.sol +142 -66
  343. package/contracts/instance/base/BalanceStore.sol +123 -0
  344. package/contracts/instance/base/Cloneable.sol +2 -25
  345. package/contracts/instance/base/ObjectCounter.sol +21 -0
  346. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  347. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  348. package/contracts/instance/module/IBundle.sol +1 -4
  349. package/contracts/instance/module/IComponents.sol +15 -10
  350. package/contracts/instance/module/IDistribution.sol +0 -1
  351. package/contracts/instance/module/IPolicy.sol +29 -23
  352. package/contracts/mock/Dip.sol +26 -0
  353. package/contracts/oracle/BasicOracle.sol +48 -0
  354. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  355. package/contracts/oracle/IOracle.sol +36 -0
  356. package/contracts/oracle/IOracleComponent.sol +33 -0
  357. package/contracts/oracle/IOracleService.sol +65 -0
  358. package/contracts/oracle/Oracle.sol +167 -0
  359. package/contracts/oracle/OracleService.sol +279 -0
  360. package/contracts/oracle/OracleServiceManager.sol +39 -0
  361. package/contracts/pool/BasicPool.sol +166 -0
  362. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  363. package/contracts/pool/BundleService.sol +256 -202
  364. package/contracts/pool/BundleServiceManager.sol +2 -5
  365. package/contracts/pool/IBundleService.sol +35 -19
  366. package/contracts/pool/IPoolComponent.sol +10 -66
  367. package/contracts/pool/IPoolService.sol +79 -33
  368. package/contracts/pool/Pool.sol +169 -145
  369. package/contracts/pool/PoolService.sol +319 -214
  370. package/contracts/pool/PoolServiceManager.sol +2 -5
  371. package/contracts/product/ApplicationService.sol +139 -78
  372. package/contracts/product/ApplicationServiceManager.sol +2 -2
  373. package/contracts/product/BasicProduct.sol +53 -0
  374. package/contracts/product/BasicProductAuthorization.sol +43 -0
  375. package/contracts/product/ClaimService.sol +136 -92
  376. package/contracts/product/ClaimServiceManager.sol +2 -2
  377. package/contracts/product/IApplicationService.sol +2 -1
  378. package/contracts/product/IClaimService.sol +32 -3
  379. package/contracts/product/IPolicyService.sol +31 -38
  380. package/contracts/product/IPricingService.sol +10 -8
  381. package/contracts/product/IProductComponent.sol +10 -12
  382. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
  383. package/contracts/product/PolicyService.sol +389 -194
  384. package/contracts/product/PolicyServiceManager.sol +2 -5
  385. package/contracts/product/PricingService.sol +99 -74
  386. package/contracts/product/PricingServiceManager.sol +2 -5
  387. package/contracts/product/Product.sol +177 -131
  388. package/contracts/product/RiskService.sol +97 -0
  389. package/contracts/product/RiskServiceManager.sol +39 -0
  390. package/contracts/registry/ChainNft.sol +72 -32
  391. package/contracts/registry/IRegistry.sol +76 -21
  392. package/contracts/registry/IRegistryService.sol +15 -5
  393. package/contracts/registry/Registry.sol +412 -175
  394. package/contracts/registry/RegistryAdmin.sol +399 -76
  395. package/contracts/registry/RegistryService.sol +53 -33
  396. package/contracts/registry/RegistryServiceManager.sol +4 -11
  397. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  398. package/contracts/registry/ReleaseRegistry.sol +491 -0
  399. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  400. package/contracts/registry/TokenRegistry.sol +261 -64
  401. package/contracts/shared/Component.sol +145 -148
  402. package/contracts/shared/ComponentService.sol +590 -91
  403. package/contracts/shared/ComponentServiceManager.sol +35 -0
  404. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  405. package/contracts/shared/IComponent.sol +21 -41
  406. package/contracts/shared/IComponentService.sol +108 -0
  407. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  408. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  409. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  410. package/contracts/shared/INftOwnable.sol +1 -1
  411. package/contracts/shared/IPolicyHolder.sol +0 -4
  412. package/contracts/shared/IService.sol +9 -2
  413. package/contracts/shared/InitializableCustom.sol +177 -0
  414. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  415. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  416. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  417. package/contracts/shared/Lifecycle.sol +77 -0
  418. package/contracts/shared/NftIdSet.sol +65 -0
  419. package/contracts/shared/NftOwnable.sol +10 -20
  420. package/contracts/shared/PolicyHolder.sol +10 -48
  421. package/contracts/shared/Registerable.sol +6 -6
  422. package/contracts/shared/RegistryLinked.sol +3 -2
  423. package/contracts/shared/Service.sol +37 -27
  424. package/contracts/shared/TokenHandler.sol +112 -8
  425. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  426. package/contracts/staking/IStaking.sol +168 -0
  427. package/contracts/staking/IStakingService.sol +105 -47
  428. package/contracts/staking/StakeManagerLib.sol +224 -0
  429. package/contracts/staking/Staking.sol +498 -0
  430. package/contracts/staking/StakingLifecycle.sol +23 -0
  431. package/contracts/staking/StakingManager.sol +50 -0
  432. package/contracts/staking/StakingReader.sol +183 -0
  433. package/contracts/staking/StakingService.sol +285 -47
  434. package/contracts/staking/StakingServiceManager.sol +9 -5
  435. package/contracts/staking/StakingStore.sol +605 -0
  436. package/contracts/staking/TargetManagerLib.sol +211 -0
  437. package/contracts/type/AddressSet.sol +1 -1
  438. package/contracts/type/Amount.sol +29 -3
  439. package/contracts/type/Blocknumber.sol +26 -3
  440. package/contracts/type/Fee.sol +17 -16
  441. package/contracts/type/NftId.sol +14 -16
  442. package/contracts/type/NftIdSet.sol +1 -1
  443. package/contracts/type/ObjectType.sol +175 -62
  444. package/contracts/type/Referral.sol +2 -1
  445. package/contracts/type/RequestId.sol +75 -0
  446. package/contracts/type/RiskId.sol +1 -1
  447. package/contracts/type/RoleId.sol +104 -69
  448. package/contracts/type/Seconds.sol +48 -1
  449. package/contracts/type/Selector.sol +102 -0
  450. package/contracts/type/StateId.sol +28 -2
  451. package/contracts/type/String.sol +53 -0
  452. package/contracts/type/Timestamp.sol +17 -3
  453. package/contracts/type/UFixed.sol +34 -9
  454. package/contracts/type/Version.sol +4 -2
  455. package/contracts/{shared → upgradeability}/ProxyManager.sol +6 -8
  456. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  457. package/package.json +8 -5
  458. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  459. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  460. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  461. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -188
  462. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  463. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  464. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  465. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  466. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  468. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  469. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  470. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  471. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  472. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  473. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  474. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  475. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -891
  476. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  477. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -715
  478. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  479. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1058
  480. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  481. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  482. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  483. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1715
  484. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  485. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1728
  486. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  487. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1806
  488. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  489. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1824
  490. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  491. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  492. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  493. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  494. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  495. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  496. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  497. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  498. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -630
  499. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  500. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  501. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  502. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -320
  503. package/contracts/instance/base/Lifecycle.sol +0 -121
  504. package/contracts/instance/module/ISetup.sol +0 -33
  505. package/contracts/instance/module/ITreasury.sol +0 -23
  506. package/contracts/product/ProductService.sol +0 -212
  507. package/contracts/product/ProductServiceManager.sol +0 -42
  508. package/contracts/registry/ReleaseManager.sol +0 -462
  509. package/contracts/shared/AccessManagerCustom.sol +0 -736
  510. package/contracts/shared/AccessManagerExtended.sol +0 -469
  511. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  512. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  513. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  514. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  515. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  516. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  517. /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,7 +71,7 @@
71
71
  "type": "address"
72
72
  }
73
73
  ],
74
- "name": "ErrorInstanceBundleManagerInstanceMismatch",
74
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
75
75
  "type": "error"
76
76
  },
77
77
  {
@@ -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
  }
@@ -407,19 +381,6 @@
407
381
  "stateMutability": "view",
408
382
  "type": "function"
409
383
  },
410
- {
411
- "inputs": [],
412
- "name": "getInstanceAccessManager",
413
- "outputs": [
414
- {
415
- "internalType": "contract AccessManagerExtendedInitializeable",
416
- "name": "",
417
- "type": "address"
418
- }
419
- ],
420
- "stateMutability": "view",
421
- "type": "function"
422
- },
423
384
  {
424
385
  "inputs": [],
425
386
  "name": "getInstanceAdmin",
@@ -498,45 +459,6 @@
498
459
  "stateMutability": "view",
499
460
  "type": "function"
500
461
  },
501
- {
502
- "inputs": [],
503
- "name": "getPolicyService",
504
- "outputs": [
505
- {
506
- "internalType": "contract IPolicyService",
507
- "name": "",
508
- "type": "address"
509
- }
510
- ],
511
- "stateMutability": "view",
512
- "type": "function"
513
- },
514
- {
515
- "inputs": [],
516
- "name": "getPoolService",
517
- "outputs": [
518
- {
519
- "internalType": "contract IPoolService",
520
- "name": "",
521
- "type": "address"
522
- }
523
- ],
524
- "stateMutability": "view",
525
- "type": "function"
526
- },
527
- {
528
- "inputs": [],
529
- "name": "getProductService",
530
- "outputs": [
531
- {
532
- "internalType": "contract IProductService",
533
- "name": "",
534
- "type": "address"
535
- }
536
- ],
537
- "stateMutability": "view",
538
- "type": "function"
539
- },
540
462
  {
541
463
  "inputs": [],
542
464
  "name": "getRegistry",
@@ -571,98 +493,37 @@
571
493
  {
572
494
  "inputs": [
573
495
  {
574
- "internalType": "address",
575
- "name": "authority",
496
+ "internalType": "contract InstanceAdmin",
497
+ "name": "instanceAdmin",
576
498
  "type": "address"
577
499
  },
578
500
  {
579
- "internalType": "address",
580
- "name": "registryAddress",
501
+ "internalType": "contract InstanceStore",
502
+ "name": "instanceStore",
581
503
  "type": "address"
582
504
  },
583
505
  {
584
- "internalType": "address",
585
- "name": "initialOwner",
586
- "type": "address"
587
- }
588
- ],
589
- "name": "initialize",
590
- "outputs": [],
591
- "stateMutability": "nonpayable",
592
- "type": "function"
593
- },
594
- {
595
- "inputs": [],
596
- "name": "initializeERC165",
597
- "outputs": [],
598
- "stateMutability": "nonpayable",
599
- "type": "function"
600
- },
601
- {
602
- "inputs": [
603
- {
604
- "internalType": "address",
605
- "name": "initialOwner",
506
+ "internalType": "contract BundleSet",
507
+ "name": "bundleManager",
606
508
  "type": "address"
607
509
  },
608
510
  {
609
- "internalType": "address",
610
- "name": "registryAddress",
611
- "type": "address"
612
- }
613
- ],
614
- "name": "initializeNftOwnable",
615
- "outputs": [],
616
- "stateMutability": "nonpayable",
617
- "type": "function"
618
- },
619
- {
620
- "inputs": [
621
- {
622
- "internalType": "address",
623
- "name": "registryAddress",
511
+ "internalType": "contract InstanceReader",
512
+ "name": "instanceReader",
624
513
  "type": "address"
625
514
  },
626
515
  {
627
- "internalType": "NftId",
628
- "name": "parentNftId",
629
- "type": "uint96"
630
- },
631
- {
632
- "internalType": "ObjectType",
633
- "name": "objectType",
634
- "type": "uint8"
635
- },
636
- {
637
- "internalType": "bool",
638
- "name": "isInterceptor",
639
- "type": "bool"
640
- },
641
- {
642
- "internalType": "address",
643
- "name": "initialOwner",
516
+ "internalType": "contract IRegistry",
517
+ "name": "registry",
644
518
  "type": "address"
645
519
  },
646
- {
647
- "internalType": "bytes",
648
- "name": "registryData",
649
- "type": "bytes"
650
- }
651
- ],
652
- "name": "initializeRegisterable",
653
- "outputs": [],
654
- "stateMutability": "nonpayable",
655
- "type": "function"
656
- },
657
- {
658
- "inputs": [
659
520
  {
660
521
  "internalType": "address",
661
- "name": "registryAddress",
522
+ "name": "initialOwner",
662
523
  "type": "address"
663
524
  }
664
525
  ],
665
- "name": "initializeRegistryLinked",
526
+ "name": "initialize",
666
527
  "outputs": [],
667
528
  "stateMutability": "nonpayable",
668
529
  "type": "function"
@@ -681,31 +542,18 @@
681
542
  "type": "function"
682
543
  },
683
544
  {
684
- "inputs": [
685
- {
686
- "internalType": "address",
687
- "name": "nftOwnableAddress",
688
- "type": "address"
689
- }
690
- ],
691
- "name": "linkToNftOwnable",
545
+ "inputs": [],
546
+ "name": "linkToRegisteredNftId",
692
547
  "outputs": [
693
548
  {
694
549
  "internalType": "NftId",
695
- "name": "",
550
+ "name": "nftId",
696
551
  "type": "uint96"
697
552
  }
698
553
  ],
699
554
  "stateMutability": "nonpayable",
700
555
  "type": "function"
701
556
  },
702
- {
703
- "inputs": [],
704
- "name": "linkToRegisteredNftId",
705
- "outputs": [],
706
- "stateMutability": "nonpayable",
707
- "type": "function"
708
- },
709
557
  {
710
558
  "inputs": [
711
559
  {
@@ -750,12 +598,12 @@
750
598
  {
751
599
  "inputs": [
752
600
  {
753
- "internalType": "bytes4",
754
- "name": "interfaceId",
755
- "type": "bytes4"
601
+ "internalType": "Amount",
602
+ "name": "dipAmount",
603
+ "type": "uint96"
756
604
  }
757
605
  ],
758
- "name": "registerInterface",
606
+ "name": "refillStakingRewardReserves",
759
607
  "outputs": [],
760
608
  "stateMutability": "nonpayable",
761
609
  "type": "function"
@@ -794,25 +642,12 @@
794
642
  {
795
643
  "inputs": [
796
644
  {
797
- "internalType": "contract BundleManager",
798
- "name": "bundleManager",
799
- "type": "address"
800
- }
801
- ],
802
- "name": "setBundleManager",
803
- "outputs": [],
804
- "stateMutability": "nonpayable",
805
- "type": "function"
806
- },
807
- {
808
- "inputs": [
809
- {
810
- "internalType": "contract InstanceAdmin",
811
- "name": "accessManager",
645
+ "internalType": "contract InstanceReader",
646
+ "name": "instanceReader",
812
647
  "type": "address"
813
648
  }
814
649
  ],
815
- "name": "setInstanceAdmin",
650
+ "name": "setInstanceReader",
816
651
  "outputs": [],
817
652
  "stateMutability": "nonpayable",
818
653
  "type": "function"
@@ -820,12 +655,12 @@
820
655
  {
821
656
  "inputs": [
822
657
  {
823
- "internalType": "contract InstanceReader",
824
- "name": "instanceReader",
825
- "type": "address"
658
+ "internalType": "Seconds",
659
+ "name": "stakeLockingPeriod",
660
+ "type": "uint40"
826
661
  }
827
662
  ],
828
- "name": "setInstanceReader",
663
+ "name": "setStakingLockingPeriod",
829
664
  "outputs": [],
830
665
  "stateMutability": "nonpayable",
831
666
  "type": "function"
@@ -833,12 +668,12 @@
833
668
  {
834
669
  "inputs": [
835
670
  {
836
- "internalType": "contract InstanceStore",
837
- "name": "instanceStore",
838
- "type": "address"
671
+ "internalType": "UFixed",
672
+ "name": "rewardRate",
673
+ "type": "uint256"
839
674
  }
840
675
  ],
841
- "name": "setInstanceStore",
676
+ "name": "setStakingRewardRate",
842
677
  "outputs": [],
843
678
  "stateMutability": "nonpayable",
844
679
  "type": "function"
@@ -902,32 +737,43 @@
902
737
  ],
903
738
  "stateMutability": "view",
904
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"
905
759
  }
906
760
  ],
907
- "bytecode": "0x608060405234801561001057600080fd5b506127dc806100206000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063770ab10211610146578063c0c53b8b116100c3578063e1033e7d11610087578063e1033e7d14610570578063e5f6cd2714610578578063e7f7fb8614610580578063f7bc431c14610593578063f7c34ee0146105a6578063fed3d63f146105b957600080fd5b8063c0c53b8b146104f7578063ca600b1c1461050a578063cde749f414610512578063d2192dbf1461052c578063d4cda0d81461055f57600080fd5b8063ada9652e1161010a578063ada9652e146104a1578063b428b0b0146104b6578063b7d2b162146104c9578063bb1e0e59146104dc578063bf7e214f146104ef57600080fd5b8063770ab1021461043f5780637a9e5e4b146104525780638689231314610465578063893d20e8146104785780638fb360371461048057600080fd5b8063311adb68116101df5780635ab1bd53116101a35780635ab1bd53146103d15780635fa8aad4146103e257806361f5f420146103f5578063644c45e014610406578063675393bf146104245780636b9bf08b1461043757600080fd5b8063311adb681461037257806336fc697e1461038357806340be23761461038b578063422c9d00146103b65780634288121d146103c957600080fd5b8063214cdb8011610226578063214cdb801461031e5780632449aea8146103315780632781d4431461034457806327bb7a331461034c57806329db8c3d1461035f57600080fd5b806301ffc9a71461026357806302cd3071146102a55780630fec111c146102ca578063138461e0146102df5780631eff4b22146102e9575b600080fd5b610290610271366004611e46565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161029c565b6102d26105c1565b60405161029c9190611eb8565b6102e7610714565b005b6103107f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161029c565b6102e761032c366004611e46565b610720565b6102e761033f366004611f58565b61074d565b610310600381565b6102e761035a366004612032565b610868565b6102e761036d36600461211e565b61090d565b6002546001600160a01b03166102b2565b6102e761097a565b61039e610399366004611f58565b6109c0565b6040516001600160601b03909116815260200161029c565b6102e76103c4366004611f58565b610a0e565b6102b2610bb8565b6001546001600160a01b03166102b2565b6102e76103f03660046121c8565b610c4b565b6004546001600160a01b03166102b2565b600080516020612767833981519152546001600160601b031661039e565b6102e7610432366004611f58565b610cbc565b6102b2610dc9565b6102e761044d366004611f58565b610df2565b6102e7610460366004611f58565b610f04565b6102e7610473366004612217565b610f87565b6102b2610fca565b610488611101565b6040516001600160e01b0319909116815260200161029c565b61031060008051602061276783398151915281565b6102e76104c4366004612250565b611139565b6102e76104d7366004612250565b61121b565b6102e76104ea36600461227e565b6112f6565b6102b26113b9565b6102e76105053660046122aa565b6113d5565b6102b26115a1565b61051a6115ca565b60405160ff909116815260200161029c565b61053f61053a3660046122f5565b611641565b604080516001600160401b0393841681529290911660208301520161029c565b6005546001600160a01b03166102b2565b6102b26116cc565b6102b26116f5565b6102e761058e36600461234e565b6116ff565b6102e76105a1366004611f58565b6117f5565b6102e76105b436600461238f565b6118b5565b6102b261192c565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610670610fca565b6001600160a01b0316815260200182600101805461068d906123ad565b80601f01602080910402602001604051908101604052809291908181526020018280546106b9906123ad565b80156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b505050505081525091505090565b61071d30611955565b50565b610728611b56565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61075a335b600036611ba1565b6005546001600160a01b03161561079857600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6107a06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b91906123e7565b6001600160a01b031614610846576108216113b9565b6040516348263eef60e01b81526001600160a01b03909116600482015260240161078f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610870611b56565b61087a82876118b5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610903838261244f565b5050505050505050565b61091633610752565b60025460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb19061094c90879087908790879060040161250e565b600060405180830381600087803b15801561096657600080fd5b505af1158015610903573d6000803e3d6000fd5b610982611b56565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006109ca610fca565b6001600160a01b0316336001600160a01b0316146109fd5760405163086391f760e31b815233600482015260240161078f565b610a0682611955565b90505b919050565b610a1733610752565b6004546001600160a01b031615610a53576004805460405163384c2dbd60e11b81526001600160a01b039091169181019190915260240161078f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf91906123e7565b6001600160a01b031614610ae85760405163decb98c560e01b815230600482015260240161078f565b610af06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b91906123e7565b6001600160a01b031614610b9657610b716113b9565b604051630312205960e41b81526001600160a01b03909116600482015260240161078f565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610bcc6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906123e7565b905090565b610c5433610752565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610c869085908590600401612583565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610cb4573d6000803e3d6000fd5b505050505050565b610cc4611b56565b806001600160a01b03163b600003610cfa5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610d74575060408051601f3d908101601f19168201909252610d71918101906125a7565b60015b610d9c5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b80610dc55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078f565b5050565b6000610ddd6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610bdd565b610dfb33610752565b6002546001600160a01b031615610e345760025460405163078a818f60e31b81526001600160a01b03909116600482015260240161078f565b610e3c6113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea791906123e7565b6001600160a01b031614610ee257610ebd6113b9565b60405163021f1e5360e61b81526001600160a01b03909116600482015260240161078f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b33610f0d6113b9565b6001600160a01b0316816001600160a01b031614610f485760405162d1953b60e31b81526001600160a01b038216600482015260240161078f565b816001600160a01b03163b600003610f7e576040516361798f2f60e11b81526001600160a01b038316600482015260240161078f565b610dc582611c9f565b610f9033610752565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610c86565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906125a7565b156110eb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e591906123e7565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612787833981519152805460009190600160a01b900460ff1661112b5760006110e5565b638fb3603760e01b91505090565b61114233610752565b61114a6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d991906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610c86565b61122433610752565b61122c6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb91906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610c86565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561133f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136391906123e7565b6001600160a01b0316336001600160a01b03161461138057600080fd5b600254604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610c86565b600080516020612787833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561141a5750825b90506000826001600160401b031660011480156114365750303b155b905081158015611444575080155b156114625760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561148c57845460ff60401b1916600160401b1785555b6001600160a01b0388166114b3576040516377dbcd1760e01b815260040160405180910390fd5b6114bc88611d00565b600087905061154188826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152791906125e1565b604660018b60405180602001604052806000815250610868565b611551637344136d60e01b610720565b50831561090357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006115b56001546001600160a01b031690565b6001600160a01b031663d39e60436078610bdd565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561161d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906125fe565b60008061164d33610752565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061167f908790879060040161261b565b60408051808303816000875af115801561169d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c19190612649565b909590945092505050565b60006116e06001546001600160a01b031690565b6001600160a01b031663d39e604360d3610bdd565b6000610c466113b9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176c91906123e7565b6001600160a01b0316336001600160a01b03161461178957600080fd5b600254604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156117d857600080fd5b505af11580156117ec573d6000803e3d6000fd5b50505050505050565b6117fe33610752565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906123e7565b6001600160a01b031614611893576040516345789cf560e01b815230600482015260240161078f565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6118bd611b56565b6118c681610cbc565b6118ce61097a565b6001600160a01b0382166118f55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061276783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006119406001546001600160a01b031690565b6001600160a01b031663d39e604360dc610bdd565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e991906125a7565b15611a155780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d91906125a7565b611ab55760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906125e1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b9f57604051631afcd79f60e31b815260040160405180910390fd5b565b600080516020612787833981519152600080611bdc611bbe6113b9565b8730611bce600460008a8c612678565b611bd7916126a2565b611d11565b9150915081610cb45763ffffffff811615611c7c57825460ff60a01b1916600160a01b178355611c0a6113b9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c39939291906126d2565b600060405180830381600087803b158015611c5357600080fd5b505af1158015611c67573d6000803e3d6000fd5b5050845460ff60a01b1916855550610cb49050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078f565b60008051602061278783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d08611b56565b61071d81611e1d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d809190612712565b600060405180830381855afa9150503d8060008114611dbb576040519150601f19603f3d011682016040523d82523d6000602084013e611dc0565b606091505b50915091508115611e12576040815110611df25780806020019051810190611de8919061272e565b9094509250611e12565b6020815110611e125780806020019051810190611e0f91906125a7565b93505b505094509492505050565b611e25611b56565b61071d81611c9f565b80356001600160e01b031981168114610a0957600080fd5b600060208284031215611e5857600080fd5b611e6182611e2e565b9392505050565b60005b83811015611e83578181015183820152602001611e6b565b50506000910152565b60008151808452611ea4816020860160208601611e68565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f2160c08401826001600160a01b03169052565b5060c083015160e080840152611f3b610100840182611e8c565b949350505050565b6001600160a01b038116811461071d57600080fd5b600060208284031215611f6a57600080fd5b8135611e6181611f43565b6001600160601b038116811461071d57600080fd5b60ff8116811461071d57600080fd5b801515811461071d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fd757611fd7611fa7565b604051601f8501601f19908116603f01168101908282118183101715611fff57611fff611fa7565b8160405280935085815286868601111561201857600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561204b57600080fd5b863561205681611f43565b9550602087013561206681611f75565b9450604087013561207681611f8a565b9350606087013561208681611f99565b9250608087013561209681611f43565b915060a08701356001600160401b038111156120b157600080fd5b8701601f810189136120c257600080fd5b6120d189823560208401611fbd565b9150509295509295509295565b600082601f8301126120ef57600080fd5b611e6183833560208501611fbd565b6001600160401b038116811461071d57600080fd5b8035610a09816120fe565b6000806000806060858703121561213457600080fd5b84356001600160401b038082111561214b57600080fd5b612157888389016120de565b9550602087013591508082111561216d57600080fd5b818701915087601f83011261218157600080fd5b81358181111561219057600080fd5b8860208260051b85010111156121a557600080fd5b6020830195508094505050506121bd60408601612113565b905092959194509250565b600080604083850312156121db57600080fd5b82356121e681611f43565b915060208301356001600160401b0381111561220157600080fd5b61220d858286016120de565b9150509250929050565b6000806040838503121561222a57600080fd5b823561223581611f43565b9150602083013561224581611f99565b809150509250929050565b6000806040838503121561226357600080fd5b823561226e816120fe565b9150602083013561224581611f43565b6000806040838503121561229157600080fd5b823561229c81611f43565b946020939093013593505050565b6000806000606084860312156122bf57600080fd5b83356122ca81611f43565b925060208401356122da81611f43565b915060408401356122ea81611f43565b809150509250925092565b6000806040838503121561230857600080fd5b82356001600160401b038082111561231f57600080fd5b61232b868387016120de565b9350602085013591508082111561234157600080fd5b5061220d858286016120de565b60008060006060848603121561236357600080fd5b833561236e81611f43565b9250602084013561237e81611f43565b929592945050506040919091013590565b600080604083850312156123a257600080fd5b823561226e81611f43565b600181811c908216806123c157607f821691505b6020821081036123e157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156123f957600080fd5b8151611e6181611f43565b601f82111561244a57600081815260208120601f850160051c8101602086101561242b5750805b601f850160051c820191505b81811015610cb457828155600101612437565b505050565b81516001600160401b0381111561246857612468611fa7565b61247c8161247684546123ad565b84612404565b602080601f8311600181146124b157600084156124995750858301515b600019600386901b1c1916600185901b178555610cb4565b600085815260208120601f198616915b828110156124e0578886015182559484019460019091019084016124c1565b50858210156124fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125216060830187611e8c565b8281036020848101919091528582528691810160005b87811015612564576001600160e01b031961255185611e2e565b1682529282019290820190600101612537565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611f3b90830184611e8c565b6000602082840312156125b957600080fd5b8151611e6181611f99565b6000602082840312156125d657600080fd5b8151611e61816120fe565b6000602082840312156125f357600080fd5b8151611e6181611f75565b60006020828403121561261057600080fd5b8151611e6181611f8a565b60408152600061262e6040830185611e8c565b82810360208401526126408185611e8c565b95945050505050565b6000806040838503121561265c57600080fd5b8251612667816120fe565b6020840151909250612245816120fe565b6000808585111561268857600080fd5b8386111561269557600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126ca5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251612724818460208701611e68565b9190910192915050565b6000806040838503121561274157600080fd5b825161274c81611f99565b602084015190925063ffffffff8116811461224557600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208b304bf3666b25fdaa4a68b727b8d3b04b69280b9278376835142b95b3d5a50764736f6c63430008140033",
908
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063770ab10211610146578063c0c53b8b116100c3578063e1033e7d11610087578063e1033e7d14610570578063e5f6cd2714610578578063e7f7fb8614610580578063f7bc431c14610593578063f7c34ee0146105a6578063fed3d63f146105b957600080fd5b8063c0c53b8b146104f7578063ca600b1c1461050a578063cde749f414610512578063d2192dbf1461052c578063d4cda0d81461055f57600080fd5b8063ada9652e1161010a578063ada9652e146104a1578063b428b0b0146104b6578063b7d2b162146104c9578063bb1e0e59146104dc578063bf7e214f146104ef57600080fd5b8063770ab1021461043f5780637a9e5e4b146104525780638689231314610465578063893d20e8146104785780638fb360371461048057600080fd5b8063311adb68116101df5780635ab1bd53116101a35780635ab1bd53146103d15780635fa8aad4146103e257806361f5f420146103f5578063644c45e014610406578063675393bf146104245780636b9bf08b1461043757600080fd5b8063311adb681461037257806336fc697e1461038357806340be23761461038b578063422c9d00146103b65780634288121d146103c957600080fd5b8063214cdb8011610226578063214cdb801461031e5780632449aea8146103315780632781d4431461034457806327bb7a331461034c57806329db8c3d1461035f57600080fd5b806301ffc9a71461026357806302cd3071146102a55780630fec111c146102ca578063138461e0146102df5780631eff4b22146102e9575b600080fd5b610290610271366004611e46565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161029c565b6102d26105c1565b60405161029c9190611eb8565b6102e7610714565b005b6103107f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161029c565b6102e761032c366004611e46565b610720565b6102e761033f366004611f58565b61074d565b610310600381565b6102e761035a366004612032565b610868565b6102e761036d36600461211e565b61090d565b6002546001600160a01b03166102b2565b6102e761097a565b61039e610399366004611f58565b6109c0565b6040516001600160601b03909116815260200161029c565b6102e76103c4366004611f58565b610a0e565b6102b2610bb8565b6001546001600160a01b03166102b2565b6102e76103f03660046121c8565b610c4b565b6004546001600160a01b03166102b2565b600080516020612767833981519152546001600160601b031661039e565b6102e7610432366004611f58565b610cbc565b6102b2610dc9565b6102e761044d366004611f58565b610df2565b6102e7610460366004611f58565b610f04565b6102e7610473366004612217565b610f87565b6102b2610fca565b610488611101565b6040516001600160e01b0319909116815260200161029c565b61031060008051602061276783398151915281565b6102e76104c4366004612250565b611139565b6102e76104d7366004612250565b61121b565b6102e76104ea36600461227e565b6112f6565b6102b26113b9565b6102e76105053660046122aa565b6113d5565b6102b26115a1565b61051a6115ca565b60405160ff909116815260200161029c565b61053f61053a3660046122f5565b611641565b604080516001600160401b0393841681529290911660208301520161029c565b6005546001600160a01b03166102b2565b6102b26116cc565b6102b26116f5565b6102e761058e36600461234e565b6116ff565b6102e76105a1366004611f58565b6117f5565b6102e76105b436600461238f565b6118b5565b6102b261192c565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610670610fca565b6001600160a01b0316815260200182600101805461068d906123ad565b80601f01602080910402602001604051908101604052809291908181526020018280546106b9906123ad565b80156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b505050505081525091505090565b61071d30611955565b50565b610728611b56565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61075a335b600036611ba1565b6005546001600160a01b03161561079857600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6107a06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b91906123e7565b6001600160a01b031614610846576108216113b9565b6040516348263eef60e01b81526001600160a01b03909116600482015260240161078f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610870611b56565b61087a82876118b5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610903838261244f565b5050505050505050565b61091633610752565b60025460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb19061094c90879087908790879060040161250e565b600060405180830381600087803b15801561096657600080fd5b505af1158015610903573d6000803e3d6000fd5b610982611b56565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006109ca610fca565b6001600160a01b0316336001600160a01b0316146109fd5760405163086391f760e31b815233600482015260240161078f565b610a0682611955565b90505b919050565b610a1733610752565b6004546001600160a01b031615610a53576004805460405163384c2dbd60e11b81526001600160a01b039091169181019190915260240161078f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf91906123e7565b6001600160a01b031614610ae85760405163decb98c560e01b815230600482015260240161078f565b610af06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b91906123e7565b6001600160a01b031614610b9657610b716113b9565b604051630312205960e41b81526001600160a01b03909116600482015260240161078f565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610bcc6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906123e7565b905090565b610c5433610752565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610c869085908590600401612583565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610cb4573d6000803e3d6000fd5b505050505050565b610cc4611b56565b806001600160a01b03163b600003610cfa5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610d74575060408051601f3d908101601f19168201909252610d71918101906125a7565b60015b610d9c5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b80610dc55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078f565b5050565b6000610ddd6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610bdd565b610dfb33610752565b6002546001600160a01b031615610e345760025460405163078a818f60e31b81526001600160a01b03909116600482015260240161078f565b610e3c6113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea791906123e7565b6001600160a01b031614610ee257610ebd6113b9565b60405163021f1e5360e61b81526001600160a01b03909116600482015260240161078f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b33610f0d6113b9565b6001600160a01b0316816001600160a01b031614610f485760405162d1953b60e31b81526001600160a01b038216600482015260240161078f565b816001600160a01b03163b600003610f7e576040516361798f2f60e11b81526001600160a01b038316600482015260240161078f565b610dc582611c9f565b610f9033610752565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610c86565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906125a7565b156110eb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e591906123e7565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612787833981519152805460009190600160a01b900460ff1661112b5760006110e5565b638fb3603760e01b91505090565b61114233610752565b61114a6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d991906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610c86565b61122433610752565b61122c6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb91906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610c86565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561133f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136391906123e7565b6001600160a01b0316336001600160a01b03161461138057600080fd5b600254604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610c86565b600080516020612787833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561141a5750825b90506000826001600160401b031660011480156114365750303b155b905081158015611444575080155b156114625760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561148c57845460ff60401b1916600160401b1785555b6001600160a01b0388166114b3576040516377dbcd1760e01b815260040160405180910390fd5b6114bc88611d00565b600087905061154188826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152791906125e1565b604660018b60405180602001604052806000815250610868565b611551637344136d60e01b610720565b50831561090357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006115b56001546001600160a01b031690565b6001600160a01b031663d39e60436078610bdd565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561161d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906125fe565b60008061164d33610752565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061167f908790879060040161261b565b60408051808303816000875af115801561169d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c19190612649565b909590945092505050565b60006116e06001546001600160a01b031690565b6001600160a01b031663d39e604360d3610bdd565b6000610c466113b9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176c91906123e7565b6001600160a01b0316336001600160a01b03161461178957600080fd5b600254604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156117d857600080fd5b505af11580156117ec573d6000803e3d6000fd5b50505050505050565b6117fe33610752565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906123e7565b6001600160a01b031614611893576040516345789cf560e01b815230600482015260240161078f565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6118bd611b56565b6118c681610cbc565b6118ce61097a565b6001600160a01b0382166118f55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061276783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006119406001546001600160a01b031690565b6001600160a01b031663d39e604360dc610bdd565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e991906125a7565b15611a155780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d91906125a7565b611ab55760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906125e1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b9f57604051631afcd79f60e31b815260040160405180910390fd5b565b600080516020612787833981519152600080611bdc611bbe6113b9565b8730611bce600460008a8c612678565b611bd7916126a2565b611d11565b9150915081610cb45763ffffffff811615611c7c57825460ff60a01b1916600160a01b178355611c0a6113b9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c39939291906126d2565b600060405180830381600087803b158015611c5357600080fd5b505af1158015611c67573d6000803e3d6000fd5b5050845460ff60a01b1916855550610cb49050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078f565b60008051602061278783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d08611b56565b61071d81611e1d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d809190612712565b600060405180830381855afa9150503d8060008114611dbb576040519150601f19603f3d011682016040523d82523d6000602084013e611dc0565b606091505b50915091508115611e12576040815110611df25780806020019051810190611de8919061272e565b9094509250611e12565b6020815110611e125780806020019051810190611e0f91906125a7565b93505b505094509492505050565b611e25611b56565b61071d81611c9f565b80356001600160e01b031981168114610a0957600080fd5b600060208284031215611e5857600080fd5b611e6182611e2e565b9392505050565b60005b83811015611e83578181015183820152602001611e6b565b50506000910152565b60008151808452611ea4816020860160208601611e68565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f2160c08401826001600160a01b03169052565b5060c083015160e080840152611f3b610100840182611e8c565b949350505050565b6001600160a01b038116811461071d57600080fd5b600060208284031215611f6a57600080fd5b8135611e6181611f43565b6001600160601b038116811461071d57600080fd5b60ff8116811461071d57600080fd5b801515811461071d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fd757611fd7611fa7565b604051601f8501601f19908116603f01168101908282118183101715611fff57611fff611fa7565b8160405280935085815286868601111561201857600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561204b57600080fd5b863561205681611f43565b9550602087013561206681611f75565b9450604087013561207681611f8a565b9350606087013561208681611f99565b9250608087013561209681611f43565b915060a08701356001600160401b038111156120b157600080fd5b8701601f810189136120c257600080fd5b6120d189823560208401611fbd565b9150509295509295509295565b600082601f8301126120ef57600080fd5b611e6183833560208501611fbd565b6001600160401b038116811461071d57600080fd5b8035610a09816120fe565b6000806000806060858703121561213457600080fd5b84356001600160401b038082111561214b57600080fd5b612157888389016120de565b9550602087013591508082111561216d57600080fd5b818701915087601f83011261218157600080fd5b81358181111561219057600080fd5b8860208260051b85010111156121a557600080fd5b6020830195508094505050506121bd60408601612113565b905092959194509250565b600080604083850312156121db57600080fd5b82356121e681611f43565b915060208301356001600160401b0381111561220157600080fd5b61220d858286016120de565b9150509250929050565b6000806040838503121561222a57600080fd5b823561223581611f43565b9150602083013561224581611f99565b809150509250929050565b6000806040838503121561226357600080fd5b823561226e816120fe565b9150602083013561224581611f43565b6000806040838503121561229157600080fd5b823561229c81611f43565b946020939093013593505050565b6000806000606084860312156122bf57600080fd5b83356122ca81611f43565b925060208401356122da81611f43565b915060408401356122ea81611f43565b809150509250925092565b6000806040838503121561230857600080fd5b82356001600160401b038082111561231f57600080fd5b61232b868387016120de565b9350602085013591508082111561234157600080fd5b5061220d858286016120de565b60008060006060848603121561236357600080fd5b833561236e81611f43565b9250602084013561237e81611f43565b929592945050506040919091013590565b600080604083850312156123a257600080fd5b823561226e81611f43565b600181811c908216806123c157607f821691505b6020821081036123e157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156123f957600080fd5b8151611e6181611f43565b601f82111561244a57600081815260208120601f850160051c8101602086101561242b5750805b601f850160051c820191505b81811015610cb457828155600101612437565b505050565b81516001600160401b0381111561246857612468611fa7565b61247c8161247684546123ad565b84612404565b602080601f8311600181146124b157600084156124995750858301515b600019600386901b1c1916600185901b178555610cb4565b600085815260208120601f198616915b828110156124e0578886015182559484019460019091019084016124c1565b50858210156124fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125216060830187611e8c565b8281036020848101919091528582528691810160005b87811015612564576001600160e01b031961255185611e2e565b1682529282019290820190600101612537565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611f3b90830184611e8c565b6000602082840312156125b957600080fd5b8151611e6181611f99565b6000602082840312156125d657600080fd5b8151611e61816120fe565b6000602082840312156125f357600080fd5b8151611e6181611f75565b60006020828403121561261057600080fd5b8151611e6181611f8a565b60408152600061262e6040830185611e8c565b82810360208401526126408185611e8c565b95945050505050565b6000806040838503121561265c57600080fd5b8251612667816120fe565b6020840151909250612245816120fe565b6000808585111561268857600080fd5b8386111561269557600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126ca5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251612724818460208701611e68565b9190910192915050565b6000806040838503121561274157600080fd5b825161274c81611f99565b602084015190925063ffffffff8116811461224557600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208b304bf3666b25fdaa4a68b727b8d3b04b69280b9278376835142b95b3d5a50764736f6c63430008140033",
761
+ "bytecode": "0x6080604052348015600e575f80fd5b5061223e8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80638689231311610109578063bf7e214f1161009e578063d4cda0d81161006e578063d4cda0d814610463578063e52ba1cb14610474578063e7f7fb8614610487578063f7bc431c1461049a575f80fd5b8063bf7e214f146103fb578063cc2a9a5b14610403578063cde749f414610416578063d2192dbf14610430575f80fd5b8063b428b0b0116100d9578063b428b0b0146103b4578063b7d2b162146103c7578063b7d68519146103d5578063bb1e0e59146103e8575f80fd5b80638689231314610369578063893d20e8146103775780638fb360371461037f578063ada9652e146103a0575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610315578063644c45e0146103285780636dddada4146103455780637a9e5e4b14610356575f80fd5b80632d764ef8146102cd578063311adb68146102e05780634f8b8aba146102f15780635ab1bd5314610304575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b5780632781d443146102b057806329db8c3d146102b8575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611a66565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611ac2565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102a2600381565b6102cb6102c6366004611c09565b61067a565b005b6102cb6102db366004611cb2565b6106c0565b6003546001600160a01b031661022e565b6102cb6102ff366004611cea565b61075e565b6001546001600160a01b031661022e565b6102cb610323366004611d19565b610806565b5f805160206121c9833981519152546001600160601b0316610263565b6005546001600160a01b031661022e565b6102cb610364366004611d65565b610845565b6102cb610323366004611d8d565b61022e6108c7565b6103876109f8565b6040516001600160e01b03199091168152602001610218565b6102a25f805160206121c983398151915281565b6102cb6103c2366004611dc4565b610a2d565b6102cb610323366004611dc4565b6102cb6103e3366004611dee565b610aa9565b6102cb6103f6366004611e05565b610b15565b61022e610b9c565b6102cb610411366004611e2f565b610bb7565b61041e61104f565b60405160ff9091168152602001610218565b61044361043e366004611ead565b6110c3565b604080516001600160401b03938416815292909116602083015201610218565b6006546001600160a01b031661022e565b610263610482366004611cea565b611107565b6102cb610495366004611efa565b6111bf565b6102cb6104a8366004611d65565b61124b565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611f38565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96108c7565b6001600160a01b031681526020018260010180546105e690611f53565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611f53565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f6106753061130b565b905090565b6106826108c7565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b6106c86108c7565b6001600160a01b0316336001600160a01b0316146106fb5760405163086391f760e31b81523360048201526024016106b1565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610745575f80fd5b505af1158015610757573d5f803e3d5ffd5b5050505050565b6107666108c7565b6001600160a01b0316336001600160a01b0316146107995760405163086391f760e31b81523360048201526024016106b1565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b1580156107ec575f80fd5b505af11580156107fe573d5f803e3d5ffd5b505050505050565b61080e6108c7565b6001600160a01b0316336001600160a01b0316146108415760405163086391f760e31b81523360048201526024016106b1565b5050565b3361084e610b9c565b6001600160a01b0316816001600160a01b0316146108895760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036108be576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b61084182611504565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109579190611f8b565b156109e2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dc9190611fa6565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206121e983398151915280545f9190600160a01b900460ff16610a1f575f6109dc565b638fb3603760e01b91505090565b610a356108c7565b6001600160a01b0316336001600160a01b031614610a685760405163086391f760e31b81523360048201526024016106b1565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b0906044016107d5565b610ab16108c7565b6001600160a01b0316336001600160a01b031614610ae45760405163086391f760e31b81523360048201526024016106b1565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161072e565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190611fa6565b6001600160a01b0316336001600160a01b031614610841575f80fd5b5f805160206121e9833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610bfb5750825b90505f826001600160401b03166001148015610c165750303b155b905081158015610c24575080155b15610c425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6c57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce99190611fa6565b6001600160a01b031603610d10576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051610d82926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190611fa6565b611564565b610dff87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de69190611f38565b600a60018a60405180602001604052805f815250611578565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015610e6c575f80fd5b505af1158015610e7e573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ece575f80fd5b505af1158015610ee0573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b50505050610f4d6001546001600160a01b031690565b6001600160a01b031663d39e6043600a610f6561104f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcc9190611fa6565b600280546001600160a01b0319166001600160a01b0392909216919091179055610ffc632b1cb34b60e11b61161d565b831561104257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561109f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106759190611fc1565b5f806110cd6108c7565b6001600160a01b0316336001600160a01b0316146111005760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6111106108c7565b6001600160a01b0316336001600160a01b0316146111435760405163086391f760e31b81523360048201526024016106b1565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190611f38565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122a9190611fa6565b6001600160a01b0316336001600160a01b031614611246575f80fd5b505050565b611256335f36611649565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190611fa6565b6001600160a01b0316146112e9576040516345789cf560e01b81523060048201526024016106b1565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b9190611f8b565b156113c75780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f8b565b6114655760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190611f38565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206121e983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61156c61173f565b6115758161178a565b50565b61158061173f565b61158a828761179b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116138382612025565b5050505050505050565b61162561173f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206121e98339815191525f80611681611664610b9c565b873061167360045f8a8c6120df565b61167c91612106565b611811565b91509150816107fe5763ffffffff81161561171c57825460ff60a01b1916600160a01b1783556116af610b9c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116de9392919061213e565b5f604051808303815f87803b1580156116f5575f80fd5b505af1158015611707573d5f803e3d5ffd5b5050845460ff60a01b19168555506107fe9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661178857604051631afcd79f60e31b815260040160405180910390fd5b565b61179261173f565b61157581611504565b6117a361173f565b6117ac81611919565b6117b4611a21565b6001600160a01b0382166117db5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206121c983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161187f919061217d565b5f60405180830381855afa9150503d805f81146118b7576040519150601f19603f3d011682016040523d82523d5f602084013e6118bc565b606091505b5091509150811561190e5760408151106118ee57808060200190518101906118e49190612193565b909450925061190e565b602081511061190e578080602001905181019061190b9190611f8b565b93505b505094509492505050565b61192161173f565b806001600160a01b03163b5f036119565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156119d0575060408051601f3d908101601f191682019092526119cd91810190611f8b565b60015b6119f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108415760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611a2961173f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611a76575f80fd5b81356001600160e01b031981168114611a8d575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b0a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611b4e610100840182611a94565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611b79575f80fd5b81356001600160401b03811115611b9257611b92611b56565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611bc057611bc0611b56565b604052818152838201602001851015611bd7575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146111ba575f80fd5b5f805f8060608587031215611c1c575f80fd5b84356001600160401b03811115611c31575f80fd5b611c3d87828801611b6a565b94505060208501356001600160401b03811115611c58575f80fd5b8501601f81018713611c68575f80fd5b80356001600160401b03811115611c7d575f80fd5b8760208260051b8401011115611c91575f80fd5b60209190910193509150611ca760408601611bf3565b905092959194509250565b5f60208284031215611cc2575f80fd5b813564ffffffffff81168114611a8d575f80fd5b6001600160601b0381168114611575575f80fd5b5f60208284031215611cfa575f80fd5b8135611a8d81611cd6565b6001600160a01b0381168114611575575f80fd5b5f8060408385031215611d2a575f80fd5b8235611d3581611d05565b915060208301356001600160401b03811115611d4f575f80fd5b611d5b85828601611b6a565b9150509250929050565b5f60208284031215611d75575f80fd5b8135611a8d81611d05565b8015158114611575575f80fd5b5f8060408385031215611d9e575f80fd5b8235611da981611d05565b91506020830135611db981611d80565b809150509250929050565b5f8060408385031215611dd5575f80fd5b611dde83611bf3565b91506020830135611db981611d05565b5f60208284031215611dfe575f80fd5b5035919050565b5f8060408385031215611e16575f80fd5b8235611e2181611d05565b946020939093013593505050565b5f805f805f8060c08789031215611e44575f80fd5b8635611e4f81611d05565b95506020870135611e5f81611d05565b94506040870135611e6f81611d05565b93506060870135611e7f81611d05565b92506080870135611e8f81611d05565b915060a0870135611e9f81611d05565b809150509295509295509295565b5f8060408385031215611ebe575f80fd5b82356001600160401b03811115611ed3575f80fd5b611edf85828601611b6a565b92505060208301356001600160401b03811115611d4f575f80fd5b5f805f60608486031215611f0c575f80fd5b8335611f1781611d05565b92506020840135611f2781611d05565b929592945050506040919091013590565b5f60208284031215611f48575f80fd5b8151611a8d81611cd6565b600181811c90821680611f6757607f821691505b602082108103611f8557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611f9b575f80fd5b8151611a8d81611d80565b5f60208284031215611fb6575f80fd5b8151611a8d81611d05565b5f60208284031215611fd1575f80fd5b815160ff81168114611a8d575f80fd5b601f82111561124657805f5260205f20601f840160051c810160208510156120065750805b601f840160051c820191505b81811015610757575f8155600101612012565b81516001600160401b0381111561203e5761203e611b56565b6120528161204c8454611f53565b84611fe1565b6020601f821160018114612084575f831561206d5750848201515b5f19600385901b1c1916600184901b178455610757565b5f84815260208120601f198516915b828110156120b35787850151825560209485019460019092019101612093565b50848210156120d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156120ed575f80fd5b838611156120f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121a4575f80fd5b82516121af81611d80565b602084015190925063ffffffff81168114611db9575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220864e5ec0c7cf8192499ea8c91f9133548299badcfe3ac0f5cdce11bf53a1ad2964736f6c634300081a0033",
762
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80638689231311610109578063bf7e214f1161009e578063d4cda0d81161006e578063d4cda0d814610463578063e52ba1cb14610474578063e7f7fb8614610487578063f7bc431c1461049a575f80fd5b8063bf7e214f146103fb578063cc2a9a5b14610403578063cde749f414610416578063d2192dbf14610430575f80fd5b8063b428b0b0116100d9578063b428b0b0146103b4578063b7d2b162146103c7578063b7d68519146103d5578063bb1e0e59146103e8575f80fd5b80638689231314610369578063893d20e8146103775780638fb360371461037f578063ada9652e146103a0575f80fd5b80632d764ef81161017f5780635fa8aad41161014f5780635fa8aad414610315578063644c45e0146103285780636dddada4146103455780637a9e5e4b14610356575f80fd5b80632d764ef8146102cd578063311adb68146102e05780634f8b8aba146102f15780635ab1bd5314610304575f80fd5b8063138461e0116101ba578063138461e01461025b5780631eff4b221461027b5780632781d443146102b057806329db8c3d146102b8575f80fd5b806301ffc9a7146101e057806302cd3071146102215780630fec111c14610246575b5f80fd5b61020c6101ee366004611a66565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61024e6104ad565b6040516102189190611ac2565b61026361066b565b6040516001600160601b039091168152602001610218565b6102a27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102a2600381565b6102cb6102c6366004611c09565b61067a565b005b6102cb6102db366004611cb2565b6106c0565b6003546001600160a01b031661022e565b6102cb6102ff366004611cea565b61075e565b6001546001600160a01b031661022e565b6102cb610323366004611d19565b610806565b5f805160206121c9833981519152546001600160601b0316610263565b6005546001600160a01b031661022e565b6102cb610364366004611d65565b610845565b6102cb610323366004611d8d565b61022e6108c7565b6103876109f8565b6040516001600160e01b03199091168152602001610218565b6102a25f805160206121c983398151915281565b6102cb6103c2366004611dc4565b610a2d565b6102cb610323366004611dc4565b6102cb6103e3366004611dee565b610aa9565b6102cb6103f6366004611e05565b610b15565b61022e610b9c565b6102cb610411366004611e2f565b610bb7565b61041e61104f565b60405160ff9091168152602001610218565b61044361043e366004611ead565b6110c3565b604080516001600160401b03938416815292909116602083015201610218565b6006546001600160a01b031661022e565b610263610482366004611cea565b611107565b6102cb610495366004611efa565b6111bf565b6102cb6104a8366004611d65565b61124b565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561055d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105819190611f38565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105c96108c7565b6001600160a01b031681526020018260010180546105e690611f53565b80601f016020809104026020016040519081016040528092919081815260200182805461061290611f53565b801561065d5780601f106106345761010080835404028352916020019161065d565b820191905f5260205f20905b81548152906001019060200180831161064057829003601f168201915b505050505081525091505090565b5f6106753061130b565b905090565b6106826108c7565b6001600160a01b0316336001600160a01b0316146106ba5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b6106c86108c7565b6001600160a01b0316336001600160a01b0316146106fb5760405163086391f760e31b81523360048201526024016106b1565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b158015610745575f80fd5b505af1158015610757573d5f803e3d5ffd5b5050505050565b6107666108c7565b6001600160a01b0316336001600160a01b0316146107995760405163086391f760e31b81523360048201526024016106b1565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b1580156107ec575f80fd5b505af11580156107fe573d5f803e3d5ffd5b505050505050565b61080e6108c7565b6001600160a01b0316336001600160a01b0316146108415760405163086391f760e31b81523360048201526024016106b1565b5050565b3361084e610b9c565b6001600160a01b0316816001600160a01b0316146108895760405162d1953b60e31b81526001600160a01b03821660048201526024016106b1565b816001600160a01b03163b5f036108be576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b1565b61084182611504565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109579190611f8b565b156109e2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156109b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109dc9190611fa6565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206121e983398151915280545f9190600160a01b900460ff16610a1f575f6109dc565b638fb3603760e01b91505090565b610a356108c7565b6001600160a01b0316336001600160a01b031614610a685760405163086391f760e31b81523360048201526024016106b1565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b0906044016107d5565b610ab16108c7565b6001600160a01b0316336001600160a01b031614610ae45760405163086391f760e31b81523360048201526024016106b1565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161072e565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b809190611fa6565b6001600160a01b0316336001600160a01b031614610841575f80fd5b5f805160206121e9833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610bfb5750825b90505f826001600160401b03166001148015610c165750303b155b905081158015610c24575080155b15610c425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6c57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce99190611fa6565b6001600160a01b031603610d10576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051610d82926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d9190611fa6565b611564565b610dff87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de69190611f38565b600a60018a60405180602001604052805f815250611578565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015610e6c575f80fd5b505af1158015610e7e573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610ece575f80fd5b505af1158015610ee0573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b158015610f25575f80fd5b505af1158015610f37573d5f803e3d5ffd5b50505050610f4d6001546001600160a01b031690565b6001600160a01b031663d39e6043600a610f6561104f565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcc9190611fa6565b600280546001600160a01b0319166001600160a01b0392909216919091179055610ffc632b1cb34b60e11b61161d565b831561104257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561109f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106759190611fc1565b5f806110cd6108c7565b6001600160a01b0316336001600160a01b0316146111005760405163086391f760e31b81523360048201526024016106b1565b9250929050565b5f6111106108c7565b6001600160a01b0316336001600160a01b0316146111435760405163086391f760e31b81523360048201526024016106b1565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b79190611f38565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122a9190611fa6565b6001600160a01b0316336001600160a01b031614611246575f80fd5b505050565b611256335f36611649565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190611fa6565b6001600160a01b0316146112e9576040516345789cf560e01b81523060048201526024016106b1565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f805160206121c983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b9190611f8b565b156113c75780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b1565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143d9190611f8b565b6114655760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b1565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156114b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114db9190611f38565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f805160206121e983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61156c61173f565b6115758161178a565b50565b61158061173f565b61158a828761179b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016116138382612025565b5050505050505050565b61162561173f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f805160206121e98339815191525f80611681611664610b9c565b873061167360045f8a8c6120df565b61167c91612106565b611811565b91509150816107fe5763ffffffff81161561171c57825460ff60a01b1916600160a01b1783556116af610b9c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116de9392919061213e565b5f604051808303815f87803b1580156116f5575f80fd5b505af1158015611707573d5f803e3d5ffd5b5050845460ff60a01b19168555506107fe9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661178857604051631afcd79f60e31b815260040160405180910390fd5b565b61179261173f565b61157581611504565b6117a361173f565b6117ac81611919565b6117b4611a21565b6001600160a01b0382166117db5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206121c983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161187f919061217d565b5f60405180830381855afa9150503d805f81146118b7576040519150601f19603f3d011682016040523d82523d5f602084013e6118bc565b606091505b5091509150811561190e5760408151106118ee57808060200190518101906118e49190612193565b909450925061190e565b602081511061190e578080602001905181019061190b9190611f8b565b93505b505094509492505050565b61192161173f565b806001600160a01b03163b5f036119565760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156119d0575060408051601f3d908101601f191682019092526119cd91810190611f8b565b60015b6119f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b1565b806108415760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b1565b611a2961173f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215611a76575f80fd5b81356001600160e01b031981168114611a8d575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b0a608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611b4e610100840182611a94565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611b79575f80fd5b81356001600160401b03811115611b9257611b92611b56565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611bc057611bc0611b56565b604052818152838201602001851015611bd7575f80fd5b816020850160208301375f918101602001919091529392505050565b80356001600160401b03811681146111ba575f80fd5b5f805f8060608587031215611c1c575f80fd5b84356001600160401b03811115611c31575f80fd5b611c3d87828801611b6a565b94505060208501356001600160401b03811115611c58575f80fd5b8501601f81018713611c68575f80fd5b80356001600160401b03811115611c7d575f80fd5b8760208260051b8401011115611c91575f80fd5b60209190910193509150611ca760408601611bf3565b905092959194509250565b5f60208284031215611cc2575f80fd5b813564ffffffffff81168114611a8d575f80fd5b6001600160601b0381168114611575575f80fd5b5f60208284031215611cfa575f80fd5b8135611a8d81611cd6565b6001600160a01b0381168114611575575f80fd5b5f8060408385031215611d2a575f80fd5b8235611d3581611d05565b915060208301356001600160401b03811115611d4f575f80fd5b611d5b85828601611b6a565b9150509250929050565b5f60208284031215611d75575f80fd5b8135611a8d81611d05565b8015158114611575575f80fd5b5f8060408385031215611d9e575f80fd5b8235611da981611d05565b91506020830135611db981611d80565b809150509250929050565b5f8060408385031215611dd5575f80fd5b611dde83611bf3565b91506020830135611db981611d05565b5f60208284031215611dfe575f80fd5b5035919050565b5f8060408385031215611e16575f80fd5b8235611e2181611d05565b946020939093013593505050565b5f805f805f8060c08789031215611e44575f80fd5b8635611e4f81611d05565b95506020870135611e5f81611d05565b94506040870135611e6f81611d05565b93506060870135611e7f81611d05565b92506080870135611e8f81611d05565b915060a0870135611e9f81611d05565b809150509295509295509295565b5f8060408385031215611ebe575f80fd5b82356001600160401b03811115611ed3575f80fd5b611edf85828601611b6a565b92505060208301356001600160401b03811115611d4f575f80fd5b5f805f60608486031215611f0c575f80fd5b8335611f1781611d05565b92506020840135611f2781611d05565b929592945050506040919091013590565b5f60208284031215611f48575f80fd5b8151611a8d81611cd6565b600181811c90821680611f6757607f821691505b602082108103611f8557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611f9b575f80fd5b8151611a8d81611d80565b5f60208284031215611fb6575f80fd5b8151611a8d81611d05565b5f60208284031215611fd1575f80fd5b815160ff81168114611a8d575f80fd5b601f82111561124657805f5260205f20601f840160051c810160208510156120065750805b601f840160051c820191505b81811015610757575f8155600101612012565b81516001600160401b0381111561203e5761203e611b56565b6120528161204c8454611f53565b84611fe1565b6020601f821160018114612084575f831561206d5750848201515b5f19600385901b1c1916600184901b178455610757565b5f84815260208120601f198516915b828110156120b35787850151825560209485019460019092019101612093565b50848210156120d057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f80858511156120ed575f80fd5b838611156120f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156121a4575f80fd5b82516121af81611d80565b602084015190925063ffffffff81168114611db9575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220864e5ec0c7cf8192499ea8c91f9133548299badcfe3ac0f5cdce11bf53a1ad2964736f6c634300081a0033",
909
763
  "linkReferences": {
910
764
  "contracts/type/NftId.sol": {
911
765
  "NftIdLib": [
912
766
  {
913
767
  "length": 20,
914
- "start": 4128
768
+ "start": 1332
915
769
  },
916
770
  {
917
771
  "length": 20,
918
- "start": 6571
919
- }
920
- ]
921
- },
922
- "contracts/type/RoleId.sol": {
923
- "RoleIdLib": [
924
- {
925
- "length": 20,
926
- "start": 4507
772
+ "start": 2327
927
773
  },
928
774
  {
929
775
  "length": 20,
930
- "start": 4733
776
+ "start": 4955
931
777
  }
932
778
  ]
933
779
  },
@@ -935,7 +781,7 @@
935
781
  "VersionPartLib": [
936
782
  {
937
783
  "length": 20,
938
- "start": 5635
784
+ "start": 4227
939
785
  }
940
786
  ]
941
787
  }
@@ -945,23 +791,15 @@
945
791
  "NftIdLib": [
946
792
  {
947
793
  "length": 20,
948
- "start": 4096
794
+ "start": 1304
949
795
  },
950
796
  {
951
797
  "length": 20,
952
- "start": 6539
953
- }
954
- ]
955
- },
956
- "contracts/type/RoleId.sol": {
957
- "RoleIdLib": [
958
- {
959
- "length": 20,
960
- "start": 4475
798
+ "start": 2299
961
799
  },
962
800
  {
963
801
  "length": 20,
964
- "start": 4701
802
+ "start": 4927
965
803
  }
966
804
  ]
967
805
  },
@@ -969,7 +807,7 @@
969
807
  "VersionPartLib": [
970
808
  {
971
809
  "length": 20,
972
- "start": 5603
810
+ "start": 4199
973
811
  }
974
812
  ]
975
813
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2524dfb696dedd4fe68aef311e06e791.json"
3
+ "buildInfo": "../../../build-info/069e2a3d84abad36150ad93219befd86.json"
4
4
  }