@etherisc/gif-next 0.0.2-ef2f083-203 → 0.0.2-efd035d-094

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