@etherisc/gif-next 0.0.2-e3f4f82-063 → 0.0.2-e40ba1e-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (674) hide show
  1. package/README.md +118 -18
  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/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +499 -549
  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 +1518 -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 +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1196 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1557 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +854 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +943 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +945 -0
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +277 -1310
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +394 -3072
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +649 -397
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +603 -374
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +349 -123
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3469 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +802 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1055 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1432 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  95. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1534 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +842 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +927 -0
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +946 -0
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1213 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1218 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1652 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +774 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1280 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1339 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +236 -190
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +788 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPolicyService.sol/IPolicyService.json} +422 -377
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +253 -373
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +985 -0
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → product/IProductService.sol/IProductService.json} +124 -166
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/product/Product.sol/Product.json +1238 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -112
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +290 -297
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  158. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.json +611 -189
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +477 -318
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +337 -133
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/shared/Component.sol/Component.json +858 -0
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1712 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +208 -209
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +737 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  199. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +977 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  212. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  213. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  217. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  222. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Service.sol/Service.json +201 -162
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +107 -6
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  227. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  228. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  229. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  230. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  231. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +470 -0
  232. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/Staking.sol/Staking.json +1991 -0
  234. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  236. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +773 -0
  238. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  240. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  242. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  244. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  246. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  247. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  248. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  249. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  250. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  252. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  254. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  256. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  258. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  260. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  262. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  264. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  266. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  268. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  270. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  272. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  274. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  276. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  278. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +222 -0
  280. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  286. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  294. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  296. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  298. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  299. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  300. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  301. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  302. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  303. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  304. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  305. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  306. package/contracts/authorization/AccessAdmin.sol +591 -0
  307. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  308. package/contracts/authorization/Authorization.sol +218 -0
  309. package/contracts/authorization/IAccess.sol +48 -0
  310. package/contracts/authorization/IAccessAdmin.sol +136 -0
  311. package/contracts/authorization/IAuthorization.sol +54 -0
  312. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  313. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  314. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  316. package/contracts/distribution/BasicDistribution.sol +138 -0
  317. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  318. package/contracts/distribution/Distribution.sol +295 -0
  319. package/contracts/distribution/DistributionService.sol +336 -0
  320. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  321. package/contracts/distribution/IDistributionComponent.sol +52 -0
  322. package/contracts/distribution/IDistributionService.sol +97 -0
  323. package/contracts/instance/BundleSet.sol +126 -0
  324. package/contracts/instance/IInstance.sol +68 -36
  325. package/contracts/instance/IInstanceService.sol +78 -16
  326. package/contracts/instance/Instance.sol +183 -372
  327. package/contracts/instance/InstanceAdmin.sol +266 -0
  328. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  329. package/contracts/instance/InstanceReader.sol +173 -83
  330. package/contracts/instance/InstanceService.sol +402 -157
  331. package/contracts/instance/InstanceServiceManager.sol +13 -30
  332. package/contracts/instance/InstanceStore.sol +277 -0
  333. package/contracts/instance/base/BalanceStore.sol +123 -0
  334. package/contracts/instance/base/Cloneable.sol +28 -0
  335. package/contracts/instance/base/ObjectCounter.sol +21 -0
  336. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  337. package/contracts/instance/base/ObjectSet.sol +79 -0
  338. package/contracts/instance/module/IAccess.sol +29 -21
  339. package/contracts/instance/module/IBundle.sol +8 -8
  340. package/contracts/instance/module/IComponents.sol +47 -0
  341. package/contracts/instance/module/IDistribution.sol +6 -4
  342. package/contracts/instance/module/IPolicy.sol +56 -17
  343. package/contracts/instance/module/IRisk.sol +1 -1
  344. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  345. package/contracts/oracle/BasicOracle.sol +48 -0
  346. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  347. package/contracts/oracle/IOracle.sol +36 -0
  348. package/contracts/oracle/IOracleComponent.sol +33 -0
  349. package/contracts/oracle/IOracleService.sol +65 -0
  350. package/contracts/oracle/Oracle.sol +166 -0
  351. package/contracts/oracle/OracleService.sol +278 -0
  352. package/contracts/oracle/OracleServiceManager.sol +39 -0
  353. package/contracts/pool/BasicPool.sol +166 -0
  354. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  355. package/contracts/pool/BundleService.sol +437 -0
  356. package/contracts/pool/BundleServiceManager.sol +39 -0
  357. package/contracts/pool/IBundleService.sol +133 -0
  358. package/contracts/pool/IPoolComponent.sol +58 -0
  359. package/contracts/pool/IPoolService.sol +149 -0
  360. package/contracts/pool/Pool.sol +328 -0
  361. package/contracts/pool/PoolService.sol +525 -0
  362. package/contracts/pool/PoolServiceManager.sol +39 -0
  363. package/contracts/product/ApplicationService.sol +230 -0
  364. package/contracts/product/ApplicationServiceManager.sol +38 -0
  365. package/contracts/product/BasicProduct.sol +52 -0
  366. package/contracts/product/BasicProductAuthorization.sol +43 -0
  367. package/contracts/product/ClaimService.sol +424 -0
  368. package/contracts/product/ClaimServiceManager.sol +38 -0
  369. package/contracts/product/IApplicationService.sol +62 -0
  370. package/contracts/product/IClaimService.sol +100 -0
  371. package/contracts/product/IPolicyService.sol +84 -0
  372. package/contracts/product/IPricingService.sol +39 -0
  373. package/contracts/product/IProductComponent.sol +40 -0
  374. package/contracts/product/IProductService.sol +33 -0
  375. package/contracts/product/PolicyService.sol +529 -0
  376. package/contracts/product/PolicyServiceManager.sol +39 -0
  377. package/contracts/product/PricingService.sol +300 -0
  378. package/contracts/product/PricingServiceManager.sol +39 -0
  379. package/contracts/product/Product.sol +411 -0
  380. package/contracts/product/ProductService.sol +99 -0
  381. package/contracts/product/ProductServiceManager.sol +39 -0
  382. package/contracts/registry/ChainNft.sol +15 -0
  383. package/contracts/registry/IRegistry.sol +85 -32
  384. package/contracts/registry/IRegistryService.sol +47 -28
  385. package/contracts/registry/ITransferInterceptor.sol +1 -0
  386. package/contracts/registry/Registry.sol +376 -248
  387. package/contracts/registry/RegistryAdmin.sol +365 -0
  388. package/contracts/registry/RegistryService.sol +111 -217
  389. package/contracts/registry/RegistryServiceManager.sol +26 -53
  390. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  391. package/contracts/registry/ReleaseRegistry.sol +485 -0
  392. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  393. package/contracts/registry/TokenRegistry.sol +261 -57
  394. package/contracts/shared/Component.sol +280 -0
  395. package/contracts/shared/ComponentService.sol +650 -0
  396. package/contracts/shared/ComponentServiceManager.sol +35 -0
  397. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  398. package/contracts/shared/IComponent.sol +71 -0
  399. package/contracts/shared/IComponentService.sol +108 -0
  400. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  401. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  402. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  403. package/contracts/shared/INftOwnable.sol +13 -12
  404. package/contracts/shared/IPolicyHolder.sol +45 -0
  405. package/contracts/shared/IRegisterable.sol +4 -6
  406. package/contracts/shared/IRegistryLinked.sol +11 -0
  407. package/contracts/shared/IService.sol +16 -6
  408. package/contracts/shared/InitializableCustom.sol +177 -0
  409. package/contracts/shared/InitializableERC165.sol +27 -0
  410. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  411. package/contracts/shared/KeyValueStore.sol +131 -0
  412. package/contracts/shared/Lifecycle.sol +77 -0
  413. package/contracts/shared/NftIdSet.sol +65 -0
  414. package/contracts/shared/NftOwnable.sol +59 -86
  415. package/contracts/shared/PolicyHolder.sol +99 -0
  416. package/contracts/shared/Registerable.sol +26 -41
  417. package/contracts/shared/RegistryLinked.sol +43 -0
  418. package/contracts/shared/Service.sol +58 -31
  419. package/contracts/shared/TokenHandler.sol +41 -6
  420. package/contracts/staking/IStaking.sol +167 -0
  421. package/contracts/staking/IStakingService.sol +160 -0
  422. package/contracts/staking/StakeManagerLib.sol +231 -0
  423. package/contracts/staking/Staking.sol +516 -0
  424. package/contracts/staking/StakingLifecycle.sol +23 -0
  425. package/contracts/staking/StakingManager.sol +50 -0
  426. package/contracts/staking/StakingReader.sol +183 -0
  427. package/contracts/staking/StakingService.sol +407 -0
  428. package/contracts/staking/StakingServiceManager.sol +44 -0
  429. package/contracts/staking/StakingStore.sol +605 -0
  430. package/contracts/staking/TargetManagerLib.sol +207 -0
  431. package/contracts/{types → type}/AddressSet.sol +1 -1
  432. package/contracts/type/Amount.sol +135 -0
  433. package/contracts/{types → type}/Blocknumber.sol +27 -3
  434. package/contracts/type/ClaimId.sol +75 -0
  435. package/contracts/{types → type}/DistributorType.sol +2 -2
  436. package/contracts/{types → type}/Fee.sol +33 -23
  437. package/contracts/{types → type}/NftId.sol +21 -15
  438. package/contracts/type/NftIdSet.sol +62 -0
  439. package/contracts/type/ObjectType.sol +271 -0
  440. package/contracts/type/PayoutId.sol +82 -0
  441. package/contracts/{types → type}/Referral.sol +6 -1
  442. package/contracts/type/RequestId.sol +75 -0
  443. package/contracts/{types → type}/RiskId.sol +1 -1
  444. package/contracts/type/RoleId.sol +174 -0
  445. package/contracts/type/Seconds.sol +93 -0
  446. package/contracts/type/Selector.sol +102 -0
  447. package/contracts/{types → type}/StateId.sol +34 -4
  448. package/contracts/type/String.sol +53 -0
  449. package/contracts/{types → type}/Timestamp.sol +34 -15
  450. package/contracts/{types → type}/UFixed.sol +35 -9
  451. package/contracts/{types → type}/Version.sol +5 -2
  452. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  453. package/contracts/upgradeability/ProxyManager.sol +198 -0
  454. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  455. package/contracts/upgradeability/Versionable.sol +59 -0
  456. package/package.json +10 -7
  457. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  458. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  459. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  460. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  461. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  462. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  463. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  464. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  465. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  466. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  467. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  468. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  469. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  470. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -787
  471. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  472. package/artifacts/contracts/components/Product.sol/Product.json +0 -729
  473. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  474. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  475. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  476. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  477. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  478. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  479. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  480. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  481. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  482. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  483. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  484. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  485. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  486. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  487. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  488. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  489. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  490. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  491. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  492. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  493. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  494. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  495. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  496. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  497. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  498. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  499. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  500. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  501. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  503. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  505. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  507. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  508. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  509. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  510. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  511. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  512. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  513. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  514. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  515. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  516. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  517. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  518. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  519. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  520. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  521. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  522. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  523. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  524. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  525. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  526. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  527. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  528. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  529. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  530. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  531. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  532. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  534. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  537. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  538. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  540. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -971
  541. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
  543. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  544. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  545. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  546. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  547. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  548. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  549. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  550. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  551. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  552. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  553. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  554. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  555. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  556. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  557. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  558. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  559. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  560. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  561. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  562. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  563. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  564. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  566. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  568. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  570. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  572. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  574. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  575. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  576. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  577. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  578. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  579. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  580. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  582. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  584. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  586. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  587. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  588. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  590. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  591. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  592. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  594. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  595. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  596. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  598. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  600. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  602. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  605. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  607. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  609. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  611. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  613. package/contracts/components/BaseComponent.sol +0 -91
  614. package/contracts/components/Distribution.sol +0 -163
  615. package/contracts/components/IBaseComponent.sol +0 -25
  616. package/contracts/components/IDistributionComponent.sol +0 -44
  617. package/contracts/components/IPoolComponent.sol +0 -62
  618. package/contracts/components/IProductComponent.sol +0 -35
  619. package/contracts/components/Pool.sol +0 -247
  620. package/contracts/components/Product.sol +0 -289
  621. package/contracts/experiment/cloning/Cloner.sol +0 -47
  622. package/contracts/experiment/errors/Require.sol +0 -38
  623. package/contracts/experiment/errors/Revert.sol +0 -44
  624. package/contracts/experiment/inheritance/A.sol +0 -53
  625. package/contracts/experiment/inheritance/B.sol +0 -28
  626. package/contracts/experiment/inheritance/C.sol +0 -34
  627. package/contracts/experiment/inheritance/IA.sol +0 -13
  628. package/contracts/experiment/inheritance/IB.sol +0 -10
  629. package/contracts/experiment/inheritance/IC.sol +0 -12
  630. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  631. package/contracts/experiment/statemachine/ISM.sol +0 -25
  632. package/contracts/experiment/statemachine/SM.sol +0 -57
  633. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  634. package/contracts/experiment/types/TypeA.sol +0 -47
  635. package/contracts/experiment/types/TypeB.sol +0 -29
  636. package/contracts/instance/AccessManagedSimple.sol +0 -115
  637. package/contracts/instance/AccessManagerSimple.sol +0 -692
  638. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  639. package/contracts/instance/InstanceAccessManager.sol +0 -288
  640. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  641. package/contracts/instance/base/IInstanceBase.sol +0 -23
  642. package/contracts/instance/base/KeyValueStore.sol +0 -172
  643. package/contracts/instance/base/Lifecycle.sol +0 -100
  644. package/contracts/instance/module/ISetup.sol +0 -47
  645. package/contracts/instance/module/ITreasury.sol +0 -23
  646. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  647. package/contracts/instance/service/DistributionService.sol +0 -88
  648. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  649. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  650. package/contracts/instance/service/IDistributionService.sol +0 -12
  651. package/contracts/instance/service/IPoolService.sol +0 -43
  652. package/contracts/instance/service/IProductService.sol +0 -110
  653. package/contracts/instance/service/PoolService.sol +0 -204
  654. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  655. package/contracts/instance/service/ProductService.sol +0 -562
  656. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  657. package/contracts/shared/ContractDeployerLib.sol +0 -72
  658. package/contracts/shared/ERC165.sol +0 -25
  659. package/contracts/shared/ProxyManager.sol +0 -94
  660. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  661. package/contracts/shared/Versionable.sol +0 -147
  662. package/contracts/test/TestFee.sol +0 -25
  663. package/contracts/test/TestRegisterable.sol +0 -18
  664. package/contracts/test/TestRoleId.sol +0 -14
  665. package/contracts/test/TestService.sol +0 -24
  666. package/contracts/test/TestToken.sol +0 -26
  667. package/contracts/test/TestVersion.sol +0 -44
  668. package/contracts/test/TestVersionable.sol +0 -17
  669. package/contracts/types/ChainId.sol +0 -38
  670. package/contracts/types/NftIdSet.sol +0 -60
  671. package/contracts/types/NumberId.sol +0 -52
  672. package/contracts/types/ObjectType.sol +0 -152
  673. package/contracts/types/RoleId.sol +0 -90
  674. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,27 +3,6 @@
3
3
  "contractName": "Instance",
4
4
  "sourceName": "contracts/instance/Instance.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "accessManagerAddress",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "registryAddress",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "NftId",
20
- "name": "registryNftId",
21
- "type": "uint96"
22
- }
23
- ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
26
- },
27
6
  {
28
7
  "inputs": [
29
8
  {
@@ -66,233 +45,142 @@
66
45
  "inputs": [
67
46
  {
68
47
  "internalType": "address",
69
- "name": "registry",
48
+ "name": "instanceBundleSet",
70
49
  "type": "address"
71
- },
72
- {
73
- "internalType": "NftId",
74
- "name": "nftId",
75
- "type": "uint96"
76
50
  }
77
51
  ],
78
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorInstanceBundleSetAlreadySet",
79
53
  "type": "error"
80
54
  },
81
55
  {
82
56
  "inputs": [
83
57
  {
84
58
  "internalType": "address",
85
- "name": "contractAddress",
59
+ "name": "instanceAuthority",
86
60
  "type": "address"
87
61
  }
88
62
  ],
89
- "name": "ErrorContractNotRegistered",
90
- "type": "error"
91
- },
92
- {
93
- "inputs": [
94
- {
95
- "internalType": "RoleId",
96
- "name": "roleId",
97
- "type": "uint64"
98
- }
99
- ],
100
- "name": "ErrorGrantNonexstentRole",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [
105
- {
106
- "internalType": "ObjectType",
107
- "name": "objectType",
108
- "type": "uint8"
109
- },
110
- {
111
- "internalType": "StateId",
112
- "name": "fromStateId",
113
- "type": "uint8"
114
- },
115
- {
116
- "internalType": "StateId",
117
- "name": "toStateId",
118
- "type": "uint8"
119
- }
120
- ],
121
- "name": "ErrorInvalidStateTransition",
122
- "type": "error"
123
- },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "NftId",
128
- "name": "nftId",
129
- "type": "uint96"
130
- },
131
- {
132
- "internalType": "ObjectType",
133
- "name": "objectType",
134
- "type": "uint8"
135
- }
136
- ],
137
- "name": "ErrorNoLifecycle",
63
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
138
64
  "type": "error"
139
65
  },
140
66
  {
141
67
  "inputs": [
142
68
  {
143
69
  "internalType": "address",
144
- "name": "account",
70
+ "name": "instance",
145
71
  "type": "address"
146
72
  }
147
73
  ],
148
- "name": "ErrorNotOwner",
74
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
149
75
  "type": "error"
150
76
  },
151
77
  {
152
78
  "inputs": [
153
79
  {
154
80
  "internalType": "address",
155
- "name": "registryAddress",
81
+ "name": "InstanceAdmin",
156
82
  "type": "address"
157
83
  }
158
84
  ],
159
- "name": "ErrorNotRegistry",
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
160
86
  "type": "error"
161
87
  },
162
88
  {
163
89
  "inputs": [
164
90
  {
165
91
  "internalType": "address",
166
- "name": "registryAddress",
92
+ "name": "instanceAuthority",
167
93
  "type": "address"
168
94
  }
169
95
  ],
170
- "name": "ErrorRegisterableNotRegistry",
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
171
97
  "type": "error"
172
98
  },
173
99
  {
174
100
  "inputs": [],
175
- "name": "ErrorRegistryAddressZero",
101
+ "name": "ErrorInstanceInstanceAdminZero",
176
102
  "type": "error"
177
103
  },
178
104
  {
179
105
  "inputs": [
180
106
  {
181
107
  "internalType": "address",
182
- "name": "registry",
108
+ "name": "instanceAuthority",
183
109
  "type": "address"
184
110
  }
185
111
  ],
186
- "name": "ErrorRegistryAlreadyInitialized",
187
- "type": "error"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "ErrorRegistryNotInitialized",
192
- "type": "error"
193
- },
194
- {
195
- "inputs": [
196
- {
197
- "internalType": "RoleId",
198
- "name": "roleId",
199
- "type": "uint64"
200
- }
201
- ],
202
- "name": "ErrorRenounceNonexstentRole",
203
- "type": "error"
204
- },
205
- {
206
- "inputs": [
207
- {
208
- "internalType": "RoleId",
209
- "name": "roleId",
210
- "type": "uint64"
211
- }
212
- ],
213
- "name": "ErrorRevokeNonexstentRole",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
214
113
  "type": "error"
215
114
  },
216
115
  {
217
116
  "inputs": [
218
117
  {
219
- "internalType": "RoleId",
220
- "name": "roleId",
221
- "type": "uint64"
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
222
121
  }
223
122
  ],
224
- "name": "ErrorRoleIdInvalid",
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
225
124
  "type": "error"
226
125
  },
227
126
  {
228
127
  "inputs": [
229
128
  {
230
- "internalType": "RoleId",
231
- "name": "roleId",
232
- "type": "uint64"
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
233
132
  }
234
133
  ],
235
- "name": "ErrorRoleIdNotActive",
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
236
135
  "type": "error"
237
136
  },
238
137
  {
239
138
  "inputs": [
240
139
  {
241
- "internalType": "RoleId",
242
- "name": "roleId",
243
- "type": "uint64"
140
+ "internalType": "NftId",
141
+ "name": "nftId",
142
+ "type": "uint96"
244
143
  }
245
144
  ],
246
- "name": "ErrorRoleIdTooBig",
145
+ "name": "ErrorNftOwnableAlreadyLinked",
247
146
  "type": "error"
248
147
  },
249
148
  {
250
149
  "inputs": [
251
150
  {
252
- "internalType": "RoleId",
253
- "name": "roleId",
254
- "type": "uint64"
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
255
154
  }
256
155
  ],
257
- "name": "ErrorRoleIdTooSmall",
156
+ "name": "ErrorNftOwnableContractNotRegistered",
258
157
  "type": "error"
259
158
  },
260
159
  {
261
- "inputs": [
262
- {
263
- "internalType": "RoleId",
264
- "name": "roleId",
265
- "type": "uint64"
266
- }
267
- ],
268
- "name": "ErrorRoleNameEmpty",
160
+ "inputs": [],
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
269
162
  "type": "error"
270
163
  },
271
164
  {
272
165
  "inputs": [
273
166
  {
274
- "internalType": "RoleId",
275
- "name": "roleId",
276
- "type": "uint64"
277
- },
278
- {
279
- "internalType": "ShortString",
280
- "name": "name",
281
- "type": "bytes32"
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
282
170
  }
283
171
  ],
284
- "name": "ErrorRoleNameNotUnique",
172
+ "name": "ErrorNftOwnableNotOwner",
285
173
  "type": "error"
286
174
  },
287
175
  {
288
176
  "inputs": [
289
177
  {
290
178
  "internalType": "address",
291
- "name": "target",
179
+ "name": "registryAddress",
292
180
  "type": "address"
293
181
  }
294
182
  ],
295
- "name": "ErrorTargetDoesNotExist",
183
+ "name": "ErrorNotRegistry",
296
184
  "type": "error"
297
185
  },
298
186
  {
@@ -300,27 +188,11 @@
300
188
  "name": "InvalidInitialization",
301
189
  "type": "error"
302
190
  },
303
- {
304
- "inputs": [],
305
- "name": "InvalidShortString",
306
- "type": "error"
307
- },
308
191
  {
309
192
  "inputs": [],
310
193
  "name": "NotInitializing",
311
194
  "type": "error"
312
195
  },
313
- {
314
- "inputs": [
315
- {
316
- "internalType": "string",
317
- "name": "str",
318
- "type": "string"
319
- }
320
- ],
321
- "name": "StringTooLong",
322
- "type": "error"
323
- },
324
196
  {
325
197
  "anonymous": false,
326
198
  "inputs": [
@@ -348,142 +220,162 @@
348
220
  "type": "event"
349
221
  },
350
222
  {
351
- "anonymous": false,
352
- "inputs": [
353
- {
354
- "indexed": false,
355
- "internalType": "ObjectType",
356
- "name": "objectType",
357
- "type": "uint8"
358
- },
223
+ "inputs": [],
224
+ "name": "GIF_MAJOR_VERSION",
225
+ "outputs": [
359
226
  {
360
- "indexed": false,
361
- "internalType": "KeyId",
362
- "name": "keyId",
363
- "type": "bytes31"
364
- },
227
+ "internalType": "uint256",
228
+ "name": "",
229
+ "type": "uint256"
230
+ }
231
+ ],
232
+ "stateMutability": "view",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
238
+ "outputs": [
365
239
  {
366
- "indexed": false,
367
- "internalType": "StateId",
368
- "name": "state",
369
- "type": "uint8"
370
- },
240
+ "internalType": "bytes32",
241
+ "name": "",
242
+ "type": "bytes32"
243
+ }
244
+ ],
245
+ "stateMutability": "view",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "inputs": [],
250
+ "name": "REGISTERABLE_LOCATION_V1",
251
+ "outputs": [
371
252
  {
372
- "indexed": false,
373
- "internalType": "address",
374
- "name": "createdBy",
375
- "type": "address"
376
- },
253
+ "internalType": "bytes32",
254
+ "name": "",
255
+ "type": "bytes32"
256
+ }
257
+ ],
258
+ "stateMutability": "view",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "authority",
264
+ "outputs": [
377
265
  {
378
- "indexed": false,
379
266
  "internalType": "address",
380
- "name": "txOrigin",
267
+ "name": "",
381
268
  "type": "address"
382
269
  }
383
270
  ],
384
- "name": "LogInfoCreated",
385
- "type": "event"
271
+ "stateMutability": "view",
272
+ "type": "function"
386
273
  },
