@etherisc/gif-next 0.0.2-f831797-539 → 0.0.2-f8e07c7-917

Sign up to get free protection for your applications and to get access to all the features.
Files changed (628) hide show
  1. package/README.md +38 -86
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1524 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +231 -322
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +280 -212
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +147 -317
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1906
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +318 -70
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +402 -2689
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +784 -333
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +379 -265
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +115 -74
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3591 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  74. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  75. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1185 -0
  77. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  79. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  81. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +802 -0
  83. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  85. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  86. package/artifacts/contracts/{components/Product.sol/Product.json → oracle/Oracle.sol/Oracle.json} +251 -297
  87. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  89. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  91. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  92. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +291 -133
  93. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  95. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +218 -145
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  102. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +292 -250
  103. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  105. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.json +1288 -0
  107. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  109. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  111. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  113. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  115. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1318 -0
  117. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  119. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  121. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  123. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  124. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +174 -202
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  130. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +146 -153
  131. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +985 -0
  133. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +80 -64
  135. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  137. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  139. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  141. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  143. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  144. package/artifacts/contracts/product/Product.sol/Product.json +1276 -0
  145. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  147. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  149. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  151. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +191 -18
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -149
  155. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  157. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  158. package/artifacts/contracts/registry/Registry.sol/Registry.json +453 -34
  159. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  161. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -97
  163. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  165. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  167. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  168. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  169. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  171. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  173. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  174. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +160 -78
  175. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1640 -0
  177. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +812 -0
  179. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  180. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +100 -113
  181. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  182. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  183. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  184. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +196 -52
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  186. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +977 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  188. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +223 -198
  189. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  190. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  191. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  192. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  194. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  199. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  201. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IService.sol/IService.json +96 -19
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  204. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1015 -0
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  209. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  211. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  212. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  213. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  215. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  217. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  219. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  221. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  222. package/artifacts/contracts/shared/Service.sol/Service.json +103 -21
  223. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  225. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  227. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  228. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  229. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  230. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  231. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  232. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  233. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  234. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  235. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  236. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  237. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  238. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  239. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  240. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  241. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  242. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  243. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  244. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  245. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  246. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  247. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  248. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  249. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  250. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  251. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  252. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  253. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  254. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  255. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  256. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  257. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  258. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  259. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  260. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  261. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  262. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  263. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  264. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  265. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  266. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  267. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  268. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  269. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  270. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  271. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  272. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  273. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  274. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  275. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  276. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  277. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  278. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  279. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  280. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  281. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  283. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  284. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  285. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  286. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  287. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  288. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
  289. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.json +10 -0
  291. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
  293. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  294. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  295. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  296. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  297. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  298. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  299. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  300. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  301. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  302. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  303. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  304. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  305. package/contracts/authorization/AccessAdmin.sol +591 -0
  306. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  307. package/contracts/authorization/Authorization.sol +218 -0
  308. package/contracts/authorization/IAccess.sol +48 -0
  309. package/contracts/authorization/IAccessAdmin.sol +136 -0
  310. package/contracts/authorization/IAuthorization.sol +54 -0
  311. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  312. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  313. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  314. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  315. package/contracts/distribution/BasicDistribution.sol +149 -0
  316. package/contracts/distribution/BasicDistributionAuthorization.sol +46 -0
  317. package/contracts/{components → distribution}/Distribution.sol +163 -159
  318. package/contracts/distribution/DistributionService.sol +288 -0
  319. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  320. package/contracts/distribution/IDistributionComponent.sol +47 -0
  321. package/contracts/{instance/service → distribution}/IDistributionService.sol +25 -38
  322. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
  323. package/contracts/instance/IInstance.sol +60 -67
  324. package/contracts/instance/IInstanceService.sol +56 -24
  325. package/contracts/instance/Instance.sol +175 -216
  326. package/contracts/instance/InstanceAdmin.sol +266 -0
  327. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  328. package/contracts/instance/InstanceReader.sol +172 -61
  329. package/contracts/instance/InstanceService.sol +310 -356
  330. package/contracts/instance/InstanceServiceManager.sol +12 -26
  331. package/contracts/instance/InstanceStore.sol +276 -0
  332. package/contracts/instance/base/BalanceStore.sol +123 -0
  333. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  334. package/contracts/instance/base/ObjectCounter.sol +21 -0
  335. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  336. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
  337. package/contracts/instance/module/IAccess.sol +19 -20
  338. package/contracts/instance/module/IBundle.sol +8 -9
  339. package/contracts/instance/module/IComponents.sol +21 -5
  340. package/contracts/instance/module/IDistribution.sol +7 -6
  341. package/contracts/instance/module/IPolicy.sol +28 -16
  342. package/contracts/instance/module/IRisk.sol +1 -1
  343. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  344. package/contracts/oracle/BasicOracle.sol +48 -0
  345. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  346. package/contracts/oracle/IOracle.sol +36 -0
  347. package/contracts/oracle/IOracleComponent.sol +33 -0
  348. package/contracts/oracle/IOracleService.sol +65 -0
  349. package/contracts/oracle/Oracle.sol +170 -0
  350. package/contracts/oracle/OracleService.sol +278 -0
  351. package/contracts/oracle/OracleServiceManager.sol +39 -0
  352. package/contracts/pool/BasicPool.sol +164 -0
  353. package/contracts/pool/BasicPoolAuthorization.sol +52 -0
  354. package/contracts/pool/BundleService.sol +284 -0
  355. package/contracts/pool/BundleServiceManager.sol +39 -0
  356. package/contracts/pool/IBundleService.sol +106 -0
  357. package/contracts/pool/IPoolComponent.sol +51 -0
  358. package/contracts/pool/IPoolService.sol +150 -0
  359. package/contracts/pool/Pool.sol +311 -0
  360. package/contracts/pool/PoolService.sol +436 -0
  361. package/contracts/pool/PoolServiceManager.sol +39 -0
  362. package/contracts/product/ApplicationService.sol +230 -0
  363. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  364. package/contracts/product/BasicProduct.sol +82 -0
  365. package/contracts/product/BasicProductAuthorization.sol +43 -0
  366. package/contracts/product/ClaimService.sol +416 -0
  367. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  368. package/contracts/{instance/service → product}/IApplicationService.sol +15 -35
  369. package/contracts/product/IClaimService.sol +99 -0
  370. package/contracts/{instance/service → product}/IPolicyService.sol +37 -31
  371. package/contracts/product/IPricingService.sol +39 -0
  372. package/contracts/product/IProductComponent.sol +40 -0
  373. package/contracts/product/IProductService.sol +33 -0
  374. package/contracts/product/PolicyService.sol +475 -0
  375. package/contracts/product/PolicyServiceManager.sol +39 -0
  376. package/contracts/product/PricingService.sol +300 -0
  377. package/contracts/product/PricingServiceManager.sol +39 -0
  378. package/contracts/{components → product}/Product.sol +209 -110
  379. package/contracts/product/ProductService.sol +99 -0
  380. package/contracts/product/ProductServiceManager.sol +39 -0
  381. package/contracts/registry/ChainNft.sol +16 -1
  382. package/contracts/registry/IRegistry.sol +61 -26
  383. package/contracts/registry/IRegistryService.sol +44 -42
  384. package/contracts/registry/ITransferInterceptor.sol +1 -0
  385. package/contracts/registry/Registry.sol +251 -139
  386. package/contracts/registry/RegistryAdmin.sol +365 -0
  387. package/contracts/registry/RegistryService.sol +70 -101
  388. package/contracts/registry/RegistryServiceManager.sol +23 -32
  389. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  390. package/contracts/registry/ReleaseRegistry.sol +487 -0
  391. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  392. package/contracts/registry/TokenRegistry.sol +261 -62
  393. package/contracts/shared/Component.sol +274 -0
  394. package/contracts/shared/ComponentService.sol +622 -0
  395. package/contracts/shared/ComponentServiceManager.sol +35 -0
  396. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  397. package/contracts/shared/ERC165.sol +1 -1
  398. package/contracts/{components → shared}/IComponent.sol +23 -27
  399. package/contracts/shared/IComponentService.sol +112 -0
  400. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  401. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  402. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  403. package/contracts/shared/INftOwnable.sol +2 -2
  404. package/contracts/shared/IPolicyHolder.sol +29 -10
  405. package/contracts/shared/IRegistryLinked.sol +0 -1
  406. package/contracts/shared/IService.sol +15 -8
  407. package/contracts/shared/InitializableCustom.sol +177 -0
  408. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  409. package/contracts/shared/KeyValueStore.sol +131 -0
  410. package/contracts/shared/Lifecycle.sol +77 -0
  411. package/contracts/shared/NftIdSet.sol +65 -0
  412. package/contracts/shared/NftOwnable.sol +3 -16
  413. package/contracts/shared/PolicyHolder.sol +40 -19
  414. package/contracts/shared/Registerable.sol +13 -12
  415. package/contracts/shared/RegistryLinked.sol +0 -5
  416. package/contracts/shared/Service.sol +47 -23
  417. package/contracts/shared/TokenHandler.sol +27 -2
  418. package/contracts/staking/IStaking.sol +167 -0
  419. package/contracts/staking/IStakingService.sol +160 -0
  420. package/contracts/staking/StakeManagerLib.sol +231 -0
  421. package/contracts/staking/Staking.sol +514 -0
  422. package/contracts/staking/StakingLifecycle.sol +23 -0
  423. package/contracts/staking/StakingManager.sol +50 -0
  424. package/contracts/staking/StakingReader.sol +183 -0
  425. package/contracts/staking/StakingService.sol +411 -0
  426. package/contracts/staking/StakingServiceManager.sol +44 -0
  427. package/contracts/staking/StakingStore.sol +605 -0
  428. package/contracts/staking/TargetManagerLib.sol +207 -0
  429. package/contracts/{types → type}/AddressSet.sol +1 -1
  430. package/contracts/type/Amount.sol +128 -0
  431. package/contracts/{types → type}/Blocknumber.sol +20 -3
  432. package/contracts/{types → type}/ClaimId.sol +25 -2
  433. package/contracts/{types → type}/Fee.sol +33 -24
  434. package/contracts/{types → type}/NftId.sol +14 -16
  435. package/contracts/{types → type}/NftIdSet.sol +2 -2
  436. package/contracts/type/ObjectType.sol +271 -0
  437. package/contracts/{types → type}/PayoutId.sol +33 -5
  438. package/contracts/{types → type}/Referral.sol +1 -1
  439. package/contracts/type/RequestId.sol +75 -0
  440. package/contracts/{types → type}/RiskId.sol +1 -1
  441. package/contracts/type/RoleId.sol +174 -0
  442. package/contracts/{types → type}/Seconds.sol +27 -0
  443. package/contracts/type/Selector.sol +102 -0
  444. package/contracts/{types → type}/StateId.sol +33 -4
  445. package/contracts/type/String.sol +53 -0
  446. package/contracts/{types → type}/Timestamp.sol +10 -1
  447. package/contracts/{types → type}/UFixed.sol +6 -0
  448. package/contracts/{types → type}/Version.sol +4 -2
  449. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  450. package/contracts/{shared → upgradeability}/ProxyManager.sol +36 -7
  451. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  452. package/contracts/{shared → upgradeability}/Versionable.sol +1 -1
  453. package/package.json +8 -5
  454. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  455. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  456. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  457. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  458. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  459. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  460. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  461. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  462. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  463. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -783
  464. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  465. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  466. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  467. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  468. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  469. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  470. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  472. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  473. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  474. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  475. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  476. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  477. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  478. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  479. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  480. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
  481. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  483. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1093
  485. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  487. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  488. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  489. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  490. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  491. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1724
  493. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  494. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -801
  495. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
  499. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  501. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -428
  503. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  505. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  506. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  507. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  508. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  509. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -816
  510. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  511. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -653
  512. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  513. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  514. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  515. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  516. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  517. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  518. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  519. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  520. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  521. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  522. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  523. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  524. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  525. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  526. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  527. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  528. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  529. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  530. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  531. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  532. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  533. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  534. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  535. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  536. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  537. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  538. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  539. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  540. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  541. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  542. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  543. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  544. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  545. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  546. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  547. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  548. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  549. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  550. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  551. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  552. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  553. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  554. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  555. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  556. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  557. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  558. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  559. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  560. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  561. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  562. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  564. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  565. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  566. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  567. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  568. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  569. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  570. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  571. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  572. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  573. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  574. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  575. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  576. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  577. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  578. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  579. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  580. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  582. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  584. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  586. package/contracts/components/Component.sol +0 -241
  587. package/contracts/components/IDistributionComponent.sol +0 -71
  588. package/contracts/components/IPoolComponent.sol +0 -113
  589. package/contracts/components/IProductComponent.sol +0 -40
  590. package/contracts/components/Pool.sol +0 -299
  591. package/contracts/instance/InstanceAccessManager.sol +0 -297
  592. package/contracts/instance/base/ComponentService.sol +0 -134
  593. package/contracts/instance/base/KeyValueStore.sol +0 -175
  594. package/contracts/instance/base/Lifecycle.sol +0 -109
  595. package/contracts/instance/module/ISetup.sol +0 -33
  596. package/contracts/instance/module/ITreasury.sol +0 -23
  597. package/contracts/instance/service/ApplicationService.sol +0 -350
  598. package/contracts/instance/service/BundleService.sol +0 -336
  599. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  600. package/contracts/instance/service/ClaimService.sol +0 -151
  601. package/contracts/instance/service/DistributionService.sol +0 -450
  602. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  603. package/contracts/instance/service/IBundleService.sol +0 -62
  604. package/contracts/instance/service/IClaimService.sol +0 -61
  605. package/contracts/instance/service/IPoolService.sol +0 -35
  606. package/contracts/instance/service/IProductService.sol +0 -40
  607. package/contracts/instance/service/PolicyService.sol +0 -403
  608. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  609. package/contracts/instance/service/PoolService.sol +0 -163
  610. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  611. package/contracts/instance/service/ProductService.sol +0 -233
  612. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  613. package/contracts/registry/RegistryAccessManager.sol +0 -216
  614. package/contracts/registry/ReleaseManager.sol +0 -322
  615. package/contracts/shared/ContractDeployerLib.sol +0 -72
  616. package/contracts/test/TestFee.sol +0 -25
  617. package/contracts/test/TestRegisterable.sol +0 -18
  618. package/contracts/test/TestRoleId.sol +0 -14
  619. package/contracts/test/TestService.sol +0 -25
  620. package/contracts/test/TestToken.sol +0 -26
  621. package/contracts/test/TestVersion.sol +0 -44
  622. package/contracts/test/TestVersionable.sol +0 -17
  623. package/contracts/types/ChainId.sol +0 -38
  624. package/contracts/types/NumberId.sol +0 -52
  625. package/contracts/types/ObjectType.sol +0 -157
  626. package/contracts/types/RoleId.sol +0 -95
  627. /package/contracts/{types → type}/DistributorType.sol +0 -0
  628. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1134 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleService",
