@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce8fb44-591

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