387
274
  {
388
- "anonymous": false,
389
275
  "inputs": [
390
276
  {
391
- "indexed": false,
392
- "internalType": "ObjectType",
393
- "name": "objectType",
394
- "type": "uint8"
277
+ "internalType": "string",
278
+ "name": "roleName",
279
+ "type": "string"
395
280
  },
396
281
  {
397
- "indexed": false,
398
- "internalType": "KeyId",
399
- "name": "keyId",
400
- "type": "bytes31"
401
- },
282
+ "internalType": "string",
283
+ "name": "adminName",
284
+ "type": "string"
285
+ }
286
+ ],
287
+ "name": "createRole",
288
+ "outputs": [
402
289
  {
403
- "indexed": false,
404
- "internalType": "StateId",
405
- "name": "state",
406
- "type": "uint8"
290
+ "internalType": "RoleId",
291
+ "name": "roleId",
292
+ "type": "uint64"
407
293
  },
408
294
  {
409
- "indexed": false,
410
- "internalType": "address",
411
- "name": "updatedBy",
412
- "type": "address"
413
- },
295
+ "internalType": "RoleId",
296
+ "name": "admin",
297
+ "type": "uint64"
298
+ }
299
+ ],
300
+ "stateMutability": "nonpayable",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [
414
305
  {
415
- "indexed": false,
416
306
  "internalType": "address",
417
- "name": "txOrigin",
307
+ "name": "target",
418
308
  "type": "address"
419
309
  },
420
310
  {
421
- "indexed": false,
422
- "internalType": "Blocknumber",
423
- "name": "lastUpdatedIn",
424
- "type": "uint32"
311
+ "internalType": "string",
312
+ "name": "name",
313
+ "type": "string"
425
314
  }
426
315
  ],
427
- "name": "LogInfoUpdated",
428
- "type": "event"
316
+ "name": "createTarget",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
319
+ "type": "function"
429
320
  },