4
+ "sourceName": "contracts/pool/BundleService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "bundleNftId",
49
+ "type": "uint96"
50
+ },
51
+ {
52
+ "internalType": "StateId",
53
+ "name": "state",
54
+ "type": "uint8"
55
+ },
56
+ {
57
+ "internalType": "Timestamp",
58
+ "name": "expiredAt",
59
+ "type": "uint40"
60
+ }
61
+ ],
62
+ "name": "ErrorBundleServiceBundleNotOpen",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "bundleNftId",
70
+ "type": "uint96"
71
+ },
72
+ {
73
+ "internalType": "NftId",
74
+ "name": "expectedPool",
75
+ "type": "uint96"
76
+ },
77
+ {
78
+ "internalType": "NftId",
79
+ "name": "actualPool",
80
+ "type": "uint96"
81
+ }
82
+ ],
83
+ "name": "ErrorBundleServiceBundlePoolMismatch",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "bundleNftId",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorBundleServiceBundleUnknown",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "bundleNftId",
102
+ "type": "uint96"
103
+ },
104
+ {
105
+ "internalType": "uint256",
106
+ "name": "openPoliciesCount",
107
+ "type": "uint256"
108
+ }
109
+ ],
110
+ "name": "ErrorBundleServiceBundleWithOpenPolicies",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "NftId",
117
+ "name": "bundleNftId",
118
+ "type": "uint96"
119
+ },
120
+ {
121
+ "internalType": "Amount",
122
+ "name": "capacityAmount",
123
+ "type": "uint96"
124
+ },
125
+ {
126
+ "internalType": "Amount",
127
+ "name": "collateralAmount",
128
+ "type": "uint96"
129
+ }
130
+ ],
131
+ "name": "ErrorBundleServiceCapacityInsufficient",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "address",
138
+ "name": "bundleOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "tokenHandlerAddress",
144
+ "type": "address"
145
+ },
146
+ {
147
+ "internalType": "Amount",
148
+ "name": "amount",
149
+ "type": "uint96"
150
+ }
151
+ ],
152
+ "name": "ErrorBundleServiceInsufficientAllowance",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "NftId",
159
+ "name": "policyNftId",
160
+ "type": "uint96"
161
+ }
162
+ ],
163
+ "name": "ErrorBundleServicePolicyNotCloseable",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "policyNftId",
171
+ "type": "uint96"
172
+ }
173
+ ],
174
+ "name": "ErrorBundleSetPolicyAlreadyActivated",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "NftId",
181
+ "name": "componentNftId",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "NftId",
192
+ "name": "componentNftId",
193
+ "type": "uint96"
194
+ },
195
+ {
196
+ "internalType": "ObjectType",
197
+ "name": "expectedType",
198
+ "type": "uint8"
199
+ },
200
+ {
201
+ "internalType": "ObjectType",
202
+ "name": "actualType",
203
+ "type": "uint8"
204
+ }
205
+ ],
206
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "nftId",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableAlreadyLinked",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "contractAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorNftOwnableContractNotRegistered",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorNftOwnableInitialOwnerZero",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorNftOwnableNotOwner",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "registryAddress",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorNotRegistry",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorServiceNotImplemented",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "InvalidInitialization",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "NotInitializing",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": false,
278
+ "internalType": "address",
279
+ "name": "authority",
280
+ "type": "address"
281
+ }
282
+ ],
283
+ "name": "AuthorityUpdated",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "uint64",
292
+ "name": "version",
293
+ "type": "uint64"
294
+ }
295
+ ],
296
+ "name": "Initialized",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "NftId",
305
+ "name": "bundleNftId",
306
+ "type": "uint96"
307
+ }
308
+ ],
309
+ "name": "LogBundleServiceBundleActivated",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "NftId",
318
+ "name": "bundleNftId",
319
+ "type": "uint96"
320
+ }
321
+ ],
322
+ "name": "LogBundleServiceBundleLocked",
323
+ "type": "event"
324
+ },
325
+ {
326
+ "inputs": [],
327
+ "name": "NAME",
328
+ "outputs": [
329
+ {
330
+ "internalType": "string",
331
+ "name": "",
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
341
+ "outputs": [
342
+ {
343
+ "internalType": "bytes32",
344
+ "name": "",
345
+ "type": "bytes32"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "REGISTERABLE_LOCATION_V1",
354
+ "outputs": [
355
+ {
356
+ "internalType": "bytes32",
357
+ "name": "",
358
+ "type": "bytes32"
359
+ }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "authority",
367
+ "outputs": [
368
+ {
369
+ "internalType": "address",
370
+ "name": "",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "stateMutability": "view",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [
379
+ {
380
+ "internalType": "contract IInstance",
381
+ "name": "instance",
382
+ "type": "address"
383
+ },
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "bundleNftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "close",
391
+ "outputs": [],
392
+ "stateMutability": "nonpayable",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "contract IInstance",
399
+ "name": "instance",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "NftId",
404
+ "name": "poolNftId",
405
+ "type": "uint96"
406
+ },
407
+ {
408
+ "internalType": "address",
409
+ "name": "owner",
410
+ "type": "address"
411
+ },
412
+ {
413
+ "components": [
414
+ {
415
+ "internalType": "UFixed",
416
+ "name": "fractionalFee",
417
+ "type": "uint256"
418
+ },
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "fixedFee",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "internalType": "struct Fee",
426
+ "name": "bundleFee",
427
+ "type": "tuple"
428
+ },
429
+ {
430
+ "internalType": "Amount",
431
+ "name": "stakingAmount",
432
+ "type": "uint96"
433
+ },
434
+ {
435
+ "internalType": "Seconds",
436
+ "name": "lifetime",
437
+ "type": "uint40"
438
+ },
439
+ {
440
+ "internalType": "bytes",
441
+ "name": "filter",
442
+ "type": "bytes"
443
+ }
444
+ ],
445
+ "name": "create",
446
+ "outputs": [
447
+ {
448
+ "internalType": "NftId",
449
+ "name": "bundleNftId",
450
+ "type": "uint96"
451
+ }
452
+ ],
453
+ "stateMutability": "nonpayable",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [],
458
+ "name": "getDomain",
459
+ "outputs": [
460
+ {
461
+ "internalType": "ObjectType",
462
+ "name": "serviceDomain",
463
+ "type": "uint8"
464
+ }
465
+ ],
466
+ "stateMutability": "pure",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "getInitialInfo",
472
+ "outputs": [
473
+ {
474
+ "components": [
475
+ {
476
+ "internalType": "NftId",
477
+ "name": "nftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "NftId",
482
+ "name": "parentNftId",
483
+ "type": "uint96"
484
+ },
485
+ {
486
+ "internalType": "ObjectType",
487
+ "name": "objectType",
488
+ "type": "uint8"
489
+ },
490
+ {
491
+ "internalType": "bool",
492
+ "name": "isInterceptor",
493
+ "type": "bool"
494
+ },
495
+ {
496
+ "internalType": "address",
497
+ "name": "objectAddress",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "internalType": "address",
502
+ "name": "initialOwner",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "data",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "internalType": "struct IRegistry.ObjectInfo",
512
+ "name": "info",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [],
521
+ "name": "getNftId",
522
+ "outputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "",
526
+ "type": "uint96"
527
+ }
528
+ ],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [],
534
+ "name": "getOwner",
535
+ "outputs": [
536
+ {
537
+ "internalType": "address",
538
+ "name": "",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [],
547
+ "name": "getRegistry",
548
+ "outputs": [
549
+ {
550
+ "internalType": "contract IRegistry",
551
+ "name": "",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "getRoleId",
561
+ "outputs": [
562
+ {
563
+ "internalType": "RoleId",
564
+ "name": "serviceRoleId",
565
+ "type": "uint64"
566
+ }
567
+ ],
568
+ "stateMutability": "pure",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "getVersion",
574
+ "outputs": [
575
+ {
576
+ "internalType": "Version",
577
+ "name": "",
578
+ "type": "uint24"
579
+ }
580
+ ],
581
+ "stateMutability": "pure",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [],
586
+ "name": "initializeERC165",
587
+ "outputs": [],
588
+ "stateMutability": "nonpayable",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [
593
+ {
594
+ "internalType": "address",
595
+ "name": "initialOwner",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "internalType": "address",
600
+ "name": "registryAddress",
601
+ "type": "address"
602
+ }
603
+ ],
604
+ "name": "initializeNftOwnable",
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address",
613
+ "name": "registryAddress",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "NftId",
618
+ "name": "parentNftId",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "internalType": "ObjectType",
623
+ "name": "objectType",
624
+ "type": "uint8"
625
+ },
626
+ {
627
+ "internalType": "bool",
628
+ "name": "isInterceptor",
629
+ "type": "bool"
630
+ },
631
+ {
632
+ "internalType": "address",
633
+ "name": "initialOwner",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "internalType": "bytes",
638
+ "name": "registryData",
639
+ "type": "bytes"
640
+ }
641
+ ],
642
+ "name": "initializeRegisterable",
643
+ "outputs": [],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [
649
+ {
650
+ "internalType": "address",
651
+ "name": "registryAddress",
652
+ "type": "address"
653
+ }
654
+ ],
655
+ "name": "initializeRegistryLinked",
656
+ "outputs": [],
657
+ "stateMutability": "nonpayable",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [
662
+ {
663
+ "internalType": "address",
664
+ "name": "registry",
665
+ "type": "address"
666
+ },
667
+ {
668
+ "internalType": "address",
669
+ "name": "authority",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "address",
674
+ "name": "initialOwner",
675
+ "type": "address"
676
+ }
677
+ ],
678
+ "name": "initializeService",
679
+ "outputs": [],
680
+ "stateMutability": "nonpayable",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "activatedBy",
688
+ "type": "address"
689
+ },
690
+ {
691
+ "internalType": "bytes",
692
+ "name": "data",
693
+ "type": "bytes"
694
+ }
695
+ ],
696
+ "name": "initializeVersionable",
697
+ "outputs": [],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "isConsumingScheduledOp",
704
+ "outputs": [
705
+ {
706
+ "internalType": "bytes4",
707
+ "name": "",
708
+ "type": "bytes4"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [],
716
+ "name": "linkToRegisteredNftId",
717
+ "outputs": [
718
+ {
719
+ "internalType": "NftId",
720
+ "name": "nftId",
721
+ "type": "uint96"
722
+ }
723
+ ],
724
+ "stateMutability": "nonpayable",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [
729
+ {
730
+ "internalType": "NftId",
731
+ "name": "bundleNftId",
732
+ "type": "uint96"
733
+ }
734
+ ],
735
+ "name": "lock",
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "contract IInstance",
744
+ "name": "instance",
745
+ "type": "address"
746
+ },
747
+ {
748
+ "internalType": "NftId",
749
+ "name": "policyNftId",
750
+ "type": "uint96"
751
+ },
752
+ {
753
+ "internalType": "NftId",
754
+ "name": "bundleNftId",
755
+ "type": "uint96"
756
+ },
757
+ {
758
+ "internalType": "Amount",
759
+ "name": "collateralAmount",
760
+ "type": "uint96"
761
+ }
762
+ ],
763
+ "name": "lockCollateral",
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "bytes4",
772
+ "name": "interfaceId",
773
+ "type": "bytes4"
774
+ }
775
+ ],
776
+ "name": "registerInterface",
777
+ "outputs": [],
778
+ "stateMutability": "nonpayable",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "internalType": "contract IInstance",
785
+ "name": "instance",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "NftId",
790
+ "name": "policyNftId",
791
+ "type": "uint96"
792
+ },
793
+ {
794
+ "internalType": "NftId",
795
+ "name": "bundleNftId",
796
+ "type": "uint96"
797
+ },
798
+ {
799
+ "internalType": "Amount",
800
+ "name": "collateralAmount",
801
+ "type": "uint96"
802
+ }
803
+ ],
804
+ "name": "releaseCollateral",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "address",
813
+ "name": "newAuthority",
814
+ "type": "address"
815
+ }
816
+ ],
817
+ "name": "setAuthority",
818
+ "outputs": [],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "NftId",
826
+ "name": "bundleNftId",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "components": [
831
+ {
832
+ "internalType": "UFixed",
833
+ "name": "fractionalFee",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "fixedFee",
839
+ "type": "uint256"
840
+ }
841
+ ],
842
+ "internalType": "struct Fee",
843
+ "name": "fee",
844
+ "type": "tuple"
845
+ }
846
+ ],
847
+ "name": "setFee",
848
+ "outputs": [],
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "bytes4",
856
+ "name": "interfaceId",
857
+ "type": "bytes4"
858
+ }
859
+ ],
860
+ "name": "supportsInterface",
861
+ "outputs": [
862
+ {
863
+ "internalType": "bool",
864
+ "name": "",
865
+ "type": "bool"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "contract IInstance",
875
+ "name": "instance",
876
+ "type": "address"
877
+ },
878
+ {
879
+ "internalType": "NftId",
880
+ "name": "policyNftId",
881
+ "type": "uint96"
882
+ }
883
+ ],
884
+ "name": "unlinkPolicy",
885
+ "outputs": [],
886
+ "stateMutability": "nonpayable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "NftId",
893
+ "name": "bundleNftId",
894
+ "type": "uint96"
895
+ }
896
+ ],
897
+ "name": "unlock",
898
+ "outputs": [],
899
+ "stateMutability": "nonpayable",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "bytes",
906
+ "name": "data",
907
+ "type": "bytes"
908
+ }
909
+ ],
910
+ "name": "upgradeVersionable",
911
+ "outputs": [],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ }
915
+ ],
916
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61445c806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063675393bf11610109578063aa9acb2c1161009e578063b68d18091161006e578063b68d180914610493578063bf7e214f146104a2578063e283b4a9146104aa578063f7c34ee0146104bd575f80fd5b8063aa9acb2c14610446578063ad328d9f14610459578063ada9652e1461046c578063b5346af514610480575f80fd5b8063893d20e8116100d9578063893d20e8146103d15780638e32e979146103d95780638fb36037146103ec578063a3f4df7e1461040d575f80fd5b8063675393bf146103785780636c741e781461038b57806376429bc0146103ab5780637a9e5e4b146103be575f80fd5b8063214cdb801161017f57806349bb9e4b1161014f57806349bb9e4b146103105780634adcf909146103235780635ab1bd5314610336578063644c45e01461035b575f80fd5b8063214cdb80146102cf57806327bb7a33146102e2578063329d6e74146102f557806336fc697e14610308575f80fd5b80630fec111c116101ba5780630fec111c14610252578063138461e0146102675780631eff4b22146102875780631f8e8f36146102bc575f80fd5b806301ffc9a7146101e057806306fa4565146102215780630d8e6e2c14610236575b5f80fd5b61020c6101ee3660046134bf565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f3660046134fa565b6104d0565b005b61023e6106b0565b60405162ffffff9091168152602001610218565b61025a610737565b6040516102189190613543565b61026f6108c3565b6040516001600160601b039091168152602001610218565b6102ae7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102ca3660046136d9565b6108cd565b6102346102dd3660046134bf565b610b79565b6102346102f03660046137b4565b610ba5565b610234610303366004613847565b610c4a565b610234610d8c565b61023461031e366004613878565b610dd1565b6102346103313660046138c4565b610ecd565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f805160206143c7833981519152546001600160601b031661026f565b61023461038636600461391d565b611362565b61039361146f565b6040516001600160401b039091168152602001610218565b6102346103b9366004613938565b611565565b6102346103cc36600461391d565b61172a565b6103436117ac565b6102346103e736600461396f565b6118dd565b6103f4611a1a565b6040516001600160e01b03199091168152602001610218565b6104396040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161021891906139b7565b610234610454366004613938565b611a4f565b6102346104673660046138c4565b611c86565b6102ae5f805160206143c783398151915281565b61023461048e3660046134fa565b611d70565b604051601e8152602001610218565b610343611f47565b61026f6104b83660046139db565b611f62565b6102346104cb366004613ab3565b6124c8565b5f6104db600f61253e565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053f9190613adf565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610596575f80fd5b505af11580156105a8573d5f803e3d5ffd5b505050505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d9190613adf565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015f604051808303815f87803b158015610657575f80fd5b505af1158015610669573d5f803e3d5ffd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561070e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107329190613afa565b905090565b61073f613482565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d99190613b2c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108216117ac565b6001600160a01b0316815260200182600101805461083e90613b47565b80601f016020809104026020016040519081016040528092919081815260200182805461086a90613b47565b80156108b55780601f1061088c576101008083540402835291602001916108b5565b820191905f5260205f20905b81548152906001019060200180831161089857829003601f168201915b505050505081525091505090565b5f610732306125da565b5f806108d9600f61253e565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093f9190613adf565b604051634793b4ab60e01b81526001600160601b03871660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa15801561098e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109b59190810190613bd7565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610a11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a359190613cc2565b15610a63576040516349e9f38360e01b81526001600160601b03871660048201526024015b60405180910390fd5b8051610a6f90856127d3565b15610aab57805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610a5a565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b149190613adf565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610b4493929190613d61565b5f604051808303815f87803b158015610b5b575f80fd5b505af1158015610b6d573d5f803e3d5ffd5b50505050505050505050565b610b8161285f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610bad61285f565b610bb782876124c8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c408382613dd9565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c6c6106b0565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce9190613ea7565b5f805160206144078339815191528054600160401b900460ff1680610d00575080546001600160401b03808416911610155b15610d1e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d4883612897565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016106a3565b610d9461285f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f805160206144078339815191528054600160401b810460ff1615906001600160401b03165f81158015610e025750825b90505f826001600160401b03166001148015610e1d5750303b155b905081158015610e2b575080155b15610e495760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e7357845460ff60401b1916600160401b1785555b610e7d878761289f565b8315610ec457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ed9335b5f36612a0f565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3a9190613adf565b90505f6001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038816601e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610fbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe09190613ec2565b6040518263ffffffff1660e01b8152600401610ffe91815260200190565b608060405180830381865afa158015611019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103d9190613ef5565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa158015611090573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110b79190810190613bd7565b90506110cc8260045b60ff9081169116141590565b806111545750611154816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611121573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111459190613f79565b64ffffffffff90811691161090565b1561119957608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610a5a565b5f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111fa9190613adf565b6040516317bb785d60e21b81526001600160601b03881660048201529091505f90819081906001600160a01b03851690635eede17490602401606060405180830381865afa15801561124e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112729190613f94565b9250925092505f61128c846112878585612b05565b612b8a565b9050611298818a612bd4565b156112d15760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610a5a565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303815f875af1158015611325573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113499190613b2c565b506113548c8c612c1e565b505050505050505050505050565b61136a61285f565b806001600160a01b03163b5f0361139f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a5a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611419575060408051601f3d908101601f1916820190925261141691810190613cc2565b60015b6114415760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a5a565b8061146a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a5a565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601e604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156114da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114fe9190613fd3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107329190613ea7565b61156e33610ed2565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ce9190613adf565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa15801561161b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163f9190613cc2565b611667576040516392bb4dff60e01b81526001600160601b0382166004820152602401610a5a565b816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c79190613adf565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe678906024015f604051808303815f87803b158015611710575f80fd5b505af1158015611722573d5f803e3d5ffd5b505050505050565b33611733611f47565b6001600160a01b0316816001600160a01b03161461176e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610a5a565b816001600160a01b03163b5f036117a3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a5a565b61146a82612ebf565b5f805f805160206143c783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c9190613cc2565b156118c7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561189d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c19190613adf565b91505090565b54600160601b90046001600160a01b0316919050565b6118e561285f565b61196183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611925573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119499190613b2c565b60085f8560405180602001604052805f815250610ba5565b6001600160a01b0382161561197e5761197982612f1f565b6119f5565b5f6119896002612f30565b90506119f3816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ee9190613adf565b612f1f565b505b611a05634a531f3360e01b610b79565b611a1563daf9067160e01b610b79565b505050565b5f805160206143e783398151915280545f9190600160a01b900460ff16611a41575f6118c1565b638fb3603760e01b91505090565b611a5833610ed2565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab89190613adf565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611b0f575f80fd5b505af1158015611b21573d5f803e3d5ffd5b505050505f826001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b869190613adf565b6040516322cc1d4560e11b81526001600160601b03841660048201529091505f906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611bd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfa9190613ec2565b90508015611c2d576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610a5a565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af5906024015f604051808303815f87803b158015611c74575f80fd5b505af1158015610c40573d5f803e3d5ffd5b611c8f33610ed2565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ccb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cef9190613adf565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303815f875af1158015611d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d699190613b2c565b5050505050565b5f611d7b600f61253e565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ddf9190613adf565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611e36575f80fd5b505af1158015611e48573d5f803e3d5ffd5b505050505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ead9190613adf565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af5906024015f604051808303815f87803b158015611ef7575f80fd5b505af1158015611f09573d5f803e3d5ffd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f4925060200190506106a3565b5f805160206143e7833981519152546001600160a01b031690565b5f611f6c33610ed2565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611fe1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120059190613b2c565b6001600160601b031681526020018b6001600160601b0316815260200161202a601e90565b60ff1681526020015f151581526020015f6001600160a01b031681526020018a6001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016120869190613543565b6020604051808303815f875af11580156120a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c69190613b2c565b90505f896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612105573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121299190613adf565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af41580156121f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122169190613f79565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612273573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122979190613f79565b64ffffffffff1681525f6020909101526040516001600160e01b031960e085901b1681526122c9929190600401613ff9565b5f604051808303815f87803b1580156122e0575f80fd5b505af11580156122f2573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612363573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123879190613b2c565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b03928316602485015290821660448401521660648201526084015f604051808303815f87803b1580156123e3575f80fd5b505af11580156123f5573d5f803e3d5ffd5b505050505f8a6001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612436573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245a9190613adf565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e906024015f604051808303815f87803b1580156124a4575f80fd5b505af11580156124b6573d5f803e3d5ffd5b50505050505098975050505050505050565b6124d061285f565b6124d981611362565b6124e1610d8c565b6001600160a01b0382166125085760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206143c783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f612547613482565b5f61255a6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561259e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c29190613b2c565b92506125d083856001613037565b9395909450915050565b5f805f805160206143c783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061266a9190613cc2565b156126965780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a5a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156126e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061270c9190613cc2565b6127345760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a5a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612786573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127aa9190613b2c565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015612834573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128589190613cc2565b9392505050565b5f8051602061440783398151915254600160401b900460ff1661289557604051631afcd79f60e31b815260040160405180910390fd5b565b6101dc61285f565b5f805160206144078339815191528054600160401b810460ff1615906001600160401b03165f811580156128d05750825b90505f826001600160401b031660011480156128eb5750303b155b9050811580156128f9575080155b156129175760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561294157845460ff60401b1916600160401b1785555b5f8087806020019051810190612957919061401a565b9092509050612967825f8b6118dd565b6129716002612f30565b600380546001600160a01b0319166001600160a01b039290921691909117905561299b600b612f30565b600480546001600160a01b0319166001600160a01b03929092169190911790556129cb6375f5307560e01b610b79565b50508315610ec457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ebb565b5f805160206143e78339815191525f80612a47612a2a611f47565b8730612a3960045f8a8c614047565b612a429161406e565b6132d9565b91509150816117225763ffffffff811615612ae257825460ff60a01b1916600160a01b178355612a75611f47565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612aa4939291906140a6565b5f604051808303815f87803b158015612abb575f80fd5b505af1158015612acd573d5f803e3d5ffd5b5050845460ff60a01b19168555506117229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a5a565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612b66573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128589190613b2c565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612b4b565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401612819565b5f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c7f9190613adf565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091505f906001600160a01b0383169063bd7d9d85906024015f60405180830381865afa158015612cce573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612cf5919081019061410d565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612d53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d779190613cc2565b8015612dce5750612dce816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611121573d5f803e3d5ffd5b15612df7576040516311db797560e31b81526001600160601b0384166004820152602401610a5a565b5f846001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e589190613adf565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e614906024015f604051808303815f87803b158015612ea2575f80fd5b505af1158015612eb4573d5f803e3d5ffd5b505050505050505050565b5f805160206143e783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612f2761285f565b61146c816133e1565b5f612f436001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612fa6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fca9190613fd3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561300d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130319190613adf565b92915050565b61303f613482565b5f806130536001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156130a0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130c791908101906142b3565b92506130d485600b6110c0565b1561312a57604083015160ff86811691161461312557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a5a565b6131c6565b613145836040015161313a600c90565b60ff90811691161490565b8061315b575061315b836040015161313a600f90565b806131715750613171836040015161313a600e90565b806131875750613187836040015161313a600d90565b6131c657604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a5a565b6131d383602001516133f2565b915083156132d057816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015613217573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061323b9190613adf565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a79190613cc2565b156132d057604051637d71120960e11b81526001600160601b0387166004820152602401610a5a565b50935093915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516133479190614383565b5f60405180830381855afa9150503d805f811461337f576040519150601f19603f3d011682016040523d82523d5f602084013e613384565b606091505b509150915081156133d65760408151106133b657808060200190518101906133ac9190614399565b90945092506133d6565b60208151106133d657808060200190518101906133d39190613cc2565b93505b505094509492505050565b6133e961285f565b61146c81612ebf565b5f6134056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613451573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261347891908101906142b3565b6080015192915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156134cf575f80fd5b81356001600160e01b031981168114612858575f80fd5b6001600160601b038116811461146c575f80fd5b5f6020828403121561350a575f80fd5b8135612858816134e6565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161358b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526135cf610100840182613515565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561360d5761360d6135d7565b60405290565b60405160c081016001600160401b038111828210171561360d5761360d6135d7565b60405161022081016001600160401b038111828210171561360d5761360d6135d7565b60405160e081016001600160401b038111828210171561360d5761360d6135d7565b604051601f8201601f191681016001600160401b03811182821017156136a2576136a26135d7565b604052919050565b5f604082840312156136ba575f80fd5b6136c26135eb565b823581526020928301359281019290925250919050565b5f80606083850312156136ea575f80fd5b82356136f5816134e6565b915061370484602085016136aa565b90509250929050565b6001600160a01b038116811461146c575f80fd5b60ff8116811461146c575f80fd5b801515811461146c575f80fd5b5f6001600160401b03821115613754576137546135d7565b50601f01601f191660200190565b5f82601f830112613771575f80fd5b813561378461377f8261373c565b61367a565b818152846020838601011115613798575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c087890312156137c9575f80fd5b86356137d48161370d565b955060208701356137e4816134e6565b945060408701356137f481613721565b935060608701356138048161372f565b925060808701356138148161370d565b915060a08701356001600160401b0381111561382e575f80fd5b61383a89828a01613762565b9150509295509295509295565b5f60208284031215613857575f80fd5b81356001600160401b0381111561386c575f80fd5b6135cf84828501613762565b5f8060408385031215613889575f80fd5b82356138948161370d565b915060208301356001600160401b038111156138ae575f80fd5b6138ba85828601613762565b9150509250929050565b5f805f80608085870312156138d7575f80fd5b84356138e28161370d565b935060208501356138f2816134e6565b92506040850135613902816134e6565b91506060850135613912816134e6565b939692955090935050565b5f6020828403121561392d575f80fd5b81356128588161370d565b5f8060408385031215613949575f80fd5b82356139548161370d565b91506020830135613964816134e6565b809150509250929050565b5f805f60608486031215613981575f80fd5b833561398c8161370d565b9250602084013561399c8161370d565b915060408401356139ac8161370d565b809150509250925092565b602081525f6128586020830184613515565b64ffffffffff8116811461146c575f80fd5b5f805f805f805f80610100898b0312156139f3575f80fd5b88356139fe8161370d565b97506020890135613a0e816134e6565b96506040890135613a1e8161370d565b9550613a2d8a60608b016136aa565b945060a0890135613a3d816134e6565b935060c0890135613a4d816139c9565b925060e08901356001600160401b03811115613a67575f80fd5b8901601f81018b13613a77575f80fd5b80356001600160401b03811115613a8c575f80fd5b8b6020828401011115613a9d575f80fd5b989b979a50959850939692959194602001935050565b5f8060408385031215613ac4575f80fd5b8235613acf8161370d565b915060208301356139648161370d565b5f60208284031215613aef575f80fd5b81516128588161370d565b5f60208284031215613b0a575f80fd5b815162ffffff81168114612858575f80fd5b8051613b27816134e6565b919050565b5f60208284031215613b3c575f80fd5b8151612858816134e6565b600181811c90821680613b5b57607f821691505b602082108103613b7957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f82601f830112613b8e575f80fd5b8151613b9c61377f8261373c565b818152846020838601011115613bb0575f80fd5b8160208501602083015e5f918101602001919091529392505050565b8051613b27816139c9565b5f60208284031215613be7575f80fd5b81516001600160401b03811115613bfc575f80fd5b820180840360e0811215613c0e575f80fd5b613c16613613565b8251613c21816134e6565b81526040601f1983011215613c34575f80fd5b613c3c6135eb565b6020848101518252604085015181830152820152606083015191506001600160401b03821115613c6a575f80fd5b613c7686838501613b7f565b6040820152613c8760808401613bcc565b6060820152613c9860a08401613bcc565b6080820152613ca960c08401613bcc565b60a082015295945050505050565b8051613b278161372f565b5f60208284031215613cd2575f80fd5b81516128588161372f565b6001600160601b0381511682525f6020820151805160208501526020810151604085015250604082015160e06060850152613d1b60e0850182613515565b905064ffffffffff60608401511660808501526080830151613d4660a086018264ffffffffff169052565b5060a083015164ffffffffff811660c0860152509392505050565b6001600160601b0384168152606060208201525f613d826060830185613cdd565b905060ff83166040830152949350505050565b601f821115611a1557805f5260205f20601f840160051c81016020851015613dba5750805b601f840160051c820191505b81811015611d69575f8155600101613dc6565b81516001600160401b03811115613df257613df26135d7565b613e0681613e008454613b47565b84613d95565b6020601f821160018114613e38575f8315613e215750848201515b5f19600385901b1c1916600184901b178455611d69565b5f84815260208120601f198516915b82811015613e675787850151825560209485019460019092019101613e47565b5084821015613e8457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b038116811461146c575f80fd5b5f60208284031215613eb7575f80fd5b815161285881613e93565b5f60208284031215613ed2575f80fd5b5051919050565b8051613b2781613721565b63ffffffff8116811461146c575f80fd5b5f6080828403128015613f06575f80fd5b50604051608081016001600160401b0381118282101715613f2957613f296135d7565b6040528251613f3781613721565b81526020830151613f4781613721565b60208201526040830151613f5a81613ee4565b60408201526060830151613f6d81613ee4565b60608201529392505050565b5f60208284031215613f89575f80fd5b8151612858816139c9565b5f805f60608486031215613fa6575f80fd5b8351613fb1816134e6565b6020850151909350613fc2816134e6565b60408501519092506139ac816134e6565b5f60208284031215613fe3575f80fd5b815161285881613721565b8051613b278161370d565b6001600160601b0383168152604060208201525f6135cf6040830184613cdd565b5f806040838503121561402b575f80fd5b82516140368161370d565b60208401519092506139648161370d565b5f8085851115614055575f80fd5b83861115614061575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561409f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613b27575f80fd5b805161ffff81168114613b27575f80fd5b5f6020828403121561411d575f80fd5b81516001600160401b03811115614132575f80fd5b82016102208185031215614144575f80fd5b61414c613635565b61415582613b1c565b815261416360208301613b1c565b6020820152614174604083016140e5565b6040820152614185606083016140e5565b606082015261419660808301613b1c565b60808201526141a760a08301613b1c565b60a08201526141b860c08301613b1c565b60c08201526141c960e08301613bcc565b60e08201526101008201516001600160401b038111156141e7575f80fd5b6141f386828501613b7f565b610100830152506101208201516001600160401b03811115614213575f80fd5b61421f86828501613b7f565b6101208301525061423361014083016140fc565b61014082015261424661016083016140fc565b6101608201526142596101808301613b1c565b61018082015261426c6101a08301613b1c565b6101a082015261427f6101c08301613bcc565b6101c08201526142926101e08301613bcc565b6101e08201526142a56102008301613bcc565b610200820152949350505050565b5f602082840312156142c3575f80fd5b81516001600160401b038111156142d8575f80fd5b820160e081850312156142e9575f80fd5b6142f1613658565b6142fa82613b1c565b815261430860208301613b1c565b602082015261431960408301613ed9565b604082015261432a60608301613cb7565b606082015261433b60808301613fee565b608082015261434c60a08301613fee565b60a082015260c08201516001600160401b03811115614369575f80fd5b61437586828501613b7f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156143aa575f80fd5b82516143b58161372f565b602084015190925061396481613ee456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207c520833f34f9b4e5fef6b3dc2c814629c1e060279a5dba1e9a5fd4c3ddc036e64736f6c634300081a0033",
917
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063675393bf11610109578063aa9acb2c1161009e578063b68d18091161006e578063b68d180914610493578063bf7e214f146104a2578063e283b4a9146104aa578063f7c34ee0146104bd575f80fd5b8063aa9acb2c14610446578063ad328d9f14610459578063ada9652e1461046c578063b5346af514610480575f80fd5b8063893d20e8116100d9578063893d20e8146103d15780638e32e979146103d95780638fb36037146103ec578063a3f4df7e1461040d575f80fd5b8063675393bf146103785780636c741e781461038b57806376429bc0146103ab5780637a9e5e4b146103be575f80fd5b8063214cdb801161017f57806349bb9e4b1161014f57806349bb9e4b146103105780634adcf909146103235780635ab1bd5314610336578063644c45e01461035b575f80fd5b8063214cdb80146102cf57806327bb7a33146102e2578063329d6e74146102f557806336fc697e14610308575f80fd5b80630fec111c116101ba5780630fec111c14610252578063138461e0146102675780631eff4b22146102875780631f8e8f36146102bc575f80fd5b806301ffc9a7146101e057806306fa4565146102215780630d8e6e2c14610236575b5f80fd5b61020c6101ee3660046134bf565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023461022f3660046134fa565b6104d0565b005b61023e6106b0565b60405162ffffff9091168152602001610218565b61025a610737565b6040516102189190613543565b61026f6108c3565b6040516001600160601b039091168152602001610218565b6102ae7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102346102ca3660046136d9565b6108cd565b6102346102dd3660046134bf565b610b79565b6102346102f03660046137b4565b610ba5565b610234610303366004613847565b610c4a565b610234610d8c565b61023461031e366004613878565b610dd1565b6102346103313660046138c4565b610ecd565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f805160206143c7833981519152546001600160601b031661026f565b61023461038636600461391d565b611362565b61039361146f565b6040516001600160401b039091168152602001610218565b6102346103b9366004613938565b611565565b6102346103cc36600461391d565b61172a565b6103436117ac565b6102346103e736600461396f565b6118dd565b6103f4611a1a565b6040516001600160e01b03199091168152602001610218565b6104396040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161021891906139b7565b610234610454366004613938565b611a4f565b6102346104673660046138c4565b611c86565b6102ae5f805160206143c783398151915281565b61023461048e3660046134fa565b611d70565b604051601e8152602001610218565b610343611f47565b61026f6104b83660046139db565b611f62565b6102346104cb366004613ab3565b6124c8565b5f6104db600f61253e565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053f9190613adf565b6001600160a01b031663fe1f18d68360046040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610596575f80fd5b505af11580156105a8573d5f803e3d5ffd5b505050505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d9190613adf565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015f604051808303815f87803b158015610657575f80fd5b505af1158015610669573d5f803e3d5ffd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561070e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107329190613afa565b905090565b61073f613482565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d99190613b2c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108216117ac565b6001600160a01b0316815260200182600101805461083e90613b47565b80601f016020809104026020016040519081016040528092919081815260200182805461086a90613b47565b80156108b55780601f1061088c576101008083540402835291602001916108b5565b820191905f5260205f20905b81548152906001019060200180831161089857829003601f168201915b505050505081525091505090565b5f610732306125da565b5f806108d9600f61253e565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561091b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093f9190613adf565b604051634793b4ab60e01b81526001600160601b03871660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa15801561098e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109b59190810190613bd7565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610a11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a359190613cc2565b15610a63576040516349e9f38360e01b81526001600160601b03871660048201526024015b60405180910390fd5b8051610a6f90856127d3565b15610aab57805160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610a5a565b848160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b149190613adf565b6001600160a01b03166351dd844b878360ff6040518463ffffffff1660e01b8152600401610b4493929190613d61565b5f604051808303815f87803b158015610b5b575f80fd5b505af1158015610b6d573d5f803e3d5ffd5b50505050505050505050565b610b8161285f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610bad61285f565b610bb782876124c8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c408382613dd9565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c6c6106b0565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce9190613ea7565b5f805160206144078339815191528054600160401b900460ff1680610d00575080546001600160401b03808416911610155b15610d1e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d4883612897565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016106a3565b610d9461285f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f805160206144078339815191528054600160401b810460ff1615906001600160401b03165f81158015610e025750825b90505f826001600160401b03166001148015610e1d5750303b155b905081158015610e2b575080155b15610e495760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e7357845460ff60401b1916600160401b1785555b610e7d878761289f565b8315610ec457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ed9335b5f36612a0f565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3a9190613adf565b90505f6001600160a01b03821663a5961b4c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038816601e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610fbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe09190613ec2565b6040518263ffffffff1660e01b8152600401610ffe91815260200190565b608060405180830381865afa158015611019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103d9190613ef5565b60200151604051634793b4ab60e01b81526001600160601b03861660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa158015611090573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110b79190810190613bd7565b90506110cc8260045b60ff9081169116141590565b806111545750611154816080015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611121573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111459190613f79565b64ffffffffff90811691161090565b1561119957608081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610a5a565b5f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111fa9190613adf565b6040516317bb785d60e21b81526001600160601b03881660048201529091505f90819081906001600160a01b03851690635eede17490602401606060405180830381865afa15801561124e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112729190613f94565b9250925092505f61128c846112878585612b05565b612b8a565b9050611298818a612bd4565b156112d15760405163826a5ff960e01b81526001600160601b03808c16600483015280831660248301528a166044820152606401610a5a565b60405163248a77dd60e01b81526001600160601b03808c1660048301528a1660248201526001600160a01b0386169063248a77dd906044016020604051808303815f875af1158015611325573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113499190613b2c565b506113548c8c612c1e565b505050505050505050505050565b61136a61285f565b806001600160a01b03163b5f0361139f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a5a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611419575060408051601f3d908101601f1916820190925261141691810190613cc2565b60015b6114415760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a5a565b8061146a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a5a565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601e604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156114da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114fe9190613fd3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107329190613ea7565b61156e33610ed2565b816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ce9190613adf565b6040516375d357df60e01b81526001600160601b03831660048201526001600160a01b0391909116906375d357df90602401602060405180830381865afa15801561161b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163f9190613cc2565b611667576040516392bb4dff60e01b81526001600160601b0382166004820152602401610a5a565b816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c79190613adf565b604051631351fccf60e31b81526001600160601b03831660048201526001600160a01b039190911690639a8fe678906024015f604051808303815f87803b158015611710575f80fd5b505af1158015611722573d5f803e3d5ffd5b505050505050565b33611733611f47565b6001600160a01b0316816001600160a01b03161461176e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610a5a565b816001600160a01b03163b5f036117a3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a5a565b61146a82612ebf565b5f805f805160206143c783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611818573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183c9190613cc2565b156118c7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561189d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c19190613adf565b91505090565b54600160601b90046001600160a01b0316919050565b6118e561285f565b61196183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611925573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119499190613b2c565b60085f8560405180602001604052805f815250610ba5565b6001600160a01b0382161561197e5761197982612f1f565b6119f5565b5f6119896002612f30565b90506119f3816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ee9190613adf565b612f1f565b505b611a05634a531f3360e01b610b79565b611a1563daf9067160e01b610b79565b505050565b5f805160206143e783398151915280545f9190600160a01b900460ff16611a41575f6118c1565b638fb3603760e01b91505090565b611a5833610ed2565b816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab89190613adf565b6001600160a01b031663fe1f18d68260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611b0f575f80fd5b505af1158015611b21573d5f803e3d5ffd5b505050505f826001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b869190613adf565b6040516322cc1d4560e11b81526001600160601b03841660048201529091505f906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611bd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfa9190613ec2565b90508015611c2d576040516356a410b760e01b81526001600160601b038416600482015260248101829052604401610a5a565b60405163b5346af560e01b81526001600160601b03841660048201526001600160a01b0383169063b5346af5906024015f604051808303815f87803b158015611c74575f80fd5b505af1158015610c40573d5f803e3d5ffd5b611c8f33610ed2565b836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ccb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cef9190613adf565b6040516353ebe12960e01b81526001600160601b038085166004830152831660248201526001600160a01b0391909116906353ebe129906044016020604051808303815f875af1158015611d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d699190613b2c565b5050505050565b5f611d7b600f61253e565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ddf9190613adf565b6001600160a01b031663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611e36575f80fd5b505af1158015611e48573d5f803e3d5ffd5b505050505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ead9190613adf565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af5906024015f604051808303815f87803b158015611ef7575f80fd5b505af1158015611f09573d5f803e3d5ffd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f4925060200190506106a3565b5f805160206143e7833981519152546001600160a01b031690565b5f611f6c33610ed2565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611fe1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120059190613b2c565b6001600160601b031681526020018b6001600160601b0316815260200161202a601e90565b60ff1681526020015f151581526020015f6001600160a01b031681526020018a6001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016120869190613543565b6020604051808303815f875af11580156120a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c69190613b2c565b90505f896001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612105573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121299190613adf565b9050806001600160a01b031663a46eb8dc836040518060c001604052808d6001600160601b031681526020018b815260200188888080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509082525064ffffffffff8a16602080830191909152604080516356db0c1960e11b81528151919093019273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9263adb61832926004808401938290030181865af41580156121f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122169190613f79565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908b16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612273573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122979190613f79565b64ffffffffff1681525f6020909101526040516001600160e01b031960e085901b1681526122c9929190600401613ff9565b5f604051808303815f87803b1580156122e0575f80fd5b505af11580156122f2573d5f803e3d5ffd5b5050505060045f9054906101000a90046001600160a01b03166001600160a01b03166325e451d382848973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612363573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123879190613b2c565b6040516001600160e01b031960e087901b1681526001600160a01b0390941660048501526001600160601b03928316602485015290821660448401521660648201526084015f604051808303815f87803b1580156123e3575f80fd5b505af11580156123f5573d5f803e3d5ffd5b505050505f8a6001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612436573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245a9190613adf565b6040516346f0e8a760e11b81526001600160601b03851660048201529091506001600160a01b03821690638de1d14e906024015f604051808303815f87803b1580156124a4575f80fd5b505af11580156124b6573d5f803e3d5ffd5b50505050505098975050505050505050565b6124d061285f565b6124d981611362565b6124e1610d8c565b6001600160a01b0382166125085760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206143c783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f612547613482565b5f61255a6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561259e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c29190613b2c565b92506125d083856001613037565b9395909450915050565b5f805f805160206143c783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061266a9190613cc2565b156126965780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a5a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156126e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061270c9190613cc2565b6127345760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a5a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612786573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127aa9190613b2c565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015612834573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128589190613cc2565b9392505050565b5f8051602061440783398151915254600160401b900460ff1661289557604051631afcd79f60e31b815260040160405180910390fd5b565b6101dc61285f565b5f805160206144078339815191528054600160401b810460ff1615906001600160401b03165f811580156128d05750825b90505f826001600160401b031660011480156128eb5750303b155b9050811580156128f9575080155b156129175760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561294157845460ff60401b1916600160401b1785555b5f8087806020019051810190612957919061401a565b9092509050612967825f8b6118dd565b6129716002612f30565b600380546001600160a01b0319166001600160a01b039290921691909117905561299b600b612f30565b600480546001600160a01b0319166001600160a01b03929092169190911790556129cb6375f5307560e01b610b79565b50508315610ec457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ebb565b5f805160206143e78339815191525f80612a47612a2a611f47565b8730612a3960045f8a8c614047565b612a429161406e565b6132d9565b91509150816117225763ffffffff811615612ae257825460ff60a01b1916600160a01b178355612a75611f47565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612aa4939291906140a6565b5f604051808303815f87803b158015612abb575f80fd5b505af1158015612acd573d5f803e3d5ffd5b5050845460ff60a01b19168555506117229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a5a565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612b66573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128589190613b2c565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612b4b565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401612819565b5f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c7f9190613adf565b60405163bd7d9d8560e01b81526001600160601b03841660048201529091505f906001600160a01b0383169063bd7d9d85906024015f60405180830381865afa158015612cce573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612cf5919081019061410d565b6101c0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015612d53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d779190613cc2565b8015612dce5750612dce816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611121573d5f803e3d5ffd5b15612df7576040516311db797560e31b81526001600160601b0384166004820152602401610a5a565b5f846001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e589190613adf565b604051630331f98560e21b81526001600160601b03861660048201529091506001600160a01b03821690630cc7e614906024015f604051808303815f87803b158015612ea2575f80fd5b505af1158015612eb4573d5f803e3d5ffd5b505050505050505050565b5f805160206143e783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612f2761285f565b61146c816133e1565b5f612f436001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612fa6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fca9190613fd3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561300d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130319190613adf565b92915050565b61303f613482565b5f806130536001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156130a0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130c791908101906142b3565b92506130d485600b6110c0565b1561312a57604083015160ff86811691161461312557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a5a565b6131c6565b613145836040015161313a600c90565b60ff90811691161490565b8061315b575061315b836040015161313a600f90565b806131715750613171836040015161313a600e90565b806131875750613187836040015161313a600d90565b6131c657604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a5a565b6131d383602001516133f2565b915083156132d057816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015613217573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061323b9190613adf565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132a79190613cc2565b156132d057604051637d71120960e11b81526001600160601b0387166004820152602401610a5a565b50935093915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516133479190614383565b5f60405180830381855afa9150503d805f811461337f576040519150601f19603f3d011682016040523d82523d5f602084013e613384565b606091505b509150915081156133d65760408151106133b657808060200190518101906133ac9190614399565b90945092506133d6565b60208151106133d657808060200190518101906133d39190613cc2565b93505b505094509492505050565b6133e961285f565b61146c81612ebf565b5f6134056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613451573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261347891908101906142b3565b6080015192915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156134cf575f80fd5b81356001600160e01b031981168114612858575f80fd5b6001600160601b038116811461146c575f80fd5b5f6020828403121561350a575f80fd5b8135612858816134e6565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161358b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526135cf610100840182613515565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b038111828210171561360d5761360d6135d7565b60405290565b60405160c081016001600160401b038111828210171561360d5761360d6135d7565b60405161022081016001600160401b038111828210171561360d5761360d6135d7565b60405160e081016001600160401b038111828210171561360d5761360d6135d7565b604051601f8201601f191681016001600160401b03811182821017156136a2576136a26135d7565b604052919050565b5f604082840312156136ba575f80fd5b6136c26135eb565b823581526020928301359281019290925250919050565b5f80606083850312156136ea575f80fd5b82356136f5816134e6565b915061370484602085016136aa565b90509250929050565b6001600160a01b038116811461146c575f80fd5b60ff8116811461146c575f80fd5b801515811461146c575f80fd5b5f6001600160401b03821115613754576137546135d7565b50601f01601f191660200190565b5f82601f830112613771575f80fd5b813561378461377f8261373c565b61367a565b818152846020838601011115613798575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c087890312156137c9575f80fd5b86356137d48161370d565b955060208701356137e4816134e6565b945060408701356137f481613721565b935060608701356138048161372f565b925060808701356138148161370d565b915060a08701356001600160401b0381111561382e575f80fd5b61383a89828a01613762565b9150509295509295509295565b5f60208284031215613857575f80fd5b81356001600160401b0381111561386c575f80fd5b6135cf84828501613762565b5f8060408385031215613889575f80fd5b82356138948161370d565b915060208301356001600160401b038111156138ae575f80fd5b6138ba85828601613762565b9150509250929050565b5f805f80608085870312156138d7575f80fd5b84356138e28161370d565b935060208501356138f2816134e6565b92506040850135613902816134e6565b91506060850135613912816134e6565b939692955090935050565b5f6020828403121561392d575f80fd5b81356128588161370d565b5f8060408385031215613949575f80fd5b82356139548161370d565b91506020830135613964816134e6565b809150509250929050565b5f805f60608486031215613981575f80fd5b833561398c8161370d565b9250602084013561399c8161370d565b915060408401356139ac8161370d565b809150509250925092565b602081525f6128586020830184613515565b64ffffffffff8116811461146c575f80fd5b5f805f805f805f80610100898b0312156139f3575f80fd5b88356139fe8161370d565b97506020890135613a0e816134e6565b96506040890135613a1e8161370d565b9550613a2d8a60608b016136aa565b945060a0890135613a3d816134e6565b935060c0890135613a4d816139c9565b925060e08901356001600160401b03811115613a67575f80fd5b8901601f81018b13613a77575f80fd5b80356001600160401b03811115613a8c575f80fd5b8b6020828401011115613a9d575f80fd5b989b979a50959850939692959194602001935050565b5f8060408385031215613ac4575f80fd5b8235613acf8161370d565b915060208301356139648161370d565b5f60208284031215613aef575f80fd5b81516128588161370d565b5f60208284031215613b0a575f80fd5b815162ffffff81168114612858575f80fd5b8051613b27816134e6565b919050565b5f60208284031215613b3c575f80fd5b8151612858816134e6565b600181811c90821680613b5b57607f821691505b602082108103613b7957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f82601f830112613b8e575f80fd5b8151613b9c61377f8261373c565b818152846020838601011115613bb0575f80fd5b8160208501602083015e5f918101602001919091529392505050565b8051613b27816139c9565b5f60208284031215613be7575f80fd5b81516001600160401b03811115613bfc575f80fd5b820180840360e0811215613c0e575f80fd5b613c16613613565b8251613c21816134e6565b81526040601f1983011215613c34575f80fd5b613c3c6135eb565b6020848101518252604085015181830152820152606083015191506001600160401b03821115613c6a575f80fd5b613c7686838501613b7f565b6040820152613c8760808401613bcc565b6060820152613c9860a08401613bcc565b6080820152613ca960c08401613bcc565b60a082015295945050505050565b8051613b278161372f565b5f60208284031215613cd2575f80fd5b81516128588161372f565b6001600160601b0381511682525f6020820151805160208501526020810151604085015250604082015160e06060850152613d1b60e0850182613515565b905064ffffffffff60608401511660808501526080830151613d4660a086018264ffffffffff169052565b5060a083015164ffffffffff811660c0860152509392505050565b6001600160601b0384168152606060208201525f613d826060830185613cdd565b905060ff83166040830152949350505050565b601f821115611a1557805f5260205f20601f840160051c81016020851015613dba5750805b601f840160051c820191505b81811015611d69575f8155600101613dc6565b81516001600160401b03811115613df257613df26135d7565b613e0681613e008454613b47565b84613d95565b6020601f821160018114613e38575f8315613e215750848201515b5f19600385901b1c1916600184901b178455611d69565b5f84815260208120601f198516915b82811015613e675787850151825560209485019460019092019101613e47565b5084821015613e8457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b038116811461146c575f80fd5b5f60208284031215613eb7575f80fd5b815161285881613e93565b5f60208284031215613ed2575f80fd5b5051919050565b8051613b2781613721565b63ffffffff8116811461146c575f80fd5b5f6080828403128015613f06575f80fd5b50604051608081016001600160401b0381118282101715613f2957613f296135d7565b6040528251613f3781613721565b81526020830151613f4781613721565b60208201526040830151613f5a81613ee4565b60408201526060830151613f6d81613ee4565b60608201529392505050565b5f60208284031215613f89575f80fd5b8151612858816139c9565b5f805f60608486031215613fa6575f80fd5b8351613fb1816134e6565b6020850151909350613fc2816134e6565b60408501519092506139ac816134e6565b5f60208284031215613fe3575f80fd5b815161285881613721565b8051613b278161370d565b6001600160601b0383168152604060208201525f6135cf6040830184613cdd565b5f806040838503121561402b575f80fd5b82516140368161370d565b60208401519092506139648161370d565b5f8085851115614055575f80fd5b83861115614061575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561409f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b031981168114613b27575f80fd5b805161ffff81168114613b27575f80fd5b5f6020828403121561411d575f80fd5b81516001600160401b03811115614132575f80fd5b82016102208185031215614144575f80fd5b61414c613635565b61415582613b1c565b815261416360208301613b1c565b6020820152614174604083016140e5565b6040820152614185606083016140e5565b606082015261419660808301613b1c565b60808201526141a760a08301613b1c565b60a08201526141b860c08301613b1c565b60c08201526141c960e08301613bcc565b60e08201526101008201516001600160401b038111156141e7575f80fd5b6141f386828501613b7f565b610100830152506101208201516001600160401b03811115614213575f80fd5b61421f86828501613b7f565b6101208301525061423361014083016140fc565b61014082015261424661016083016140fc565b6101608201526142596101808301613b1c565b61018082015261426c6101a08301613b1c565b6101a082015261427f6101c08301613bcc565b6101c08201526142926101e08301613bcc565b6101e08201526142a56102008301613bcc565b610200820152949350505050565b5f602082840312156142c3575f80fd5b81516001600160401b038111156142d8575f80fd5b820160e081850312156142e9575f80fd5b6142f1613658565b6142fa82613b1c565b815261430860208301613b1c565b602082015261431960408301613ed9565b604082015261432a60608301613cb7565b606082015261433b60808301613fee565b608082015261434c60a08301613fee565b60a082015260c08201516001600160401b03811115614369575f80fd5b61437586828501613b7f565b60c083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156143aa575f80fd5b82516143b58161372f565b602084015190925061396481613ee456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207c520833f34f9b4e5fef6b3dc2c814629c1e060279a5dba1e9a5fd4c3ddc036e64736f6c634300081a0033",
918
+ "linkReferences": {
919
+ "contracts/type/Amount.sol": {
920
+ "AmountLib": [
921
+ {
922
+ "length": 20,
923
+ "start": 9204
924
+ },
925
+ {
926
+ "length": 20,
927
+ "start": 11267
928
+ },
929
+ {
930
+ "length": 20,
931
+ "start": 11400
932
+ },
933
+ {
934
+ "length": 20,
935
+ "start": 11474
936
+ }
937
+ ]
938
+ },
939
+ "contracts/type/NftId.sol": {
940
+ "NftIdLib": [
941
+ {
942
+ "length": 20,
943
+ "start": 2118
944
+ },
945
+ {
946
+ "length": 20,
947
+ "start": 2735
948
+ },
949
+ {
950
+ "length": 20,
951
+ "start": 4132
952
+ },
953
+ {
954
+ "length": 20,
955
+ "start": 6326
956
+ },
957
+ {
958
+ "length": 20,
959
+ "start": 8306
960
+ },
961
+ {
962
+ "length": 20,
963
+ "start": 9956
964
+ },
965
+ {
966
+ "length": 20,
967
+ "start": 10449
968
+ }
969
+ ]
970
+ },
971
+ "contracts/type/RoleId.sol": {
972
+ "RoleIdLib": [
973
+ {
974
+ "length": 20,
975
+ "start": 5448
976
+ }
977
+ ]
978
+ },
979
+ "contracts/type/Timestamp.sol": {
980
+ "TimestampLib": [
981
+ {
982
+ "length": 20,
983
+ "start": 4530
984
+ },
985
+ {
986
+ "length": 20,
987
+ "start": 8849
988
+ },
989
+ {
990
+ "length": 20,
991
+ "start": 8977
992
+ },
993
+ {
994
+ "length": 20,
995
+ "start": 11761
996
+ },
997
+ {
998
+ "length": 20,
999
+ "start": 11871
1000
+ }
1001
+ ]
1002
+ },
1003
+ "contracts/type/Version.sol": {
1004
+ "VersionLib": [
1005
+ {
1006
+ "length": 20,
1007
+ "start": 1964
1008
+ },
1009
+ {
1010
+ "length": 20,
1011
+ "start": 3362
1012
+ }
1013
+ ],
1014
+ "VersionPartLib": [
1015
+ {
1016
+ "length": 20,
1017
+ "start": 5496
1018
+ },
1019
+ {
1020
+ "length": 20,
1021
+ "start": 12356
1022
+ }
1023
+ ]
1024
+ }
1025
+ },
1026
+ "deployedLinkReferences": {
1027
+ "contracts/type/Amount.sol": {
1028
+ "AmountLib": [
1029
+ {
1030
+ "length": 20,
1031
+ "start": 8990
1032
+ },
1033
+ {
1034
+ "length": 20,
1035
+ "start": 11053
1036
+ },
1037
+ {
1038
+ "length": 20,
1039
+ "start": 11186
1040
+ },
1041
+ {
1042
+ "length": 20,
1043
+ "start": 11260
1044
+ }
1045
+ ]
1046
+ },
1047
+ "contracts/type/NftId.sol": {
1048
+ "NftIdLib": [
1049
+ {
1050
+ "length": 20,
1051
+ "start": 1904
1052
+ },
1053
+ {
1054
+ "length": 20,
1055
+ "start": 2521
1056
+ },
1057
+ {
1058
+ "length": 20,
1059
+ "start": 3918
1060
+ },
1061
+ {
1062
+ "length": 20,
1063
+ "start": 6112
1064
+ },
1065
+ {
1066
+ "length": 20,
1067
+ "start": 8092
1068
+ },
1069
+ {
1070
+ "length": 20,
1071
+ "start": 9742
1072
+ },
1073
+ {
1074
+ "length": 20,
1075
+ "start": 10235
1076
+ }
1077
+ ]
1078
+ },
1079
+ "contracts/type/RoleId.sol": {
1080
+ "RoleIdLib": [
1081
+ {
1082
+ "length": 20,
1083
+ "start": 5234
1084
+ }
1085
+ ]
1086
+ },
1087
+ "contracts/type/Timestamp.sol": {
1088
+ "TimestampLib": [
1089
+ {
1090
+ "length": 20,
1091
+ "start": 4316
1092
+ },
1093
+ {
1094
+ "length": 20,
1095
+ "start": 8635
1096
+ },
1097
+ {
1098
+ "length": 20,
1099
+ "start": 8763
1100
+ },
1101
+ {
1102
+ "length": 20,
1103
+ "start": 11547
1104
+ },
1105
+ {
1106
+ "length": 20,
1107
+ "start": 11657
1108
+ }
1109
+ ]
1110
+ },
1111
+ "contracts/type/Version.sol": {
1112
+ "VersionLib": [
1113
+ {
1114
+ "length": 20,
1115
+ "start": 1750
1116
+ },
1117
+ {
1118
+ "length": 20,
1119
+ "start": 3148
1120
+ }
1121
+ ],
1122
+ "VersionPartLib": [
1123
+ {
1124
+ "length": 20,
1125
+ "start": 5282
1126
+ },
1127
+ {
1128
+ "length": 20,
1129
+ "start": 12142
1130
+ }
1131
+ ]
1132
+ }
1133
+ }
1134
+ }