@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,1524 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BasicDistribution",
4
+ "sourceName": "contracts/distribution/BasicDistribution.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": "address",
48
+ "name": "target",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "account",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorComponentNameLengthZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "caller",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorComponentNotChainNft",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "instanceNftId",
87
+ "type": "uint96"
88
+ }
89
+ ],
90
+ "name": "ErrorComponentNotInstance",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "caller",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "ErrorComponentNotProductService",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "ErrorComponentProductNftAlreadySet",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentTokenAddressZero",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "ErrorComponentWalletAddressZero",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "oldWallet",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "address",
133
+ "name": "newWallet",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "allowance",
139
+ "type": "uint256"
140
+ },
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "balance",
144
+ "type": "uint256"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentWalletAllowanceTooSmall",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "ErrorComponentWalletNotComponent",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "address",
159
+ "name": "distributor",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "NftId",
164
+ "name": "distributorNftId",
165
+ "type": "uint96"
166
+ }
167
+ ],
168
+ "name": "ErrorDistributionAlreadyDistributor",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "distributor",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "name": "ErrorDistributionNotDistributor",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "NftId",
186
+ "name": "nftId",
187
+ "type": "uint96"
188
+ }
189
+ ],
190
+ "name": "ErrorNftOwnableAlreadyLinked",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "contractAddress",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "name": "ErrorNftOwnableContractNotRegistered",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [],
206
+ "name": "ErrorNftOwnableInitialOwnerZero",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "account",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableNotOwner",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "registryAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorNotRegistry",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "FailedInnerCall",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "InvalidInitialization",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "NotInitializing",
244
+ "type": "error"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "token",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "SafeERC20FailedOperation",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "anonymous": false,
259
+ "inputs": [
260
+ {
261
+ "indexed": false,
262
+ "internalType": "address",
263
+ "name": "authority",
264
+ "type": "address"
265
+ }
266
+ ],
267
+ "name": "AuthorityUpdated",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": false,
275
+ "internalType": "uint64",
276
+ "name": "version",
277
+ "type": "uint64"
278
+ }
279
+ ],
280
+ "name": "Initialized",
281
+ "type": "event"
282
+ },
283
+ {
284
+ "anonymous": false,
285
+ "inputs": [
286
+ {
287
+ "indexed": false,
288
+ "internalType": "address",
289
+ "name": "token",
290
+ "type": "address"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "Amount",
295
+ "name": "limit",
296
+ "type": "uint96"
297
+ }
298
+ ],
299
+ "name": "LogComponentTokenHandlerApproved",
300
+ "type": "event"
301
+ },
302
+ {
303
+ "anonymous": false,
304
+ "inputs": [
305
+ {
306
+ "indexed": false,
307
+ "internalType": "address",
308
+ "name": "oldWallet",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "address",
314
+ "name": "newWallet",
315
+ "type": "address"
316
+ }
317
+ ],
318
+ "name": "LogComponentWalletAddressChanged",
319
+ "type": "event"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": false,
326
+ "internalType": "address",
327
+ "name": "from",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "address",
333
+ "name": "to",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "amount",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "name": "LogComponentWalletTokensTransferred",
344
+ "type": "event"
345
+ },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "address",
352
+ "name": "to",
353
+ "type": "address"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "address",
358
+ "name": "caller",
359
+ "type": "address"
360
+ }
361
+ ],
362
+ "name": "LogDistributorUpdated",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "inputs": [],
367
+ "name": "COMPONENT_LOCATION_V1",
368
+ "outputs": [
369
+ {
370
+ "internalType": "bytes32",
371
+ "name": "",
372
+ "type": "bytes32"
373
+ }
374
+ ],
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
381
+ "outputs": [
382
+ {
383
+ "internalType": "bytes32",
384
+ "name": "",
385
+ "type": "bytes32"
386
+ }
387
+ ],
388
+ "stateMutability": "view",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
394
+ "outputs": [
395
+ {
396
+ "internalType": "bytes32",
397
+ "name": "",
398
+ "type": "bytes32"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
407
+ "outputs": [
408
+ {
409
+ "internalType": "bytes32",
410
+ "name": "",
411
+ "type": "bytes32"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [],
419
+ "name": "REGISTERABLE_LOCATION_V1",
420
+ "outputs": [
421
+ {
422
+ "internalType": "bytes32",
423
+ "name": "",
424
+ "type": "bytes32"
425
+ }
426
+ ],
427
+ "stateMutability": "view",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "internalType": "address",
434
+ "name": "token",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "internalType": "Amount",
439
+ "name": "spendingLimitAmount",
440
+ "type": "uint96"
441
+ }
442
+ ],
443
+ "name": "approveTokenHandler",
444
+ "outputs": [],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "Amount",
452
+ "name": "spendingLimitAmount",
453
+ "type": "uint96"
454
+ }
455
+ ],
456
+ "name": "approveTokenHandler",
457
+ "outputs": [],
458
+ "stateMutability": "nonpayable",
459
+ "type": "function"
460
+ },
461
+ {
462
+ "inputs": [],
463
+ "name": "authority",
464
+ "outputs": [
465
+ {
466
+ "internalType": "address",
467
+ "name": "",
468
+ "type": "address"
469
+ }
470
+ ],
471
+ "stateMutability": "view",
472
+ "type": "function"
473
+ },
474
+ {
475
+ "inputs": [
476
+ {
477
+ "internalType": "ReferralId",
478
+ "name": "referralId",
479
+ "type": "bytes8"
480
+ },
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "netPremiumAmount",
484
+ "type": "uint256"
485
+ }
486
+ ],
487
+ "name": "calculateRenewalFeeAmount",
488
+ "outputs": [
489
+ {
490
+ "internalType": "uint256",
491
+ "name": "feeAmount",
492
+ "type": "uint256"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "distributor",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "DistributorType",
507
+ "name": "distributorType",
508
+ "type": "bytes8"
509
+ },
510
+ {
511
+ "internalType": "bytes",
512
+ "name": "data",
513
+ "type": "bytes"
514
+ }
515
+ ],
516
+ "name": "createDistributor",
517
+ "outputs": [
518
+ {
519
+ "internalType": "NftId",
520
+ "name": "distributorNftId",
521
+ "type": "uint96"
522
+ }
523
+ ],
524
+ "stateMutability": "nonpayable",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [
529
+ {
530
+ "internalType": "string",
531
+ "name": "name",
532
+ "type": "string"
533
+ },
534
+ {
535
+ "internalType": "UFixed",
536
+ "name": "minDiscountPercentage",
537
+ "type": "uint256"
538
+ },
539
+ {
540
+ "internalType": "UFixed",
541
+ "name": "maxDiscountPercentage",
542
+ "type": "uint256"
543
+ },
544
+ {
545
+ "internalType": "UFixed",
546
+ "name": "commissionPercentage",
547
+ "type": "uint256"
548
+ },
549
+ {
550
+ "internalType": "uint32",
551
+ "name": "maxReferralCount",
552
+ "type": "uint32"
553
+ },
554
+ {
555
+ "internalType": "uint32",
556
+ "name": "maxReferralLifetime",
557
+ "type": "uint32"
558
+ },
559
+ {
560
+ "internalType": "bool",
561
+ "name": "allowSelfReferrals",
562
+ "type": "bool"
563
+ },
564
+ {
565
+ "internalType": "bool",
566
+ "name": "allowRenewals",
567
+ "type": "bool"
568
+ },
569
+ {
570
+ "internalType": "bytes",
571
+ "name": "data",
572
+ "type": "bytes"
573
+ }
574
+ ],
575
+ "name": "createDistributorType",
576
+ "outputs": [
577
+ {
578
+ "internalType": "DistributorType",
579
+ "name": "distributorType",
580
+ "type": "bytes8"
581
+ }
582
+ ],
583
+ "stateMutability": "nonpayable",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "string",
590
+ "name": "code",
591
+ "type": "string"
592
+ },
593
+ {
594
+ "internalType": "UFixed",
595
+ "name": "discountPercentage",
596
+ "type": "uint256"
597
+ },
598
+ {
599
+ "internalType": "uint32",
600
+ "name": "maxReferrals",
601
+ "type": "uint32"
602
+ },
603
+ {
604
+ "internalType": "Timestamp",
605
+ "name": "expiryAt",
606
+ "type": "uint40"
607
+ },
608
+ {
609
+ "internalType": "bytes",
610
+ "name": "data",
611
+ "type": "bytes"
612
+ }
613
+ ],
614
+ "name": "createReferral",
615
+ "outputs": [
616
+ {
617
+ "internalType": "ReferralId",
618
+ "name": "referralId",
619
+ "type": "bytes8"
620
+ }
621
+ ],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [],
627
+ "name": "getAuthorization",
628
+ "outputs": [
629
+ {
630
+ "internalType": "contract IAuthorization",
631
+ "name": "authorization",
632
+ "type": "address"
633
+ }
634
+ ],
635
+ "stateMutability": "view",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [],
640
+ "name": "getComponentInfo",
641
+ "outputs": [
642
+ {
643
+ "components": [
644
+ {
645
+ "internalType": "string",
646
+ "name": "name",
647
+ "type": "string"
648
+ },
649
+ {
650
+ "internalType": "NftId",
651
+ "name": "productNftId",
652
+ "type": "uint96"
653
+ },
654
+ {
655
+ "internalType": "contract IERC20Metadata",
656
+ "name": "token",
657
+ "type": "address"
658
+ },
659
+ {
660
+ "internalType": "contract TokenHandler",
661
+ "name": "tokenHandler",
662
+ "type": "address"
663
+ },
664
+ {
665
+ "internalType": "address",
666
+ "name": "wallet",
667
+ "type": "address"
668
+ },
669
+ {
670
+ "internalType": "bytes",
671
+ "name": "data",
672
+ "type": "bytes"
673
+ }
674
+ ],
675
+ "internalType": "struct IComponents.ComponentInfo",
676
+ "name": "info",
677
+ "type": "tuple"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "string",
687
+ "name": "referralCode",
688
+ "type": "string"
689
+ }
690
+ ],
691
+ "name": "getDiscountPercentage",
692
+ "outputs": [
693
+ {
694
+ "internalType": "UFixed",
695
+ "name": "discountPercentage",
696
+ "type": "uint256"
697
+ },
698
+ {
699
+ "internalType": "ReferralStatus",
700
+ "name": "status",
701
+ "type": "uint8"
702
+ }
703
+ ],
704
+ "stateMutability": "view",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [
709
+ {
710
+ "internalType": "address",
711
+ "name": "distributor",
712
+ "type": "address"
713
+ }
714
+ ],
715
+ "name": "getDistributorNftId",
716
+ "outputs": [
717
+ {
718
+ "internalType": "NftId",
719
+ "name": "distributorNftId",
720
+ "type": "uint96"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getInitialComponentInfo",
729
+ "outputs": [
730
+ {
731
+ "components": [
732
+ {
733
+ "internalType": "string",
734
+ "name": "name",
735
+ "type": "string"
736
+ },
737
+ {
738
+ "internalType": "NftId",
739
+ "name": "productNftId",
740
+ "type": "uint96"
741
+ },
742
+ {
743
+ "internalType": "contract IERC20Metadata",
744
+ "name": "token",
745
+ "type": "address"
746
+ },
747
+ {
748
+ "internalType": "contract TokenHandler",
749
+ "name": "tokenHandler",
750
+ "type": "address"
751
+ },
752
+ {
753
+ "internalType": "address",
754
+ "name": "wallet",
755
+ "type": "address"
756
+ },
757
+ {
758
+ "internalType": "bytes",
759
+ "name": "data",
760
+ "type": "bytes"
761
+ }
762
+ ],
763
+ "internalType": "struct IComponents.ComponentInfo",
764
+ "name": "info",
765
+ "type": "tuple"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [],
773
+ "name": "getInitialInfo",
774
+ "outputs": [
775
+ {
776
+ "components": [
777
+ {
778
+ "internalType": "NftId",
779
+ "name": "nftId",
780
+ "type": "uint96"
781
+ },
782
+ {
783
+ "internalType": "NftId",
784
+ "name": "parentNftId",
785
+ "type": "uint96"
786
+ },
787
+ {
788
+ "internalType": "ObjectType",
789
+ "name": "objectType",
790
+ "type": "uint8"
791
+ },
792
+ {
793
+ "internalType": "bool",
794
+ "name": "isInterceptor",
795
+ "type": "bool"
796
+ },
797
+ {
798
+ "internalType": "address",
799
+ "name": "objectAddress",
800
+ "type": "address"
801
+ },
802
+ {
803
+ "internalType": "address",
804
+ "name": "initialOwner",
805
+ "type": "address"
806
+ },
807
+ {
808
+ "internalType": "bytes",
809
+ "name": "data",
810
+ "type": "bytes"
811
+ }
812
+ ],
813
+ "internalType": "struct IRegistry.ObjectInfo",
814
+ "name": "info",
815
+ "type": "tuple"
816
+ }
817
+ ],
818
+ "stateMutability": "view",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [],
823
+ "name": "getInstance",
824
+ "outputs": [
825
+ {
826
+ "internalType": "contract IInstance",
827
+ "name": "instance",
828
+ "type": "address"
829
+ }
830
+ ],
831
+ "stateMutability": "view",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [],
836
+ "name": "getName",
837
+ "outputs": [
838
+ {
839
+ "internalType": "string",
840
+ "name": "name",
841
+ "type": "string"
842
+ }
843
+ ],
844
+ "stateMutability": "view",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [],
849
+ "name": "getNftId",
850
+ "outputs": [
851
+ {
852
+ "internalType": "NftId",
853
+ "name": "",
854
+ "type": "uint96"
855
+ }
856
+ ],
857
+ "stateMutability": "view",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [],
862
+ "name": "getOwner",
863
+ "outputs": [
864
+ {
865
+ "internalType": "address",
866
+ "name": "",
867
+ "type": "address"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "getProductNftId",
876
+ "outputs": [
877
+ {
878
+ "internalType": "NftId",
879
+ "name": "productNftId",
880
+ "type": "uint96"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [
888
+ {
889
+ "internalType": "string",
890
+ "name": "referralCode",
891
+ "type": "string"
892
+ }
893
+ ],
894
+ "name": "getReferralId",
895
+ "outputs": [
896
+ {
897
+ "internalType": "ReferralId",
898
+ "name": "referralId",
899
+ "type": "bytes8"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [],
907
+ "name": "getRegistry",
908
+ "outputs": [
909
+ {
910
+ "internalType": "contract IRegistry",
911
+ "name": "",
912
+ "type": "address"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [],
920
+ "name": "getToken",
921
+ "outputs": [
922
+ {
923
+ "internalType": "contract IERC20Metadata",
924
+ "name": "token",
925
+ "type": "address"
926
+ }
927
+ ],
928
+ "stateMutability": "view",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [],
933
+ "name": "getTokenHandler",
934
+ "outputs": [
935
+ {
936
+ "internalType": "contract TokenHandler",
937
+ "name": "tokenHandler",
938
+ "type": "address"
939
+ }
940
+ ],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "getWallet",
947
+ "outputs": [
948
+ {
949
+ "internalType": "address",
950
+ "name": "walletAddress",
951
+ "type": "address"
952
+ }
953
+ ],
954
+ "stateMutability": "view",
955
+ "type": "function"
956
+ },
957
+ {
958
+ "inputs": [
959
+ {
960
+ "internalType": "address",
961
+ "name": "authority",
962
+ "type": "address"
963
+ },
964
+ {
965
+ "internalType": "address",
966
+ "name": "registry",
967
+ "type": "address"
968
+ },
969
+ {
970
+ "internalType": "NftId",
971
+ "name": "parentNftId",
972
+ "type": "uint96"
973
+ },
974
+ {
975
+ "internalType": "string",
976
+ "name": "name",
977
+ "type": "string"
978
+ },
979
+ {
980
+ "internalType": "address",
981
+ "name": "token",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "ObjectType",
986
+ "name": "componentType",
987
+ "type": "uint8"
988
+ },
989
+ {
990
+ "internalType": "bool",
991
+ "name": "isInterceptor",
992
+ "type": "bool"
993
+ },
994
+ {
995
+ "internalType": "address",
996
+ "name": "initialOwner",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "bytes",
1001
+ "name": "registryData",
1002
+ "type": "bytes"
1003
+ },
1004
+ {
1005
+ "internalType": "bytes",
1006
+ "name": "componentData",
1007
+ "type": "bytes"
1008
+ }
1009
+ ],
1010
+ "name": "initializeComponent",
1011
+ "outputs": [],
1012
+ "stateMutability": "nonpayable",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [],
1017
+ "name": "initializeERC165",
1018
+ "outputs": [],
1019
+ "stateMutability": "nonpayable",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [
1024
+ {
1025
+ "internalType": "address",
1026
+ "name": "initialOwner",
1027
+ "type": "address"
1028
+ },
1029
+ {
1030
+ "internalType": "address",
1031
+ "name": "registryAddress",
1032
+ "type": "address"
1033
+ }
1034
+ ],
1035
+ "name": "initializeNftOwnable",
1036
+ "outputs": [],
1037
+ "stateMutability": "nonpayable",
1038
+ "type": "function"
1039
+ },
1040
+ {
1041
+ "inputs": [
1042
+ {
1043
+ "internalType": "address",
1044
+ "name": "registryAddress",
1045
+ "type": "address"
1046
+ },
1047
+ {
1048
+ "internalType": "NftId",
1049
+ "name": "parentNftId",
1050
+ "type": "uint96"
1051
+ },
1052
+ {
1053
+ "internalType": "ObjectType",
1054
+ "name": "objectType",
1055
+ "type": "uint8"
1056
+ },
1057
+ {
1058
+ "internalType": "bool",
1059
+ "name": "isInterceptor",
1060
+ "type": "bool"
1061
+ },
1062
+ {
1063
+ "internalType": "address",
1064
+ "name": "initialOwner",
1065
+ "type": "address"
1066
+ },
1067
+ {
1068
+ "internalType": "bytes",
1069
+ "name": "registryData",
1070
+ "type": "bytes"
1071
+ }
1072
+ ],
1073
+ "name": "initializeRegisterable",
1074
+ "outputs": [],
1075
+ "stateMutability": "nonpayable",
1076
+ "type": "function"
1077
+ },
1078
+ {
1079
+ "inputs": [
1080
+ {
1081
+ "internalType": "address",
1082
+ "name": "registryAddress",
1083
+ "type": "address"
1084
+ }
1085
+ ],
1086
+ "name": "initializeRegistryLinked",
1087
+ "outputs": [],
1088
+ "stateMutability": "nonpayable",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [],
1093
+ "name": "isConsumingScheduledOp",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "bytes4",
1097
+ "name": "",
1098
+ "type": "bytes4"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "inputs": [
1106
+ {
1107
+ "internalType": "address",
1108
+ "name": "candidate",
1109
+ "type": "address"
1110
+ }
1111
+ ],
1112
+ "name": "isDistributor",
1113
+ "outputs": [
1114
+ {
1115
+ "internalType": "bool",
1116
+ "name": "",
1117
+ "type": "bool"
1118
+ }
1119
+ ],
1120
+ "stateMutability": "view",
1121
+ "type": "function"
1122
+ },
1123
+ {
1124
+ "inputs": [],
1125
+ "name": "isNftInterceptor",
1126
+ "outputs": [
1127
+ {
1128
+ "internalType": "bool",
1129
+ "name": "isInterceptor",
1130
+ "type": "bool"
1131
+ }
1132
+ ],
1133
+ "stateMutability": "view",
1134
+ "type": "function"
1135
+ },
1136
+ {
1137
+ "inputs": [],
1138
+ "name": "isRegistered",
1139
+ "outputs": [
1140
+ {
1141
+ "internalType": "bool",
1142
+ "name": "",
1143
+ "type": "bool"
1144
+ }
1145
+ ],
1146
+ "stateMutability": "view",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [],
1151
+ "name": "isVerifying",
1152
+ "outputs": [
1153
+ {
1154
+ "internalType": "bool",
1155
+ "name": "verifying",
1156
+ "type": "bool"
1157
+ }
1158
+ ],
1159
+ "stateMutability": "pure",
1160
+ "type": "function"
1161
+ },
1162
+ {
1163
+ "inputs": [],
1164
+ "name": "linkToRegisteredNftId",
1165
+ "outputs": [
1166
+ {
1167
+ "internalType": "NftId",
1168
+ "name": "nftId",
1169
+ "type": "uint96"
1170
+ }
1171
+ ],
1172
+ "stateMutability": "nonpayable",
1173
+ "type": "function"
1174
+ },
1175
+ {
1176
+ "inputs": [],
1177
+ "name": "lock",
1178
+ "outputs": [],
1179
+ "stateMutability": "nonpayable",
1180
+ "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [
1184
+ {
1185
+ "internalType": "address",
1186
+ "name": "to",
1187
+ "type": "address"
1188
+ },
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "tokenId",
1192
+ "type": "uint256"
1193
+ }
1194
+ ],
1195
+ "name": "nftMint",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "from",
1205
+ "type": "address"
1206
+ },
1207
+ {
1208
+ "internalType": "address",
1209
+ "name": "to",
1210
+ "type": "address"
1211
+ },
1212
+ {
1213
+ "internalType": "uint256",
1214
+ "name": "tokenId",
1215
+ "type": "uint256"
1216
+ }
1217
+ ],
1218
+ "name": "nftTransferFrom",
1219
+ "outputs": [],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "ReferralId",
1227
+ "name": "referralId",
1228
+ "type": "bytes8"
1229
+ },
1230
+ {
1231
+ "internalType": "uint256",
1232
+ "name": "feeAmount",
1233
+ "type": "uint256"
1234
+ }
1235
+ ],
1236
+ "name": "processRenewal",
1237
+ "outputs": [],
1238
+ "stateMutability": "nonpayable",
1239
+ "type": "function"
1240
+ },
1241
+ {
1242
+ "inputs": [],
1243
+ "name": "register",
1244
+ "outputs": [],
1245
+ "stateMutability": "nonpayable",
1246
+ "type": "function"
1247
+ },
1248
+ {
1249
+ "inputs": [
1250
+ {
1251
+ "internalType": "bytes4",
1252
+ "name": "interfaceId",
1253
+ "type": "bytes4"
1254
+ }
1255
+ ],
1256
+ "name": "registerInterface",
1257
+ "outputs": [],
1258
+ "stateMutability": "nonpayable",
1259
+ "type": "function"
1260
+ },
1261
+ {
1262
+ "inputs": [
1263
+ {
1264
+ "internalType": "address",
1265
+ "name": "newAuthority",
1266
+ "type": "address"
1267
+ }
1268
+ ],
1269
+ "name": "setAuthority",
1270
+ "outputs": [],
1271
+ "stateMutability": "nonpayable",
1272
+ "type": "function"
1273
+ },
1274
+ {
1275
+ "inputs": [
1276
+ {
1277
+ "components": [
1278
+ {
1279
+ "internalType": "UFixed",
1280
+ "name": "fractionalFee",
1281
+ "type": "uint256"
1282
+ },
1283
+ {
1284
+ "internalType": "uint256",
1285
+ "name": "fixedFee",
1286
+ "type": "uint256"
1287
+ }
1288
+ ],
1289
+ "internalType": "struct Fee",
1290
+ "name": "distributionFee",
1291
+ "type": "tuple"
1292
+ },
1293
+ {
1294
+ "components": [
1295
+ {
1296
+ "internalType": "UFixed",
1297
+ "name": "fractionalFee",
1298
+ "type": "uint256"
1299
+ },
1300
+ {
1301
+ "internalType": "uint256",
1302
+ "name": "fixedFee",
1303
+ "type": "uint256"
1304
+ }
1305
+ ],
1306
+ "internalType": "struct Fee",
1307
+ "name": "minDistributionOwnerFee",
1308
+ "type": "tuple"
1309
+ }
1310
+ ],
1311
+ "name": "setFees",
1312
+ "outputs": [],
1313
+ "stateMutability": "nonpayable",
1314
+ "type": "function"
1315
+ },
1316
+ {
1317
+ "inputs": [
1318
+ {
1319
+ "internalType": "address",
1320
+ "name": "newWallet",
1321
+ "type": "address"
1322
+ }
1323
+ ],
1324
+ "name": "setWallet",
1325
+ "outputs": [],
1326
+ "stateMutability": "nonpayable",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [
1331
+ {
1332
+ "internalType": "bytes4",
1333
+ "name": "interfaceId",
1334
+ "type": "bytes4"
1335
+ }
1336
+ ],
1337
+ "name": "supportsInterface",
1338
+ "outputs": [
1339
+ {
1340
+ "internalType": "bool",
1341
+ "name": "",
1342
+ "type": "bool"
1343
+ }
1344
+ ],
1345
+ "stateMutability": "view",
1346
+ "type": "function"
1347
+ },
1348
+ {
1349
+ "inputs": [],
1350
+ "name": "unlock",
1351
+ "outputs": [],
1352
+ "stateMutability": "nonpayable",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [
1357
+ {
1358
+ "internalType": "NftId",
1359
+ "name": "distributorNftId",
1360
+ "type": "uint96"
1361
+ },
1362
+ {
1363
+ "internalType": "DistributorType",
1364
+ "name": "distributorType",
1365
+ "type": "bytes8"
1366
+ },
1367
+ {
1368
+ "internalType": "bytes",
1369
+ "name": "data",
1370
+ "type": "bytes"
1371
+ }
1372
+ ],
1373
+ "name": "updateDistributorType",
1374
+ "outputs": [],
1375
+ "stateMutability": "nonpayable",
1376
+ "type": "function"
1377
+ },
1378
+ {
1379
+ "inputs": [
1380
+ {
1381
+ "internalType": "Amount",
1382
+ "name": "amount",
1383
+ "type": "uint96"
1384
+ }
1385
+ ],
1386
+ "name": "withdrawFees",
1387
+ "outputs": [
1388
+ {
1389
+ "internalType": "Amount",
1390
+ "name": "withdrawnAmount",
1391
+ "type": "uint96"
1392
+ }
1393
+ ],
1394
+ "stateMutability": "nonpayable",
1395
+ "type": "function"
1396
+ }
1397
+ ],
1398
+ "bytecode": "0x6080604052348015600e575f80fd5b50613eb78061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106102fe575f3560e01c80637427d7a811610195578063bb1e0e59116100e4578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee0146106db578063f80e2072146106ee578063f83d08ba14610701578063f8bf0d9f14610709575f80fd5b8063e7f7fb86146106a0578063ea15869f146106b3578063f5860e1a146106c7575f80fd5b8063bb1e0e5914610618578063bf7e214f1461062b578063d16d0fe814610633578063de7b5d1414610646578063deaa59df14610663578063e145d46c14610676575f80fd5b806390edbd351161014f578063b2a6b42d1161012a578063b2a6b42d146105d7578063b423086c146105ea578063b6b412ba146105f2578063bae99c9914610605575f80fd5b806390edbd35146105a6578063a69df4b5146105bb578063ada9652e146105c3575f80fd5b80637427d7a81461053d5780637a9e5e4b1461055057806387ef9ba014610563578063893d20e81461056a5780638f0c86fa146105725780638fb3603714610585575f80fd5b80632b5198b1116102515780635741e5e91161020b5780635dcb3bae116101e65780635dcb3bae146104df578063644c45e0146104f2578063675393bf146104fa5780636bd1c0eb1461050d575f80fd5b80635741e5e9146104b357806359660bea146104bb5780635ab1bd53146104ce575f80fd5b80632b5198b11461043d5780632eb3e6f41461046957806336fc697e1461047d5780633d683fd914610485578063419197fe1461049857806343d752d3146104ab575f80fd5b80631aa3a008116102bc578063214cdb8011610297578063214cdb801461040757806321df0da71461041a578063223668441461042257806327bb7a331461042a575f80fd5b80631aa3a008146103b55780631c6b2190146103bf5780631eff4b22146103d2575f80fd5b806251884a1461030257806301ffc9a7146103275780630fec111c146103635780631329960414610378578063138461e01461039857806317d7de7c146103a0575b5f80fd5b61030a61071c565b6040516001600160601b0390911681526020015b60405180910390f35b610353610335366004612f0f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b604051901515815260200161031e565b61036b61072e565b60405161031e9190612f64565b6103806108ec565b6040516001600160a01b03909116815260200161031e565b61030a6108fe565b6103a861090d565b60405161031e9190612ff8565b6103bd61091d565b005b61030a6103cd366004613029565b6109cf565b6103f97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161031e565b6103bd610415366004612f0f565b610a28565b610380610a54565b610353610a66565b6103bd61043836600461319c565b610b5c565b61045061044b36600461324b565b610c01565b6040516001600160c01b0319909116815260200161031e565b6103f95f80516020613e6283398151915281565b6103bd610c65565b6103bd610493366004613321565b610caa565b6103bd6104a636600461337e565b610cfe565b610380610ebe565b610353610ed0565b6104506104c93660046133b5565b610f84565b6001546001600160a01b0316610380565b61030a6104ed36600461344e565b610fdb565b61030a611035565b6103bd61050836600461346b565b611050565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610380565b61045061054b366004613486565b61115d565b6103bd61055e36600461346b565b6111dd565b6001610353565b61038061125f565b61035361058036600461346b565b611390565b61058d611455565b6040516001600160e01b0319909116815260200161031e565b6105ae61148a565b60405161031e91906134b7565b6103bd6114af565b6103f95f80516020613de283398151915281565b61030a6105e536600461346b565b61154d565b6105ae61158f565b6103bd610600366004613596565b61159f565b6103bd610613366004613029565b6115ed565b6103bd6106263660046135c9565b611639565b6103806116e0565b6103f96106413660046135f3565b6116fb565b5f80516020613e62833981519152546001600160a01b0316610380565b6103bd61067136600461346b565b61170f565b610689610684366004613486565b611986565b6040805192835260ff90911660208301520161031e565b6103bd6106ae36600461360f565b611a40565b6103f95f80516020613e0283398151915281565b6103f95f80516020613e4283398151915281565b6103bd6106e936600461364d565b611ae8565b6103bd6106fc3660046135f3565b611b5e565b6103bd611b67565b6103bd610717366004613679565b611bdb565b5f61072561148a565b60200151905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108029190613783565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161084a61125f565b6001600160a01b031681526020018260010180546108679061379e565b80601f01602080910402602001604051908101604052809291908181526020018280546108939061379e565b80156108de5780601f106108b5576101008083540402835291602001916108de565b820191905f5260205f20905b8154815290600101906020018083116108c157829003601f168201915b505050505081525091505090565b5f6108f561148a565b60800151905090565b5f61090830611cda565b905090565b606061091761148a565b51919050565b61092561125f565b6001600160a01b0316336001600160a01b03161461095d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b5f80516020613e42833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109ad575f80fd5b505af11580156109bf573d5f803e3d5ffd5b505050506109cd5f19611ece565b565b5f6109d861125f565b6001600160a01b0316336001600160a01b031614610a0b5760405163086391f760e31b8152336004820152602401610954565b610a17335b5f36611f87565b610a2082612085565b90505b919050565b610a30612109565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610a5d61148a565b60400151905090565b5f610a796001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610abd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae19190613783565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b38573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090891906137e1565b610b64612109565b610b6e8287611ae8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610bf78382613840565b5050505050505050565b5f610c0a61125f565b6001600160a01b0316336001600160a01b031614610c3d5760405163086391f760e31b8152336004820152602401610954565b610c4633610a10565b610c578a8a8a8a8a8a8a8a8a612157565b9a9950505050505050505050565b610c6d612109565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610cb261125f565b6001600160a01b0316336001600160a01b031614610ce55760405163086391f760e31b8152336004820152602401610954565b610cee33610a10565b610cf9838383612216565b505050565b610d0661125f565b6001600160a01b0316336001600160a01b031614610d395760405163086391f760e31b8152336004820152602401610954565b30610d426108ec565b6001600160a01b031614610d695760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3610d80610ebe565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610dd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dfa91906138fa565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e6691906137e1565b507ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610e90610ebe565b604080516001600160a01b0390921682526001600160601b0384166020830152015b60405180910390a15050565b5f610ec761148a565b60600151905090565b5f610ed9610a66565b15610f54576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610f2d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ec79190810190613976565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610f8e33611390565b610fad5760405163637c41bb60e01b8152336004820152602401610954565b610fb633610a10565b5f610fc03361154d565b9050610fd081888888888861222d565b979650505050505050565b5f610fe461125f565b6001600160a01b0316336001600160a01b0316146110175760405163086391f760e31b8152336004820152602401610954565b61102033610a10565b61102b8484846122e3565b90505b9392505050565b5f80516020613de2833981519152546001600160601b031690565b611058612109565b806001600160a01b03163b5f0361108d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610954565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611107575060408051601f3d908101601f19168201909252611104918101906137e1565b60015b61112f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610954565b806111585760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610954565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6611180611035565b846040518363ffffffff1660e01b815260040161119e929190613a46565b602060405180830381865af41580156111b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a209190613a67565b336111e66116e0565b6001600160a01b0316816001600160a01b0316146112215760405162d1953b60e31b81526001600160a01b0382166004820152602401610954565b816001600160a01b03163b5f03611256576040516361798f2f60e11b81526001600160a01b0383166004820152602401610954565b611158826124a7565b5f805f80516020613de283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef91906137e1565b1561137a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611350573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113749190613a82565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613e428339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611431573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102e91906137e1565b5f80516020613e2283398151915280545f9190600160a01b900460ff1661147c575f611374565b638fb3603760e01b91505090565b611492612eb9565b61149a610a66565b156114a757610908612500565b61090861158f565b6114b761125f565b6001600160a01b0316336001600160a01b0316146114ea5760405163086391f760e31b8152336004820152602401610954565b6114f4600a6126c7565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611535575f80fd5b505af1158015611547573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611597612eb9565b610908612500565b6115a761125f565b6001600160a01b0316336001600160a01b0316146115da5760405163086391f760e31b8152336004820152602401610954565b6115e333610a10565b61115882826127c8565b6115f561125f565b6001600160a01b0316336001600160a01b0316146116285760405163086391f760e31b8152336004820152602401610954565b61115a611633610a54565b82610cfe565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611680573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a49190613a82565b6001600160a01b0316336001600160a01b0316146116d65760405162f0630960e01b8152336004820152602401610954565b6111588282611158565b5f80516020613e22833981519152546001600160a01b031690565b5f6117068282613a9d565b90505b92915050565b61171761125f565b6001600160a01b0316336001600160a01b03161461174a5760405163086391f760e31b8152336004820152602401610954565b5f6117536108ec565b90505f61175e610a54565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa1580156117a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117cb91906138fa565b9050801561189a576001600160a01b038316301461189a57604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f919084169063dd62ed3e90604401602060405180830381865afa158015611830573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185491906138fa565b905081811015611898576040516372c963b360e11b81526001600160a01b038086166004830152861660248201526044810182905260648101839052608401610954565b505b6118a38461282f565b801561154757306001600160a01b038416036119295760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611903573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061192791906137e1565b505b611935828486846128c8565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a150505050565b5f805f6119928461115d565b90506119c57fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611a12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a369190613ac0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aab9190613a82565b6001600160a01b0316336001600160a01b031614611add5760405162f0630960e01b8152336004820152602401610954565b610cf9838383612922565b611af0612109565b611af981611050565b611b01610c65565b6001600160a01b038216611b285760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613de283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61115833610a10565b611b6f61125f565b6001600160a01b0316336001600160a01b031614611ba25760405163086391f760e31b8152336004820152602401610954565b611bac600a6126c7565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161151e565b611be3612109565b611bf1898987878787610b5c565b611bfa8a612ac8565b6001600160a01b038616611c21576040516327eab2e360e11b815260040160405180910390fd5b86515f03611c425760405163591eebf360e11b815260040160405180910390fd5b5f80516020613e0283398151915280611c5b8982613840565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101611cac8382613840565b50611cbd634a531f3360e01b610a28565b611ccd632986755f60e11b610a28565b5050505050505050505050565b5f805f80516020613de283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6a91906137e1565b15611d965780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610954565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611de8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0c91906137e1565b611e345760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610954565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaa9190613783565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020613e02833981519152906001600160a01b031663095ea7b3611f1561148a565b606001516040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015611f63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf991906137e1565b5f80516020613e228339815191525f80611fbf611fa26116e0565b8730611fb160045f8a8c613ae4565b611fba91613b0b565b612ad9565b915091508161207d5763ffffffff81161561205a57825460ff60a01b1916600160a01b178355611fed6116e0565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161201c93929190613b43565b5f604051808303815f87803b158015612033575f80fd5b505af1158015612045573d5f803e3d5ffd5b5050845460ff60a01b191685555061207d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610954565b505050505050565b5f5f80516020613e62833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156120e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a209190613783565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166109cd57604051631afcd79f60e31b815260040160405180910390fd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613e42833981519152916001600160a01b0390911690632b5198b1906121c7908e908e908e908e908e908e908e908e908e90600401613b82565b6020604051808303815f875af11580156121e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122079190613a67565b9b9a5050505050505050505050565b5f5f80516020613e428339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613e42833981519152916001600160a01b0390911690638dd2b78190612297908b908b908b908b908b908b90600401613bf3565b6020604051808303815f875af11580156122b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d79190613a67565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613e428339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612384573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a891906137e1565b156123f3576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610954565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061242990889088908890600401613c52565b6020604051808303815f875af1158015612445573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124699190613783565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613e2283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610eb2565b612508612eb9565b5f61251b6001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561255f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125839190613783565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156125dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061260091906137e1565b156126bf577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361263d611035565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561267e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126a59190810190613c85565b60808101519092506001600160a01b0316156126bf575090565b611374612be1565b5f805f80516020613e628339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa15801561271d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127419190613d5d565b90506127556001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156127a4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102e9190613a82565b5f80516020613e4283398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906128069085908590600401613d78565b5f604051808303815f87803b15801561281d575f80fd5b505af115801561207d573d5f803e3d5ffd5b61283761125f565b6001600160a01b0316336001600160a01b03161461286a5760405163086391f760e31b8152336004820152602401610954565b612874600b6126c7565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156128b6575f80fd5b505af1158015612226573d5f803e3d5ffd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611547908590612d45565b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613e42833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156129bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129df9190613783565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612a65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a899190613783565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612ad0612109565b61115a81612da6565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b479190613d9e565b5f60405180830381855afa9150503d805f8114612b7f576040519150601f19603f3d011682016040523d82523d5f602084013e612b84565b606091505b50915091508115612bd6576040815110612bb65780806020019051810190612bac9190613db4565b9094509250612bd6565b6020815110612bd65780806020019051810190612bd391906137e1565b93505b505094509492505050565b612be9612eb9565b5f5f80516020613e0283398151915290506040518060c00160405280825f018054612c139061379e565b80601f0160208091040260200160405190810160405280929190818152602001828054612c3f9061379e565b8015612c8a5780601f10612c6157610100808354040283529160200191612c8a565b820191905f5260205f20905b815481529060010190602001808311612c6d57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612cdb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cff9190613783565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108679061379e565b5f612d596001600160a01b03841683612db7565b905080515f14158015612d7d575080806020019051810190612d7b91906137e1565b155b15610cf957604051635274afe760e01b81526001600160a01b0384166004820152602401610954565b612dae612109565b61115a816124a7565b606061170683835f845f80856001600160a01b03168486604051612ddb9190613d9e565b5f6040518083038185875af1925050503d805f8114612e15576040519150601f19603f3d011682016040523d82523d5f602084013e612e1a565b606091505b5091509150612e2a868383612e34565b9695505050505050565b606082612e4957612e4482612e90565b61102e565b8151158015612e6057506001600160a01b0384163b155b15612e8957604051639996b31560e01b81526001600160a01b0385166004820152602401610954565b508061102e565b805115612ea05780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612f1f575f80fd5b81356001600160e01b03198116811461102e575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612fac608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612ff0610100840182612f36565b949350505050565b602081525f6117066020830184612f36565b6001600160601b038116811461115a575f80fd5b8035610a238161300a565b5f60208284031215613039575f80fd5b813561102e8161300a565b6001600160a01b038116811461115a575f80fd5b8035610a2381613044565b60ff8116811461115a575f80fd5b8035610a2381613063565b801515811461115a575f80fd5b8035610a238161307c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156130ca576130ca613094565b60405290565b60405160c081016001600160401b03811182821017156130ca576130ca613094565b604051601f8201601f191681016001600160401b038111828210171561311a5761311a613094565b604052919050565b5f6001600160401b0382111561313a5761313a613094565b50601f01601f191660200190565b5f82601f830112613157575f80fd5b8135602083015f61316f61316a84613122565b6130f2565b9050828152858383011115613182575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c087890312156131b1575f80fd5b86356131bc81613044565b955060208701356131cc8161300a565b945060408701356131dc81613063565b935060608701356131ec8161307c565b925060808701356131fc81613044565b915060a08701356001600160401b03811115613216575f80fd5b61322289828a01613148565b9150509295509295509295565b63ffffffff8116811461115a575f80fd5b8035610a238161322f565b5f805f805f805f805f6101208a8c031215613264575f80fd5b89356001600160401b03811115613279575f80fd5b6132858c828d01613148565b99505060208a0135975060408a0135965060608a0135955060808a01356132ab8161322f565b94506132b960a08b01613240565b93506132c760c08b01613089565b92506132d560e08b01613089565b91506101008a01356001600160401b038111156132f0575f80fd5b6132fc8c828d01613148565b9150509295985092959850929598565b6001600160c01b03198116811461115a575f80fd5b5f805f60608486031215613333575f80fd5b833561333e8161300a565b9250602084013561334e8161330c565b915060408401356001600160401b03811115613368575f80fd5b61337486828701613148565b9150509250925092565b5f806040838503121561338f575f80fd5b823561339a81613044565b915060208301356133aa8161300a565b809150509250929050565b5f805f805f60a086880312156133c9575f80fd5b85356001600160401b038111156133de575f80fd5b6133ea88828901613148565b9550506020860135935060408601356134028161322f565b9250606086013564ffffffffff8116811461341b575f80fd5b915060808601356001600160401b03811115613435575f80fd5b61344188828901613148565b9150509295509295909350565b5f805f60608486031215613460575f80fd5b833561333e81613044565b5f6020828403121561347b575f80fd5b813561102e81613044565b5f60208284031215613496575f80fd5b81356001600160401b038111156134ab575f80fd5b612ff084828501613148565b602081525f825160c060208401526134d260e0840182612f36565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161352560a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526135418282612f36565b95945050505050565b5f6040828403121561355a575f80fd5b604080519081016001600160401b038111828210171561357c5761357c613094565b604052823581526020928301359281019290925250919050565b5f80608083850312156135a7575f80fd5b6135b1848461354a565b91506135c0846040850161354a565b90509250929050565b5f80604083850312156135da575f80fd5b82356135e581613044565b946020939093013593505050565b5f8060408385031215613604575f80fd5b82356135e58161330c565b5f805f60608486031215613621575f80fd5b833561362c81613044565b9250602084013561363c81613044565b929592945050506040919091013590565b5f806040838503121561365e575f80fd5b823561366981613044565b915060208301356133aa81613044565b5f805f805f805f805f806101408b8d031215613693575f80fd5b61369c8b613058565b99506136aa60208c01613058565b98506136b860408c0161301e565b975060608b01356001600160401b038111156136d2575f80fd5b6136de8d828e01613148565b9750506136ed60808c01613058565b95506136fb60a08c01613071565b945061370960c08c01613089565b935061371760e08c01613058565b92506101008b01356001600160401b03811115613732575f80fd5b61373e8d828e01613148565b9250506101208b01356001600160401b0381111561375a575f80fd5b6137668d828e01613148565b9150509295989b9194979a5092959850565b8051610a238161300a565b5f60208284031215613793575f80fd5b815161102e8161300a565b600181811c908216806137b257607f821691505b6020821081036137d057634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a238161307c565b5f602082840312156137f1575f80fd5b815161102e8161307c565b601f821115610cf957805f5260205f20601f840160051c810160208510156138215750805b601f840160051c820191505b81811015612226575f815560010161382d565b81516001600160401b0381111561385957613859613094565b61386d81613867845461379e565b846137fc565b6020601f82116001811461389f575f83156138885750848201515b5f19600385901b1c1916600184901b178455612226565b5f84815260208120601f198516915b828110156138ce57878501518255602094850194600190920191016138ae565b50848210156138eb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561390a575f80fd5b5051919050565b8051610a2381613063565b8051610a2381613044565b5f82601f830112613936575f80fd5b8151602083015f61394961316a84613122565b905082815285838301111561395c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613986575f80fd5b81516001600160401b0381111561399b575f80fd5b820160e081850312156139ac575f80fd5b6139b46130a8565b6139bd82613778565b81526139cb60208301613778565b60208201526139dc60408301613911565b60408201526139ed606083016137d6565b60608201526139fe6080830161391c565b6080820152613a0f60a0830161391c565b60a082015260c08201516001600160401b03811115613a2c575f80fd5b613a3886828501613927565b60c083015250949350505050565b6001600160601b0383168152604060208201525f61102b6040830184612f36565b5f60208284031215613a77575f80fd5b815161102e8161330c565b5f60208284031215613a92575f80fd5b815161102e81613044565b808202811582820484141761170957634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613ad1575f80fd5b825160208401519092506133aa81613063565b5f8085851115613af2575f80fd5b83861115613afe575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613b3c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613b9661012083018c612f36565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613be38185612f36565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613c1460c0830188612f36565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613c458185612f36565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061354190830184612f36565b5f60208284031215613c95575f80fd5b81516001600160401b03811115613caa575f80fd5b820160c08185031215613cbb575f80fd5b613cc36130d0565b81516001600160401b03811115613cd8575f80fd5b613ce486828501613927565b825250613cf360208301613778565b6020820152613d046040830161391c565b6040820152613d156060830161391c565b6060820152613d266080830161391c565b608082015260a08201516001600160401b03811115613d43575f80fd5b613d4f86828501613927565b60a083015250949350505050565b5f60208284031215613d6d575f80fd5b815161102e81613063565b82518152602080840151818301528251604083015282015160608201526080810161102e565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613dc5575f80fd5b8251613dd08161307c565b60208401519092506133aa8161322f56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220d7d4f7573a37adab4a520dd0c4330cae644fc3d0449f2e7b3bd45ca04480472264736f6c634300081a0033",
1399
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102fe575f3560e01c80637427d7a811610195578063bb1e0e59116100e4578063e7f7fb861161009e578063f7c34ee011610079578063f7c34ee0146106db578063f80e2072146106ee578063f83d08ba14610701578063f8bf0d9f14610709575f80fd5b8063e7f7fb86146106a0578063ea15869f146106b3578063f5860e1a146106c7575f80fd5b8063bb1e0e5914610618578063bf7e214f1461062b578063d16d0fe814610633578063de7b5d1414610646578063deaa59df14610663578063e145d46c14610676575f80fd5b806390edbd351161014f578063b2a6b42d1161012a578063b2a6b42d146105d7578063b423086c146105ea578063b6b412ba146105f2578063bae99c9914610605575f80fd5b806390edbd35146105a6578063a69df4b5146105bb578063ada9652e146105c3575f80fd5b80637427d7a81461053d5780637a9e5e4b1461055057806387ef9ba014610563578063893d20e81461056a5780638f0c86fa146105725780638fb3603714610585575f80fd5b80632b5198b1116102515780635741e5e91161020b5780635dcb3bae116101e65780635dcb3bae146104df578063644c45e0146104f2578063675393bf146104fa5780636bd1c0eb1461050d575f80fd5b80635741e5e9146104b357806359660bea146104bb5780635ab1bd53146104ce575f80fd5b80632b5198b11461043d5780632eb3e6f41461046957806336fc697e1461047d5780633d683fd914610485578063419197fe1461049857806343d752d3146104ab575f80fd5b80631aa3a008116102bc578063214cdb8011610297578063214cdb801461040757806321df0da71461041a578063223668441461042257806327bb7a331461042a575f80fd5b80631aa3a008146103b55780631c6b2190146103bf5780631eff4b22146103d2575f80fd5b806251884a1461030257806301ffc9a7146103275780630fec111c146103635780631329960414610378578063138461e01461039857806317d7de7c146103a0575b5f80fd5b61030a61071c565b6040516001600160601b0390911681526020015b60405180910390f35b610353610335366004612f0f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b604051901515815260200161031e565b61036b61072e565b60405161031e9190612f64565b6103806108ec565b6040516001600160a01b03909116815260200161031e565b61030a6108fe565b6103a861090d565b60405161031e9190612ff8565b6103bd61091d565b005b61030a6103cd366004613029565b6109cf565b6103f97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161031e565b6103bd610415366004612f0f565b610a28565b610380610a54565b610353610a66565b6103bd61043836600461319c565b610b5c565b61045061044b36600461324b565b610c01565b6040516001600160c01b0319909116815260200161031e565b6103f95f80516020613e6283398151915281565b6103bd610c65565b6103bd610493366004613321565b610caa565b6103bd6104a636600461337e565b610cfe565b610380610ebe565b610353610ed0565b6104506104c93660046133b5565b610f84565b6001546001600160a01b0316610380565b61030a6104ed36600461344e565b610fdb565b61030a611035565b6103bd61050836600461346b565b611050565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610380565b61045061054b366004613486565b61115d565b6103bd61055e36600461346b565b6111dd565b6001610353565b61038061125f565b61035361058036600461346b565b611390565b61058d611455565b6040516001600160e01b0319909116815260200161031e565b6105ae61148a565b60405161031e91906134b7565b6103bd6114af565b6103f95f80516020613de283398151915281565b61030a6105e536600461346b565b61154d565b6105ae61158f565b6103bd610600366004613596565b61159f565b6103bd610613366004613029565b6115ed565b6103bd6106263660046135c9565b611639565b6103806116e0565b6103f96106413660046135f3565b6116fb565b5f80516020613e62833981519152546001600160a01b0316610380565b6103bd61067136600461346b565b61170f565b610689610684366004613486565b611986565b6040805192835260ff90911660208301520161031e565b6103bd6106ae36600461360f565b611a40565b6103f95f80516020613e0283398151915281565b6103f95f80516020613e4283398151915281565b6103bd6106e936600461364d565b611ae8565b6103bd6106fc3660046135f3565b611b5e565b6103bd611b67565b6103bd610717366004613679565b611bdb565b5f61072561148a565b60200151905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108029190613783565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161084a61125f565b6001600160a01b031681526020018260010180546108679061379e565b80601f01602080910402602001604051908101604052809291908181526020018280546108939061379e565b80156108de5780601f106108b5576101008083540402835291602001916108de565b820191905f5260205f20905b8154815290600101906020018083116108c157829003601f168201915b505050505081525091505090565b5f6108f561148a565b60800151905090565b5f61090830611cda565b905090565b606061091761148a565b51919050565b61092561125f565b6001600160a01b0316336001600160a01b03161461095d5760405163086391f760e31b81523360048201526024015b60405180910390fd5b5f80516020613e42833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109ad575f80fd5b505af11580156109bf573d5f803e3d5ffd5b505050506109cd5f19611ece565b565b5f6109d861125f565b6001600160a01b0316336001600160a01b031614610a0b5760405163086391f760e31b8152336004820152602401610954565b610a17335b5f36611f87565b610a2082612085565b90505b919050565b610a30612109565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610a5d61148a565b60400151905090565b5f610a796001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610abd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae19190613783565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b38573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090891906137e1565b610b64612109565b610b6e8287611ae8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610bf78382613840565b5050505050505050565b5f610c0a61125f565b6001600160a01b0316336001600160a01b031614610c3d5760405163086391f760e31b8152336004820152602401610954565b610c4633610a10565b610c578a8a8a8a8a8a8a8a8a612157565b9a9950505050505050505050565b610c6d612109565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610cb261125f565b6001600160a01b0316336001600160a01b031614610ce55760405163086391f760e31b8152336004820152602401610954565b610cee33610a10565b610cf9838383612216565b505050565b610d0661125f565b6001600160a01b0316336001600160a01b031614610d395760405163086391f760e31b8152336004820152602401610954565b30610d426108ec565b6001600160a01b031614610d695760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3610d80610ebe565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610dd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dfa91906138fa565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e6691906137e1565b507ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610e90610ebe565b604080516001600160a01b0390921682526001600160601b0384166020830152015b60405180910390a15050565b5f610ec761148a565b60600151905090565b5f610ed9610a66565b15610f54576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610f2d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ec79190810190613976565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610f8e33611390565b610fad5760405163637c41bb60e01b8152336004820152602401610954565b610fb633610a10565b5f610fc03361154d565b9050610fd081888888888861222d565b979650505050505050565b5f610fe461125f565b6001600160a01b0316336001600160a01b0316146110175760405163086391f760e31b8152336004820152602401610954565b61102033610a10565b61102b8484846122e3565b90505b9392505050565b5f80516020613de2833981519152546001600160601b031690565b611058612109565b806001600160a01b03163b5f0361108d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610954565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611107575060408051601f3d908101601f19168201909252611104918101906137e1565b60015b61112f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610954565b806111585760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610954565b505b50565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6611180611035565b846040518363ffffffff1660e01b815260040161119e929190613a46565b602060405180830381865af41580156111b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a209190613a67565b336111e66116e0565b6001600160a01b0316816001600160a01b0316146112215760405162d1953b60e31b81526001600160a01b0382166004820152602401610954565b816001600160a01b03163b5f03611256576040516361798f2f60e11b81526001600160a01b0383166004820152602401610954565b611158826124a7565b5f805f80516020613de283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef91906137e1565b1561137a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611350573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113749190613a82565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613e428339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611431573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102e91906137e1565b5f80516020613e2283398151915280545f9190600160a01b900460ff1661147c575f611374565b638fb3603760e01b91505090565b611492612eb9565b61149a610a66565b156114a757610908612500565b61090861158f565b6114b761125f565b6001600160a01b0316336001600160a01b0316146114ea5760405163086391f760e31b8152336004820152602401610954565b6114f4600a6126c7565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611535575f80fd5b505af1158015611547573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611597612eb9565b610908612500565b6115a761125f565b6001600160a01b0316336001600160a01b0316146115da5760405163086391f760e31b8152336004820152602401610954565b6115e333610a10565b61115882826127c8565b6115f561125f565b6001600160a01b0316336001600160a01b0316146116285760405163086391f760e31b8152336004820152602401610954565b61115a611633610a54565b82610cfe565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611680573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a49190613a82565b6001600160a01b0316336001600160a01b0316146116d65760405162f0630960e01b8152336004820152602401610954565b6111588282611158565b5f80516020613e22833981519152546001600160a01b031690565b5f6117068282613a9d565b90505b92915050565b61171761125f565b6001600160a01b0316336001600160a01b03161461174a5760405163086391f760e31b8152336004820152602401610954565b5f6117536108ec565b90505f61175e610a54565b6040516370a0823160e01b81526001600160a01b0384811660048301529192505f918316906370a0823190602401602060405180830381865afa1580156117a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117cb91906138fa565b9050801561189a576001600160a01b038316301461189a57604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f919084169063dd62ed3e90604401602060405180830381865afa158015611830573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185491906138fa565b905081811015611898576040516372c963b360e11b81526001600160a01b038086166004830152861660248201526044810182905260648101839052608401610954565b505b6118a38461282f565b801561154757306001600160a01b038416036119295760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611903573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061192791906137e1565b505b611935828486846128c8565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a150505050565b5f805f6119928461115d565b90506119c57fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611a12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a369190613ac0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aab9190613a82565b6001600160a01b0316336001600160a01b031614611add5760405162f0630960e01b8152336004820152602401610954565b610cf9838383612922565b611af0612109565b611af981611050565b611b01610c65565b6001600160a01b038216611b285760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613de283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61115833610a10565b611b6f61125f565b6001600160a01b0316336001600160a01b031614611ba25760405163086391f760e31b8152336004820152602401610954565b611bac600a6126c7565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161151e565b611be3612109565b611bf1898987878787610b5c565b611bfa8a612ac8565b6001600160a01b038616611c21576040516327eab2e360e11b815260040160405180910390fd5b86515f03611c425760405163591eebf360e11b815260040160405180910390fd5b5f80516020613e0283398151915280611c5b8982613840565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101611cac8382613840565b50611cbd634a531f3360e01b610a28565b611ccd632986755f60e11b610a28565b5050505050505050505050565b5f805f80516020613de283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6a91906137e1565b15611d965780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610954565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611de8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0c91906137e1565b611e345760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610954565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaa9190613783565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f80516020613e02833981519152906001600160a01b031663095ea7b3611f1561148a565b606001516040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015611f63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf991906137e1565b5f80516020613e228339815191525f80611fbf611fa26116e0565b8730611fb160045f8a8c613ae4565b611fba91613b0b565b612ad9565b915091508161207d5763ffffffff81161561205a57825460ff60a01b1916600160a01b178355611fed6116e0565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161201c93929190613b43565b5f604051808303815f87803b158015612033575f80fd5b505af1158015612045573d5f803e3d5ffd5b5050845460ff60a01b191685555061207d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610954565b505050505050565b5f5f80516020613e62833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156120e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a209190613783565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166109cd57604051631afcd79f60e31b815260040160405180910390fd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613e42833981519152916001600160a01b0390911690632b5198b1906121c7908e908e908e908e908e908e908e908e908e90600401613b82565b6020604051808303815f875af11580156121e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122079190613a67565b9b9a5050505050505050505050565b5f5f80516020613e428339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613e42833981519152916001600160a01b0390911690638dd2b78190612297908b908b908b908b908b908b90600401613bf3565b6020604051808303815f875af11580156122b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d79190613a67565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613e428339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612384573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a891906137e1565b156123f3576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610954565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061242990889088908890600401613c52565b6020604051808303815f875af1158015612445573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124699190613783565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613e2283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610eb2565b612508612eb9565b5f61251b6001546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801561255f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125839190613783565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156125dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061260091906137e1565b156126bf577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361263d611035565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561267e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126a59190810190613c85565b60808101519092506001600160a01b0316156126bf575090565b611374612be1565b5f805f80516020613e628339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa15801561271d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127419190613d5d565b90506127556001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156127a4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102e9190613a82565b5f80516020613e4283398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906128069085908590600401613d78565b5f604051808303815f87803b15801561281d575f80fd5b505af115801561207d573d5f803e3d5ffd5b61283761125f565b6001600160a01b0316336001600160a01b03161461286a5760405163086391f760e31b8152336004820152602401610954565b612874600b6126c7565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156128b6575f80fd5b505af1158015612226573d5f803e3d5ffd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611547908590612d45565b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613e42833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156129bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129df9190613783565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612a65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a899190613783565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612ad0612109565b61115a81612da6565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b479190613d9e565b5f60405180830381855afa9150503d805f8114612b7f576040519150601f19603f3d011682016040523d82523d5f602084013e612b84565b606091505b50915091508115612bd6576040815110612bb65780806020019051810190612bac9190613db4565b9094509250612bd6565b6020815110612bd65780806020019051810190612bd391906137e1565b93505b505094509492505050565b612be9612eb9565b5f5f80516020613e0283398151915290506040518060c00160405280825f018054612c139061379e565b80601f0160208091040260200160405190810160405280929190818152602001828054612c3f9061379e565b8015612c8a5780601f10612c6157610100808354040283529160200191612c8a565b820191905f5260205f20905b815481529060010190602001808311612c6d57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612cdb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cff9190613783565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108679061379e565b5f612d596001600160a01b03841683612db7565b905080515f14158015612d7d575080806020019051810190612d7b91906137e1565b155b15610cf957604051635274afe760e01b81526001600160a01b0384166004820152602401610954565b612dae612109565b61115a816124a7565b606061170683835f845f80856001600160a01b03168486604051612ddb9190613d9e565b5f6040518083038185875af1925050503d805f8114612e15576040519150601f19603f3d011682016040523d82523d5f602084013e612e1a565b606091505b5091509150612e2a868383612e34565b9695505050505050565b606082612e4957612e4482612e90565b61102e565b8151158015612e6057506001600160a01b0384163b155b15612e8957604051639996b31560e01b81526001600160a01b0385166004820152602401610954565b508061102e565b805115612ea05780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612f1f575f80fd5b81356001600160e01b03198116811461102e575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612fac608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612ff0610100840182612f36565b949350505050565b602081525f6117066020830184612f36565b6001600160601b038116811461115a575f80fd5b8035610a238161300a565b5f60208284031215613039575f80fd5b813561102e8161300a565b6001600160a01b038116811461115a575f80fd5b8035610a2381613044565b60ff8116811461115a575f80fd5b8035610a2381613063565b801515811461115a575f80fd5b8035610a238161307c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156130ca576130ca613094565b60405290565b60405160c081016001600160401b03811182821017156130ca576130ca613094565b604051601f8201601f191681016001600160401b038111828210171561311a5761311a613094565b604052919050565b5f6001600160401b0382111561313a5761313a613094565b50601f01601f191660200190565b5f82601f830112613157575f80fd5b8135602083015f61316f61316a84613122565b6130f2565b9050828152858383011115613182575f80fd5b828260208301375f92810160200192909252509392505050565b5f805f805f8060c087890312156131b1575f80fd5b86356131bc81613044565b955060208701356131cc8161300a565b945060408701356131dc81613063565b935060608701356131ec8161307c565b925060808701356131fc81613044565b915060a08701356001600160401b03811115613216575f80fd5b61322289828a01613148565b9150509295509295509295565b63ffffffff8116811461115a575f80fd5b8035610a238161322f565b5f805f805f805f805f6101208a8c031215613264575f80fd5b89356001600160401b03811115613279575f80fd5b6132858c828d01613148565b99505060208a0135975060408a0135965060608a0135955060808a01356132ab8161322f565b94506132b960a08b01613240565b93506132c760c08b01613089565b92506132d560e08b01613089565b91506101008a01356001600160401b038111156132f0575f80fd5b6132fc8c828d01613148565b9150509295985092959850929598565b6001600160c01b03198116811461115a575f80fd5b5f805f60608486031215613333575f80fd5b833561333e8161300a565b9250602084013561334e8161330c565b915060408401356001600160401b03811115613368575f80fd5b61337486828701613148565b9150509250925092565b5f806040838503121561338f575f80fd5b823561339a81613044565b915060208301356133aa8161300a565b809150509250929050565b5f805f805f60a086880312156133c9575f80fd5b85356001600160401b038111156133de575f80fd5b6133ea88828901613148565b9550506020860135935060408601356134028161322f565b9250606086013564ffffffffff8116811461341b575f80fd5b915060808601356001600160401b03811115613435575f80fd5b61344188828901613148565b9150509295509295909350565b5f805f60608486031215613460575f80fd5b833561333e81613044565b5f6020828403121561347b575f80fd5b813561102e81613044565b5f60208284031215613496575f80fd5b81356001600160401b038111156134ab575f80fd5b612ff084828501613148565b602081525f825160c060208401526134d260e0840182612f36565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161352560a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526135418282612f36565b95945050505050565b5f6040828403121561355a575f80fd5b604080519081016001600160401b038111828210171561357c5761357c613094565b604052823581526020928301359281019290925250919050565b5f80608083850312156135a7575f80fd5b6135b1848461354a565b91506135c0846040850161354a565b90509250929050565b5f80604083850312156135da575f80fd5b82356135e581613044565b946020939093013593505050565b5f8060408385031215613604575f80fd5b82356135e58161330c565b5f805f60608486031215613621575f80fd5b833561362c81613044565b9250602084013561363c81613044565b929592945050506040919091013590565b5f806040838503121561365e575f80fd5b823561366981613044565b915060208301356133aa81613044565b5f805f805f805f805f806101408b8d031215613693575f80fd5b61369c8b613058565b99506136aa60208c01613058565b98506136b860408c0161301e565b975060608b01356001600160401b038111156136d2575f80fd5b6136de8d828e01613148565b9750506136ed60808c01613058565b95506136fb60a08c01613071565b945061370960c08c01613089565b935061371760e08c01613058565b92506101008b01356001600160401b03811115613732575f80fd5b61373e8d828e01613148565b9250506101208b01356001600160401b0381111561375a575f80fd5b6137668d828e01613148565b9150509295989b9194979a5092959850565b8051610a238161300a565b5f60208284031215613793575f80fd5b815161102e8161300a565b600181811c908216806137b257607f821691505b6020821081036137d057634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a238161307c565b5f602082840312156137f1575f80fd5b815161102e8161307c565b601f821115610cf957805f5260205f20601f840160051c810160208510156138215750805b601f840160051c820191505b81811015612226575f815560010161382d565b81516001600160401b0381111561385957613859613094565b61386d81613867845461379e565b846137fc565b6020601f82116001811461389f575f83156138885750848201515b5f19600385901b1c1916600184901b178455612226565b5f84815260208120601f198516915b828110156138ce57878501518255602094850194600190920191016138ae565b50848210156138eb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561390a575f80fd5b5051919050565b8051610a2381613063565b8051610a2381613044565b5f82601f830112613936575f80fd5b8151602083015f61394961316a84613122565b905082815285838301111561395c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613986575f80fd5b81516001600160401b0381111561399b575f80fd5b820160e081850312156139ac575f80fd5b6139b46130a8565b6139bd82613778565b81526139cb60208301613778565b60208201526139dc60408301613911565b60408201526139ed606083016137d6565b60608201526139fe6080830161391c565b6080820152613a0f60a0830161391c565b60a082015260c08201516001600160401b03811115613a2c575f80fd5b613a3886828501613927565b60c083015250949350505050565b6001600160601b0383168152604060208201525f61102b6040830184612f36565b5f60208284031215613a77575f80fd5b815161102e8161330c565b5f60208284031215613a92575f80fd5b815161102e81613044565b808202811582820484141761170957634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613ad1575f80fd5b825160208401519092506133aa81613063565b5f8085851115613af2575f80fd5b83861115613afe575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613b3c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613b9661012083018c612f36565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613be38185612f36565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613c1460c0830188612f36565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613c458185612f36565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061354190830184612f36565b5f60208284031215613c95575f80fd5b81516001600160401b03811115613caa575f80fd5b820160c08185031215613cbb575f80fd5b613cc36130d0565b81516001600160401b03811115613cd8575f80fd5b613ce486828501613927565b825250613cf360208301613778565b6020820152613d046040830161391c565b6040820152613d156060830161391c565b6060820152613d266080830161391c565b608082015260a08201516001600160401b03811115613d43575f80fd5b613d4f86828501613927565b60a083015250949350505050565b5f60208284031215613d6d575f80fd5b815161102e81613063565b82518152602080840151818301528251604083015282015160608201526080810161102e565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613dc5575f80fd5b8251613dd08161307c565b60208401519092506133aa8161322f56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220d7d4f7573a37adab4a520dd0c4330cae644fc3d0449f2e7b3bd45ca04480472264736f6c634300081a0033",
1400
+ "linkReferences": {
1401
+ "contracts/type/Amount.sol": {
1402
+ "AmountLib": [
1403
+ {
1404
+ "length": 20,
1405
+ "start": 3514
1406
+ }
1407
+ ]
1408
+ },
1409
+ "contracts/type/NftId.sol": {
1410
+ "NftIdLib": [
1411
+ {
1412
+ "length": 20,
1413
+ "start": 1973
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 2844
1418
+ },
1419
+ {
1420
+ "length": 20,
1421
+ "start": 4783
1422
+ },
1423
+ {
1424
+ "length": 20,
1425
+ "start": 5141
1426
+ },
1427
+ {
1428
+ "length": 20,
1429
+ "start": 7466
1430
+ },
1431
+ {
1432
+ "length": 20,
1433
+ "start": 9064
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 9664
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 10642
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 10825
1446
+ },
1447
+ {
1448
+ "length": 20,
1449
+ "start": 11442
1450
+ }
1451
+ ]
1452
+ },
1453
+ "contracts/type/Referral.sol": {
1454
+ "ReferralLib": [
1455
+ {
1456
+ "length": 20,
1457
+ "start": 4476
1458
+ }
1459
+ ]
1460
+ }
1461
+ },
1462
+ "deployedLinkReferences": {
1463
+ "contracts/type/Amount.sol": {
1464
+ "AmountLib": [
1465
+ {
1466
+ "length": 20,
1467
+ "start": 3486
1468
+ }
1469
+ ]
1470
+ },
1471
+ "contracts/type/NftId.sol": {
1472
+ "NftIdLib": [
1473
+ {
1474
+ "length": 20,
1475
+ "start": 1945
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 2816
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 4755
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 5113
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 7438
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 9036
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 9636
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 10614
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 10797
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 11414
1512
+ }
1513
+ ]
1514
+ },
1515
+ "contracts/type/Referral.sol": {
1516
+ "ReferralLib": [
1517
+ {
1518
+ "length": 20,
1519
+ "start": 4448
1520
+ }
1521
+ ]
1522
+ }
1523
+ }
1524
+ }