430
321
  {
431
- "anonymous": false,
432
- "inputs": [
433
- {
434
- "indexed": false,
435
- "internalType": "ObjectType",
436
- "name": "objectType",
437
- "type": "uint8"
438
- },
439
- {
440
- "indexed": false,
441
- "internalType": "KeyId",
442
- "name": "keyId",
443
- "type": "bytes31"
444
- },
445
- {
446
- "indexed": false,
447
- "internalType": "StateId",
448
- "name": "stateOld",
449
- "type": "uint8"
450
- },
451
- {
452
- "indexed": false,
453
- "internalType": "StateId",
454
- "name": "stateNew",
455
- "type": "uint8"
456
- },
457
- {
458
- "indexed": false,
459
- "internalType": "address",
460
- "name": "updatedBy",
461
- "type": "address"
462
- },
322
+ "inputs": [],
323
+ "name": "getBundleSet",
324
+ "outputs": [
463
325
  {
464
- "indexed": false,
465
- "internalType": "address",
466
- "name": "txOrigin",
326
+ "internalType": "contract BundleSet",
327
+ "name": "",
467
328
  "type": "address"
468
- },
469
- {
470
- "indexed": false,
471
- "internalType": "Blocknumber",
472
- "name": "lastUpdatedIn",
473
- "type": "uint32"
474
329
  }
475
330
  ],
476
- "name": "LogStateUpdated",
477
- "type": "event"
331
+ "stateMutability": "view",
332
+ "type": "function"
478
333
  },
479
334
  {
480
335
  "inputs": [],
481
- "name": "ADMIN_ROLE",
336
+ "name": "getInitialInfo",
482
337
  "outputs": [
483
338
  {
484
- "internalType": "uint64",
485
- "name": "",
486
- "type": "uint64"
339
+ "components": [
340
+ {
341
+ "internalType": "NftId",
342
+ "name": "nftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "internalType": "NftId",
347
+ "name": "parentNftId",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "ObjectType",
352
+ "name": "objectType",
353
+ "type": "uint8"
354
+ },
355
+ {
356
+ "internalType": "bool",
357
+ "name": "isInterceptor",
358
+ "type": "bool"
359
+ },
360
+ {
361
+ "internalType": "address",
362
+ "name": "objectAddress",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "internalType": "address",
367
+ "name": "initialOwner",
368
+ "type": "address"
369
+ },
370
+ {
371
+ "internalType": "bytes",
372
+ "name": "data",
373
+ "type": "bytes"
374
+ }
375
+ ],
376
+ "internalType": "struct IRegistry.ObjectInfo",
377
+ "name": "info",
378
+ "type": "tuple"
487
379
  }
488
380
  ],
489
381
  "stateMutability": "view",
@@ -491,12 +383,12 @@
491
383
  },
492
384
  {
493
385
  "inputs": [],
494
- "name": "CUSTOM_ROLE_ID_MIN",
386
+ "name": "getInstanceAdmin",
495
387
  "outputs": [
496
388
  {
497
- "internalType": "uint64",
389
+ "internalType": "contract InstanceAdmin",
498
390
  "name": "",
499
- "type": "uint64"
391
+ "type": "address"
500
392
  }
501
393
  ],
502
394
  "stateMutability": "view",
@@ -504,12 +396,12 @@
504
396
  },
505
397
  {
506
398
  "inputs": [],
507
- "name": "EXECUTION_DELAY",
399
+ "name": "getInstanceReader",
508
400
  "outputs": [
509
401
  {
510
- "internalType": "uint32",
402
+ "internalType": "contract InstanceReader",
511
403
  "name": "",
512
- "type": "uint32"
404
+ "type": "address"
513
405
  }
514
406
  ],
515
407
  "stateMutability": "view",
@@ -517,12 +409,12 @@
517
409
  },
518
410
  {
519
411
  "inputs": [],
520
- "name": "PUBLIC_ROLE",
412
+ "name": "getInstanceStore",
521
413
  "outputs": [
522
414
  {
523
- "internalType": "uint64",
415
+ "internalType": "contract InstanceStore",
524
416
  "name": "",
525
- "type": "uint64"
417
+ "type": "address"
526
418
  }
527
419
  ],
528
420
  "stateMutability": "view",
@@ -530,12 +422,25 @@
530
422
  },
531
423
  {
532
424
  "inputs": [],
533
- "name": "REGISTERABLE_LOCATION_V1",
425
+ "name": "getMajorVersion",
534
426
  "outputs": [
535
427
  {
536
- "internalType": "bytes32",
428
+ "internalType": "VersionPart",
429
+ "name": "majorVersion",
430
+ "type": "uint8"
431
+ }
432
+ ],
433
+ "stateMutability": "pure",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "getNftId",
439
+ "outputs": [
440
+ {
441
+ "internalType": "NftId",
537
442
  "name": "",
538
- "type": "bytes32"
443
+ "type": "uint96"
539
444
  }
540
445
  ],
541
446
  "stateMutability": "view",
@@ -543,7 +448,7 @@
543
448
  },
544
449
  {
545
450
  "inputs": [],
546
- "name": "authority",
451
+ "name": "getOwner",
547
452
  "outputs": [
548
453
  {
549
454
  "internalType": "address",
@@ -555,101 +460,32 @@
555
460
  "type": "function"
556
461
  },
557
462
  {
558
- "inputs": [
559
- {
560
- "internalType": "ObjectType",
561
- "name": "objectType",
562
- "type": "uint8"
563
- },
564
- {
565
- "internalType": "StateId",
566
- "name": "fromId",
567
- "type": "uint8"
568
- },
463
+ "inputs": [],
464
+ "name": "getRegistry",
465
+ "outputs": [
569
466
  {
570
- "internalType": "StateId",
571
- "name": "toId",
572
- "type": "uint8"
467
+ "internalType": "contract IRegistry",
468
+ "name": "",
469
+ "type": "address"
573
470
  }
574
471
  ],
575
- "name": "checkTransition",
576
- "outputs": [],
577
472
  "stateMutability": "view",
578
473
  "type": "function"
579
474
  },
580
475
  {
581
476
  "inputs": [
582
477
  {
583
- "internalType": "NftId",
584
- "name": "bundleNftId",
585
- "type": "uint96"
478
+ "internalType": "RoleId",
479
+ "name": "roleId",
480
+ "type": "uint64"
586
481
  },
587
482
  {
588
- "components": [
589
- {
590
- "internalType": "NftId",
591
- "name": "poolNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "components": [
596
- {
597
- "internalType": "UFixed",
598
- "name": "fractionalFee",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "fixedFee",
604
- "type": "uint256"
605
- }
606
- ],
607
- "internalType": "struct Fee",
608
- "name": "fee",
609
- "type": "tuple"
610
- },
611
- {
612
- "internalType": "bytes",
613
- "name": "filter",
614
- "type": "bytes"
615
- },
616
- {
617
- "internalType": "uint256",
618
- "name": "capitalAmount",
619
- "type": "uint256"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "lockedAmount",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "uint256",
628
- "name": "balanceAmount",
629
- "type": "uint256"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "lifetime",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "Timestamp",
638
- "name": "expiredAt",
639
- "type": "uint40"
640
- },
641
- {
642
- "internalType": "Timestamp",
643
- "name": "closedAt",
644
- "type": "uint40"
645
- }
646
- ],
647
- "internalType": "struct IBundle.BundleInfo",
648
- "name": "bundle",
649
- "type": "tuple"
483
+ "internalType": "address",
484
+ "name": "account",
485
+ "type": "address"
650
486
  }
651
487
  ],
652
- "name": "createBundle",
488
+ "name": "grantRole",
653
489
  "outputs": [],
654
490
  "stateMutability": "nonpayable",
655
491
  "type": "function"
@@ -657,44 +493,44 @@
657
493
  {
658
494
  "inputs": [
659
495
  {
660
- "internalType": "NftId",
661
- "name": "policyNftId",
662
- "type": "uint96"
496
+ "internalType": "contract InstanceAdmin",
497
+ "name": "instanceAdmin",
498
+ "type": "address"
663
499
  },
664
500
  {
665
- "internalType": "NumberId",
666
- "name": "claimId",
667
- "type": "uint32"
501
+ "internalType": "contract InstanceStore",
502
+ "name": "instanceStore",
503
+ "type": "address"
668
504
  },
669
505
  {
670
- "components": [
671
- {
672
- "internalType": "uint256",
673
- "name": "claimAmount",
674
- "type": "uint256"
675
- },
676
- {
677
- "internalType": "uint256",
678
- "name": "paidAmount",
679
- "type": "uint256"
680
- },
681
- {
682
- "internalType": "bytes",
683
- "name": "data",
684
- "type": "bytes"
685
- },
686
- {
687
- "internalType": "Timestamp",
688
- "name": "closedAt",
689
- "type": "uint40"
690
- }
691
- ],
692
- "internalType": "struct IPolicy.ClaimInfo",
693
- "name": "claim",
694
- "type": "tuple"
506
+ "internalType": "contract BundleSet",
507
+ "name": "bundleManager",
508
+ "type": "address"
509
+ },
510
+ {
511
+ "internalType": "contract InstanceReader",
512
+ "name": "instanceReader",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "internalType": "contract IRegistry",
517
+ "name": "registry",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "internalType": "address",
522
+ "name": "initialOwner",
523
+ "type": "address"
695
524
  }
696
525
  ],
697
- "name": "createClaim",
526
+ "name": "initialize",
527
+ "outputs": [],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "initializeERC165",
698
534
  "outputs": [],
699
535
  "stateMutability": "nonpayable",
700
536
  "type": "function"
@@ -702,74 +538,55 @@
702
538
  {
703
539
  "inputs": [
704
540
  {
705
- "internalType": "RoleId",
706
- "name": "roleId",
707
- "type": "uint64"
541
+ "internalType": "address",
542
+ "name": "initialOwner",
543
+ "type": "address"
708
544
  },
709
545
  {
710
- "internalType": "string",
711
- "name": "name",
712
- "type": "string"
546
+ "internalType": "address",
547
+ "name": "registryAddress",
548
+ "type": "address"
713
549
  }
714
550
  ],
715
- "name": "createCustomRole",
551
+ "name": "initializeNftOwnable",
716
552
  "outputs": [],
717
553
  "stateMutability": "nonpayable",
718
554
  "type": "function"
719
555
  },
720
556
  {
721
557
  "inputs": [
558
+ {
559
+ "internalType": "address",
560
+ "name": "registryAddress",
561
+ "type": "address"
562
+ },
722
563
  {
723
564
  "internalType": "NftId",
724
- "name": "distributionNftId",
565
+ "name": "parentNftId",
725
566
  "type": "uint96"
726
567
  },
727
568
  {
728
- "components": [
729
- {
730
- "internalType": "NftId",
731
- "name": "productNftId",
732
- "type": "uint96"
733
- },
734
- {
735
- "internalType": "contract TokenHandler",
736
- "name": "tokenHandler",
737
- "type": "address"
738
- },
739
- {
740
- "components": [
741
- {
742
- "internalType": "UFixed",
743
- "name": "fractionalFee",
744
- "type": "uint256"
745
- },
746
- {
747
- "internalType": "uint256",
748
- "name": "fixedFee",
749
- "type": "uint256"
750
- }
751
- ],
752
- "internalType": "struct Fee",
753
- "name": "distributionFee",
754
- "type": "tuple"
755
- },
756
- {
757
- "internalType": "bool",
758
- "name": "isIntercepting",
759
- "type": "bool"
760
- },
761
- {
762
- "internalType": "address",
763
- "name": "wallet",
764
- "type": "address"
765
- }
766
- ],
767
- "internalType": "struct ISetup.DistributionSetupInfo",
768
- "name": "setup",
769
- "type": "tuple"
569
+ "internalType": "ObjectType",
570
+ "name": "objectType",
571
+ "type": "uint8"
572
+ },
573
+ {
574
+ "internalType": "bool",
575
+ "name": "isInterceptor",
576
+ "type": "bool"
577
+ },
578
+ {
579
+ "internalType": "address",
580
+ "name": "initialOwner",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "bytes",
585
+ "name": "registryData",
586
+ "type": "bytes"
770
587
  }
771
588
  ],
772
- "name": "createDistributionSetup",
589
+ "name": "initializeRegisterable",
773
590
  "outputs": [],
774
591
  "stateMutability": "nonpayable",
775
592
  "type": "function"
@@ -777,234 +594,56 @@
777
594
  {
778
595
  "inputs": [
779
596
  {
780
- "internalType": "NftId",
781
- "name": "policyNftId",
782
- "type": "uint96"
783
- },
784
- {
785
- "internalType": "NumberId",
786
- "name": "payoutId",
787
- "type": "uint32"
788
- },
789
- {
790
- "components": [
791
- {
792
- "internalType": "NumberId",
793
- "name": "claimId",
794
- "type": "uint32"
795
- },
796
- {
797
- "internalType": "uint256",
798
- "name": "amount",
799
- "type": "uint256"
800
- },
801
- {
802
- "internalType": "bytes",
803
- "name": "data",
804
- "type": "bytes"
805
- },
806
- {
807
- "internalType": "Timestamp",
808
- "name": "paidAt",
809
- "type": "uint40"
810
- }
811
- ],
812
- "internalType": "struct IPolicy.PayoutInfo",
813
- "name": "payout",
814
- "type": "tuple"
597
+ "internalType": "address",
598
+ "name": "registryAddress",
599
+ "type": "address"
815
600
  }
816
601
  ],
817
- "name": "createDistributor",
602
+ "name": "initializeRegistryLinked",
818
603
  "outputs": [],
819
604
  "stateMutability": "nonpayable",
820
605
  "type": "function"
821
606
  },
822
607
  {
823
- "inputs": [
824
- {
825
- "internalType": "NftId",
826
- "name": "policyNftId",
827
- "type": "uint96"
828
- },
829
- {
830
- "internalType": "NumberId",
831
- "name": "payoutId",
832
- "type": "uint32"
833
- },
608
+ "inputs": [],
609
+ "name": "isConsumingScheduledOp",
610
+ "outputs": [
834
611
  {
835
- "components": [
836
- {
837
- "internalType": "NumberId",
838
- "name": "claimId",
839
- "type": "uint32"
840
- },
841
- {
842
- "internalType": "uint256",
843
- "name": "amount",
844
- "type": "uint256"
845
- },
846
- {
847
- "internalType": "bytes",
848
- "name": "data",
849
- "type": "bytes"
850
- },
851
- {
852
- "internalType": "Timestamp",
853
- "name": "paidAt",
854
- "type": "uint40"
855
- }
856
- ],
857
- "internalType": "struct IPolicy.PayoutInfo",
858
- "name": "payout",
859
- "type": "tuple"
612
+ "internalType": "bytes4",
613
+ "name": "",
614
+ "type": "bytes4"
860
615
  }
861
616
  ],
862
- "name": "createDistributorType",
863
- "outputs": [],
864
- "stateMutability": "nonpayable",
617
+ "stateMutability": "view",
865
618
  "type": "function"
866
619
  },
867
620
  {
868
- "inputs": [
621
+ "inputs": [],
622
+ "name": "linkToRegisteredNftId",
623
+ "outputs": [
869
624
  {
870
625
  "internalType": "NftId",
871
- "name": "policyNftId",
626
+ "name": "nftId",
872
627
  "type": "uint96"
873
- },
874
- {
875
- "internalType": "NumberId",
876
- "name": "payoutId",
877
- "type": "uint32"
878
- },
879
- {
880
- "components": [
881
- {
882
- "internalType": "NumberId",
883
- "name": "claimId",
884
- "type": "uint32"
885
- },
886
- {
887
- "internalType": "uint256",
888
- "name": "amount",
889
- "type": "uint256"
890
- },
891
- {
892
- "internalType": "bytes",
893
- "name": "data",
894
- "type": "bytes"
895
- },
896
- {
897
- "internalType": "Timestamp",
898
- "name": "paidAt",
899
- "type": "uint40"
900
- }
901
- ],
902
- "internalType": "struct IPolicy.PayoutInfo",
903
- "name": "payout",
904
- "type": "tuple"
905
628
  }
906
629
  ],
907
- "name": "createPayout",
908
- "outputs": [],
909
630
  "stateMutability": "nonpayable",
910
631
  "type": "function"
911
632
  },
912
633
  {
913
634
  "inputs": [
914
635
  {
915
- "internalType": "NftId",
916
- "name": "policyNftId",
917
- "type": "uint96"
636
+ "internalType": "address",
637
+ "name": "to",
638
+ "type": "address"
918
639
  },
919
640
  {
920
- "components": [
921
- {
922
- "internalType": "NftId",
923
- "name": "productNftId",
924
- "type": "uint96"
925
- },
926
- {
927
- "internalType": "NftId",
928
- "name": "bundleNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "internalType": "ReferralId",
933
- "name": "referralId",
934
- "type": "bytes8"
935
- },
936
- {
937
- "internalType": "RiskId",
938
- "name": "riskId",
939
- "type": "bytes8"
940
- },
941
- {
942
- "internalType": "uint256",
943
- "name": "sumInsuredAmount",
944
- "type": "uint256"
945
- },
946
- {
947
- "internalType": "uint256",
948
- "name": "premiumAmount",
949
- "type": "uint256"
950
- },
951
- {
952
- "internalType": "uint256",
953
- "name": "premiumPaidAmount",
954
- "type": "uint256"
955
- },
956
- {
957
- "internalType": "uint256",
958
- "name": "lifetime",
959
- "type": "uint256"
960
- },
961
- {
962
- "internalType": "bytes",
963
- "name": "applicationData",
964
- "type": "bytes"
965
- },
966
- {
967
- "internalType": "bytes",
968
- "name": "policyData",
969
- "type": "bytes"
970
- },
971
- {
972
- "internalType": "uint16",
973
- "name": "claimsCount",
974
- "type": "uint16"
975
- },
976
- {
977
- "internalType": "uint16",
978
- "name": "openClaimsCount",
979
- "type": "uint16"
980
- },
981
- {
982
- "internalType": "uint256",
983
- "name": "payoutAmount",
984
- "type": "uint256"
985
- },
986
- {
987
- "internalType": "Timestamp",
988
- "name": "activatedAt",
989
- "type": "uint40"
990
- },
991
- {
992
- "internalType": "Timestamp",
993
- "name": "expiredAt",
994
- "type": "uint40"
995
- },
996
- {
997
- "internalType": "Timestamp",
998
- "name": "closedAt",
999
- "type": "uint40"
1000
- }
1001
- ],
1002
- "internalType": "struct IPolicy.PolicyInfo",
1003
- "name": "policy",
1004
- "type": "tuple"
641
+ "internalType": "uint256",
642
+ "name": "tokenId",
643
+ "type": "uint256"
1005
644
  }
1006
645
  ],
1007
- "name": "createPolicy",
646
+ "name": "nftMint",
1008
647
  "outputs": [],
1009
648
  "stateMutability": "nonpayable",
1010
649
  "type": "function"
@@ -1012,252 +651,22 @@
1012
651
  {
1013
652
  "inputs": [
1014
653
  {
1015
- "internalType": "NftId",
1016
- "name": "poolNftId",
1017
- "type": "uint96"
654
+ "internalType": "address",
655
+ "name": "from",
656
+ "type": "address"
1018
657
  },
1019
658
  {
1020
- "components": [
1021
- {
1022
- "internalType": "NftId",
1023
- "name": "productNftId",
1024
- "type": "uint96"
1025
- },
1026
- {
1027
- "internalType": "contract TokenHandler",
1028
- "name": "tokenHandler",
1029
- "type": "address"
1030
- },
1031
- {
1032
- "internalType": "UFixed",
1033
- "name": "collateralizationLevel",
1034
- "type": "uint256"
1035
- },
1036
- {
1037
- "components": [
1038
- {
1039
- "internalType": "UFixed",
1040
- "name": "fractionalFee",
1041
- "type": "uint256"
1042
- },
1043
- {
1044
- "internalType": "uint256",
1045
- "name": "fixedFee",
1046
- "type": "uint256"
1047
- }
1048
- ],
1049
- "internalType": "struct Fee",
1050
- "name": "poolFee",
1051
- "type": "tuple"
1052
- },
1053
- {
1054
- "components": [
1055
- {
1056
- "internalType": "UFixed",
1057
- "name": "fractionalFee",
1058
- "type": "uint256"
1059
- },
1060
- {
1061
- "internalType": "uint256",
1062
- "name": "fixedFee",
1063
- "type": "uint256"
1064
- }
1065
- ],
1066
- "internalType": "struct Fee",
1067
- "name": "stakingFee",
1068
- "type": "tuple"
1069
- },
1070
- {
1071
- "components": [
1072
- {
1073
- "internalType": "UFixed",
1074
- "name": "fractionalFee",
1075
- "type": "uint256"
1076
- },
1077
- {
1078
- "internalType": "uint256",
1079
- "name": "fixedFee",
1080
- "type": "uint256"
1081
- }
1082
- ],
1083
- "internalType": "struct Fee",
1084
- "name": "performanceFee",
1085
- "type": "tuple"
1086
- },
1087
- {
1088
- "internalType": "bool",
1089
- "name": "isIntercepting",
1090
- "type": "bool"
1091
- },
1092
- {
1093
- "internalType": "bool",
1094
- "name": "isConfirmingApplication",
1095
- "type": "bool"
1096
- },
1097
- {
1098
- "internalType": "address",
1099
- "name": "wallet",
1100
- "type": "address"
1101
- }
1102
- ],
1103
- "internalType": "struct ISetup.PoolSetupInfo",
1104
- "name": "setup",
1105
- "type": "tuple"
1106
- }
1107
- ],
1108
- "name": "createPoolSetup",
1109
- "outputs": [],
1110
- "stateMutability": "nonpayable",
1111
- "type": "function"
1112
- },
1113
- {
1114
- "inputs": [
1115
- {
1116
- "internalType": "NftId",
1117
- "name": "productNftId",
1118
- "type": "uint96"
659
+ "internalType": "address",
660
+ "name": "to",
661
+ "type": "address"
1119
662
  },
1120
663
  {
1121
- "components": [
1122
- {
1123
- "internalType": "contract IERC20Metadata",
1124
- "name": "token",
1125
- "type": "address"
1126
- },
1127
- {
1128
- "internalType": "contract TokenHandler",
1129
- "name": "tokenHandler",
1130
- "type": "address"
1131
- },
1132
- {
1133
- "internalType": "NftId",
1134
- "name": "distributionNftId",
1135
- "type": "uint96"
1136
- },
1137
- {
1138
- "internalType": "NftId",
1139
- "name": "poolNftId",
1140
- "type": "uint96"
1141
- },
1142
- {
1143
- "components": [
1144
- {
1145
- "internalType": "UFixed",
1146
- "name": "fractionalFee",
1147
- "type": "uint256"
1148
- },
1149
- {
1150
- "internalType": "uint256",
1151
- "name": "fixedFee",
1152
- "type": "uint256"
1153
- }
1154
- ],
1155
- "internalType": "struct Fee",
1156
- "name": "distributionFee",
1157
- "type": "tuple"
1158
- },
1159
- {
1160
- "components": [
1161
- {
1162
- "internalType": "UFixed",
1163
- "name": "fractionalFee",
1164
- "type": "uint256"
1165
- },
1166
- {
1167
- "internalType": "uint256",
1168
- "name": "fixedFee",
1169
- "type": "uint256"
1170
- }
1171
- ],
1172
- "internalType": "struct Fee",
1173
- "name": "productFee",
1174
- "type": "tuple"
1175
- },
1176
- {
1177
- "components": [
1178
- {
1179
- "internalType": "UFixed",
1180
- "name": "fractionalFee",
1181
- "type": "uint256"
1182
- },
1183
- {
1184
- "internalType": "uint256",
1185
- "name": "fixedFee",
1186
- "type": "uint256"
1187
- }
1188
- ],
1189
- "internalType": "struct Fee",
1190
- "name": "processingFee",
1191
- "type": "tuple"
1192
- },
1193
- {
1194
- "components": [
1195
- {
1196
- "internalType": "UFixed",
1197
- "name": "fractionalFee",
1198
- "type": "uint256"
1199
- },
1200
- {
1201
- "internalType": "uint256",
1202
- "name": "fixedFee",
1203
- "type": "uint256"
1204
- }
1205
- ],
1206
- "internalType": "struct Fee",
1207
- "name": "poolFee",
1208
- "type": "tuple"
1209
- },
1210
- {
1211
- "components": [
1212
- {
1213
- "internalType": "UFixed",
1214
- "name": "fractionalFee",
1215
- "type": "uint256"
1216
- },
1217
- {
1218
- "internalType": "uint256",
1219
- "name": "fixedFee",
1220
- "type": "uint256"
1221
- }
1222
- ],
1223
- "internalType": "struct Fee",
1224
- "name": "stakingFee",
1225
- "type": "tuple"
1226
- },
1227
- {
1228
- "components": [
1229
- {
1230
- "internalType": "UFixed",
1231
- "name": "fractionalFee",
1232
- "type": "uint256"
1233
- },
1234
- {
1235
- "internalType": "uint256",
1236
- "name": "fixedFee",
1237
- "type": "uint256"
1238
- }
1239
- ],
1240
- "internalType": "struct Fee",
1241
- "name": "performanceFee",
1242
- "type": "tuple"
1243
- },
1244
- {
1245
- "internalType": "bool",
1246
- "name": "isIntercepting",
1247
- "type": "bool"
1248
- },
1249
- {
1250
- "internalType": "address",
1251
- "name": "wallet",
1252
- "type": "address"
1253
- }
1254
- ],
1255
- "internalType": "struct ISetup.ProductSetupInfo",
1256
- "name": "setup",
1257
- "type": "tuple"
664
+ "internalType": "uint256",
665
+ "name": "tokenId",
666
+ "type": "uint256"
1258
667
  }
1259
668
  ],
1260
- "name": "createProductSetup",
669
+ "name": "nftTransferFrom",
1261
670
  "outputs": [],
1262
671
  "stateMutability": "nonpayable",
1263
672
  "type": "function"
@@ -1265,44 +674,12 @@
1265
674
  {
1266
675
  "inputs": [
1267
676
  {
1268
- "internalType": "NftId",
1269
- "name": "policyNftId",
677
+ "internalType": "Amount",
678
+ "name": "dipAmount",
1270
679
  "type": "uint96"
1271
- },
1272
- {
1273
- "internalType": "NumberId",
1274
- "name": "payoutId",
1275
- "type": "uint32"
1276
- },
1277
- {
1278
- "components": [
1279
- {
1280
- "internalType": "NumberId",
1281
- "name": "claimId",
1282
- "type": "uint32"
1283
- },
1284
- {
1285
- "internalType": "uint256",
1286
- "name": "amount",
1287
- "type": "uint256"
1288
- },
1289
- {
1290
- "internalType": "bytes",
1291
- "name": "data",
1292
- "type": "bytes"
1293
- },
1294
- {
1295
- "internalType": "Timestamp",
1296
- "name": "paidAt",
1297
- "type": "uint40"
1298
- }
1299
- ],
1300
- "internalType": "struct IPolicy.PayoutInfo",
1301
- "name": "payout",
1302
- "type": "tuple"
1303
680
  }
1304
681
  ],
1305
- "name": "createReferral",
682
+ "name": "refillStakingRewardReserves",
1306
683
  "outputs": [],
1307
684
  "stateMutability": "nonpayable",
1308
685
  "type": "function"
@@ -1310,29 +687,12 @@
1310
687
  {
1311
688
  "inputs": [
1312
689
  {
1313
- "internalType": "RiskId",
1314
- "name": "riskId",
1315
- "type": "bytes8"
1316
- },
1317
- {
1318
- "components": [
1319
- {
1320
- "internalType": "NftId",
1321
- "name": "productNftId",
1322
- "type": "uint96"
1323
- },
1324
- {
1325
- "internalType": "bytes",
1326
- "name": "data",
1327
- "type": "bytes"
1328
- }
1329
- ],
1330
- "internalType": "struct IRisk.RiskInfo",
1331
- "name": "risk",
1332
- "type": "tuple"
690
+ "internalType": "bytes4",
691
+ "name": "interfaceId",
692
+ "type": "bytes4"
1333
693
  }
1334
694
  ],
1335
- "name": "createRisk",
695
+ "name": "registerInterface",
1336
696
  "outputs": [],
1337
697
  "stateMutability": "nonpayable",
1338
698
  "type": "function"
@@ -1345,12 +705,12 @@
1345
705
  "type": "uint64"
1346
706
  },
1347
707
  {
1348
- "internalType": "string",
1349
- "name": "name",
1350
- "type": "string"
708
+ "internalType": "address",
709
+ "name": "account",
710
+ "type": "address"
1351
711
  }
1352
712
  ],
1353
- "name": "createStandardRole",
713
+ "name": "revokeRole",
1354
714
  "outputs": [],
1355
715
  "stateMutability": "nonpayable",
1356
716
  "type": "function"
@@ -1359,28 +719,11 @@
1359
719
  "inputs": [
1360
720
  {
1361
721
  "internalType": "address",
1362
- "name": "target",
722
+ "name": "newAuthority",
1363
723
  "type": "address"
1364
- },
1365
- {
1366
- "components": [
1367
- {
1368
- "internalType": "ShortString",
1369
- "name": "name",
1370
- "type": "bytes32"
1371
- },
1372
- {
1373
- "internalType": "bool",
1374
- "name": "isCustom",
1375
- "type": "bool"
1376
- }
1377
- ],
1378
- "internalType": "struct IAccess.TargetInfo",
1379
- "name": "targetInfo",
1380
- "type": "tuple"
1381
724
  }
1382
725
  ],
1383
- "name": "createTarget",
726
+ "name": "setAuthority",
1384
727
  "outputs": [],
1385
728
  "stateMutability": "nonpayable",
1386
729
  "type": "function"
@@ -1388,207 +731,97 @@
1388
731
  {
1389
732
  "inputs": [
1390
733
  {
1391
- "internalType": "Key32",
1392
- "name": "key32",
1393
- "type": "bytes32"
1394
- }
1395
- ],
1396
- "name": "exists",
1397
- "outputs": [
1398
- {
1399
- "internalType": "bool",
1400
- "name": "",
1401
- "type": "bool"
734
+ "internalType": "contract InstanceReader",
735
+ "name": "instanceReader",
736
+ "type": "address"
1402
737
  }
1403
738
  ],
1404
- "stateMutability": "view",
739
+ "name": "setInstanceReader",
740
+ "outputs": [],
741
+ "stateMutability": "nonpayable",
1405
742
  "type": "function"
1406
743
  },
1407
744
  {
1408
745
  "inputs": [
1409
746
  {
1410
- "internalType": "Key32",
1411
- "name": "key32",
1412
- "type": "bytes32"
1413
- }
1414
- ],
1415
- "name": "get",
1416
- "outputs": [
1417
- {
1418
- "components": [
1419
- {
1420
- "components": [
1421
- {
1422
- "internalType": "ObjectType",
1423
- "name": "objectType",
1424
- "type": "uint8"
1425
- },
1426
- {
1427
- "internalType": "StateId",
1428
- "name": "state",
1429
- "type": "uint8"
1430
- },
1431
- {
1432
- "internalType": "address",
1433
- "name": "updatedBy",
1434
- "type": "address"
1435
- },
1436
- {
1437
- "internalType": "Blocknumber",
1438
- "name": "updatedIn",
1439
- "type": "uint32"
1440
- },
1441
- {
1442
- "internalType": "Blocknumber",
1443
- "name": "createdIn",
1444
- "type": "uint32"
1445
- }
1446
- ],
1447
- "internalType": "struct IKeyValueStore.Metadata",
1448
- "name": "metadata",
1449
- "type": "tuple"
1450
- },
1451
- {
1452
- "internalType": "bytes",
1453
- "name": "data",
1454
- "type": "bytes"
1455
- }
1456
- ],
1457
- "internalType": "struct IKeyValueStore.Value",
1458
- "name": "value",
1459
- "type": "tuple"
747
+ "internalType": "Seconds",
748
+ "name": "stakeLockingPeriod",
749
+ "type": "uint40"
1460
750
  }
1461
751
  ],
1462
- "stateMutability": "view",
752
+ "name": "setStakingLockingPeriod",
753
+ "outputs": [],
754
+ "stateMutability": "nonpayable",
1463
755
  "type": "function"
1464
756
  },
1465
757
  {
1466
- "inputs": [],
1467
- "name": "getComponentOwnerService",
1468
- "outputs": [
758
+ "inputs": [
1469
759
  {
1470
- "internalType": "contract IComponentOwnerService",
1471
- "name": "",
1472
- "type": "address"
760
+ "internalType": "UFixed",
761
+ "name": "rewardRate",
762
+ "type": "uint256"
1473
763
  }
1474
764
  ],
1475
- "stateMutability": "view",
765
+ "name": "setStakingRewardRate",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
1476
768
  "type": "function"
1477
769
  },
1478
770
  {
1479
771
  "inputs": [
1480
772
  {
1481
- "internalType": "Key32",
1482
- "name": "key32",
1483
- "type": "bytes32"
1484
- }
1485
- ],
1486
- "name": "getData",
1487
- "outputs": [
773
+ "internalType": "string",
774
+ "name": "targetName",
775
+ "type": "string"
776
+ },
1488
777
  {
1489
- "internalType": "bytes",
1490
- "name": "data",
1491
- "type": "bytes"
1492
- }
1493
- ],
1494
- "stateMutability": "view",
1495
- "type": "function"
1496
- },
1497
- {
1498
- "inputs": [],
1499
- "name": "getDistributionService",
1500
- "outputs": [
778
+ "internalType": "bytes4[]",
779
+ "name": "selectors",
780
+ "type": "bytes4[]"
781
+ },
1501
782
  {
1502
- "internalType": "contract IDistributionService",
1503
- "name": "",
1504
- "type": "address"
783
+ "internalType": "RoleId",
784
+ "name": "roleId",
785
+ "type": "uint64"
1505
786
  }
1506
787
  ],
1507
- "stateMutability": "view",
788
+ "name": "setTargetFunctionRole",
789
+ "outputs": [],
790
+ "stateMutability": "nonpayable",
1508
791
  "type": "function"
1509
792
  },
1510
793
  {
1511
- "inputs": [],
1512
- "name": "getInitialInfo",
1513
- "outputs": [
794
+ "inputs": [
1514
795
  {
1515
- "components": [
1516
- {
1517
- "internalType": "NftId",
1518
- "name": "nftId",
1519
- "type": "uint96"
1520
- },
1521
- {
1522
- "internalType": "NftId",
1523
- "name": "parentNftId",
1524
- "type": "uint96"
1525
- },
1526
- {
1527
- "internalType": "ObjectType",
1528
- "name": "objectType",
1529
- "type": "uint8"
1530
- },
1531
- {
1532
- "internalType": "bool",
1533
- "name": "isInterceptor",
1534
- "type": "bool"
1535
- },
1536
- {
1537
- "internalType": "address",
1538
- "name": "objectAddress",
1539
- "type": "address"
1540
- },
1541
- {
1542
- "internalType": "address",
1543
- "name": "initialOwner",
1544
- "type": "address"
1545
- },
1546
- {
1547
- "internalType": "bytes",
1548
- "name": "data",
1549
- "type": "bytes"
1550
- }
1551
- ],
1552
- "internalType": "struct IRegistry.ObjectInfo",
1553
- "name": "",
1554
- "type": "tuple"
796
+ "internalType": "address",
797
+ "name": "target",
798
+ "type": "address"
1555
799
  },
1556
800
  {
1557
- "internalType": "bytes",
1558
- "name": "data",
1559
- "type": "bytes"
801
+ "internalType": "bool",
802
+ "name": "locked",
803
+ "type": "bool"
1560
804
  }
1561
805
  ],
1562
- "stateMutability": "view",
806
+ "name": "setTargetLocked",
807
+ "outputs": [],
808
+ "stateMutability": "nonpayable",
1563
809
  "type": "function"
1564
810
  },
1565
811
  {
1566
812
  "inputs": [
1567
813
  {
1568
- "internalType": "ObjectType",
1569
- "name": "objectType",
1570
- "type": "uint8"
1571
- }
1572
- ],
1573
- "name": "getInitialState",
1574
- "outputs": [
1575
- {
1576
- "internalType": "StateId",
1577
- "name": "",
1578
- "type": "uint8"
814
+ "internalType": "bytes4",
815
+ "name": "interfaceId",
816
+ "type": "bytes4"
1579
817
  }
1580
818
  ],
1581
- "stateMutability": "view",
1582
- "type": "function"
1583
- },
1584
- {
1585
- "inputs": [],
1586
- "name": "getInstanceReader",
819
+ "name": "supportsInterface",
1587
820
  "outputs": [
1588
821
  {
1589
- "internalType": "contract InstanceReader",
822
+ "internalType": "bool",
1590
823
  "name": "",
1591
- "type": "address"
824
+ "type": "bool"
1592
825
  }
1593
826
  ],
1594
827
  "stateMutability": "view",
@@ -1597,1984 +830,73 @@
1597
830
  {
1598
831
  "inputs": [
1599
832
  {
1600
- "internalType": "Key32",
1601
- "name": "key32",
1602
- "type": "bytes32"
1603
- }
1604
- ],
1605
- "name": "getMetadata",
1606
- "outputs": [
1607
- {
1608
- "components": [
1609
- {
1610
- "internalType": "ObjectType",
1611
- "name": "objectType",
1612
- "type": "uint8"
1613
- },
1614
- {
1615
- "internalType": "StateId",
1616
- "name": "state",
1617
- "type": "uint8"
1618
- },
1619
- {
1620
- "internalType": "address",
1621
- "name": "updatedBy",
1622
- "type": "address"
1623
- },
1624
- {
1625
- "internalType": "Blocknumber",
1626
- "name": "updatedIn",
1627
- "type": "uint32"
1628
- },
1629
- {
1630
- "internalType": "Blocknumber",
1631
- "name": "createdIn",
1632
- "type": "uint32"
1633
- }
1634
- ],
1635
- "internalType": "struct IKeyValueStore.Metadata",
1636
- "name": "metadata",
1637
- "type": "tuple"
833
+ "internalType": "Amount",
834
+ "name": "dipAmount",
835
+ "type": "uint96"
1638
836
  }
1639
837
  ],
1640
- "stateMutability": "view",
1641
- "type": "function"
1642
- },
1643
- {
1644
- "inputs": [],
1645
- "name": "getNftId",
838
+ "name": "withdrawStakingRewardReserves",
1646
839
  "outputs": [
1647
840
  {
1648
- "internalType": "NftId",
1649
- "name": "",
841
+ "internalType": "Amount",
842
+ "name": "newBalance",
1650
843
  "type": "uint96"
1651
844
  }
1652
845
  ],
1653
- "stateMutability": "view",
846
+ "stateMutability": "nonpayable",
1654
847
  "type": "function"
1655
- },
1656
- {
1657
- "inputs": [],
1658
- "name": "getOwner",
1659
- "outputs": [
848
+ }
849
+ ],
850
+ "bytecode": "0x6080604052348015600e575f80fd5b5061239e8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c80637a9e5e4b1161011f578063bf7e214f116100a9578063d4cda0d811610079578063d4cda0d8146104db578063e52ba1cb146104ec578063e7f7fb86146104ff578063f7bc431c14610512578063f7c34ee014610525575f80fd5b8063bf7e214f14610473578063cc2a9a5b1461047b578063cde749f41461048e578063d2192dbf146104a8575f80fd5b8063ada9652e116100ef578063ada9652e14610418578063b428b0b01461042c578063b7d2b1621461043f578063b7d685191461044d578063bb1e0e5914610460575f80fd5b80637a9e5e4b146103ce57806386892313146103e1578063893d20e8146103ef5780638fb36037146103f7575f80fd5b80632d764ef8116101a05780635ab1bd53116101705780635ab1bd53146103695780635fa8aad41461037a578063644c45e01461038d578063675393bf146103aa5780636dddada4146103bd575f80fd5b80632d764ef81461032a578063311adb681461033d57806336fc697e1461034e5780634f8b8aba14610356575f80fd5b80631eff4b22116101e65780631eff4b22146102b2578063214cdb80146102e75780632781d443146102fc57806327bb7a331461030457806329db8c3d14610317575f80fd5b806301ffc9a71461021757806302cd3071146102585780630fec111c1461027d578063138461e014610292575b5f80fd5b610243610225366004611af1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b610285610538565b60405161024f9190611b4d565b61029a6106f6565b6040516001600160601b03909116815260200161024f565b6102d97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102fa6102f5366004611af1565b610705565b005b6102d9600381565b6102fa610312366004611cad565b610731565b6102fa610325366004611d87565b6107d6565b6102fa610338366004611e30565b61081c565b6003546001600160a01b0316610265565b6102fa6108ba565b6102fa610364366004611e54565b6108ff565b6001546001600160a01b0316610265565b6102fa610388366004611e6f565b6109a7565b5f80516020612329833981519152546001600160601b031661029a565b6102fa6103b8366004611ebb565b6109e6565b6005546001600160a01b0316610265565b6102fa6103dc366004611ebb565b610af1565b6102fa610388366004611ed6565b610265610b73565b6103ff610ca4565b6040516001600160e01b0319909116815260200161024f565b6102d95f8051602061232983398151915281565b6102fa61043a366004611f0d565b610cd9565b6102fa610388366004611f0d565b6102fa61045b366004611f37565b610d55565b6102fa61046e366004611f4e565b610dc1565b610265610e48565b6102fa610489366004611f78565b610e63565b6104966112fb565b60405160ff909116815260200161024f565b6104bb6104b6366004611ff6565b61136f565b604080516001600160401b0393841681529290911660208301520161024f565b6006546001600160a01b0316610265565b61029a6104fa366004611e54565b6113b3565b6102fa61050d366004612043565b61146b565b6102fa610520366004611ebb565b6114f7565b6102fa610533366004612081565b6115b7565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060c919061209d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610654610b73565b6001600160a01b03168152602001826001018054610671906120b8565b80601f016020809104026020016040519081016040528092919081815260200182805461069d906120b8565b80156106e85780601f106106bf576101008083540402835291602001916106e8565b820191905f5260205f20905b8154815290600101906020018083116106cb57829003601f168201915b505050505081525091505090565b5f6107003061162d565b905090565b61070d611826565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610739611826565b61074382876115b7565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107cc8382612134565b5050505050505050565b6107de610b73565b6001600160a01b0316336001600160a01b0316146108165760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b610824610b73565b6001600160a01b0316336001600160a01b0316146108575760405163086391f760e31b815233600482015260240161080d565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b1580156108a1575f80fd5b505af11580156108b3573d5f803e3d5ffd5b5050505050565b6108c2611826565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610907610b73565b6001600160a01b0316336001600160a01b03161461093a5760405163086391f760e31b815233600482015260240161080d565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b15801561098d575f80fd5b505af115801561099f573d5f803e3d5ffd5b505050505050565b6109af610b73565b6001600160a01b0316336001600160a01b0316146109e25760405163086391f760e31b815233600482015260240161080d565b5050565b6109ee611826565b806001600160a01b03163b5f03610a235760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610a9d575060408051601f3d908101601f19168201909252610a9a918101906121ee565b60015b610ac55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b806109e25760405163fdeac91f60e01b81526001600160a01b038316600482015260240161080d565b50565b33610afa610e48565b6001600160a01b0316816001600160a01b031614610b355760405162d1953b60e31b81526001600160a01b038216600482015260240161080d565b816001600160a01b03163b5f03610b6a576040516361798f2f60e11b81526001600160a01b038316600482015260240161080d565b6109e282611871565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0391906121ee565b15610c8e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190612209565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061234983398151915280545f9190600160a01b900460ff16610ccb575f610c88565b638fb3603760e01b91505090565b610ce1610b73565b6001600160a01b0316336001600160a01b031614610d145760405163086391f760e31b815233600482015260240161080d565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b090604401610976565b610d5d610b73565b6001600160a01b0316336001600160a01b031614610d905760405163086391f760e31b815233600482015260240161080d565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161088a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2c9190612209565b6001600160a01b0316336001600160a01b0316146109e2575f80fd5b5f80516020612349833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ea75750825b90505f826001600160401b03166001148015610ec25750303b155b905081158015610ed0575080155b15610eee5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f1857845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f959190612209565b6001600160a01b031603610fbc576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b8152905161102e926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015611005573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110299190612209565b6118d1565b6110ab87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611092919061209d565b600a60018a60405180602001604052805f815250610731565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015611118575f80fd5b505af115801561112a573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561117a575f80fd5b505af115801561118c573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b1580156111d1575f80fd5b505af11580156111e3573d5f803e3d5ffd5b505050506111f96001546001600160a01b031690565b6001600160a01b031663d39e6043600a6112116112fb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611254573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112789190612209565b600280546001600160a01b0319166001600160a01b03929092169190911790556112a8632b1cb34b60e11b610705565b83156112ee57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561134b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107009190612224565b5f80611379610b73565b6001600160a01b0316336001600160a01b0316146113ac5760405163086391f760e31b815233600482015260240161080d565b9250929050565b5f6113bc610b73565b6001600160a01b0316336001600160a01b0316146113ef5760405163086391f760e31b815233600482015260240161080d565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af115801561143f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611463919061209d565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d69190612209565b6001600160a01b0316336001600160a01b0316146114f2575f80fd5b505050565b611502335f366118e2565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156c9190612209565b6001600160a01b031614611595576040516345789cf560e01b815230600482015260240161080d565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6115bf611826565b6115c8816109e6565b6115d06108ba565b6001600160a01b0382166115f75760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061232983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116bd91906121ee565b156116e95780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161080d565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561173b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175f91906121ee565b6117875760405163b9304b0d60e01b81526001600160a01b038416600482015260240161080d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156117d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117fd919061209d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b565b5f8051602061234983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6118d9611826565b610aee816119d8565b5f805160206123498339815191525f8061191a6118fd610e48565b873061190c60045f8a8c61223f565b61191591612266565b6119e9565b915091508161099f5763ffffffff8116156119b557825460ff60a01b1916600160a01b178355611948610e48565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119779392919061229e565b5f604051808303815f87803b15801561198e575f80fd5b505af11580156119a0573d5f803e3d5ffd5b5050845460ff60a01b191685555061099f9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161080d565b6119e0611826565b610aee81611871565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a5791906122dd565b5f60405180830381855afa9150503d805f8114611a8f576040519150601f19603f3d011682016040523d82523d5f602084013e611a94565b606091505b50915091508115611ae6576040815110611ac65780806020019051810190611abc91906122f3565b9094509250611ae6565b6020815110611ae65780806020019051810190611ae391906121ee565b93505b505094509492505050565b5f60208284031215611b01575f80fd5b81356001600160e01b031981168114611b18575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b95608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611bd9610100840182611b1f565b949350505050565b6001600160a01b0381168114610aee575f80fd5b6001600160601b0381168114610aee575f80fd5b60ff81168114610aee575f80fd5b8015158114610aee575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f806001600160401b03841115611c5157611c51611c24565b50604051601f19601f85018116603f011681018181106001600160401b0382111715611c7f57611c7f611c24565b604052838152905080828401851015611c96575f80fd5b838360208301375f60208583010152509392505050565b5f805f805f8060c08789031215611cc2575f80fd5b8635611ccd81611be1565b95506020870135611cdd81611bf5565b94506040870135611ced81611c09565b93506060870135611cfd81611c17565b92506080870135611d0d81611be1565b915060a08701356001600160401b03811115611d27575f80fd5b8701601f81018913611d37575f80fd5b611d4689823560208401611c38565b9150509295509295509295565b5f82601f830112611d62575f80fd5b611b1883833560208501611c38565b80356001600160401b0381168114611466575f80fd5b5f805f8060608587031215611d9a575f80fd5b84356001600160401b03811115611daf575f80fd5b611dbb87828801611d53565b94505060208501356001600160401b03811115611dd6575f80fd5b8501601f81018713611de6575f80fd5b80356001600160401b03811115611dfb575f80fd5b8760208260051b8401011115611e0f575f80fd5b60209190910193509150611e2560408601611d71565b905092959194509250565b5f60208284031215611e40575f80fd5b813564ffffffffff81168114611b18575f80fd5b5f60208284031215611e64575f80fd5b8135611b1881611bf5565b5f8060408385031215611e80575f80fd5b8235611e8b81611be1565b915060208301356001600160401b03811115611ea5575f80fd5b611eb185828601611d53565b9150509250929050565b5f60208284031215611ecb575f80fd5b8135611b1881611be1565b5f8060408385031215611ee7575f80fd5b8235611ef281611be1565b91506020830135611f0281611c17565b809150509250929050565b5f8060408385031215611f1e575f80fd5b611f2783611d71565b91506020830135611f0281611be1565b5f60208284031215611f47575f80fd5b5035919050565b5f8060408385031215611f5f575f80fd5b8235611f6a81611be1565b946020939093013593505050565b5f805f805f8060c08789031215611f8d575f80fd5b8635611f9881611be1565b95506020870135611fa881611be1565b94506040870135611fb881611be1565b93506060870135611fc881611be1565b92506080870135611fd881611be1565b915060a0870135611fe881611be1565b809150509295509295509295565b5f8060408385031215612007575f80fd5b82356001600160401b0381111561201c575f80fd5b61202885828601611d53565b92505060208301356001600160401b03811115611ea5575f80fd5b5f805f60608486031215612055575f80fd5b833561206081611be1565b9250602084013561207081611be1565b929592945050506040919091013590565b5f8060408385031215612092575f80fd5b8235611f2781611be1565b5f602082840312156120ad575f80fd5b8151611b1881611bf5565b600181811c908216806120cc57607f821691505b6020821081036120ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156114f257805f5260205f20601f840160051c810160208510156121155750805b601f840160051c820191505b818110156108b3575f8155600101612121565b81516001600160401b0381111561214d5761214d611c24565b6121618161215b84546120b8565b846120f0565b6020601f821160018114612193575f831561217c5750848201515b5f19600385901b1c1916600184901b1784556108b3565b5f84815260208120601f198516915b828110156121c257878501518255602094850194600190920191016121a2565b50848210156121df57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156121fe575f80fd5b8151611b1881611c17565b5f60208284031215612219575f80fd5b8151611b1881611be1565b5f60208284031215612234575f80fd5b8151611b1881611c09565b5f808585111561224d575f80fd5b83861115612259575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612297576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612304575f80fd5b825161230f81611c17565b602084015190925063ffffffff81168114611f02575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d716f1de7eef4f304d3967d88a2e2471a8dcd288b5b6872d864c9900e77b0c7e64736f6c634300081a0033",
851
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c80637a9e5e4b1161011f578063bf7e214f116100a9578063d4cda0d811610079578063d4cda0d8146104db578063e52ba1cb146104ec578063e7f7fb86146104ff578063f7bc431c14610512578063f7c34ee014610525575f80fd5b8063bf7e214f14610473578063cc2a9a5b1461047b578063cde749f41461048e578063d2192dbf146104a8575f80fd5b8063ada9652e116100ef578063ada9652e14610418578063b428b0b01461042c578063b7d2b1621461043f578063b7d685191461044d578063bb1e0e5914610460575f80fd5b80637a9e5e4b146103ce57806386892313146103e1578063893d20e8146103ef5780638fb36037146103f7575f80fd5b80632d764ef8116101a05780635ab1bd53116101705780635ab1bd53146103695780635fa8aad41461037a578063644c45e01461038d578063675393bf146103aa5780636dddada4146103bd575f80fd5b80632d764ef81461032a578063311adb681461033d57806336fc697e1461034e5780634f8b8aba14610356575f80fd5b80631eff4b22116101e65780631eff4b22146102b2578063214cdb80146102e75780632781d443146102fc57806327bb7a331461030457806329db8c3d14610317575f80fd5b806301ffc9a71461021757806302cd3071146102585780630fec111c1461027d578063138461e014610292575b5f80fd5b610243610225366004611af1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b610285610538565b60405161024f9190611b4d565b61029a6106f6565b6040516001600160601b03909116815260200161024f565b6102d97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102fa6102f5366004611af1565b610705565b005b6102d9600381565b6102fa610312366004611cad565b610731565b6102fa610325366004611d87565b6107d6565b6102fa610338366004611e30565b61081c565b6003546001600160a01b0316610265565b6102fa6108ba565b6102fa610364366004611e54565b6108ff565b6001546001600160a01b0316610265565b6102fa610388366004611e6f565b6109a7565b5f80516020612329833981519152546001600160601b031661029a565b6102fa6103b8366004611ebb565b6109e6565b6005546001600160a01b0316610265565b6102fa6103dc366004611ebb565b610af1565b6102fa610388366004611ed6565b610265610b73565b6103ff610ca4565b6040516001600160e01b0319909116815260200161024f565b6102d95f8051602061232983398151915281565b6102fa61043a366004611f0d565b610cd9565b6102fa610388366004611f0d565b6102fa61045b366004611f37565b610d55565b6102fa61046e366004611f4e565b610dc1565b610265610e48565b6102fa610489366004611f78565b610e63565b6104966112fb565b60405160ff909116815260200161024f565b6104bb6104b6366004611ff6565b61136f565b604080516001600160401b0393841681529290911660208301520161024f565b6006546001600160a01b0316610265565b61029a6104fa366004611e54565b6113b3565b6102fa61050d366004612043565b61146b565b6102fa610520366004611ebb565b6114f7565b6102fa610533366004612081565b6115b7565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060c919061209d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610654610b73565b6001600160a01b03168152602001826001018054610671906120b8565b80601f016020809104026020016040519081016040528092919081815260200182805461069d906120b8565b80156106e85780601f106106bf576101008083540402835291602001916106e8565b820191905f5260205f20905b8154815290600101906020018083116106cb57829003601f168201915b505050505081525091505090565b5f6107003061162d565b905090565b61070d611826565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610739611826565b61074382876115b7565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107cc8382612134565b5050505050505050565b6107de610b73565b6001600160a01b0316336001600160a01b0316146108165760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b610824610b73565b6001600160a01b0316336001600160a01b0316146108575760405163086391f760e31b815233600482015260240161080d565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b1580156108a1575f80fd5b505af11580156108b3573d5f803e3d5ffd5b5050505050565b6108c2611826565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610907610b73565b6001600160a01b0316336001600160a01b03161461093a5760405163086391f760e31b815233600482015260240161080d565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b15801561098d575f80fd5b505af115801561099f573d5f803e3d5ffd5b505050505050565b6109af610b73565b6001600160a01b0316336001600160a01b0316146109e25760405163086391f760e31b815233600482015260240161080d565b5050565b6109ee611826565b806001600160a01b03163b5f03610a235760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610a9d575060408051601f3d908101601f19168201909252610a9a918101906121ee565b60015b610ac55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b806109e25760405163fdeac91f60e01b81526001600160a01b038316600482015260240161080d565b50565b33610afa610e48565b6001600160a01b0316816001600160a01b031614610b355760405162d1953b60e31b81526001600160a01b038216600482015260240161080d565b816001600160a01b03163b5f03610b6a576040516361798f2f60e11b81526001600160a01b038316600482015260240161080d565b6109e282611871565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0391906121ee565b15610c8e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190612209565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061234983398151915280545f9190600160a01b900460ff16610ccb575f610c88565b638fb3603760e01b91505090565b610ce1610b73565b6001600160a01b0316336001600160a01b031614610d145760405163086391f760e31b815233600482015260240161080d565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b090604401610976565b610d5d610b73565b6001600160a01b0316336001600160a01b031614610d905760405163086391f760e31b815233600482015260240161080d565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161088a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2c9190612209565b6001600160a01b0316336001600160a01b0316146109e2575f80fd5b5f80516020612349833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ea75750825b90505f826001600160401b03166001148015610ec25750303b155b905081158015610ed0575080155b15610eee5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f1857845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f959190612209565b6001600160a01b031603610fbc576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b8152905161102e926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015611005573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110299190612209565b6118d1565b6110ab87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611092919061209d565b600a60018a60405180602001604052805f815250610731565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015611118575f80fd5b505af115801561112a573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561117a575f80fd5b505af115801561118c573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b1580156111d1575f80fd5b505af11580156111e3573d5f803e3d5ffd5b505050506111f96001546001600160a01b031690565b6001600160a01b031663d39e6043600a6112116112fb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611254573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112789190612209565b600280546001600160a01b0319166001600160a01b03929092169190911790556112a8632b1cb34b60e11b610705565b83156112ee57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561134b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107009190612224565b5f80611379610b73565b6001600160a01b0316336001600160a01b0316146113ac5760405163086391f760e31b815233600482015260240161080d565b9250929050565b5f6113bc610b73565b6001600160a01b0316336001600160a01b0316146113ef5760405163086391f760e31b815233600482015260240161080d565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af115801561143f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611463919061209d565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d69190612209565b6001600160a01b0316336001600160a01b0316146114f2575f80fd5b505050565b611502335f366118e2565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156c9190612209565b6001600160a01b031614611595576040516345789cf560e01b815230600482015260240161080d565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6115bf611826565b6115c8816109e6565b6115d06108ba565b6001600160a01b0382166115f75760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061232983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116bd91906121ee565b156116e95780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161080d565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561173b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175f91906121ee565b6117875760405163b9304b0d60e01b81526001600160a01b038416600482015260240161080d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156117d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117fd919061209d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b565b5f8051602061234983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6118d9611826565b610aee816119d8565b5f805160206123498339815191525f8061191a6118fd610e48565b873061190c60045f8a8c61223f565b61191591612266565b6119e9565b915091508161099f5763ffffffff8116156119b557825460ff60a01b1916600160a01b178355611948610e48565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119779392919061229e565b5f604051808303815f87803b15801561198e575f80fd5b505af11580156119a0573d5f803e3d5ffd5b5050845460ff60a01b191685555061099f9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161080d565b6119e0611826565b610aee81611871565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a5791906122dd565b5f60405180830381855afa9150503d805f8114611a8f576040519150601f19603f3d011682016040523d82523d5f602084013e611a94565b606091505b50915091508115611ae6576040815110611ac65780806020019051810190611abc91906122f3565b9094509250611ae6565b6020815110611ae65780806020019051810190611ae391906121ee565b93505b505094509492505050565b5f60208284031215611b01575f80fd5b81356001600160e01b031981168114611b18575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b95608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611bd9610100840182611b1f565b949350505050565b6001600160a01b0381168114610aee575f80fd5b6001600160601b0381168114610aee575f80fd5b60ff81168114610aee575f80fd5b8015158114610aee575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f806001600160401b03841115611c5157611c51611c24565b50604051601f19601f85018116603f011681018181106001600160401b0382111715611c7f57611c7f611c24565b604052838152905080828401851015611c96575f80fd5b838360208301375f60208583010152509392505050565b5f805f805f8060c08789031215611cc2575f80fd5b8635611ccd81611be1565b95506020870135611cdd81611bf5565b94506040870135611ced81611c09565b93506060870135611cfd81611c17565b92506080870135611d0d81611be1565b915060a08701356001600160401b03811115611d27575f80fd5b8701601f81018913611d37575f80fd5b611d4689823560208401611c38565b9150509295509295509295565b5f82601f830112611d62575f80fd5b611b1883833560208501611c38565b80356001600160401b0381168114611466575f80fd5b5f805f8060608587031215611d9a575f80fd5b84356001600160401b03811115611daf575f80fd5b611dbb87828801611d53565b94505060208501356001600160401b03811115611dd6575f80fd5b8501601f81018713611de6575f80fd5b80356001600160401b03811115611dfb575f80fd5b8760208260051b8401011115611e0f575f80fd5b60209190910193509150611e2560408601611d71565b905092959194509250565b5f60208284031215611e40575f80fd5b813564ffffffffff81168114611b18575f80fd5b5f60208284031215611e64575f80fd5b8135611b1881611bf5565b5f8060408385031215611e80575f80fd5b8235611e8b81611be1565b915060208301356001600160401b03811115611ea5575f80fd5b611eb185828601611d53565b9150509250929050565b5f60208284031215611ecb575f80fd5b8135611b1881611be1565b5f8060408385031215611ee7575f80fd5b8235611ef281611be1565b91506020830135611f0281611c17565b809150509250929050565b5f8060408385031215611f1e575f80fd5b611f2783611d71565b91506020830135611f0281611be1565b5f60208284031215611f47575f80fd5b5035919050565b5f8060408385031215611f5f575f80fd5b8235611f6a81611be1565b946020939093013593505050565b5f805f805f8060c08789031215611f8d575f80fd5b8635611f9881611be1565b95506020870135611fa881611be1565b94506040870135611fb881611be1565b93506060870135611fc881611be1565b92506080870135611fd881611be1565b915060a0870135611fe881611be1565b809150509295509295509295565b5f8060408385031215612007575f80fd5b82356001600160401b0381111561201c575f80fd5b61202885828601611d53565b92505060208301356001600160401b03811115611ea5575f80fd5b5f805f60608486031215612055575f80fd5b833561206081611be1565b9250602084013561207081611be1565b929592945050506040919091013590565b5f8060408385031215612092575f80fd5b8235611f2781611be1565b5f602082840312156120ad575f80fd5b8151611b1881611bf5565b600181811c908216806120cc57607f821691505b6020821081036120ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156114f257805f5260205f20601f840160051c810160208510156121155750805b601f840160051c820191505b818110156108b3575f8155600101612121565b81516001600160401b0381111561214d5761214d611c24565b6121618161215b84546120b8565b846120f0565b6020601f821160018114612193575f831561217c5750848201515b5f19600385901b1c1916600184901b1784556108b3565b5f84815260208120601f198516915b828110156121c257878501518255602094850194600190920191016121a2565b50848210156121df57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156121fe575f80fd5b8151611b1881611c17565b5f60208284031215612219575f80fd5b8151611b1881611be1565b5f60208284031215612234575f80fd5b8151611b1881611c09565b5f808585111561224d575f80fd5b83861115612259575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612297576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612304575f80fd5b825161230f81611c17565b602084015190925063ffffffff81168114611f02575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d716f1de7eef4f304d3967d88a2e2471a8dcd288b5b6872d864c9900e77b0c7e64736f6c634300081a0033",
852
+ "linkReferences": {
853
+ "contracts/type/NftId.sol": {
854
+ "NftIdLib": [
1660
855
  {
1661
- "internalType": "address",
1662
- "name": "",
1663
- "type": "address"
1664
- }
1665
- ],
1666
- "stateMutability": "view",
1667
- "type": "function"
1668
- },
1669
- {
1670
- "inputs": [],
1671
- "name": "getPoolService",
1672
- "outputs": [
856
+ "length": 20,
857
+ "start": 1471
858
+ },
1673
859
  {
1674
- "internalType": "contract IPoolService",
1675
- "name": "",
1676
- "type": "address"
1677
- }
1678
- ],
1679
- "stateMutability": "view",
1680
- "type": "function"
1681
- },
1682
- {
1683
- "inputs": [],
1684
- "name": "getProductService",
1685
- "outputs": [
860
+ "length": 20,
861
+ "start": 3011
862
+ },
1686
863
  {
1687
- "internalType": "contract IProductService",
1688
- "name": "",
1689
- "type": "address"
864
+ "length": 20,
865
+ "start": 5757
1690
866
  }
1691
- ],
1692
- "stateMutability": "view",
1693
- "type": "function"
867
+ ]
1694
868
  },
1695
- {
1696
- "inputs": [],
1697
- "name": "getRegistry",
1698
- "outputs": [
869
+ "contracts/type/Version.sol": {
870
+ "VersionPartLib": [
1699
871
  {
1700
- "internalType": "contract IRegistry",
1701
- "name": "",
1702
- "type": "address"
872
+ "length": 20,
873
+ "start": 4911
1703
874
  }
1704
- ],
1705
- "stateMutability": "view",
1706
- "type": "function"
1707
- },
1708
- {
1709
- "inputs": [
1710
- {
1711
- "internalType": "RoleId",
1712
- "name": "roleId",
1713
- "type": "uint64"
1714
- }
1715
- ],
1716
- "name": "getRole",
1717
- "outputs": [
1718
- {
1719
- "components": [
1720
- {
1721
- "internalType": "ShortString",
1722
- "name": "name",
1723
- "type": "bytes32"
1724
- },
1725
- {
1726
- "internalType": "bool",
1727
- "name": "isCustom",
1728
- "type": "bool"
1729
- }
1730
- ],
1731
- "internalType": "struct IAccess.RoleInfo",
1732
- "name": "role",
1733
- "type": "tuple"
1734
- }
1735
- ],
1736
- "stateMutability": "view",
1737
- "type": "function"
1738
- },
1739
- {
1740
- "inputs": [
1741
- {
1742
- "internalType": "uint256",
1743
- "name": "idx",
1744
- "type": "uint256"
1745
- }
1746
- ],
1747
- "name": "getRoleId",
1748
- "outputs": [
1749
- {
1750
- "internalType": "RoleId",
1751
- "name": "roleId",
1752
- "type": "uint64"
1753
- }
1754
- ],
1755
- "stateMutability": "view",
1756
- "type": "function"
1757
- },
1758
- {
1759
- "inputs": [
1760
- {
1761
- "internalType": "RoleId",
1762
- "name": "roleId",
1763
- "type": "uint64"
1764
- },
1765
- {
1766
- "internalType": "uint256",
1767
- "name": "idx",
1768
- "type": "uint256"
1769
- }
1770
- ],
1771
- "name": "getRoleMember",
1772
- "outputs": [
1773
- {
1774
- "internalType": "address",
1775
- "name": "roleMember",
1776
- "type": "address"
1777
- }
1778
- ],
1779
- "stateMutability": "view",
1780
- "type": "function"
1781
- },
1782
- {
1783
- "inputs": [
1784
- {
1785
- "internalType": "Key32",
1786
- "name": "key32",
1787
- "type": "bytes32"
1788
- }
1789
- ],
1790
- "name": "getState",
1791
- "outputs": [
1792
- {
1793
- "internalType": "StateId",
1794
- "name": "state",
1795
- "type": "uint8"
1796
- }
1797
- ],
1798
- "stateMutability": "view",
1799
- "type": "function"
1800
- },
1801
- {
1802
- "inputs": [
1803
- {
1804
- "internalType": "RoleId",
1805
- "name": "roleId",
1806
- "type": "uint64"
1807
- },
1808
- {
1809
- "internalType": "address",
1810
- "name": "member",
1811
- "type": "address"
1812
- }
1813
- ],
1814
- "name": "grantRole",
1815
- "outputs": [
1816
- {
1817
- "internalType": "bool",
1818
- "name": "granted",
1819
- "type": "bool"
1820
- }
1821
- ],
1822
- "stateMutability": "nonpayable",
1823
- "type": "function"
1824
- },
1825
- {
1826
- "inputs": [
1827
- {
1828
- "internalType": "ObjectType",
1829
- "name": "objectType",
1830
- "type": "uint8"
1831
- }
1832
- ],
1833
- "name": "hasLifecycle",
1834
- "outputs": [
1835
- {
1836
- "internalType": "bool",
1837
- "name": "",
1838
- "type": "bool"
1839
- }
1840
- ],
1841
- "stateMutability": "view",
1842
- "type": "function"
1843
- },
1844
- {
1845
- "inputs": [
1846
- {
1847
- "internalType": "address",
1848
- "name": "accessManagerAddress",
1849
- "type": "address"
1850
- },
1851
- {
1852
- "internalType": "address",
1853
- "name": "registryAddress",
1854
- "type": "address"
1855
- },
1856
- {
1857
- "internalType": "NftId",
1858
- "name": "registryNftId",
1859
- "type": "uint96"
1860
- },
1861
- {
1862
- "internalType": "address",
1863
- "name": "initialOwner",
1864
- "type": "address"
1865
- }
1866
- ],
1867
- "name": "initialize",
1868
- "outputs": [],
1869
- "stateMutability": "nonpayable",
1870
- "type": "function"
1871
- },
1872
- {
1873
- "inputs": [],
1874
- "name": "isConsumingScheduledOp",
1875
- "outputs": [
1876
- {
1877
- "internalType": "bytes4",
1878
- "name": "",
1879
- "type": "bytes4"
1880
- }
1881
- ],
1882
- "stateMutability": "view",
1883
- "type": "function"
1884
- },
1885
- {
1886
- "inputs": [
1887
- {
1888
- "internalType": "ObjectType",
1889
- "name": "objectType",
1890
- "type": "uint8"
1891
- },
1892
- {
1893
- "internalType": "StateId",
1894
- "name": "fromId",
1895
- "type": "uint8"
1896
- },
1897
- {
1898
- "internalType": "StateId",
1899
- "name": "toId",
1900
- "type": "uint8"
1901
- }
1902
- ],
1903
- "name": "isValidTransition",
1904
- "outputs": [
1905
- {
1906
- "internalType": "bool",
1907
- "name": "",
1908
- "type": "bool"
1909
- }
1910
- ],
1911
- "stateMutability": "view",
1912
- "type": "function"
1913
- },
1914
- {
1915
- "inputs": [],
1916
- "name": "linkToRegisteredNftId",
1917
- "outputs": [],
1918
- "stateMutability": "nonpayable",
1919
- "type": "function"
1920
- },
1921
- {
1922
- "inputs": [
1923
- {
1924
- "internalType": "RoleId",
1925
- "name": "roleId",
1926
- "type": "uint64"
1927
- }
1928
- ],
1929
- "name": "renounceRole",
1930
- "outputs": [
1931
- {
1932
- "internalType": "bool",
1933
- "name": "revoked",
1934
- "type": "bool"
1935
- }
1936
- ],
1937
- "stateMutability": "nonpayable",
1938
- "type": "function"
1939
- },
1940
- {
1941
- "inputs": [
1942
- {
1943
- "internalType": "RoleId",
1944
- "name": "roleId",
1945
- "type": "uint64"
1946
- },
1947
- {
1948
- "internalType": "address",
1949
- "name": "member",
1950
- "type": "address"
1951
- }
1952
- ],
1953
- "name": "revokeRole",
1954
- "outputs": [
1955
- {
1956
- "internalType": "bool",
1957
- "name": "revoked",
1958
- "type": "bool"
1959
- }
1960
- ],
1961
- "stateMutability": "nonpayable",
1962
- "type": "function"
1963
- },
1964
- {
1965
- "inputs": [
1966
- {
1967
- "internalType": "RoleId",
1968
- "name": "roleId",
1969
- "type": "uint64"
1970
- }
1971
- ],
1972
- "name": "roleMembers",
1973
- "outputs": [
1974
- {
1975
- "internalType": "uint256",
1976
- "name": "numberOfMembers",
1977
- "type": "uint256"
1978
- }
1979
- ],
1980
- "stateMutability": "view",
1981
- "type": "function"
1982
- },
1983
- {
1984
- "inputs": [],
1985
- "name": "roles",
1986
- "outputs": [
1987
- {
1988
- "internalType": "uint256",
1989
- "name": "numberOfRoles",
1990
- "type": "uint256"
1991
- }
1992
- ],
1993
- "stateMutability": "view",
1994
- "type": "function"
1995
- },
1996
- {
1997
- "inputs": [
1998
- {
1999
- "internalType": "address",
2000
- "name": "newAuthority",
2001
- "type": "address"
2002
- }
2003
- ],
2004
- "name": "setAuthority",
2005
- "outputs": [],
2006
- "stateMutability": "nonpayable",
2007
- "type": "function"
2008
- },
2009
- {
2010
- "inputs": [
2011
- {
2012
- "internalType": "contract InstanceReader",
2013
- "name": "instanceReader",
2014
- "type": "address"
2015
- }
2016
- ],
2017
- "name": "setInstanceReader",
2018
- "outputs": [],
2019
- "stateMutability": "nonpayable",
2020
- "type": "function"
2021
- },
2022
- {
2023
- "inputs": [
2024
- {
2025
- "internalType": "address",
2026
- "name": "target",
2027
- "type": "address"
2028
- },
2029
- {
2030
- "internalType": "bool",
2031
- "name": "closed",
2032
- "type": "bool"
2033
- }
2034
- ],
2035
- "name": "setTargetClosed",
2036
- "outputs": [],
2037
- "stateMutability": "nonpayable",
2038
- "type": "function"
2039
- },
2040
- {
2041
- "inputs": [
2042
- {
2043
- "internalType": "bytes4",
2044
- "name": "interfaceId",
2045
- "type": "bytes4"
2046
- }
2047
- ],
2048
- "name": "supportsInterface",
2049
- "outputs": [
2050
- {
2051
- "internalType": "bool",
2052
- "name": "",
2053
- "type": "bool"
2054
- }
2055
- ],
2056
- "stateMutability": "view",
2057
- "type": "function"
2058
- },
2059
- {
2060
- "inputs": [
2061
- {
2062
- "internalType": "NftId",
2063
- "name": "bundleNftId",
2064
- "type": "uint96"
2065
- }
2066
- ],
2067
- "name": "toBundleKey32",
2068
- "outputs": [
2069
- {
2070
- "internalType": "Key32",
2071
- "name": "",
2072
- "type": "bytes32"
2073
- }
2074
- ],
2075
- "stateMutability": "pure",
2076
- "type": "function"
2077
- },
2078
- {
2079
- "inputs": [
2080
- {
2081
- "internalType": "ObjectType",
2082
- "name": "objectType",
2083
- "type": "uint8"
2084
- },
2085
- {
2086
- "internalType": "KeyId",
2087
- "name": "id",
2088
- "type": "bytes31"
2089
- }
2090
- ],
2091
- "name": "toKey32",
2092
- "outputs": [
2093
- {
2094
- "internalType": "Key32",
2095
- "name": "",
2096
- "type": "bytes32"
2097
- }
2098
- ],
2099
- "stateMutability": "pure",
2100
- "type": "function"
2101
- },
2102
- {
2103
- "inputs": [
2104
- {
2105
- "internalType": "NftId",
2106
- "name": "policyNftId",
2107
- "type": "uint96"
2108
- }
2109
- ],
2110
- "name": "toPolicyKey32",
2111
- "outputs": [
2112
- {
2113
- "internalType": "Key32",
2114
- "name": "",
2115
- "type": "bytes32"
2116
- }
2117
- ],
2118
- "stateMutability": "pure",
2119
- "type": "function"
2120
- },
2121
- {
2122
- "inputs": [
2123
- {
2124
- "internalType": "RoleId",
2125
- "name": "roleId",
2126
- "type": "uint64"
2127
- }
2128
- ],
2129
- "name": "toRoleKey32",
2130
- "outputs": [
2131
- {
2132
- "internalType": "Key32",
2133
- "name": "",
2134
- "type": "bytes32"
2135
- }
2136
- ],
2137
- "stateMutability": "pure",
2138
- "type": "function"
2139
- },
2140
- {
2141
- "inputs": [
2142
- {
2143
- "internalType": "address",
2144
- "name": "target",
2145
- "type": "address"
2146
- }
2147
- ],
2148
- "name": "toTargetKey32",
2149
- "outputs": [
2150
- {
2151
- "internalType": "Key32",
2152
- "name": "",
2153
- "type": "bytes32"
2154
- }
2155
- ],
2156
- "stateMutability": "pure",
2157
- "type": "function"
2158
- },
2159
- {
2160
- "inputs": [
2161
- {
2162
- "internalType": "NftId",
2163
- "name": "bundleNftId",
2164
- "type": "uint96"
2165
- },
2166
- {
2167
- "components": [
2168
- {
2169
- "internalType": "NftId",
2170
- "name": "poolNftId",
2171
- "type": "uint96"
2172
- },
2173
- {
2174
- "components": [
2175
- {
2176
- "internalType": "UFixed",
2177
- "name": "fractionalFee",
2178
- "type": "uint256"
2179
- },
2180
- {
2181
- "internalType": "uint256",
2182
- "name": "fixedFee",
2183
- "type": "uint256"
2184
- }
2185
- ],
2186
- "internalType": "struct Fee",
2187
- "name": "fee",
2188
- "type": "tuple"
2189
- },
2190
- {
2191
- "internalType": "bytes",
2192
- "name": "filter",
2193
- "type": "bytes"
2194
- },
2195
- {
2196
- "internalType": "uint256",
2197
- "name": "capitalAmount",
2198
- "type": "uint256"
2199
- },
2200
- {
2201
- "internalType": "uint256",
2202
- "name": "lockedAmount",
2203
- "type": "uint256"
2204
- },
2205
- {
2206
- "internalType": "uint256",
2207
- "name": "balanceAmount",
2208
- "type": "uint256"
2209
- },
2210
- {
2211
- "internalType": "uint256",
2212
- "name": "lifetime",
2213
- "type": "uint256"
2214
- },
2215
- {
2216
- "internalType": "Timestamp",
2217
- "name": "expiredAt",
2218
- "type": "uint40"
2219
- },
2220
- {
2221
- "internalType": "Timestamp",
2222
- "name": "closedAt",
2223
- "type": "uint40"
2224
- }
2225
- ],
2226
- "internalType": "struct IBundle.BundleInfo",
2227
- "name": "bundle",
2228
- "type": "tuple"
2229
- },
2230
- {
2231
- "internalType": "StateId",
2232
- "name": "newState",
2233
- "type": "uint8"
2234
- }
2235
- ],
2236
- "name": "updateBundle",
2237
- "outputs": [],
2238
- "stateMutability": "nonpayable",
2239
- "type": "function"
2240
- },
2241
- {
2242
- "inputs": [
2243
- {
2244
- "internalType": "NftId",
2245
- "name": "bundleNftId",
2246
- "type": "uint96"
2247
- },
2248
- {
2249
- "internalType": "StateId",
2250
- "name": "newState",
2251
- "type": "uint8"
2252
- }
2253
- ],
2254
- "name": "updateBundleState",
2255
- "outputs": [],
2256
- "stateMutability": "nonpayable",
2257
- "type": "function"
2258
- },
2259
- {
2260
- "inputs": [
2261
- {
2262
- "internalType": "NftId",
2263
- "name": "policyNftId",
2264
- "type": "uint96"
2265
- },
2266
- {
2267
- "internalType": "NumberId",
2268
- "name": "claimId",
2269
- "type": "uint32"
2270
- },
2271
- {
2272
- "components": [
2273
- {
2274
- "internalType": "uint256",
2275
- "name": "claimAmount",
2276
- "type": "uint256"
2277
- },
2278
- {
2279
- "internalType": "uint256",
2280
- "name": "paidAmount",
2281
- "type": "uint256"
2282
- },
2283
- {
2284
- "internalType": "bytes",
2285
- "name": "data",
2286
- "type": "bytes"
2287
- },
2288
- {
2289
- "internalType": "Timestamp",
2290
- "name": "closedAt",
2291
- "type": "uint40"
2292
- }
2293
- ],
2294
- "internalType": "struct IPolicy.ClaimInfo",
2295
- "name": "claim",
2296
- "type": "tuple"
2297
- },
2298
- {
2299
- "internalType": "StateId",
2300
- "name": "newState",
2301
- "type": "uint8"
2302
- }
2303
- ],
2304
- "name": "updateClaim",
2305
- "outputs": [],
2306
- "stateMutability": "nonpayable",
2307
- "type": "function"
2308
- },
2309
- {
2310
- "inputs": [
2311
- {
2312
- "internalType": "NftId",
2313
- "name": "policyNftId",
2314
- "type": "uint96"
2315
- },
2316
- {
2317
- "internalType": "NumberId",
2318
- "name": "payoutId",
2319
- "type": "uint32"
2320
- },
2321
- {
2322
- "components": [
2323
- {
2324
- "internalType": "NumberId",
2325
- "name": "claimId",
2326
- "type": "uint32"
2327
- },
2328
- {
2329
- "internalType": "uint256",
2330
- "name": "amount",
2331
- "type": "uint256"
2332
- },
2333
- {
2334
- "internalType": "bytes",
2335
- "name": "data",
2336
- "type": "bytes"
2337
- },
2338
- {
2339
- "internalType": "Timestamp",
2340
- "name": "paidAt",
2341
- "type": "uint40"
2342
- }
2343
- ],
2344
- "internalType": "struct IPolicy.PayoutInfo",
2345
- "name": "payout",
2346
- "type": "tuple"
2347
- },
2348
- {
2349
- "internalType": "StateId",
2350
- "name": "newState",
2351
- "type": "uint8"
2352
- }
2353
- ],
2354
- "name": "updateClaim",
2355
- "outputs": [],
2356
- "stateMutability": "nonpayable",
2357
- "type": "function"
2358
- },
2359
- {
2360
- "inputs": [
2361
- {
2362
- "internalType": "NftId",
2363
- "name": "policyNftId",
2364
- "type": "uint96"
2365
- },
2366
- {
2367
- "internalType": "StateId",
2368
- "name": "newState",
2369
- "type": "uint8"
2370
- }
2371
- ],
2372
- "name": "updateClaimState",
2373
- "outputs": [],
2374
- "stateMutability": "nonpayable",
2375
- "type": "function"
2376
- },
2377
- {
2378
- "inputs": [
2379
- {
2380
- "internalType": "NftId",
2381
- "name": "distributionNftId",
2382
- "type": "uint96"
2383
- },
2384
- {
2385
- "components": [
2386
- {
2387
- "internalType": "NftId",
2388
- "name": "productNftId",
2389
- "type": "uint96"
2390
- },
2391
- {
2392
- "internalType": "contract TokenHandler",
2393
- "name": "tokenHandler",
2394
- "type": "address"
2395
- },
2396
- {
2397
- "components": [
2398
- {
2399
- "internalType": "UFixed",
2400
- "name": "fractionalFee",
2401
- "type": "uint256"
2402
- },
2403
- {
2404
- "internalType": "uint256",
2405
- "name": "fixedFee",
2406
- "type": "uint256"
2407
- }
2408
- ],
2409
- "internalType": "struct Fee",
2410
- "name": "distributionFee",
2411
- "type": "tuple"
2412
- },
2413
- {
2414
- "internalType": "bool",
2415
- "name": "isIntercepting",
2416
- "type": "bool"
2417
- },
2418
- {
2419
- "internalType": "address",
2420
- "name": "wallet",
2421
- "type": "address"
2422
- }
2423
- ],
2424
- "internalType": "struct ISetup.DistributionSetupInfo",
2425
- "name": "setup",
2426
- "type": "tuple"
2427
- },
2428
- {
2429
- "internalType": "StateId",
2430
- "name": "newState",
2431
- "type": "uint8"
2432
- }
2433
- ],
2434
- "name": "updateDistributionSetup",
2435
- "outputs": [],
2436
- "stateMutability": "nonpayable",
2437
- "type": "function"
2438
- },
2439
- {
2440
- "inputs": [
2441
- {
2442
- "internalType": "NftId",
2443
- "name": "distributionNftId",
2444
- "type": "uint96"
2445
- },
2446
- {
2447
- "internalType": "StateId",
2448
- "name": "newState",
2449
- "type": "uint8"
2450
- }
2451
- ],
2452
- "name": "updateDistributionSetupState",
2453
- "outputs": [],
2454
- "stateMutability": "nonpayable",
2455
- "type": "function"
2456
- },
2457
- {
2458
- "inputs": [
2459
- {
2460
- "internalType": "NftId",
2461
- "name": "policyNftId",
2462
- "type": "uint96"
2463
- },
2464
- {
2465
- "internalType": "NumberId",
2466
- "name": "payoutId",
2467
- "type": "uint32"
2468
- },
2469
- {
2470
- "components": [
2471
- {
2472
- "internalType": "NumberId",
2473
- "name": "claimId",
2474
- "type": "uint32"
2475
- },
2476
- {
2477
- "internalType": "uint256",
2478
- "name": "amount",
2479
- "type": "uint256"
2480
- },
2481
- {
2482
- "internalType": "bytes",
2483
- "name": "data",
2484
- "type": "bytes"
2485
- },
2486
- {
2487
- "internalType": "Timestamp",
2488
- "name": "paidAt",
2489
- "type": "uint40"
2490
- }
2491
- ],
2492
- "internalType": "struct IPolicy.PayoutInfo",
2493
- "name": "payout",
2494
- "type": "tuple"
2495
- },
2496
- {
2497
- "internalType": "StateId",
2498
- "name": "newState",
2499
- "type": "uint8"
2500
- }
2501
- ],
2502
- "name": "updateDistributor",
2503
- "outputs": [],
2504
- "stateMutability": "nonpayable",
2505
- "type": "function"
2506
- },
2507
- {
2508
- "inputs": [
2509
- {
2510
- "internalType": "NftId",
2511
- "name": "policyNftId",
2512
- "type": "uint96"
2513
- },
2514
- {
2515
- "internalType": "StateId",
2516
- "name": "newState",
2517
- "type": "uint8"
2518
- }
2519
- ],
2520
- "name": "updateDistributorState",
2521
- "outputs": [],
2522
- "stateMutability": "nonpayable",
2523
- "type": "function"
2524
- },
2525
- {
2526
- "inputs": [
2527
- {
2528
- "internalType": "NftId",
2529
- "name": "policyNftId",
2530
- "type": "uint96"
2531
- },
2532
- {
2533
- "internalType": "NumberId",
2534
- "name": "payoutId",
2535
- "type": "uint32"
2536
- },
2537
- {
2538
- "components": [
2539
- {
2540
- "internalType": "NumberId",
2541
- "name": "claimId",
2542
- "type": "uint32"
2543
- },
2544
- {
2545
- "internalType": "uint256",
2546
- "name": "amount",
2547
- "type": "uint256"
2548
- },
2549
- {
2550
- "internalType": "bytes",
2551
- "name": "data",
2552
- "type": "bytes"
2553
- },
2554
- {
2555
- "internalType": "Timestamp",
2556
- "name": "paidAt",
2557
- "type": "uint40"
2558
- }
2559
- ],
2560
- "internalType": "struct IPolicy.PayoutInfo",
2561
- "name": "payout",
2562
- "type": "tuple"
2563
- },
2564
- {
2565
- "internalType": "StateId",
2566
- "name": "newState",
2567
- "type": "uint8"
2568
- }
2569
- ],
2570
- "name": "updateDistributorType",
2571
- "outputs": [],
2572
- "stateMutability": "nonpayable",
2573
- "type": "function"
2574
- },
2575
- {
2576
- "inputs": [
2577
- {
2578
- "internalType": "NftId",
2579
- "name": "policyNftId",
2580
- "type": "uint96"
2581
- },
2582
- {
2583
- "internalType": "StateId",
2584
- "name": "newState",
2585
- "type": "uint8"
2586
- }
2587
- ],
2588
- "name": "updateDistributorTypeState",
2589
- "outputs": [],
2590
- "stateMutability": "nonpayable",
2591
- "type": "function"
2592
- },
2593
- {
2594
- "inputs": [
2595
- {
2596
- "internalType": "NftId",
2597
- "name": "policyNftId",
2598
- "type": "uint96"
2599
- },
2600
- {
2601
- "internalType": "StateId",
2602
- "name": "newState",
2603
- "type": "uint8"
2604
- }
2605
- ],
2606
- "name": "updatePayoutState",
2607
- "outputs": [],
2608
- "stateMutability": "nonpayable",
2609
- "type": "function"
2610
- },
2611
- {
2612
- "inputs": [
2613
- {
2614
- "internalType": "NftId",
2615
- "name": "policyNftId",
2616
- "type": "uint96"
2617
- },
2618
- {
2619
- "components": [
2620
- {
2621
- "internalType": "NftId",
2622
- "name": "productNftId",
2623
- "type": "uint96"
2624
- },
2625
- {
2626
- "internalType": "NftId",
2627
- "name": "bundleNftId",
2628
- "type": "uint96"
2629
- },
2630
- {
2631
- "internalType": "ReferralId",
2632
- "name": "referralId",
2633
- "type": "bytes8"
2634
- },
2635
- {
2636
- "internalType": "RiskId",
2637
- "name": "riskId",
2638
- "type": "bytes8"
2639
- },
2640
- {
2641
- "internalType": "uint256",
2642
- "name": "sumInsuredAmount",
2643
- "type": "uint256"
2644
- },
2645
- {
2646
- "internalType": "uint256",
2647
- "name": "premiumAmount",
2648
- "type": "uint256"
2649
- },
2650
- {
2651
- "internalType": "uint256",
2652
- "name": "premiumPaidAmount",
2653
- "type": "uint256"
2654
- },
2655
- {
2656
- "internalType": "uint256",
2657
- "name": "lifetime",
2658
- "type": "uint256"
2659
- },
2660
- {
2661
- "internalType": "bytes",
2662
- "name": "applicationData",
2663
- "type": "bytes"
2664
- },
2665
- {
2666
- "internalType": "bytes",
2667
- "name": "policyData",
2668
- "type": "bytes"
2669
- },
2670
- {
2671
- "internalType": "uint16",
2672
- "name": "claimsCount",
2673
- "type": "uint16"
2674
- },
2675
- {
2676
- "internalType": "uint16",
2677
- "name": "openClaimsCount",
2678
- "type": "uint16"
2679
- },
2680
- {
2681
- "internalType": "uint256",
2682
- "name": "payoutAmount",
2683
- "type": "uint256"
2684
- },
2685
- {
2686
- "internalType": "Timestamp",
2687
- "name": "activatedAt",
2688
- "type": "uint40"
2689
- },
2690
- {
2691
- "internalType": "Timestamp",
2692
- "name": "expiredAt",
2693
- "type": "uint40"
2694
- },
2695
- {
2696
- "internalType": "Timestamp",
2697
- "name": "closedAt",
2698
- "type": "uint40"
2699
- }
2700
- ],
2701
- "internalType": "struct IPolicy.PolicyInfo",
2702
- "name": "policy",
2703
- "type": "tuple"
2704
- },
2705
- {
2706
- "internalType": "StateId",
2707
- "name": "newState",
2708
- "type": "uint8"
2709
- }
2710
- ],
2711
- "name": "updatePolicy",
2712
- "outputs": [],
2713
- "stateMutability": "nonpayable",
2714
- "type": "function"
2715
- },
2716
- {
2717
- "inputs": [
2718
- {
2719
- "internalType": "NftId",
2720
- "name": "policyNftId",
2721
- "type": "uint96"
2722
- },
2723
- {
2724
- "internalType": "StateId",
2725
- "name": "newState",
2726
- "type": "uint8"
2727
- }
2728
- ],
2729
- "name": "updatePolicyState",
2730
- "outputs": [],
2731
- "stateMutability": "nonpayable",
2732
- "type": "function"
2733
- },
2734
- {
2735
- "inputs": [
2736
- {
2737
- "internalType": "NftId",
2738
- "name": "poolNftId",
2739
- "type": "uint96"
2740
- },
2741
- {
2742
- "components": [
2743
- {
2744
- "internalType": "NftId",
2745
- "name": "productNftId",
2746
- "type": "uint96"
2747
- },
2748
- {
2749
- "internalType": "contract TokenHandler",
2750
- "name": "tokenHandler",
2751
- "type": "address"
2752
- },
2753
- {
2754
- "internalType": "UFixed",
2755
- "name": "collateralizationLevel",
2756
- "type": "uint256"
2757
- },
2758
- {
2759
- "components": [
2760
- {
2761
- "internalType": "UFixed",
2762
- "name": "fractionalFee",
2763
- "type": "uint256"
2764
- },
2765
- {
2766
- "internalType": "uint256",
2767
- "name": "fixedFee",
2768
- "type": "uint256"
2769
- }
2770
- ],
2771
- "internalType": "struct Fee",
2772
- "name": "poolFee",
2773
- "type": "tuple"
2774
- },
2775
- {
2776
- "components": [
2777
- {
2778
- "internalType": "UFixed",
2779
- "name": "fractionalFee",
2780
- "type": "uint256"
2781
- },
2782
- {
2783
- "internalType": "uint256",
2784
- "name": "fixedFee",
2785
- "type": "uint256"
2786
- }
2787
- ],
2788
- "internalType": "struct Fee",
2789
- "name": "stakingFee",
2790
- "type": "tuple"
2791
- },
2792
- {
2793
- "components": [
2794
- {
2795
- "internalType": "UFixed",
2796
- "name": "fractionalFee",
2797
- "type": "uint256"
2798
- },
2799
- {
2800
- "internalType": "uint256",
2801
- "name": "fixedFee",
2802
- "type": "uint256"
2803
- }
2804
- ],
2805
- "internalType": "struct Fee",
2806
- "name": "performanceFee",
2807
- "type": "tuple"
2808
- },
2809
- {
2810
- "internalType": "bool",
2811
- "name": "isIntercepting",
2812
- "type": "bool"
2813
- },
2814
- {
2815
- "internalType": "bool",
2816
- "name": "isConfirmingApplication",
2817
- "type": "bool"
2818
- },
2819
- {
2820
- "internalType": "address",
2821
- "name": "wallet",
2822
- "type": "address"
2823
- }
2824
- ],
2825
- "internalType": "struct ISetup.PoolSetupInfo",
2826
- "name": "setup",
2827
- "type": "tuple"
2828
- },
2829
- {
2830
- "internalType": "StateId",
2831
- "name": "newState",
2832
- "type": "uint8"
2833
- }
2834
- ],
2835
- "name": "updatePoolSetup",
2836
- "outputs": [],
2837
- "stateMutability": "nonpayable",
2838
- "type": "function"
2839
- },
2840
- {
2841
- "inputs": [
2842
- {
2843
- "internalType": "NftId",
2844
- "name": "poolNftId",
2845
- "type": "uint96"
2846
- },
2847
- {
2848
- "internalType": "StateId",
2849
- "name": "newState",
2850
- "type": "uint8"
2851
- }
2852
- ],
2853
- "name": "updatePoolSetupState",
2854
- "outputs": [],
2855
- "stateMutability": "nonpayable",
2856
- "type": "function"
2857
- },
2858
- {
2859
- "inputs": [
2860
- {
2861
- "internalType": "NftId",
2862
- "name": "productNftId",
2863
- "type": "uint96"
2864
- },
2865
- {
2866
- "components": [
2867
- {
2868
- "internalType": "contract IERC20Metadata",
2869
- "name": "token",
2870
- "type": "address"
2871
- },
2872
- {
2873
- "internalType": "contract TokenHandler",
2874
- "name": "tokenHandler",
2875
- "type": "address"
2876
- },
2877
- {
2878
- "internalType": "NftId",
2879
- "name": "distributionNftId",
2880
- "type": "uint96"
2881
- },
2882
- {
2883
- "internalType": "NftId",
2884
- "name": "poolNftId",
2885
- "type": "uint96"
2886
- },
2887
- {
2888
- "components": [
2889
- {
2890
- "internalType": "UFixed",
2891
- "name": "fractionalFee",
2892
- "type": "uint256"
2893
- },
2894
- {
2895
- "internalType": "uint256",
2896
- "name": "fixedFee",
2897
- "type": "uint256"
2898
- }
2899
- ],
2900
- "internalType": "struct Fee",
2901
- "name": "distributionFee",
2902
- "type": "tuple"
2903
- },
2904
- {
2905
- "components": [
2906
- {
2907
- "internalType": "UFixed",
2908
- "name": "fractionalFee",
2909
- "type": "uint256"
2910
- },
2911
- {
2912
- "internalType": "uint256",
2913
- "name": "fixedFee",
2914
- "type": "uint256"
2915
- }
2916
- ],
2917
- "internalType": "struct Fee",
2918
- "name": "productFee",
2919
- "type": "tuple"
2920
- },
2921
- {
2922
- "components": [
2923
- {
2924
- "internalType": "UFixed",
2925
- "name": "fractionalFee",
2926
- "type": "uint256"
2927
- },
2928
- {
2929
- "internalType": "uint256",
2930
- "name": "fixedFee",
2931
- "type": "uint256"
2932
- }
2933
- ],
2934
- "internalType": "struct Fee",
2935
- "name": "processingFee",
2936
- "type": "tuple"
2937
- },
2938
- {
2939
- "components": [
2940
- {
2941
- "internalType": "UFixed",
2942
- "name": "fractionalFee",
2943
- "type": "uint256"
2944
- },
2945
- {
2946
- "internalType": "uint256",
2947
- "name": "fixedFee",
2948
- "type": "uint256"
2949
- }
2950
- ],
2951
- "internalType": "struct Fee",
2952
- "name": "poolFee",
2953
- "type": "tuple"
2954
- },
2955
- {
2956
- "components": [
2957
- {
2958
- "internalType": "UFixed",
2959
- "name": "fractionalFee",
2960
- "type": "uint256"
2961
- },
2962
- {
2963
- "internalType": "uint256",
2964
- "name": "fixedFee",
2965
- "type": "uint256"
2966
- }
2967
- ],
2968
- "internalType": "struct Fee",
2969
- "name": "stakingFee",
2970
- "type": "tuple"
2971
- },
2972
- {
2973
- "components": [
2974
- {
2975
- "internalType": "UFixed",
2976
- "name": "fractionalFee",
2977
- "type": "uint256"
2978
- },
2979
- {
2980
- "internalType": "uint256",
2981
- "name": "fixedFee",
2982
- "type": "uint256"
2983
- }
2984
- ],
2985
- "internalType": "struct Fee",
2986
- "name": "performanceFee",
2987
- "type": "tuple"
2988
- },
2989
- {
2990
- "internalType": "bool",
2991
- "name": "isIntercepting",
2992
- "type": "bool"
2993
- },
2994
- {
2995
- "internalType": "address",
2996
- "name": "wallet",
2997
- "type": "address"
2998
- }
2999
- ],
3000
- "internalType": "struct ISetup.ProductSetupInfo",
3001
- "name": "setup",
3002
- "type": "tuple"
3003
- },
3004
- {
3005
- "internalType": "StateId",
3006
- "name": "newState",
3007
- "type": "uint8"
3008
- }
3009
- ],
3010
- "name": "updateProductSetup",
3011
- "outputs": [],
3012
- "stateMutability": "nonpayable",
3013
- "type": "function"
3014
- },
3015
- {
3016
- "inputs": [
3017
- {
3018
- "internalType": "NftId",
3019
- "name": "productNftId",
3020
- "type": "uint96"
3021
- },
3022
- {
3023
- "internalType": "StateId",
3024
- "name": "newState",
3025
- "type": "uint8"
3026
- }
3027
- ],
3028
- "name": "updateProductSetupState",
3029
- "outputs": [],
3030
- "stateMutability": "nonpayable",
3031
- "type": "function"
3032
- },
3033
- {
3034
- "inputs": [
3035
- {
3036
- "internalType": "NftId",
3037
- "name": "policyNftId",
3038
- "type": "uint96"
3039
- },
3040
- {
3041
- "internalType": "NumberId",
3042
- "name": "payoutId",
3043
- "type": "uint32"
3044
- },
3045
- {
3046
- "components": [
3047
- {
3048
- "internalType": "NumberId",
3049
- "name": "claimId",
3050
- "type": "uint32"
3051
- },
3052
- {
3053
- "internalType": "uint256",
3054
- "name": "amount",
3055
- "type": "uint256"
3056
- },
3057
- {
3058
- "internalType": "bytes",
3059
- "name": "data",
3060
- "type": "bytes"
3061
- },
3062
- {
3063
- "internalType": "Timestamp",
3064
- "name": "paidAt",
3065
- "type": "uint40"
3066
- }
3067
- ],
3068
- "internalType": "struct IPolicy.PayoutInfo",
3069
- "name": "payout",
3070
- "type": "tuple"
3071
- },
3072
- {
3073
- "internalType": "StateId",
3074
- "name": "newState",
3075
- "type": "uint8"
3076
- }
3077
- ],
3078
- "name": "updateReferral",
3079
- "outputs": [],
3080
- "stateMutability": "nonpayable",
3081
- "type": "function"
3082
- },
3083
- {
3084
- "inputs": [
3085
- {
3086
- "internalType": "NftId",
3087
- "name": "policyNftId",
3088
- "type": "uint96"
3089
- },
3090
- {
3091
- "internalType": "StateId",
3092
- "name": "newState",
3093
- "type": "uint8"
3094
- }
3095
- ],
3096
- "name": "updateReferralState",
3097
- "outputs": [],
3098
- "stateMutability": "nonpayable",
3099
- "type": "function"
3100
- },
3101
- {
3102
- "inputs": [
3103
- {
3104
- "internalType": "RiskId",
3105
- "name": "riskId",
3106
- "type": "bytes8"
3107
- },
3108
- {
3109
- "components": [
3110
- {
3111
- "internalType": "NftId",
3112
- "name": "productNftId",
3113
- "type": "uint96"
3114
- },
3115
- {
3116
- "internalType": "bytes",
3117
- "name": "data",
3118
- "type": "bytes"
3119
- }
3120
- ],
3121
- "internalType": "struct IRisk.RiskInfo",
3122
- "name": "risk",
3123
- "type": "tuple"
3124
- },
3125
- {
3126
- "internalType": "StateId",
3127
- "name": "newState",
3128
- "type": "uint8"
3129
- }
3130
- ],
3131
- "name": "updateRisk",
3132
- "outputs": [],
3133
- "stateMutability": "nonpayable",
3134
- "type": "function"
3135
- },
3136
- {
3137
- "inputs": [
3138
- {
3139
- "internalType": "RiskId",
3140
- "name": "riskId",
3141
- "type": "bytes8"
3142
- },
3143
- {
3144
- "internalType": "StateId",
3145
- "name": "newState",
3146
- "type": "uint8"
3147
- }
3148
- ],
3149
- "name": "updateRiskState",
3150
- "outputs": [],
3151
- "stateMutability": "nonpayable",
3152
- "type": "function"
3153
- },
3154
- {
3155
- "inputs": [
3156
- {
3157
- "internalType": "RoleId",
3158
- "name": "roleId",
3159
- "type": "uint64"
3160
- },
3161
- {
3162
- "internalType": "string",
3163
- "name": "name",
3164
- "type": "string"
3165
- },
3166
- {
3167
- "internalType": "StateId",
3168
- "name": "newState",
3169
- "type": "uint8"
3170
- }
3171
- ],
3172
- "name": "updateRole",
3173
- "outputs": [],
3174
- "stateMutability": "nonpayable",
3175
- "type": "function"
3176
- },
3177
- {
3178
- "inputs": [
3179
- {
3180
- "internalType": "RoleId",
3181
- "name": "roleId",
3182
- "type": "uint64"
3183
- },
3184
- {
3185
- "internalType": "StateId",
3186
- "name": "newState",
3187
- "type": "uint8"
3188
- }
3189
- ],
3190
- "name": "updateRoleState",
3191
- "outputs": [],
3192
- "stateMutability": "nonpayable",
3193
- "type": "function"
3194
- }
3195
- ],
3196
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620074a6380380620074a6833981016040819052620000349162001867565b6200003e620000cd565b6200004862000284565b62000052620003be565b6200005c6200062b565b6200009e6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b600680546001600160a01b03191633908117909155620000c49084908490849062000772565b50505062001bc6565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200011460dc90565b60ff1660ff16815260200190815260200160002060006200013a620009dc60201b60201c565b60ff1660ff168152602001908152602001600020600062000160620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200019460dc90565b60ff1660ff1681526020019081526020016000206000620001ba620009e160201b60201c565b60ff1660ff1681526020019081526020016000206000620001e0620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200021460dc90565b60ff1660ff16815260200190815260200160002060006200023a620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009e660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a9062000318606e90565b60ff1660ff16815260200190815260200160002060006200033e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060029062000372606490565b60ff1660ff168152602001908152602001600020600062000398620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009eb60201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200040560d290565b60ff1660ff16815260200190815260200160002060006200042b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000451620009f560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200048560d290565b60ff1660ff1681526020019081526020016000206000620004ab620009f060201b60201c565b60ff1660ff1681526020019081526020016000206000620004d1620009fa60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200050560d290565b60ff1660ff16815260200190815260200160002060006200052b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000551620009ff60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200058560d290565b60ff1660ff1681526020019081526020016000206000620005ab620009ff60201b60201c565b60ff1660ff1681526020019081526020016000206000620005d1620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200060560d290565b60ff1660ff16815260200190815260200160002060006200023a620009dc60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff19166064179055906002906200067260c890565b60ff1660ff168152602001908152602001600020600062000698620009dc60201b60201c565b60ff1660ff1681526020019081526020016000206000620006be620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620006f260c890565b60ff1660ff168152602001908152602001600020600062000718620009e160201b60201c565b60ff1660ff16815260200190815260200160002060006200073e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200037260c890565b600654600160a01b900460ff1615620007e95760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b620007f48462000a04565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152620008b49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000865573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200088b9190620018c1565b60408051808201909152600981526841646d696e526f6c6560b81b602082015260008062000a7f565b6040516368aebf7b60e01b81526001600160401b036004820152620009609073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000910573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009369190620018c1565b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015260008062000a7f565b62000987838360466000856040518060200160405280600081525062000b6560201b60201c565b63aa67ed7b60e01b60005260046020527fb16bc835f846f1d28fffeb0fafc27765664f7efbddd96debd87d86e46639d088805460ff1916600117905550506006805460ff60a01b1916600160a01b1790555050565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b60005460ff161562000a645760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401620007e0565b62000a6f8162000c78565b506000805460ff19166001179055565b801562000a965762000a9384848462000cd4565b50505b600062000aa585858562000f5e565b8051600090815260076020526040812080546001600160401b0319166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a928302199093169102179055905062000b5e62000b2f8662000f9a565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262001022565b5050505050565b62000ba76301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b62000bb3828762001032565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000c32838262001998565b506303fb044760e21b60005260046020527f91a409085efa2cad9dad64790cb14ef1d9b61e9173e901d74242d27ef0ced4a1805460ff1916600117905550505050505050565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000808062000ce38662000f9a565b905062000cf081620010b0565b9250821562000d255762000d04816200113e565b80602001905181019062000d19919062001a75565b60200151915062000d29565b8391505b856001600160401b038116158062000d4957506001600160401b03818116145b1562000d745760405163981bf42160e01b81526001600160401b0388166004820152602401620007e0565b82801562000d8c57506127106001600160401b038216105b1562000db757604051633119b9df60e21b81526001600160401b0388166004820152602401620007e0565b82801562000dd057506127106001600160401b03821610155b1562000dfb5760405163094fb39160e01b81526001600160401b0388166004820152602401620007e0565b600062000e0887620011eb565b905062000e15816200122e565b60000362000e42576040516321ab17ab60e01b81526001600160401b0389166004820152602401620007e0565b60008181526007602090815260409182902054825163bc1b392d60e01b8152925162000ee9936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000eb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ed79190620018c1565b6001600160401b039081169116141590565b801562000f1057506000818152600760205260409020546001600160401b03898116911614155b1562000f535760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401620007e0565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000f8685620011eb565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000ff6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001ace565b92915050565b6200102e828262001257565b5050565b6001600160a01b0382166200108a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620007e0565b600680546001600160a01b0319166001600160a01b0384161790556200102e816200168f565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801562001118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001ae8565b6000818152600360205260409020600101805460609190620011609062001909565b80601f01602080910402602001604051908101604052809291908181526020018280546200118e9062001909565b8015620011df5780601f10620011b357610100808354040283529160200191620011df565b820191906000526020600020905b815481529060010190602001808311620011c157829003601f168201915b50505050509050919050565b600080829050601f8151111562001219578260405163305a27a960e01b8152600401620007e0919062001b06565b8051620012268262001b56565b179392505050565b600060ff8216601f8111156200101c57604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620012ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012d1919062001b7b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801562001327573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200134d919062001ae8565b6200139b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401620007e0565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801562001405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200142b919062001ae8565b620014795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401620007e0565b334360006200148885620017fc565b62001495576064620014ab565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010162001537878262001998565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620015ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015d1919062001b7b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801562001622573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001648919062001ba0565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b6005546001600160a01b031615620016ca5760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620007e0565b6001600160a01b038116620016f25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200172a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620017a7575060408051601f3d908101601f19168201909252620017a49181019062001ae8565b60015b620017d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b806200102e5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007e0565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401620010fa565b80516001600160a01b03811681146200186257600080fd5b919050565b6000806000606084860312156200187d57600080fd5b62001888846200184a565b925062001898602085016200184a565b60408501519092506001600160601b0381168114620018b657600080fd5b809150509250925092565b600060208284031215620018d457600080fd5b81516001600160401b0381168114620018ec57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200191e57607f821691505b6020821081036200193f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200199357600081815260208120601f850160051c810160208610156200196e5750805b601f850160051c820191505b818110156200198f578281556001016200197a565b5050505b505050565b81516001600160401b03811115620019b457620019b4620018f3565b620019cc81620019c5845462001909565b8462001945565b602080601f83116001811462001a045760008415620019eb5750858301515b600019600386901b1c1916600185901b1785556200198f565b600085815260208120601f198616915b8281101562001a355788860151825594840194600190910190840162001a14565b508582101562001a545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805180151581146200186257600080fd5b60006040828403121562001a8857600080fd5b604080519081016001600160401b038111828210171562001aad5762001aad620018f3565b6040528251815262001ac26020840162001a64565b60208201529392505050565b60006020828403121562001ae157600080fd5b5051919050565b60006020828403121562001afb57600080fd5b620018ec8262001a64565b600060208083528351808285015260005b8181101562001b355785810183015185820160400152820162001b17565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200193f5760001960209190910360031b1b16919050565b60006020828403121562001b8e57600080fd5b815160ff81168114620018ec57600080fd5b60006020828403121562001bb357600080fd5b815160ff1981168114620018ec57600080fd5b6158d08062001bd66000396000f3fe608060405234801561001057600080fd5b50600436106104965760003560e01c80637cef484211610262578063b428b0b011610151578063d2f21a29116100ce578063e8951ee611610092578063e8951ee6146105c1578063e9e96c7014610add578063f48016ce14610b1b578063f7bc431c14610b2e578063f8b648ac14610675578063fe1f18d614610b4157600080fd5b8063d2f21a2914610a91578063d5b221bd146105ef578063d78a83b114610aa4578063dee3262314610ab7578063e7cd37d414610aca57600080fd5b8063bf1db3f911610115578063bf1db3f914610a4d578063bf7e214f14610a60578063c2f1a2d2146105ef578063ca600b1c14610a76578063cd50b97e14610a7e57600080fd5b8063b428b0b014610a01578063b68ec14614610675578063b7d2b16214610a14578063bc8d400014610a27578063bd5947e314610a3a57600080fd5b8063950ad70b116101df578063a13df2ab116101a3578063a13df2ab14610904578063a5961b4c14610917578063a76ee018146109c8578063a8989675146109db578063a9cea142146109ee57600080fd5b8063950ad70b146108b8578063976b0a77146108cb5780639a960d52146108de5780639d7421f4146108f15780639df0280b146105c157600080fd5b8063893d20e811610226578063893d20e81461085c5780638dc77f42146105c15780638eaa6ac0146108645780638fb360371461088457806391ff6eaa146108a557600080fd5b80637cef48421461080357806382f65adb14610675578063835933c91461081657806386f0c47b146108295780638793a9ac1461084957600080fd5b806338a699a4116103895780635d4345cc116103065780636b9bf08b116102ca5780636b9bf08b146107c55780636fa29853146107cd57806375b238fc146107d557806375c82776146107dd5780637a415802146105ef5780637a9e5e4b146107f057600080fd5b80635d4345cc146105c15780635dfa73db1461076b5780636071a68e1461077457806360aa32aa14610787578063644c45e01461079a57600080fd5b806340529b0f1161034d57806340529b0f146105c15780634288121d1461071f578063468a18671461072757806354f6127f1461073a5780635ab1bd531461075a57600080fd5b806338a699a4146106b8578063392f5f64146106cb5780633ca7c02a146106d35780633fc5ab98146106f95780633fd855611461070c57600080fd5b8063167bd395116104175780632f61088a116103db5780632f61088a1461064f57806331d311a71461066257806333bb0a971461067557806337f135d714610688578063384c9a57146106a557600080fd5b8063167bd395146105dc5780631c45fe7a146105ef5780631e23a2f5146106025780631eff4b221461061557806322f46b841461063c57600080fd5b80630d3581811161045e5780630d358181146105725780630f526f7d146105985780630fec111c146105ab57806310203d2c146105c1578063138461e0146105d457600080fd5b806301ffc9a71461049b57806302cd3071146104dd578063030149741461050257806309648a9d146105235780630b24cf5f1461055d575b600080fd5b6104c86104a9366004613e5b565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104d4565b610515610510366004613e9a565b610b54565b6040519081526020016104d4565b61054b610531366004613eb7565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104d4565b61057061056b3660046140c1565b610b7b565b005b61054b610580366004614106565b60ff9081166000908152600160205260409020541690565b6105706105a6366004614123565b610bbf565b6105b3610bdc565b6040516104d49291906141ac565b6105706105cf366004614123565b610d5e565b610570610d73565b6105706105ea366004614253565b610f95565b6105706105fd3660046143a9565b61103d565b61057061061036600461441d565b61107e565b6105157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61057061064a36600461447e565b6110a4565b61057061065d366004614548565b6110ba565b61051561067036600461458d565b611155565b6105706106833660046145aa565b6111e6565b610690600081565b60405163ffffffff90911681526020016104d4565b6104c86106b3366004613e9a565b611211565b6104c86106c6366004613eb7565b6113a7565b600954610515565b6106e16001600160401b0381565b6040516001600160401b0390911681526020016104d4565b6105706107073660046146c2565b611432565b6106e161071a366004613eb7565b611458565b6104ea61149d565b610515610735366004614725565b611538565b61074d610748366004613eb7565b611595565b6040516104d49190614742565b6005546001600160a01b03166104ea565b6106e161271081565b610570610782366004614755565b61163a565b610570610795366004614850565b611660565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104d4565b6104ea611688565b6104ea6116de565b6106e1600081565b6105706107eb3660046148d4565b61173e565b6105706107fe36600461458d565b611764565b61057061081136600461492c565b6117df565b610515610824366004613e9a565b611869565b61083c610837366004613e9a565b6118ac565b6040516104d4919061494a565b610570610857366004614963565b611951565b6104ea611966565b610877610872366004613eb7565b611a43565b6040516104d491906149cb565b61088c611b84565b6040516001600160e01b031990911681526020016104d4565b6105706108b3366004614af7565b611ba8565b6105706108c6366004614b25565b611bd0565b6105706108d9366004614b6c565b611c32565b6105706108ec366004614d0a565b611e5a565b6105706108ff366004614d51565b611e80565b610515610912366004614725565b611ea6565b6109bb610925366004613eb7565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104d49190614da8565b6105706109d6366004614db6565b611ed3565b6105706109e9366004614dfd565b611f6e565b6105706109fc366004614e3d565b61205f565b6104c8610a0f366004614e7e565b612087565b6104c8610a22366004614e7e565b61227b565b610570610a35366004614eac565b612406565b610570610a48366004614ef1565b61242c565b6104c8610a5b366004614106565b612454565b60005461010090046001600160a01b03166104ea565b6104ea6124a1565b610570610a8c36600461447e565b6124ff565b610570610a9f366004614123565b612516565b6104ea610ab2366004614f31565b61252d565b610570610ac5366004614123565b612556565b610570610ad8366004614f5d565b61256d565b6104c8610aeb366004614dfd565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b610515610b29366004614f9b565b612595565b610570610b3c36600461458d565b612619565b610570610b4f366004614123565b612695565b6001600160401b0381166000908152600860205260408120610b75906126aa565b92915050565b610b88335b6000366126b4565b610bbb610b968360786127c7565b82604051602001610ba79190614fc9565b604051602081830303815290604052612813565b5050565b610bc833610b80565b610bbb610bd683608c6127c7565b8261281d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c5f6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ca7611966565b6001600160a01b03168152602001826001018054610cc490615029565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf090615029565b8015610d3d5780601f10610d1257610100808354040283529160200191610d3d565b820191906000526020600020905b815481529060010190602001808311610d2057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d6733610b80565b610bbb610bd683611538565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df99190615063565b15610e40576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e695760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190615063565b610efe576040516372657a5160e01b81526001600160a01b0382166004820152602401610e37565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6c9190615080565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f9e33610b80565b610faa6106c683611155565b610fd2576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e37565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561102157600080fd5b505af1158015611035573d6000803e3d6000fd5b505050505050565b61104633610b80565b61107861105285611538565b83604051602001611063919061509d565b60405160208183030381529060405283612827565b50505050565b61108733610b80565b610bbb61109383611155565b82604051602001610ba7919061494a565b6110ad33610b80565b610bbb8282600180612832565b6110c333610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114491906150f0565b82604051602001610ba79190615109565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906150f0565b6111ef33610b80565b61120c6111fb84611538565b82604051602001610ba7919061509d565b505050565b6000338161121e84611869565b9050611229816113a7565b61125057604051627a416f60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061127290836128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113089190615137565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561135857600080fd5b505af115801561136c573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206113929150836128fd565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561140e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b759190615063565b61143b33610b80565b61120c61144784611ea6565b836040516020016110639190615154565b60006009828154811061146d5761146d615208565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6005546040805163a3bcd81d60e01b81526004810191909152600e60448201526d50726f647563745365727669636560901b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa15801561150f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611533919061521e565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044016111a5565b60008181526003602052604090206001018054606091906115b590615029565b80601f01602080910402602001604051908101604052809291908181526020018280546115e190615029565b801561162e5780601f106116035761010080835404028352916020019161162e565b820191906000526020600020905b81548152906001019060200180831161161157829003601f168201915b50505050509050919050565b61164333610b80565b610bbb61164f83611ea6565b82604051602001610ba79190615154565b61166933610b80565b61120c61167784608c6127c7565b83604051602001611063919061523b565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61174733610b80565b61107861175385611538565b8360405160200161106391906152f8565b600054339061010090046001600160a01b031681146117a05760405162d1953b60e31b81526001600160a01b0382166004820152602401610e37565b816001600160a01b03163b6000036117d6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e37565b610bbb82612912565b6117e833610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611845573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd691906150f0565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f0906024016111a5565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b038316600482015261193e9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561191a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074891906150f0565b806020019051810190610b759190615328565b61195a33610b80565b610bbb610bd683611869565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ef9190615063565b15611a3357600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024016114f2565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611afb90615029565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2790615029565b8015611b745780601f10611b4957610100808354040283529160200191611b74565b820191906000526020600020905b815481529060010190602001808311611b5757829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b9c5750600090565b50638fb3603760e01b90565b611bb133610b80565b610bbb611bbf83606e6127c7565b82604051602001610ba79190615360565b611bd933610b80565b6000611be78484600061296e565b5090506000611bf7858584612bd9565b9050611c2b611c0586611869565b82604051602001611c16919061494a565b60405160208183030381529060405285612827565b5050505050565b600654600160a01b900460ff1615611ca35760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e37565b611cac84612c15565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d699073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190615137565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600080612832565b6040516368aebf7b60e01b81526001600160401b036004820152611e129073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611dc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de79190615137565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600080612832565b611e318383604660008560405180602001604052806000815250612c8c565b611e4163aa67ed7b60e01b612d61565b50506006805460ff60a01b1916600160a01b1790555050565b611e6333610b80565b61120c611e6f84611538565b83604051602001611063919061548a565b611e8933610b80565b61120c611e9584611538565b82604051602001610ba791906152f8565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611561565b611edc33610b80565b6040516355ee627560e01b81526001600160c01b03198416600482015261120c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611f39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5d91906150f0565b836040516020016110639190615109565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff79190615063565b1561200157505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661120c57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e37565b61206833610b80565b61120c61207684606e6127c7565b836040516020016110639190615360565b600061209233610b80565b600061209d84611869565b90506120a8816113a7565b6120d057604051636777365b60e01b81526001600160401b0385166004820152602401610e37565b6000818152600360205260409020546120ff90610100900460ff166120f3606490565b60ff9081169116141590565b156121285760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061214a90846128db565b61139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190615137565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b15801561223657600080fd5b505af115801561224a573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612270915084612d86565b506001915050610b75565b600061228633610b80565b600061229184611869565b905061229c816113a7565b6122c457604051634cee277360e11b81526001600160401b0385166004820152602401610e37565b6001600160401b03841660009081526008602052604090206122e690846128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237c9190615137565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206122709150846128fd565b61240f33610b80565b610bbb61241b83611538565b82604051602001610ba7919061548a565b61243533610b80565b61120c6124438460786127c7565b836040516020016110639190614fc9565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113f1565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61250833610b80565b610bbb828260006001612832565b61251f33610b80565b610bbb610bd68360786127c7565b6001600160401b038216600090815260086020526040812061254f9083612d9b565b9392505050565b61255f33610b80565b610bbb610bd683606e6127c7565b61257633610b80565b610bbb61258483608c6127c7565b82604051602001610ba7919061523b565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156125f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254f91906150f0565b61262233610b80565b600c546001600160a01b0316156126735760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e37565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61269e33610b80565b610bbb610bd683611ea6565b6000610b75825490565b6000806126f06126d26000546001600160a01b036101009091041690565b86306126e260046000898b6155cb565b6126eb916155f5565b612da7565b9150915081611c2b5763ffffffff8116156127a4576000805460ff60a81b1916600160a81b1790556127306000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b815260040161275f93929190615625565b600060405180830381600087803b15801561277957600080fd5b505af115801561278d573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611c2b9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e37565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016125d8565b610bbb8282612eb3565b610bbb82826132d5565b61120c838383613609565b80156128465761284384848461296e565b50505b6000612853858585612bd9565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611c2b61109386611869565b6001600160a01b0381166000908152600183016020526040812054151561254f565b600061254f836001600160a01b038416613aa4565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080600061297c86611869565b9050612987816113a7565b925082156129b65761299881611595565b8060200190518101906129ab9190615328565b6020015191506129ba565b8391505b856001600160401b03811615806129d957506001600160401b03818116145b15612a025760405163981bf42160e01b81526001600160401b0388166004820152602401610e37565b828015612a1957506127106001600160401b038216105b15612a4257604051633119b9df60e21b81526001600160401b0388166004820152602401610e37565b828015612a5a57506127106001600160401b03821610155b15612a835760405163094fb39160e01b81526001600160401b0388166004820152602401610e37565b6000612a8e87613b9e565b9050612a9981613bdc565b600003612ac4576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e37565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612b67936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b559190615137565b6001600160401b039081169116141590565b8015612b8d57506000818152600760205260409020546001600160401b03898116911614155b15612bce5760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e37565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612c0185613b9e565b815260200183151581525090509392505050565b60005460ff1615612c735760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e37565b612c7c81612912565b506000805460ff19166001179055565b612ccd6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612cd78287613c04565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612d4783826156ab565b50612d586303fb044760e21b612d61565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061254f836001600160a01b038416613c7e565b600061254f8383613ccd565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612e16919061576a565b600060405180830381855afa9150503d8060008114612e51576040519150601f19603f3d011682016040523d82523d6000602084013e612e56565b606091505b50915091508115612ea8576040815110612e885780806020019051810190612e7e9190615786565b9094509250612ea8565b6020815110612ea85780806020019051810190612ea59190615063565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2a91906157b5565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa39190615063565b612fef5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e37565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307c9190615063565b6130c85760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e37565b334360006130d585612454565b6130e05760646130f6565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010161318087826156ab565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156131f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321791906157b5565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328b91906157d2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334b9190615063565b6133975760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e37565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613403573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134279190615063565b6134735760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e37565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166134b74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356d91906157b5565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e191906157d2565b87868632876040516135f997969594939291906157ef565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561365b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367f9190615063565b6136cb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e37565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061375b9190615063565b6137a75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e37565b60008581526003602052604090206001016137c285826156ab565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166138074390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138bd91906157b5565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561390d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061393191906157d2565b878686328760405161394997969594939291906157ef565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e791906157b5565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5b91906157d2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016132c4565b60008181526001830160205260408120548015613b8d576000613ac860018361583f565b8554909150600090613adc9060019061583f565b9050808214613b41576000866000018281548110613afc57613afc615208565b9060005260206000200154905080876000018481548110613b1f57613b1f615208565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613b5257613b52615860565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b75565b6000915050610b75565b5092915050565b600080829050601f81511115613bc9578260405163305a27a960e01b8152600401610e379190614742565b8051613bd482615876565b179392505050565b600060ff8216601f811115610b7557604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b038216613c5a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610e37565b600680546001600160a01b0319166001600160a01b038416179055610bbb81613cf7565b6000818152600183016020526040812054613cc557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b75565b506000610b75565b6000826000018281548110613ce457613ce4615208565b9060005260206000200154905092915050565b6005546001600160a01b031615613d305760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e37565b6001600160a01b038116613d575760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613d8d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613e07575060408051601f3d908101601f19168201909252613e0491810190615063565b60015b613e2f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b80610bbb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e37565b50565b600060208284031215613e6d57600080fd5b81356001600160e01b03198116811461254f57600080fd5b6001600160401b0381168114613e5857600080fd5b600060208284031215613eac57600080fd5b813561254f81613e85565b600060208284031215613ec957600080fd5b5035919050565b6001600160601b0381168114613e5857600080fd5b8035613ef081613ed0565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405290565b604051608081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161012081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161018081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161020081016001600160401b0381118282101715613f2d57613f2d613ef5565b6001600160a01b0381168114613e5857600080fd5b8035613ef081613fbe565b600060408284031215613ff057600080fd5b613ff8613f0b565b9050813581526020820135602082015292915050565b8015158114613e5857600080fd5b8035613ef08161400e565b600060c0828403121561403957600080fd5b60405160a081018181106001600160401b038211171561405b5761405b613ef5565b604052905080823561406c81613ed0565b8152602083013561407c81613fbe565b602082015261408e8460408501613fde565b604082015260808301356140a18161400e565b606082015260a08301356140b481613fbe565b6080919091015292915050565b60008060e083850312156140d457600080fd5b82356140df81613ed0565b91506140ee8460208501614027565b90509250929050565b60ff81168114613e5857600080fd5b60006020828403121561411857600080fd5b813561254f816140f7565b6000806040838503121561413657600080fd5b823561414181613ed0565b91506020830135614151816140f7565b809150509250929050565b60005b8381101561417757818101518382015260200161415f565b50506000910152565b6000815180845261419881602086016020860161415c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516141f060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152614236610120840182614180565b9050828103602084015261424a8185614180565b95945050505050565b6000806040838503121561426657600080fd5b823561427181613fbe565b915060208301356141518161400e565b63ffffffff81168114613e5857600080fd5b600082601f8301126142a457600080fd5b81356001600160401b03808211156142be576142be613ef5565b604051601f8301601f19908116603f011681019082821181831017156142e6576142e6613ef5565b816040528381528660208588010111156142ff57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613ef057600080fd5b60006080828403121561434657600080fd5b61434e613f33565b9050813561435b81614281565b81526020828101359082015260408201356001600160401b0381111561438057600080fd5b61438c84828501614293565b60408301525061439e6060830161431f565b606082015292915050565b600080600080608085870312156143bf57600080fd5b84356143ca81613ed0565b935060208501356143da81614281565b925060408501356001600160401b038111156143f557600080fd5b61440187828801614334565b9250506060850135614412816140f7565b939692955090935050565b600080828403606081121561443157600080fd5b833561443c81613fbe565b92506040601f198201121561445057600080fd5b50614459613f0b565b60208401358152604084013561446e8161400e565b6020820152919491935090915050565b6000806040838503121561449157600080fd5b823561449c81613e85565b915060208301356001600160401b038111156144b757600080fd5b6144c385828601614293565b9150509250929050565b6001600160c01b031981168114613e5857600080fd5b8035613ef0816144cd565b60006040828403121561450057600080fd5b614508613f0b565b9050813561451581613ed0565b815260208201356001600160401b0381111561453057600080fd5b61453c84828501614293565b60208301525092915050565b6000806040838503121561455b57600080fd5b8235614566816144cd565b915060208301356001600160401b0381111561458157600080fd5b6144c3858286016144ee565b60006020828403121561459f57600080fd5b813561254f81613fbe565b6000806000606084860312156145bf57600080fd5b83356145ca81613ed0565b925060208401356145da81614281565b915060408401356001600160401b038111156145f557600080fd5b61460186828701614334565b9150509250925092565b6000610140828403121561461e57600080fd5b614626613f55565b905061463182613ee5565b81526146408360208401613fde565b602082015260608201356001600160401b0381111561465e57600080fd5b61466a84828501614293565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c08201526101006146a681840161431f565b60e08301526146b8610120840161431f565b9082015292915050565b6000806000606084860312156146d757600080fd5b83356146e281613ed0565b925060208401356001600160401b038111156146fd57600080fd5b6147098682870161460b565b925050604084013561471a816140f7565b809150509250925092565b60006020828403121561473757600080fd5b813561254f81613ed0565b60208152600061254f6020830184614180565b6000806040838503121561476857600080fd5b823561477381613ed0565b915060208301356001600160401b0381111561478e57600080fd5b6144c38582860161460b565b600061018082840312156147ad57600080fd5b6147b5613f55565b90506147c082613ee5565b81526147ce60208301613fd3565b6020820152604082013560408201526147ea8360608401613fde565b60608201526147fc8360a08401613fde565b608082015261480e8360e08401613fde565b60a0820152614820610120830161401c565b60c0820152614832610140830161401c565b60e08201526148446101608301613fd3565b61010082015292915050565b60008060006101c0848603121561486657600080fd5b833561487181613ed0565b9250614880856020860161479a565b91506101a084013561471a816140f7565b6000608082840312156148a357600080fd5b6148ab613f33565b9050813581526020820135602082015260408201356001600160401b0381111561438057600080fd5b600080600080608085870312156148ea57600080fd5b84356148f581613ed0565b9350602085013561490581614281565b925060408501356001600160401b0381111561492057600080fd5b61440187828801614891565b6000806040838503121561493f57600080fd5b8235614141816144cd565b8151815260208083015115159082015260408101610b75565b6000806040838503121561497657600080fd5b823561414181613e85565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526149dd602082018351614981565b6000602083015160c0808401526149f760e0840182614180565b949350505050565b60006102408284031215614a1257600080fd5b614a1a613f78565b9050614a2582613fd3565b8152614a3360208301613fd3565b6020820152614a4460408301613ee5565b6040820152614a5560608301613ee5565b6060820152614a678360808401613fde565b6080820152614a798360c08401613fde565b60a0820152610100614a8d84828501613fde565b60c0830152610140614aa185828601613fde565b60e0840152614ab4856101808601613fde565b82840152614ac6856101c08601613fde565b610120840152614ad9610200850161401c565b9083015250614aeb6102208301613fd3565b61016082015292915050565b6000806102608385031215614b0b57600080fd5b8235614b1681613ed0565b91506140ee84602085016149ff565b600080600060608486031215614b3a57600080fd5b8335614b4581613e85565b925060208401356001600160401b03811115614b6057600080fd5b61470986828701614293565b60008060008060808587031215614b8257600080fd5b8435614b8d81613fbe565b93506020850135614b9d81613fbe565b92506040850135614bad81613ed0565b9150606085013561441281613fbe565b803561ffff81168114613ef057600080fd5b60006102008284031215614be257600080fd5b614bea613f9b565b9050614bf582613ee5565b8152614c0360208301613ee5565b6020820152614c14604083016144e3565b6040820152614c25606083016144e3565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614c6e57600080fd5b614c7a86838701614293565b83850152610120925082850135915080821115614c9657600080fd5b50614ca385828601614293565b828401525050610140614cb7818401614bbd565b90820152610160614cc9838201614bbd565b9082015261018082810135908201526101a0614ce681840161431f565b908201526101c0614cf883820161431f565b908201526101e06146b883820161431f565b600080600060608486031215614d1f57600080fd5b8335614d2a81613ed0565b925060208401356001600160401b03811115614d4557600080fd5b61470986828701614bcf565b600080600060608486031215614d6657600080fd5b8335614d7181613ed0565b92506020840135614d8181614281565b915060408401356001600160401b03811115614d9c57600080fd5b61460186828701614891565b60a08101610b758284614981565b600080600060608486031215614dcb57600080fd5b8335614dd6816144cd565b925060208401356001600160401b03811115614df157600080fd5b614709868287016144ee565b600080600060608486031215614e1257600080fd5b8335614e1d816140f7565b92506020840135614e2d816140f7565b9150604084013561471a816140f7565b60008060006102808486031215614e5357600080fd5b8335614e5e81613ed0565b9250614e6d85602086016149ff565b915061026084013561471a816140f7565b60008060408385031215614e9157600080fd5b8235614e9c81613e85565b9150602083013561415181613fbe565b60008060408385031215614ebf57600080fd5b8235614eca81613ed0565b915060208301356001600160401b03811115614ee557600080fd5b6144c385828601614bcf565b60008060006101008486031215614f0757600080fd5b8335614f1281613ed0565b9250614f218560208601614027565b915060e084013561471a816140f7565b60008060408385031215614f4457600080fd5b8235614f4f81613e85565b946020939093013593505050565b6000806101a08385031215614f7157600080fd5b8235614f7c81613ed0565b91506140ee846020850161479a565b60ff1981168114613e5857600080fd5b60008060408385031215614fae57600080fd5b8235614fb9816140f7565b9150602083013561415181614f8b565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c9082168061503d57607f821691505b60208210810361505d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561507557600080fd5b815161254f8161400e565b60006020828403121561509257600080fd5b815161254f81613ed0565b6020815263ffffffff82511660208201526020820151604082015260006040830151608060608401526150d360a0840182614180565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561510257600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526149f76060840182614180565b60006020828403121561514957600080fd5b815161254f81613e85565b6020815261516e6020820183516001600160601b03169052565b6000602083015161518c604084018280518252602090810151910152565b5060408301516101408060808501526151a9610160850183614180565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506151f161012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561523057600080fd5b815161254f81613fbe565b81516001600160601b03168152602080830151610180830191615268908401826001600160a01b03169052565b5060408301516040830152606083015161528f606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b038116610160840152613b97565b60208152815160208201526020820151604082015260006040830151608060608401526150d360a0840182614180565b60006040828403121561533a57600080fd5b615342613f0b565b8251815260208301516153548161400e565b60208201529392505050565b81516001600160a01b031681526102408101602083015161538c60208401826001600160a01b03169052565b5060408301516153a760408401826001600160601b03169052565b5060608301516153c260608401826001600160601b03169052565b5060808301516153df608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006154158185018380518252602090810151910152565b60e085015191506101406154358186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152613b97565b602081526154a46020820183516001600160601b03169052565b600060208301516154c060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152615538610220860184614180565b9250808601519050610140601f1986850301818701526155588483614180565b9350808701519150506101606155738187018361ffff169052565b860151905061018061558a8682018361ffff169052565b8601516101a08681019190915286015190506101c06155b18187018364ffffffffff169052565b86015190506101e06151f18682018364ffffffffff169052565b600080858511156155db57600080fd5b838611156155e857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561561d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561120c57600081815260208120601f850160051c8101602086101561568c5750805b601f850160051c820191505b8181101561103557828155600101615698565b81516001600160401b038111156156c4576156c4613ef5565b6156d8816156d28454615029565b84615665565b602080601f83116001811461570d57600084156156f55750858301515b600019600386901b1c1916600185901b178555611035565b600085815260208120601f198616915b8281101561573c5788860151825594840194600190910190840161571d565b508582101561575a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161577c81846020870161415c565b9190910192915050565b6000806040838503121561579957600080fd5b82516157a48161400e565b602084015190925061415181614281565b6000602082840312156157c757600080fd5b815161254f816140f7565b6000602082840312156157e457600080fd5b815161254f81614f8b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b7557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b8051602080830151919081101561505d5760001960209190910360031b1b1691905056fea2646970667358221220efb2097be0819ef781c63f7e6ca85c45fcb4f2e0a46bbbf745978ac5ce92d8e964736f6c63430008140033",
3197
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104965760003560e01c80637cef484211610262578063b428b0b011610151578063d2f21a29116100ce578063e8951ee611610092578063e8951ee6146105c1578063e9e96c7014610add578063f48016ce14610b1b578063f7bc431c14610b2e578063f8b648ac14610675578063fe1f18d614610b4157600080fd5b8063d2f21a2914610a91578063d5b221bd146105ef578063d78a83b114610aa4578063dee3262314610ab7578063e7cd37d414610aca57600080fd5b8063bf1db3f911610115578063bf1db3f914610a4d578063bf7e214f14610a60578063c2f1a2d2146105ef578063ca600b1c14610a76578063cd50b97e14610a7e57600080fd5b8063b428b0b014610a01578063b68ec14614610675578063b7d2b16214610a14578063bc8d400014610a27578063bd5947e314610a3a57600080fd5b8063950ad70b116101df578063a13df2ab116101a3578063a13df2ab14610904578063a5961b4c14610917578063a76ee018146109c8578063a8989675146109db578063a9cea142146109ee57600080fd5b8063950ad70b146108b8578063976b0a77146108cb5780639a960d52146108de5780639d7421f4146108f15780639df0280b146105c157600080fd5b8063893d20e811610226578063893d20e81461085c5780638dc77f42146105c15780638eaa6ac0146108645780638fb360371461088457806391ff6eaa146108a557600080fd5b80637cef48421461080357806382f65adb14610675578063835933c91461081657806386f0c47b146108295780638793a9ac1461084957600080fd5b806338a699a4116103895780635d4345cc116103065780636b9bf08b116102ca5780636b9bf08b146107c55780636fa29853146107cd57806375b238fc146107d557806375c82776146107dd5780637a415802146105ef5780637a9e5e4b146107f057600080fd5b80635d4345cc146105c15780635dfa73db1461076b5780636071a68e1461077457806360aa32aa14610787578063644c45e01461079a57600080fd5b806340529b0f1161034d57806340529b0f146105c15780634288121d1461071f578063468a18671461072757806354f6127f1461073a5780635ab1bd531461075a57600080fd5b806338a699a4146106b8578063392f5f64146106cb5780633ca7c02a146106d35780633fc5ab98146106f95780633fd855611461070c57600080fd5b8063167bd395116104175780632f61088a116103db5780632f61088a1461064f57806331d311a71461066257806333bb0a971461067557806337f135d714610688578063384c9a57146106a557600080fd5b8063167bd395146105dc5780631c45fe7a146105ef5780631e23a2f5146106025780631eff4b221461061557806322f46b841461063c57600080fd5b80630d3581811161045e5780630d358181146105725780630f526f7d146105985780630fec111c146105ab57806310203d2c146105c1578063138461e0146105d457600080fd5b806301ffc9a71461049b57806302cd3071146104dd578063030149741461050257806309648a9d146105235780630b24cf5f1461055d575b600080fd5b6104c86104a9366004613e5b565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104d4565b610515610510366004613e9a565b610b54565b6040519081526020016104d4565b61054b610531366004613eb7565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104d4565b61057061056b3660046140c1565b610b7b565b005b61054b610580366004614106565b60ff9081166000908152600160205260409020541690565b6105706105a6366004614123565b610bbf565b6105b3610bdc565b6040516104d49291906141ac565b6105706105cf366004614123565b610d5e565b610570610d73565b6105706105ea366004614253565b610f95565b6105706105fd3660046143a9565b61103d565b61057061061036600461441d565b61107e565b6105157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61057061064a36600461447e565b6110a4565b61057061065d366004614548565b6110ba565b61051561067036600461458d565b611155565b6105706106833660046145aa565b6111e6565b610690600081565b60405163ffffffff90911681526020016104d4565b6104c86106b3366004613e9a565b611211565b6104c86106c6366004613eb7565b6113a7565b600954610515565b6106e16001600160401b0381565b6040516001600160401b0390911681526020016104d4565b6105706107073660046146c2565b611432565b6106e161071a366004613eb7565b611458565b6104ea61149d565b610515610735366004614725565b611538565b61074d610748366004613eb7565b611595565b6040516104d49190614742565b6005546001600160a01b03166104ea565b6106e161271081565b610570610782366004614755565b61163a565b610570610795366004614850565b611660565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104d4565b6104ea611688565b6104ea6116de565b6106e1600081565b6105706107eb3660046148d4565b61173e565b6105706107fe36600461458d565b611764565b61057061081136600461492c565b6117df565b610515610824366004613e9a565b611869565b61083c610837366004613e9a565b6118ac565b6040516104d4919061494a565b610570610857366004614963565b611951565b6104ea611966565b610877610872366004613eb7565b611a43565b6040516104d491906149cb565b61088c611b84565b6040516001600160e01b031990911681526020016104d4565b6105706108b3366004614af7565b611ba8565b6105706108c6366004614b25565b611bd0565b6105706108d9366004614b6c565b611c32565b6105706108ec366004614d0a565b611e5a565b6105706108ff366004614d51565b611e80565b610515610912366004614725565b611ea6565b6109bb610925366004613eb7565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104d49190614da8565b6105706109d6366004614db6565b611ed3565b6105706109e9366004614dfd565b611f6e565b6105706109fc366004614e3d565b61205f565b6104c8610a0f366004614e7e565b612087565b6104c8610a22366004614e7e565b61227b565b610570610a35366004614eac565b612406565b610570610a48366004614ef1565b61242c565b6104c8610a5b366004614106565b612454565b60005461010090046001600160a01b03166104ea565b6104ea6124a1565b610570610a8c36600461447e565b6124ff565b610570610a9f366004614123565b612516565b6104ea610ab2366004614f31565b61252d565b610570610ac5366004614123565b612556565b610570610ad8366004614f5d565b61256d565b6104c8610aeb366004614dfd565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b610515610b29366004614f9b565b612595565b610570610b3c36600461458d565b612619565b610570610b4f366004614123565b612695565b6001600160401b0381166000908152600860205260408120610b75906126aa565b92915050565b610b88335b6000366126b4565b610bbb610b968360786127c7565b82604051602001610ba79190614fc9565b604051602081830303815290604052612813565b5050565b610bc833610b80565b610bbb610bd683608c6127c7565b8261281d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c5f6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ca7611966565b6001600160a01b03168152602001826001018054610cc490615029565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf090615029565b8015610d3d5780601f10610d1257610100808354040283529160200191610d3d565b820191906000526020600020905b815481529060010190602001808311610d2057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d6733610b80565b610bbb610bd683611538565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df99190615063565b15610e40576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e695760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190615063565b610efe576040516372657a5160e01b81526001600160a01b0382166004820152602401610e37565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6c9190615080565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f9e33610b80565b610faa6106c683611155565b610fd2576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e37565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561102157600080fd5b505af1158015611035573d6000803e3d6000fd5b505050505050565b61104633610b80565b61107861105285611538565b83604051602001611063919061509d565b60405160208183030381529060405283612827565b50505050565b61108733610b80565b610bbb61109383611155565b82604051602001610ba7919061494a565b6110ad33610b80565b610bbb8282600180612832565b6110c333610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114491906150f0565b82604051602001610ba79190615109565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906150f0565b6111ef33610b80565b61120c6111fb84611538565b82604051602001610ba7919061509d565b505050565b6000338161121e84611869565b9050611229816113a7565b61125057604051627a416f60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061127290836128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113089190615137565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561135857600080fd5b505af115801561136c573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206113929150836128fd565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561140e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b759190615063565b61143b33610b80565b61120c61144784611ea6565b836040516020016110639190615154565b60006009828154811061146d5761146d615208565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6005546040805163a3bcd81d60e01b81526004810191909152600e60448201526d50726f647563745365727669636560901b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa15801561150f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611533919061521e565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044016111a5565b60008181526003602052604090206001018054606091906115b590615029565b80601f01602080910402602001604051908101604052809291908181526020018280546115e190615029565b801561162e5780601f106116035761010080835404028352916020019161162e565b820191906000526020600020905b81548152906001019060200180831161161157829003601f168201915b50505050509050919050565b61164333610b80565b610bbb61164f83611ea6565b82604051602001610ba79190615154565b61166933610b80565b61120c61167784608c6127c7565b83604051602001611063919061523b565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61174733610b80565b61107861175385611538565b8360405160200161106391906152f8565b600054339061010090046001600160a01b031681146117a05760405162d1953b60e31b81526001600160a01b0382166004820152602401610e37565b816001600160a01b03163b6000036117d6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e37565b610bbb82612912565b6117e833610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611845573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd691906150f0565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f0906024016111a5565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b038316600482015261193e9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561191a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074891906150f0565b806020019051810190610b759190615328565b61195a33610b80565b610bbb610bd683611869565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ef9190615063565b15611a3357600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024016114f2565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611afb90615029565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2790615029565b8015611b745780601f10611b4957610100808354040283529160200191611b74565b820191906000526020600020905b815481529060010190602001808311611b5757829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b9c5750600090565b50638fb3603760e01b90565b611bb133610b80565b610bbb611bbf83606e6127c7565b82604051602001610ba79190615360565b611bd933610b80565b6000611be78484600061296e565b5090506000611bf7858584612bd9565b9050611c2b611c0586611869565b82604051602001611c16919061494a565b60405160208183030381529060405285612827565b5050505050565b600654600160a01b900460ff1615611ca35760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e37565b611cac84612c15565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d699073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190615137565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600080612832565b6040516368aebf7b60e01b81526001600160401b036004820152611e129073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611dc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de79190615137565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600080612832565b611e318383604660008560405180602001604052806000815250612c8c565b611e4163aa67ed7b60e01b612d61565b50506006805460ff60a01b1916600160a01b1790555050565b611e6333610b80565b61120c611e6f84611538565b83604051602001611063919061548a565b611e8933610b80565b61120c611e9584611538565b82604051602001610ba791906152f8565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611561565b611edc33610b80565b6040516355ee627560e01b81526001600160c01b03198416600482015261120c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611f39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5d91906150f0565b836040516020016110639190615109565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff79190615063565b1561200157505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661120c57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e37565b61206833610b80565b61120c61207684606e6127c7565b836040516020016110639190615360565b600061209233610b80565b600061209d84611869565b90506120a8816113a7565b6120d057604051636777365b60e01b81526001600160401b0385166004820152602401610e37565b6000818152600360205260409020546120ff90610100900460ff166120f3606490565b60ff9081169116141590565b156121285760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061214a90846128db565b61139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190615137565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b15801561223657600080fd5b505af115801561224a573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612270915084612d86565b506001915050610b75565b600061228633610b80565b600061229184611869565b905061229c816113a7565b6122c457604051634cee277360e11b81526001600160401b0385166004820152602401610e37565b6001600160401b03841660009081526008602052604090206122e690846128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237c9190615137565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206122709150846128fd565b61240f33610b80565b610bbb61241b83611538565b82604051602001610ba7919061548a565b61243533610b80565b61120c6124438460786127c7565b836040516020016110639190614fc9565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113f1565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61250833610b80565b610bbb828260006001612832565b61251f33610b80565b610bbb610bd68360786127c7565b6001600160401b038216600090815260086020526040812061254f9083612d9b565b9392505050565b61255f33610b80565b610bbb610bd683606e6127c7565b61257633610b80565b610bbb61258483608c6127c7565b82604051602001610ba7919061523b565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156125f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254f91906150f0565b61262233610b80565b600c546001600160a01b0316156126735760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e37565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61269e33610b80565b610bbb610bd683611ea6565b6000610b75825490565b6000806126f06126d26000546001600160a01b036101009091041690565b86306126e260046000898b6155cb565b6126eb916155f5565b612da7565b9150915081611c2b5763ffffffff8116156127a4576000805460ff60a81b1916600160a81b1790556127306000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b815260040161275f93929190615625565b600060405180830381600087803b15801561277957600080fd5b505af115801561278d573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611c2b9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e37565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016125d8565b610bbb8282612eb3565b610bbb82826132d5565b61120c838383613609565b80156128465761284384848461296e565b50505b6000612853858585612bd9565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611c2b61109386611869565b6001600160a01b0381166000908152600183016020526040812054151561254f565b600061254f836001600160a01b038416613aa4565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080600061297c86611869565b9050612987816113a7565b925082156129b65761299881611595565b8060200190518101906129ab9190615328565b6020015191506129ba565b8391505b856001600160401b03811615806129d957506001600160401b03818116145b15612a025760405163981bf42160e01b81526001600160401b0388166004820152602401610e37565b828015612a1957506127106001600160401b038216105b15612a4257604051633119b9df60e21b81526001600160401b0388166004820152602401610e37565b828015612a5a57506127106001600160401b03821610155b15612a835760405163094fb39160e01b81526001600160401b0388166004820152602401610e37565b6000612a8e87613b9e565b9050612a9981613bdc565b600003612ac4576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e37565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612b67936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b559190615137565b6001600160401b039081169116141590565b8015612b8d57506000818152600760205260409020546001600160401b03898116911614155b15612bce5760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e37565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612c0185613b9e565b815260200183151581525090509392505050565b60005460ff1615612c735760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e37565b612c7c81612912565b506000805460ff19166001179055565b612ccd6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612cd78287613c04565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612d4783826156ab565b50612d586303fb044760e21b612d61565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061254f836001600160a01b038416613c7e565b600061254f8383613ccd565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612e16919061576a565b600060405180830381855afa9150503d8060008114612e51576040519150601f19603f3d011682016040523d82523d6000602084013e612e56565b606091505b50915091508115612ea8576040815110612e885780806020019051810190612e7e9190615786565b9094509250612ea8565b6020815110612ea85780806020019051810190612ea59190615063565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2a91906157b5565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa39190615063565b612fef5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e37565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307c9190615063565b6130c85760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e37565b334360006130d585612454565b6130e05760646130f6565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010161318087826156ab565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156131f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321791906157b5565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328b91906157d2565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334b9190615063565b6133975760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e37565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613403573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134279190615063565b6134735760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e37565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166134b74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356d91906157b5565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e191906157d2565b87868632876040516135f997969594939291906157ef565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561365b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367f9190615063565b6136cb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e37565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061375b9190615063565b6137a75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e37565b60008581526003602052604090206001016137c285826156ab565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166138074390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138bd91906157b5565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561390d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061393191906157d2565b878686328760405161394997969594939291906157ef565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e791906157b5565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5b91906157d2565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016132c4565b60008181526001830160205260408120548015613b8d576000613ac860018361583f565b8554909150600090613adc9060019061583f565b9050808214613b41576000866000018281548110613afc57613afc615208565b9060005260206000200154905080876000018481548110613b1f57613b1f615208565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613b5257613b52615860565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b75565b6000915050610b75565b5092915050565b600080829050601f81511115613bc9578260405163305a27a960e01b8152600401610e379190614742565b8051613bd482615876565b179392505050565b600060ff8216601f811115610b7557604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b038216613c5a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610e37565b600680546001600160a01b0319166001600160a01b038416179055610bbb81613cf7565b6000818152600183016020526040812054613cc557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b75565b506000610b75565b6000826000018281548110613ce457613ce4615208565b9060005260206000200154905092915050565b6005546001600160a01b031615613d305760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e37565b6001600160a01b038116613d575760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613d8d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613e07575060408051601f3d908101601f19168201909252613e0491810190615063565b60015b613e2f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b80610bbb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e37565b50565b600060208284031215613e6d57600080fd5b81356001600160e01b03198116811461254f57600080fd5b6001600160401b0381168114613e5857600080fd5b600060208284031215613eac57600080fd5b813561254f81613e85565b600060208284031215613ec957600080fd5b5035919050565b6001600160601b0381168114613e5857600080fd5b8035613ef081613ed0565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405290565b604051608081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161012081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161018081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161020081016001600160401b0381118282101715613f2d57613f2d613ef5565b6001600160a01b0381168114613e5857600080fd5b8035613ef081613fbe565b600060408284031215613ff057600080fd5b613ff8613f0b565b9050813581526020820135602082015292915050565b8015158114613e5857600080fd5b8035613ef08161400e565b600060c0828403121561403957600080fd5b60405160a081018181106001600160401b038211171561405b5761405b613ef5565b604052905080823561406c81613ed0565b8152602083013561407c81613fbe565b602082015261408e8460408501613fde565b604082015260808301356140a18161400e565b606082015260a08301356140b481613fbe565b6080919091015292915050565b60008060e083850312156140d457600080fd5b82356140df81613ed0565b91506140ee8460208501614027565b90509250929050565b60ff81168114613e5857600080fd5b60006020828403121561411857600080fd5b813561254f816140f7565b6000806040838503121561413657600080fd5b823561414181613ed0565b91506020830135614151816140f7565b809150509250929050565b60005b8381101561417757818101518382015260200161415f565b50506000910152565b6000815180845261419881602086016020860161415c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516141f060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152614236610120840182614180565b9050828103602084015261424a8185614180565b95945050505050565b6000806040838503121561426657600080fd5b823561427181613fbe565b915060208301356141518161400e565b63ffffffff81168114613e5857600080fd5b600082601f8301126142a457600080fd5b81356001600160401b03808211156142be576142be613ef5565b604051601f8301601f19908116603f011681019082821181831017156142e6576142e6613ef5565b816040528381528660208588010111156142ff57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613ef057600080fd5b60006080828403121561434657600080fd5b61434e613f33565b9050813561435b81614281565b81526020828101359082015260408201356001600160401b0381111561438057600080fd5b61438c84828501614293565b60408301525061439e6060830161431f565b606082015292915050565b600080600080608085870312156143bf57600080fd5b84356143ca81613ed0565b935060208501356143da81614281565b925060408501356001600160401b038111156143f557600080fd5b61440187828801614334565b9250506060850135614412816140f7565b939692955090935050565b600080828403606081121561443157600080fd5b833561443c81613fbe565b92506040601f198201121561445057600080fd5b50614459613f0b565b60208401358152604084013561446e8161400e565b6020820152919491935090915050565b6000806040838503121561449157600080fd5b823561449c81613e85565b915060208301356001600160401b038111156144b757600080fd5b6144c385828601614293565b9150509250929050565b6001600160c01b031981168114613e5857600080fd5b8035613ef0816144cd565b60006040828403121561450057600080fd5b614508613f0b565b9050813561451581613ed0565b815260208201356001600160401b0381111561453057600080fd5b61453c84828501614293565b60208301525092915050565b6000806040838503121561455b57600080fd5b8235614566816144cd565b915060208301356001600160401b0381111561458157600080fd5b6144c3858286016144ee565b60006020828403121561459f57600080fd5b813561254f81613fbe565b6000806000606084860312156145bf57600080fd5b83356145ca81613ed0565b925060208401356145da81614281565b915060408401356001600160401b038111156145f557600080fd5b61460186828701614334565b9150509250925092565b6000610140828403121561461e57600080fd5b614626613f55565b905061463182613ee5565b81526146408360208401613fde565b602082015260608201356001600160401b0381111561465e57600080fd5b61466a84828501614293565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c08201526101006146a681840161431f565b60e08301526146b8610120840161431f565b9082015292915050565b6000806000606084860312156146d757600080fd5b83356146e281613ed0565b925060208401356001600160401b038111156146fd57600080fd5b6147098682870161460b565b925050604084013561471a816140f7565b809150509250925092565b60006020828403121561473757600080fd5b813561254f81613ed0565b60208152600061254f6020830184614180565b6000806040838503121561476857600080fd5b823561477381613ed0565b915060208301356001600160401b0381111561478e57600080fd5b6144c38582860161460b565b600061018082840312156147ad57600080fd5b6147b5613f55565b90506147c082613ee5565b81526147ce60208301613fd3565b6020820152604082013560408201526147ea8360608401613fde565b60608201526147fc8360a08401613fde565b608082015261480e8360e08401613fde565b60a0820152614820610120830161401c565b60c0820152614832610140830161401c565b60e08201526148446101608301613fd3565b61010082015292915050565b60008060006101c0848603121561486657600080fd5b833561487181613ed0565b9250614880856020860161479a565b91506101a084013561471a816140f7565b6000608082840312156148a357600080fd5b6148ab613f33565b9050813581526020820135602082015260408201356001600160401b0381111561438057600080fd5b600080600080608085870312156148ea57600080fd5b84356148f581613ed0565b9350602085013561490581614281565b925060408501356001600160401b0381111561492057600080fd5b61440187828801614891565b6000806040838503121561493f57600080fd5b8235614141816144cd565b8151815260208083015115159082015260408101610b75565b6000806040838503121561497657600080fd5b823561414181613e85565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526149dd602082018351614981565b6000602083015160c0808401526149f760e0840182614180565b949350505050565b60006102408284031215614a1257600080fd5b614a1a613f78565b9050614a2582613fd3565b8152614a3360208301613fd3565b6020820152614a4460408301613ee5565b6040820152614a5560608301613ee5565b6060820152614a678360808401613fde565b6080820152614a798360c08401613fde565b60a0820152610100614a8d84828501613fde565b60c0830152610140614aa185828601613fde565b60e0840152614ab4856101808601613fde565b82840152614ac6856101c08601613fde565b610120840152614ad9610200850161401c565b9083015250614aeb6102208301613fd3565b61016082015292915050565b6000806102608385031215614b0b57600080fd5b8235614b1681613ed0565b91506140ee84602085016149ff565b600080600060608486031215614b3a57600080fd5b8335614b4581613e85565b925060208401356001600160401b03811115614b6057600080fd5b61470986828701614293565b60008060008060808587031215614b8257600080fd5b8435614b8d81613fbe565b93506020850135614b9d81613fbe565b92506040850135614bad81613ed0565b9150606085013561441281613fbe565b803561ffff81168114613ef057600080fd5b60006102008284031215614be257600080fd5b614bea613f9b565b9050614bf582613ee5565b8152614c0360208301613ee5565b6020820152614c14604083016144e3565b6040820152614c25606083016144e3565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614c6e57600080fd5b614c7a86838701614293565b83850152610120925082850135915080821115614c9657600080fd5b50614ca385828601614293565b828401525050610140614cb7818401614bbd565b90820152610160614cc9838201614bbd565b9082015261018082810135908201526101a0614ce681840161431f565b908201526101c0614cf883820161431f565b908201526101e06146b883820161431f565b600080600060608486031215614d1f57600080fd5b8335614d2a81613ed0565b925060208401356001600160401b03811115614d4557600080fd5b61470986828701614bcf565b600080600060608486031215614d6657600080fd5b8335614d7181613ed0565b92506020840135614d8181614281565b915060408401356001600160401b03811115614d9c57600080fd5b61460186828701614891565b60a08101610b758284614981565b600080600060608486031215614dcb57600080fd5b8335614dd6816144cd565b925060208401356001600160401b03811115614df157600080fd5b614709868287016144ee565b600080600060608486031215614e1257600080fd5b8335614e1d816140f7565b92506020840135614e2d816140f7565b9150604084013561471a816140f7565b60008060006102808486031215614e5357600080fd5b8335614e5e81613ed0565b9250614e6d85602086016149ff565b915061026084013561471a816140f7565b60008060408385031215614e9157600080fd5b8235614e9c81613e85565b9150602083013561415181613fbe565b60008060408385031215614ebf57600080fd5b8235614eca81613ed0565b915060208301356001600160401b03811115614ee557600080fd5b6144c385828601614bcf565b60008060006101008486031215614f0757600080fd5b8335614f1281613ed0565b9250614f218560208601614027565b915060e084013561471a816140f7565b60008060408385031215614f4457600080fd5b8235614f4f81613e85565b946020939093013593505050565b6000806101a08385031215614f7157600080fd5b8235614f7c81613ed0565b91506140ee846020850161479a565b60ff1981168114613e5857600080fd5b60008060408385031215614fae57600080fd5b8235614fb9816140f7565b9150602083013561415181614f8b565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c9082168061503d57607f821691505b60208210810361505d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561507557600080fd5b815161254f8161400e565b60006020828403121561509257600080fd5b815161254f81613ed0565b6020815263ffffffff82511660208201526020820151604082015260006040830151608060608401526150d360a0840182614180565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561510257600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526149f76060840182614180565b60006020828403121561514957600080fd5b815161254f81613e85565b6020815261516e6020820183516001600160601b03169052565b6000602083015161518c604084018280518252602090810151910152565b5060408301516101408060808501526151a9610160850183614180565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506151f161012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561523057600080fd5b815161254f81613fbe565b81516001600160601b03168152602080830151610180830191615268908401826001600160a01b03169052565b5060408301516040830152606083015161528f606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b038116610160840152613b97565b60208152815160208201526020820151604082015260006040830151608060608401526150d360a0840182614180565b60006040828403121561533a57600080fd5b615342613f0b565b8251815260208301516153548161400e565b60208201529392505050565b81516001600160a01b031681526102408101602083015161538c60208401826001600160a01b03169052565b5060408301516153a760408401826001600160601b03169052565b5060608301516153c260608401826001600160601b03169052565b5060808301516153df608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006154158185018380518252602090810151910152565b60e085015191506101406154358186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152613b97565b602081526154a46020820183516001600160601b03169052565b600060208301516154c060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152615538610220860184614180565b9250808601519050610140601f1986850301818701526155588483614180565b9350808701519150506101606155738187018361ffff169052565b860151905061018061558a8682018361ffff169052565b8601516101a08681019190915286015190506101c06155b18187018364ffffffffff169052565b86015190506101e06151f18682018364ffffffffff169052565b600080858511156155db57600080fd5b838611156155e857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561561d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561120c57600081815260208120601f850160051c8101602086101561568c5750805b601f850160051c820191505b8181101561103557828155600101615698565b81516001600160401b038111156156c4576156c4613ef5565b6156d8816156d28454615029565b84615665565b602080601f83116001811461570d57600084156156f55750858301515b600019600386901b1c1916600185901b178555611035565b600085815260208120601f198616915b8281101561573c5788860151825594840194600190910190840161571d565b508582101561575a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161577c81846020870161415c565b9190910192915050565b6000806040838503121561579957600080fd5b82516157a48161400e565b602084015190925061415181614281565b6000602082840312156157c757600080fd5b815161254f816140f7565b6000602082840312156157e457600080fd5b815161254f81614f8b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b7557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b8051602080830151919081101561505d5760001960209190910360031b1b1691905056fea2646970667358221220efb2097be0819ef781c63f7e6ca85c45fcb4f2e0a46bbbf745978ac5ce92d8e964736f6c63430008140033",
3198
- "linkReferences": {
3199
- "contracts/types/Key32.sol": {
3200
- "Key32Lib": [
3201
- {
3202
- "length": 20,
3203
- "start": 4720
3204
- },
3205
- {
3206
- "length": 20,
3207
- "start": 5488
3208
- },
3209
- {
3210
- "length": 20,
3211
- "start": 5607
3212
- },
3213
- {
3214
- "length": 20,
3215
- "start": 11613
3216
- },
3217
- {
3218
- "length": 20,
3219
- "start": 16784
3220
- },
3221
- {
3222
- "length": 20,
3223
- "start": 19106
3224
- },
3225
- {
3226
- "length": 20,
3227
- "start": 19855
3228
- },
3229
- {
3230
- "length": 20,
3231
- "start": 19971
3232
- },
3233
- {
3234
- "length": 20,
3235
- "start": 20709
3236
- },
3237
- {
3238
- "length": 20,
3239
- "start": 20825
3240
- },
3241
- {
3242
- "length": 20,
3243
- "start": 21557
3244
- },
3245
- {
3246
- "length": 20,
3247
- "start": 21673
3248
- },
3249
- {
3250
- "length": 20,
3251
- "start": 21855
3252
- },
3253
- {
3254
- "length": 20,
3255
- "start": 21971
3256
- }
3257
- ]
3258
- },
3259
- "contracts/types/NftId.sol": {
3260
- "NftIdLib": [
3261
- {
3262
- "length": 20,
3263
- "start": 10609
3264
- },
3265
- {
3266
- "length": 20,
3267
- "start": 12562
3268
- },
3269
- {
3270
- "length": 20,
3271
- "start": 13671
3272
- },
3273
- {
3274
- "length": 20,
3275
- "start": 14976
3276
- },
3277
- {
3278
- "length": 20,
3279
- "start": 17351
3280
- }
3281
- ]
3282
- },
3283
- "contracts/types/ObjectType.sol": {
3284
- "ObjectTypeLib": [
3285
- {
3286
- "length": 20,
3287
- "start": 4844
3288
- },
3289
- {
3290
- "length": 20,
3291
- "start": 19227
3292
- }
3293
- ]
3294
- },
3295
- "contracts/types/RiskId.sol": {
3296
- "RiskIdLib": [
3297
- {
3298
- "length": 20,
3299
- "start": 11452
3300
- },
3301
- {
3302
- "length": 20,
3303
- "start": 13281
3304
- },
3305
- {
3306
- "length": 20,
3307
- "start": 15061
3308
- }
3309
- ]
3310
- },
3311
- "contracts/types/RoleId.sol": {
3312
- "RoleIdLib": [
3313
- {
3314
- "length": 20,
3315
- "start": 2090
3316
- },
3317
- {
3318
- "length": 20,
3319
- "start": 2261
3320
- },
3321
- {
3322
- "length": 20,
3323
- "start": 3702
3324
- },
3325
- {
3326
- "length": 20,
3327
- "start": 4027
3328
- },
3329
- {
3330
- "length": 20,
3331
- "start": 11904
3332
- },
3333
- {
3334
- "length": 20,
3335
- "start": 13408
3336
- },
3337
- {
3338
- "length": 20,
3339
- "start": 13494
3340
- },
3341
- {
3342
- "length": 20,
3343
- "start": 14519
3344
- },
3345
- {
3346
- "length": 20,
3347
- "start": 14687
3348
- },
3349
- {
3350
- "length": 20,
3351
- "start": 15703
3352
- },
3353
- {
3354
- "length": 20,
3355
- "start": 16116
3356
- },
3357
- {
3358
- "length": 20,
3359
- "start": 18125
3360
- }
3361
- ]
3362
- },
3363
- "contracts/types/StateId.sol": {
3364
- "StateIdLib": [
3365
- {
3366
- "length": 20,
3367
- "start": 4316
3368
- },
3369
- {
3370
- "length": 20,
3371
- "start": 5066
3372
- },
3373
- {
3374
- "length": 20,
3375
- "start": 6183
3376
- },
3377
- {
3378
- "length": 20,
3379
- "start": 12201
3380
- },
3381
- {
3382
- "length": 20,
3383
- "start": 15215
3384
- },
3385
- {
3386
- "length": 20,
3387
- "start": 16469
3388
- },
3389
- {
3390
- "length": 20,
3391
- "start": 19444
3392
- },
3393
- {
3394
- "length": 20,
3395
- "start": 20163
3396
- },
3397
- {
3398
- "length": 20,
3399
- "start": 20383
3400
- },
3401
- {
3402
- "length": 20,
3403
- "start": 20983
3404
- },
3405
- {
3406
- "length": 20,
3407
- "start": 21203
3408
- }
3409
- ]
3410
- }
3411
- },
3412
- "deployedLinkReferences": {
3413
- "contracts/types/Key32.sol": {
3414
- "Key32Lib": [
3415
- {
3416
- "length": 20,
3417
- "start": 4487
3418
- },
3419
- {
3420
- "length": 20,
3421
- "start": 9658
3422
- },
3423
- {
3424
- "length": 20,
3425
- "start": 11980
3426
- },
3427
- {
3428
- "length": 20,
3429
- "start": 12729
3430
- },
3431
- {
3432
- "length": 20,
3433
- "start": 12845
3434
- },
3435
- {
3436
- "length": 20,
3437
- "start": 13583
3438
- },
3439
- {
3440
- "length": 20,
3441
- "start": 13699
3442
- },
3443
- {
3444
- "length": 20,
3445
- "start": 14431
3446
- },
3447
- {
3448
- "length": 20,
3449
- "start": 14547
3450
- },
3451
- {
3452
- "length": 20,
3453
- "start": 14729
3454
- },
3455
- {
3456
- "length": 20,
3457
- "start": 14845
3458
- }
3459
- ]
3460
- },
3461
- "contracts/types/NftId.sol": {
3462
- "NftIdLib": [
3463
- {
3464
- "length": 20,
3465
- "start": 3483
3466
- },
3467
- {
3468
- "length": 20,
3469
- "start": 5436
3470
- },
3471
- {
3472
- "length": 20,
3473
- "start": 6545
3474
- },
3475
- {
3476
- "length": 20,
3477
- "start": 7850
3478
- },
3479
- {
3480
- "length": 20,
3481
- "start": 10225
3482
- }
3483
- ]
3484
- },
3485
- "contracts/types/ObjectType.sol": {
3486
- "ObjectTypeLib": [
3487
- {
3488
- "length": 20,
3489
- "start": 12101
3490
- }
3491
- ]
3492
- },
3493
- "contracts/types/RiskId.sol": {
3494
- "RiskIdLib": [
3495
- {
3496
- "length": 20,
3497
- "start": 4326
3498
- },
3499
- {
3500
- "length": 20,
3501
- "start": 6155
3502
- },
3503
- {
3504
- "length": 20,
3505
- "start": 7935
3506
- }
3507
- ]
3508
- },
3509
- "contracts/types/RoleId.sol": {
3510
- "RoleIdLib": [
3511
- {
3512
- "length": 20,
3513
- "start": 4778
3514
- },
3515
- {
3516
- "length": 20,
3517
- "start": 6282
3518
- },
3519
- {
3520
- "length": 20,
3521
- "start": 6368
3522
- },
3523
- {
3524
- "length": 20,
3525
- "start": 7393
3526
- },
875
+ ]
876
+ }
877
+ },
878
+ "deployedLinkReferences": {
879
+ "contracts/type/NftId.sol": {
880
+ "NftIdLib": [
3527
881
  {
3528
882
  "length": 20,
3529
- "start": 7561
883
+ "start": 1443
3530
884
  },
3531
885
  {
3532
886
  "length": 20,
3533
- "start": 8577
887
+ "start": 2983
3534
888
  },
3535
889
  {
3536
890
  "length": 20,
3537
- "start": 8990
3538
- },
3539
- {
3540
- "length": 20,
3541
- "start": 10999
891
+ "start": 5729
3542
892
  }
3543
893
  ]
3544
894
  },
3545
- "contracts/types/StateId.sol": {
3546
- "StateIdLib": [
3547
- {
3548
- "length": 20,
3549
- "start": 5075
3550
- },
3551
- {
3552
- "length": 20,
3553
- "start": 8089
3554
- },
3555
- {
3556
- "length": 20,
3557
- "start": 9343
3558
- },
3559
- {
3560
- "length": 20,
3561
- "start": 12318
3562
- },
3563
- {
3564
- "length": 20,
3565
- "start": 13037
3566
- },
3567
- {
3568
- "length": 20,
3569
- "start": 13257
3570
- },
3571
- {
3572
- "length": 20,
3573
- "start": 13857
3574
- },
895
+ "contracts/type/Version.sol": {
896
+ "VersionPartLib": [
3575
897
  {
3576
898
  "length": 20,
3577
- "start": 14077
899
+ "start": 4883
3578
900
  }
3579
901
  ]
3580
902
  }