@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-de9ede4-391

Sign up to get free protection for your applications and to get access to all the features.
Files changed (778) hide show
  1. package/README.md +322 -20
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1000 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +746 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +767 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1292 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +986 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1494 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +862 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +885 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +984 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1441 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1145 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2293 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +342 -1498
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +709 -0
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +466 -1768
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1684 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2453 -0
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1018 -0
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +746 -0
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3946 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  100. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  104. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +929 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +744 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +845 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1222 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1360 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +922 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +877 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1285 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +997 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1619 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +794 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +806 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1116 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1439 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +858 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +573 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +944 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +973 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +429 -0
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1313 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +810 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingService.sol/PricingService.json +923 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  182. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  183. package/artifacts/contracts/product/Product.sol/Product.json +1074 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  189. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1000 -119
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1019 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1427 -220
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1262 -0
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +737 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  213. package/artifacts/contracts/shared/Component.sol/Component.json +677 -0
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1574 -0
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +818 -0
  218. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +232 -235
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  223. package/artifacts/contracts/{registry/IRegistryLinked.sol/IRegistryLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +602 -0
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1197 -0
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +679 -0
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  233. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  237. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +113 -24
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  243. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  244. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +182 -171
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  247. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +767 -0
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  251. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +224 -23
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  264. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  265. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +239 -173
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +822 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1417 -0
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  276. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  277. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1816 -0
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +780 -0
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1265 -0
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +734 -0
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  294. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  295. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  296. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  298. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  300. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  302. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  304. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  306. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  308. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  309. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  310. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  312. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  313. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  314. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  316. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  318. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  320. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  322. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +180 -0
  324. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  326. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  328. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  330. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  332. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  334. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  336. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  338. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  340. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  342. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  344. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  346. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  348. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  350. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  352. package/contracts/accounting/AccountingService.sol +263 -0
  353. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  354. package/contracts/accounting/IAccountingService.sol +45 -0
  355. package/contracts/authorization/AccessAdmin.sol +615 -0
  356. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  357. package/contracts/authorization/Authorization.sol +289 -0
  358. package/contracts/authorization/IAccess.sol +49 -0
  359. package/contracts/authorization/IAccessAdmin.sol +137 -0
  360. package/contracts/authorization/IAuthorization.sol +60 -0
  361. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  362. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  363. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  364. package/contracts/distribution/BasicDistribution.sol +139 -0
  365. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  366. package/contracts/distribution/Distribution.sol +287 -0
  367. package/contracts/distribution/DistributionService.sol +357 -0
  368. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  369. package/contracts/distribution/IDistributionComponent.sol +52 -0
  370. package/contracts/distribution/IDistributionService.sol +100 -0
  371. package/contracts/examples/fire/DamageLevel.sol +59 -0
  372. package/contracts/examples/fire/FirePool.sol +90 -0
  373. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  374. package/contracts/examples/fire/FireProduct.sol +436 -0
  375. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  376. package/contracts/examples/fire/FireUSD.sol +26 -0
  377. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  378. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  379. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  380. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  381. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleProduct.sol +352 -0
  383. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  384. package/contracts/instance/BundleSet.sol +130 -0
  385. package/contracts/instance/IInstance.sol +63 -44
  386. package/contracts/instance/IInstanceService.sol +70 -0
  387. package/contracts/instance/Instance.sol +225 -54
  388. package/contracts/instance/InstanceAdmin.sol +288 -0
  389. package/contracts/instance/InstanceAuthorizationV3.sol +222 -0
  390. package/contracts/instance/InstanceReader.sol +596 -0
  391. package/contracts/instance/InstanceService.sol +392 -0
  392. package/contracts/instance/InstanceServiceManager.sol +39 -0
  393. package/contracts/instance/InstanceStore.sol +297 -0
  394. package/contracts/instance/RiskSet.sol +119 -0
  395. package/contracts/instance/base/BalanceStore.sol +123 -0
  396. package/contracts/instance/base/Cloneable.sol +28 -0
  397. package/contracts/instance/base/ObjectCounter.sol +20 -0
  398. package/contracts/instance/base/ObjectLifecycle.sol +112 -0
  399. package/contracts/instance/base/ObjectSet.sol +78 -0
  400. package/contracts/instance/module/IAccess.sol +46 -0
  401. package/contracts/instance/module/IBundle.sol +20 -0
  402. package/contracts/instance/module/IComponents.sol +59 -0
  403. package/contracts/instance/module/IDistribution.sol +41 -0
  404. package/contracts/instance/module/IPolicy.sol +85 -0
  405. package/contracts/instance/module/IRisk.sol +12 -0
  406. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  407. package/contracts/oracle/BasicOracle.sol +47 -0
  408. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  409. package/contracts/oracle/IOracle.sol +36 -0
  410. package/contracts/oracle/IOracleComponent.sol +33 -0
  411. package/contracts/oracle/IOracleService.sol +66 -0
  412. package/contracts/oracle/Oracle.sol +156 -0
  413. package/contracts/oracle/OracleService.sol +309 -0
  414. package/contracts/oracle/OracleServiceManager.sol +39 -0
  415. package/contracts/pool/BasicPool.sol +175 -0
  416. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  417. package/contracts/pool/BundleService.sol +425 -0
  418. package/contracts/pool/BundleServiceManager.sol +39 -0
  419. package/contracts/pool/IBundleService.sol +121 -0
  420. package/contracts/pool/IPoolComponent.sol +62 -0
  421. package/contracts/pool/IPoolService.sol +153 -0
  422. package/contracts/pool/Pool.sol +345 -0
  423. package/contracts/pool/PoolService.sol +615 -0
  424. package/contracts/pool/PoolServiceManager.sol +39 -0
  425. package/contracts/product/ApplicationService.sol +259 -0
  426. package/contracts/product/ApplicationServiceManager.sol +38 -0
  427. package/contracts/product/BasicProduct.sol +49 -0
  428. package/contracts/product/BasicProductAuthorization.sol +41 -0
  429. package/contracts/product/ClaimService.sol +614 -0
  430. package/contracts/product/ClaimServiceManager.sol +38 -0
  431. package/contracts/product/IApplicationService.sol +66 -0
  432. package/contracts/product/IClaimService.sol +123 -0
  433. package/contracts/product/IPolicyService.sol +90 -0
  434. package/contracts/product/IPricingService.sol +39 -0
  435. package/contracts/product/IProductComponent.sol +59 -0
  436. package/contracts/product/IRiskService.sol +33 -0
  437. package/contracts/product/PolicyService.sol +736 -0
  438. package/contracts/product/PolicyServiceManager.sol +39 -0
  439. package/contracts/product/PricingService.sol +300 -0
  440. package/contracts/product/PricingServiceManager.sol +39 -0
  441. package/contracts/product/Product.sol +427 -0
  442. package/contracts/product/RiskService.sol +107 -0
  443. package/contracts/product/RiskServiceManager.sol +39 -0
  444. package/contracts/registry/ChainNft.sol +130 -40
  445. package/contracts/registry/IRegistry.sol +144 -28
  446. package/contracts/registry/IRegistryService.sol +62 -0
  447. package/contracts/registry/ITransferInterceptor.sol +6 -0
  448. package/contracts/registry/Registry.sol +626 -282
  449. package/contracts/registry/RegistryAdmin.sol +457 -0
  450. package/contracts/registry/RegistryService.sol +241 -0
  451. package/contracts/registry/RegistryServiceManager.sol +53 -0
  452. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  453. package/contracts/registry/ReleaseRegistry.sol +486 -0
  454. package/contracts/registry/ServiceAuthorizationV3.sol +207 -0
  455. package/contracts/registry/TokenRegistry.sol +315 -0
  456. package/contracts/shared/Component.sol +219 -0
  457. package/contracts/shared/ComponentService.sol +696 -0
  458. package/contracts/shared/ComponentServiceManager.sol +38 -0
  459. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  460. package/contracts/shared/ContractLib.sol +224 -0
  461. package/contracts/shared/IComponent.sol +62 -0
  462. package/contracts/shared/IComponentService.sol +116 -0
  463. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  464. package/contracts/shared/IKeyValueStore.sol +54 -0
  465. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  466. package/contracts/shared/INftOwnable.sol +25 -0
  467. package/contracts/shared/IPolicyHolder.sol +35 -0
  468. package/contracts/shared/IRegisterable.sol +23 -21
  469. package/contracts/shared/IRegistryLinked.sol +11 -0
  470. package/contracts/shared/IService.sol +25 -0
  471. package/contracts/shared/InitializableERC165.sol +27 -0
  472. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  473. package/contracts/shared/KeyValueStore.sol +131 -0
  474. package/contracts/shared/Lifecycle.sol +88 -0
  475. package/contracts/shared/NftIdSet.sol +65 -0
  476. package/contracts/shared/NftOwnable.sol +127 -0
  477. package/contracts/shared/PolicyHolder.sol +62 -0
  478. package/contracts/shared/Registerable.sol +60 -63
  479. package/contracts/shared/RegistryLinked.sol +38 -0
  480. package/contracts/shared/Service.sol +84 -0
  481. package/contracts/shared/TokenHandler.sol +389 -0
  482. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  483. package/contracts/staking/IStaking.sol +173 -0
  484. package/contracts/staking/IStakingService.sol +157 -0
  485. package/contracts/staking/StakeManagerLib.sol +224 -0
  486. package/contracts/staking/Staking.sol +515 -0
  487. package/contracts/staking/StakingLifecycle.sol +23 -0
  488. package/contracts/staking/StakingManager.sol +52 -0
  489. package/contracts/staking/StakingReader.sol +190 -0
  490. package/contracts/staking/StakingService.sol +440 -0
  491. package/contracts/staking/StakingServiceManager.sol +44 -0
  492. package/contracts/staking/StakingStore.sol +605 -0
  493. package/contracts/staking/TargetManagerLib.sol +211 -0
  494. package/contracts/{types → type}/AddressSet.sol +1 -1
  495. package/contracts/type/Amount.sol +150 -0
  496. package/contracts/{types → type}/Blocknumber.sol +27 -3
  497. package/contracts/type/ClaimId.sol +80 -0
  498. package/contracts/type/DistributorType.sol +55 -0
  499. package/contracts/type/Fee.sol +66 -0
  500. package/contracts/{types → type}/Key32.sol +10 -5
  501. package/contracts/type/Key32Set.sol +62 -0
  502. package/contracts/{types → type}/NftId.sol +28 -15
  503. package/contracts/type/NftIdSet.sol +62 -0
  504. package/contracts/type/ObjectType.sol +289 -0
  505. package/contracts/type/PayoutId.sol +82 -0
  506. package/contracts/type/Referral.sol +90 -0
  507. package/contracts/type/RequestId.sol +75 -0
  508. package/contracts/type/RiskId.sol +69 -0
  509. package/contracts/type/RoleId.sol +162 -0
  510. package/contracts/type/Seconds.sol +101 -0
  511. package/contracts/type/Selector.sol +102 -0
  512. package/contracts/{types → type}/StateId.sol +53 -5
  513. package/contracts/type/String.sol +53 -0
  514. package/contracts/{types → type}/Timestamp.sol +38 -15
  515. package/contracts/{types → type}/UFixed.sol +48 -12
  516. package/contracts/{types → type}/Version.sol +17 -2
  517. package/contracts/upgradeability/IVersionable.sol +53 -0
  518. package/contracts/upgradeability/ProxyManager.sol +232 -0
  519. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  520. package/contracts/upgradeability/Versionable.sol +59 -0
  521. package/package.json +12 -7
  522. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  523. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  524. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  525. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  526. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  527. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  528. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  529. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  530. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  531. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  532. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  533. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +0 -27
  535. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +0 -4
  536. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +0 -83
  537. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  538. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  539. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +0 -4
  540. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +0 -75
  541. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  542. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -137
  543. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  544. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  545. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  547. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  549. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  551. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  553. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  556. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  558. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  560. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  562. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  564. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  566. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  568. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  570. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  572. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  573. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  574. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  575. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  576. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  577. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  578. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  579. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  580. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  582. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  583. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  584. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  586. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  588. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  591. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  592. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  593. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  594. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  595. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  596. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  598. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  601. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  603. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  605. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  607. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  609. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  611. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  613. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  616. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  618. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  620. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  622. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  624. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  627. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  629. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  631. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  633. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  635. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  637. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  639. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  640. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  642. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  644. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  645. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  646. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  647. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  648. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  649. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  650. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  651. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  652. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  653. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  654. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  655. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  656. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  657. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  658. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  659. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  660. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  661. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  662. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  664. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  666. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  668. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  670. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  672. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  674. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  675. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  676. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  677. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  678. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  680. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  682. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  684. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  685. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  686. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  688. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  689. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  690. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  692. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  693. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  694. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  696. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  698. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  700. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  702. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  704. package/contracts/components/BaseComponent.sol +0 -88
  705. package/contracts/components/IBaseComponent.sol +0 -19
  706. package/contracts/components/IPoolComponent.sol +0 -57
  707. package/contracts/components/IProductComponent.sol +0 -19
  708. package/contracts/components/Pool.sol +0 -174
  709. package/contracts/components/Product.sol +0 -117
  710. package/contracts/experiment/errors/IncrementRevert.sol +0 -43
  711. package/contracts/experiment/errors/Require.sol +0 -38
  712. package/contracts/experiment/errors/Revert.sol +0 -53
  713. package/contracts/experiment/inheritance/A.sol +0 -53
  714. package/contracts/experiment/inheritance/B.sol +0 -28
  715. package/contracts/experiment/inheritance/C.sol +0 -34
  716. package/contracts/experiment/inheritance/IA.sol +0 -13
  717. package/contracts/experiment/inheritance/IB.sol +0 -10
  718. package/contracts/experiment/inheritance/IC.sol +0 -12
  719. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  720. package/contracts/experiment/statemachine/ISM.sol +0 -25
  721. package/contracts/experiment/statemachine/README.md +0 -112
  722. package/contracts/experiment/statemachine/SM.sol +0 -57
  723. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  724. package/contracts/experiment/types/TypeA.sol +0 -47
  725. package/contracts/experiment/types/TypeB.sol +0 -29
  726. package/contracts/instance/IInstanceLinked.sol +0 -8
  727. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  728. package/contracts/instance/base/IInstanceBase.sol +0 -14
  729. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  730. package/contracts/instance/base/IService.sol +0 -15
  731. package/contracts/instance/base/InstanceBase.sol +0 -80
  732. package/contracts/instance/base/KeyValueStore.sol +0 -156
  733. package/contracts/instance/base/Lifecycle.sol +0 -95
  734. package/contracts/instance/base/ModuleBase.sol +0 -52
  735. package/contracts/instance/base/ServiceBase.sol +0 -37
  736. package/contracts/instance/module/access/Access.sol +0 -149
  737. package/contracts/instance/module/access/IAccess.sol +0 -53
  738. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  739. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  740. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  741. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  742. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  743. package/contracts/instance/module/component/IComponent.sol +0 -53
  744. package/contracts/instance/module/policy/IPolicy.sol +0 -61
  745. package/contracts/instance/module/policy/PolicyModule.sol +0 -77
  746. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  747. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  748. package/contracts/instance/module/risk/IRisk.sol +0 -10
  749. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  750. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  751. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  752. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  753. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  754. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  755. package/contracts/instance/service/IPoolService.sol +0 -30
  756. package/contracts/instance/service/IProductService.sol +0 -58
  757. package/contracts/instance/service/PoolService.sol +0 -123
  758. package/contracts/instance/service/ProductService.sol +0 -354
  759. package/contracts/registry/IChainNft.sol +0 -21
  760. package/contracts/registry/IRegistryLinked.sol +0 -8
  761. package/contracts/shared/ERC165.sol +0 -21
  762. package/contracts/shared/IOwnable.sol +0 -6
  763. package/contracts/shared/IVersionable.sol +0 -52
  764. package/contracts/shared/Versionable.sol +0 -89
  765. package/contracts/test/TestFee.sol +0 -25
  766. package/contracts/test/TestPool.sol +0 -22
  767. package/contracts/test/TestProduct.sol +0 -44
  768. package/contracts/test/TestRegisterable.sol +0 -19
  769. package/contracts/test/TestRoleId.sol +0 -14
  770. package/contracts/test/TestService.sol +0 -32
  771. package/contracts/test/TestToken.sol +0 -26
  772. package/contracts/test/TestVersion.sol +0 -44
  773. package/contracts/test/TestVersionable.sol +0 -17
  774. package/contracts/types/ChainId.sol +0 -38
  775. package/contracts/types/Fee.sol +0 -51
  776. package/contracts/types/NftIdSet.sol +0 -60
  777. package/contracts/types/ObjectType.sol +0 -115
  778. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1494 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/distribution/DistributionService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "caller",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorDistributionServiceCallerNotRegistered",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "Amount",
91
+ "name": "amount",
92
+ "type": "uint96"
93
+ },
94
+ {
95
+ "internalType": "Amount",
96
+ "name": "limit",
97
+ "type": "uint96"
98
+ }
99
+ ],
100
+ "name": "ErrorDistributionServiceCommissionWithdrawAmountExceedsLimit",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "Amount",
107
+ "name": "transferredDistributionFeeAmount",
108
+ "type": "uint96"
109
+ },
110
+ {
111
+ "internalType": "Amount",
112
+ "name": "expectedDistributionFeeAmount",
113
+ "type": "uint96"
114
+ }
115
+ ],
116
+ "name": "ErrorDistributionServiceInvalidFeeTransferred",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "maxDiscountPercentage",
124
+ "type": "uint256"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "limit",
129
+ "type": "uint256"
130
+ }
131
+ ],
132
+ "name": "ErrorDistributionServiceMaxDiscountTooHigh",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "maxDiscountPercentage",
140
+ "type": "uint256"
141
+ },
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "limit",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "ErrorDistributionServiceVariableFeesTooHight",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "caller",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "uint256",
166
+ "name": "commissionPercentage",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "maxCommissionPercentage",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "maxDiscountPercentage",
183
+ "type": "uint256"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "discountPercentage",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "minDiscountPercentage",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "discountPercentage",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "ErrorIDistributionServiceDiscountTooLow",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "Timestamp",
214
+ "name": "expiryAt",
215
+ "type": "uint40"
216
+ }
217
+ ],
218
+ "name": "ErrorIDistributionServiceExpirationInvalid",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "maxReferralLifetime",
226
+ "type": "uint256"
227
+ },
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "expiryAt",
231
+ "type": "uint256"
232
+ }
233
+ ],
234
+ "name": "ErrorIDistributionServiceExpiryTooLong",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "string",
241
+ "name": "code",
242
+ "type": "string"
243
+ }
244
+ ],
245
+ "name": "ErrorIDistributionServiceInvalidReferral",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "ReferralId",
252
+ "name": "referralId",
253
+ "type": "bytes8"
254
+ }
255
+ ],
256
+ "name": "ErrorIDistributionServiceInvalidReferralId",
257
+ "type": "error"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "maxReferrals",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
268
+ "type": "error"
269
+ },
270
+ {
271
+ "inputs": [
272
+ {
273
+ "internalType": "uint256",
274
+ "name": "minFee",
275
+ "type": "uint256"
276
+ },
277
+ {
278
+ "internalType": "uint256",
279
+ "name": "limit",
280
+ "type": "uint256"
281
+ }
282
+ ],
283
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
284
+ "type": "error"
285
+ },
286
+ {
287
+ "inputs": [
288
+ {
289
+ "internalType": "NftId",
290
+ "name": "nftId",
291
+ "type": "uint96"
292
+ },
293
+ {
294
+ "internalType": "NftId",
295
+ "name": "parentNftId",
296
+ "type": "uint96"
297
+ }
298
+ ],
299
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
300
+ "type": "error"
301
+ },
302
+ {
303
+ "inputs": [
304
+ {
305
+ "internalType": "NftId",
306
+ "name": "distributionNftId",
307
+ "type": "uint96"
308
+ },
309
+ {
310
+ "internalType": "ReferralId",
311
+ "name": "referralId",
312
+ "type": "bytes8"
313
+ }
314
+ ],
315
+ "name": "ErrorIDistributionServiceReferralInvalid",
316
+ "type": "error"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "internalType": "NftId",
322
+ "name": "nftId",
323
+ "type": "uint96"
324
+ }
325
+ ],
326
+ "name": "ErrorNftOwnableAlreadyLinked",
327
+ "type": "error"
328
+ },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "address",
333
+ "name": "contractAddress",
334
+ "type": "address"
335
+ }
336
+ ],
337
+ "name": "ErrorNftOwnableContractNotRegistered",
338
+ "type": "error"
339
+ },
340
+ {
341
+ "inputs": [],
342
+ "name": "ErrorNftOwnableInitialOwnerZero",
343
+ "type": "error"
344
+ },
345
+ {
346
+ "inputs": [
347
+ {
348
+ "internalType": "NftId",
349
+ "name": "nftId",
350
+ "type": "uint96"
351
+ },
352
+ {
353
+ "internalType": "ObjectType",
354
+ "name": "expectedObjectType",
355
+ "type": "uint8"
356
+ }
357
+ ],
358
+ "name": "ErrorNftOwnableInvalidType",
359
+ "type": "error"
360
+ },
361
+ {
362
+ "inputs": [
363
+ {
364
+ "internalType": "address",
365
+ "name": "account",
366
+ "type": "address"
367
+ }
368
+ ],
369
+ "name": "ErrorNftOwnableNotOwner",
370
+ "type": "error"
371
+ },
372
+ {
373
+ "inputs": [
374
+ {
375
+ "internalType": "address",
376
+ "name": "registryAddress",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "name": "ErrorNotRegistry",
381
+ "type": "error"
382
+ },
383
+ {
384
+ "inputs": [],
385
+ "name": "ErrorServiceNotImplemented",
386
+ "type": "error"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "InvalidInitialization",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "inputs": [],
395
+ "name": "NotInitializing",
396
+ "type": "error"
397
+ },
398
+ {
399
+ "inputs": [],
400
+ "name": "ReentrancyGuardReentrantCall",
401
+ "type": "error"
402
+ },
403
+ {
404
+ "inputs": [],
405
+ "name": "UFixedLibNegativeResult",
406
+ "type": "error"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "address",
414
+ "name": "authority",
415
+ "type": "address"
416
+ }
417
+ ],
418
+ "name": "AuthorityUpdated",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": false,
426
+ "internalType": "uint64",
427
+ "name": "version",
428
+ "type": "uint64"
429
+ }
430
+ ],
431
+ "name": "Initialized",
432
+ "type": "event"
433
+ },
434
+ {
435
+ "anonymous": false,
436
+ "inputs": [
437
+ {
438
+ "indexed": false,
439
+ "internalType": "NftId",
440
+ "name": "distributorNftId",
441
+ "type": "uint96"
442
+ },
443
+ {
444
+ "indexed": false,
445
+ "internalType": "address",
446
+ "name": "recipient",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "indexed": false,
451
+ "internalType": "address",
452
+ "name": "tokenAddress",
453
+ "type": "address"
454
+ },
455
+ {
456
+ "indexed": false,
457
+ "internalType": "Amount",
458
+ "name": "amount",
459
+ "type": "uint96"
460
+ }
461
+ ],
462
+ "name": "LogDistributionServiceCommissionWithdrawn",
463
+ "type": "event"
464
+ },
465
+ {
466
+ "inputs": [],
467
+ "name": "GIF_RELEASE",
468
+ "outputs": [
469
+ {
470
+ "internalType": "uint256",
471
+ "name": "",
472
+ "type": "uint256"
473
+ }
474
+ ],
475
+ "stateMutability": "view",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [],
480
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
481
+ "outputs": [
482
+ {
483
+ "internalType": "bytes32",
484
+ "name": "",
485
+ "type": "bytes32"
486
+ }
487
+ ],
488
+ "stateMutability": "view",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [],
493
+ "name": "REGISTERABLE_LOCATION_V1",
494
+ "outputs": [
495
+ {
496
+ "internalType": "bytes32",
497
+ "name": "",
498
+ "type": "bytes32"
499
+ }
500
+ ],
501
+ "stateMutability": "view",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [],
506
+ "name": "authority",
507
+ "outputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ {
520
+ "internalType": "NftId",
521
+ "name": "distributorNftId",
522
+ "type": "uint96"
523
+ },
524
+ {
525
+ "internalType": "DistributorType",
526
+ "name": "distributorType",
527
+ "type": "bytes8"
528
+ },
529
+ {
530
+ "internalType": "bytes",
531
+ "name": "data",
532
+ "type": "bytes"
533
+ }
534
+ ],
535
+ "name": "changeDistributorType",
536
+ "outputs": [],
537
+ "stateMutability": "nonpayable",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "address",
544
+ "name": "distributor",
545
+ "type": "address"
546
+ },
547
+ {
548
+ "internalType": "DistributorType",
549
+ "name": "distributorType",
550
+ "type": "bytes8"
551
+ },
552
+ {
553
+ "internalType": "bytes",
554
+ "name": "data",
555
+ "type": "bytes"
556
+ }
557
+ ],
558
+ "name": "createDistributor",
559
+ "outputs": [
560
+ {
561
+ "internalType": "NftId",
562
+ "name": "distributorNftId",
563
+ "type": "uint96"
564
+ }
565
+ ],
566
+ "stateMutability": "nonpayable",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [
571
+ {
572
+ "internalType": "string",
573
+ "name": "name",
574
+ "type": "string"
575
+ },
576
+ {
577
+ "internalType": "UFixed",
578
+ "name": "minDiscountPercentage",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "UFixed",
583
+ "name": "maxDiscountPercentage",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "UFixed",
588
+ "name": "commissionPercentage",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "internalType": "uint32",
593
+ "name": "maxReferralCount",
594
+ "type": "uint32"
595
+ },
596
+ {
597
+ "internalType": "uint32",
598
+ "name": "maxReferralLifetime",
599
+ "type": "uint32"
600
+ },
601
+ {
602
+ "internalType": "bool",
603
+ "name": "allowSelfReferrals",
604
+ "type": "bool"
605
+ },
606
+ {
607
+ "internalType": "bool",
608
+ "name": "allowRenewals",
609
+ "type": "bool"
610
+ },
611
+ {
612
+ "internalType": "bytes",
613
+ "name": "data",
614
+ "type": "bytes"
615
+ }
616
+ ],
617
+ "name": "createDistributorType",
618
+ "outputs": [
619
+ {
620
+ "internalType": "DistributorType",
621
+ "name": "distributorType",
622
+ "type": "bytes8"
623
+ }
624
+ ],
625
+ "stateMutability": "nonpayable",
626
+ "type": "function"
627
+ },
628
+ {
629
+ "inputs": [
630
+ {
631
+ "internalType": "NftId",
632
+ "name": "distributorNftId",
633
+ "type": "uint96"
634
+ },
635
+ {
636
+ "internalType": "string",
637
+ "name": "code",
638
+ "type": "string"
639
+ },
640
+ {
641
+ "internalType": "UFixed",
642
+ "name": "discountPercentage",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint32",
647
+ "name": "maxReferrals",
648
+ "type": "uint32"
649
+ },
650
+ {
651
+ "internalType": "Timestamp",
652
+ "name": "expiryAt",
653
+ "type": "uint40"
654
+ },
655
+ {
656
+ "internalType": "bytes",
657
+ "name": "data",
658
+ "type": "bytes"
659
+ }
660
+ ],
661
+ "name": "createReferral",
662
+ "outputs": [
663
+ {
664
+ "internalType": "ReferralId",
665
+ "name": "referralId",
666
+ "type": "bytes8"
667
+ }
668
+ ],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [],
674
+ "name": "getDomain",
675
+ "outputs": [
676
+ {
677
+ "internalType": "ObjectType",
678
+ "name": "serviceDomain",
679
+ "type": "uint8"
680
+ }
681
+ ],
682
+ "stateMutability": "pure",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [],
687
+ "name": "getInitialInfo",
688
+ "outputs": [
689
+ {
690
+ "components": [
691
+ {
692
+ "internalType": "NftId",
693
+ "name": "nftId",
694
+ "type": "uint96"
695
+ },
696
+ {
697
+ "internalType": "NftId",
698
+ "name": "parentNftId",
699
+ "type": "uint96"
700
+ },
701
+ {
702
+ "internalType": "ObjectType",
703
+ "name": "objectType",
704
+ "type": "uint8"
705
+ },
706
+ {
707
+ "internalType": "bool",
708
+ "name": "isInterceptor",
709
+ "type": "bool"
710
+ },
711
+ {
712
+ "internalType": "address",
713
+ "name": "objectAddress",
714
+ "type": "address"
715
+ },
716
+ {
717
+ "internalType": "address",
718
+ "name": "initialOwner",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "internalType": "bytes",
723
+ "name": "data",
724
+ "type": "bytes"
725
+ }
726
+ ],
727
+ "internalType": "struct IRegistry.ObjectInfo",
728
+ "name": "info",
729
+ "type": "tuple"
730
+ }
731
+ ],
732
+ "stateMutability": "view",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "inputs": [],
737
+ "name": "getNftId",
738
+ "outputs": [
739
+ {
740
+ "internalType": "NftId",
741
+ "name": "",
742
+ "type": "uint96"
743
+ }
744
+ ],
745
+ "stateMutability": "view",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [],
750
+ "name": "getOwner",
751
+ "outputs": [
752
+ {
753
+ "internalType": "address",
754
+ "name": "",
755
+ "type": "address"
756
+ }
757
+ ],
758
+ "stateMutability": "view",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [],
763
+ "name": "getRegistry",
764
+ "outputs": [
765
+ {
766
+ "internalType": "contract IRegistry",
767
+ "name": "",
768
+ "type": "address"
769
+ }
770
+ ],
771
+ "stateMutability": "view",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [],
776
+ "name": "getRelease",
777
+ "outputs": [
778
+ {
779
+ "internalType": "VersionPart",
780
+ "name": "release",
781
+ "type": "uint8"
782
+ }
783
+ ],
784
+ "stateMutability": "pure",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [],
789
+ "name": "getRoleId",
790
+ "outputs": [
791
+ {
792
+ "internalType": "RoleId",
793
+ "name": "serviceRoleId",
794
+ "type": "uint64"
795
+ }
796
+ ],
797
+ "stateMutability": "pure",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [],
802
+ "name": "getVersion",
803
+ "outputs": [
804
+ {
805
+ "internalType": "Version",
806
+ "name": "",
807
+ "type": "uint24"
808
+ }
809
+ ],
810
+ "stateMutability": "pure",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [
815
+ {
816
+ "internalType": "address",
817
+ "name": "activatedBy",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "internalType": "bytes",
822
+ "name": "data",
823
+ "type": "bytes"
824
+ }
825
+ ],
826
+ "name": "initializeVersionable",
827
+ "outputs": [],
828
+ "stateMutability": "nonpayable",
829
+ "type": "function"
830
+ },
831
+ {
832
+ "inputs": [],
833
+ "name": "isConsumingScheduledOp",
834
+ "outputs": [
835
+ {
836
+ "internalType": "bytes4",
837
+ "name": "",
838
+ "type": "bytes4"
839
+ }
840
+ ],
841
+ "stateMutability": "view",
842
+ "type": "function"
843
+ },
844
+ {
845
+ "inputs": [],
846
+ "name": "linkToRegisteredNftId",
847
+ "outputs": [
848
+ {
849
+ "internalType": "NftId",
850
+ "name": "nftId",
851
+ "type": "uint96"
852
+ }
853
+ ],
854
+ "stateMutability": "nonpayable",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [
859
+ {
860
+ "internalType": "NftId",
861
+ "name": "distributionNftId",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "ReferralId",
866
+ "name": "referralId",
867
+ "type": "bytes8"
868
+ }
869
+ ],
870
+ "name": "processReferral",
871
+ "outputs": [],
872
+ "stateMutability": "nonpayable",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
877
+ {
878
+ "internalType": "NftId",
879
+ "name": "distributionNftId",
880
+ "type": "uint96"
881
+ },
882
+ {
883
+ "internalType": "ReferralId",
884
+ "name": "referralId",
885
+ "type": "bytes8"
886
+ },
887
+ {
888
+ "components": [
889
+ {
890
+ "internalType": "Amount",
891
+ "name": "productFeeAmount",
892
+ "type": "uint96"
893
+ },
894
+ {
895
+ "internalType": "Amount",
896
+ "name": "distributionFeeAndCommissionAmount",
897
+ "type": "uint96"
898
+ },
899
+ {
900
+ "internalType": "Amount",
901
+ "name": "poolPremiumAndFeeAmount",
902
+ "type": "uint96"
903
+ },
904
+ {
905
+ "internalType": "Amount",
906
+ "name": "netPremiumAmount",
907
+ "type": "uint96"
908
+ },
909
+ {
910
+ "internalType": "Amount",
911
+ "name": "fullPremiumAmount",
912
+ "type": "uint96"
913
+ },
914
+ {
915
+ "internalType": "Amount",
916
+ "name": "premiumAmount",
917
+ "type": "uint96"
918
+ },
919
+ {
920
+ "internalType": "Amount",
921
+ "name": "productFeeFixAmount",
922
+ "type": "uint96"
923
+ },
924
+ {
925
+ "internalType": "Amount",
926
+ "name": "poolFeeFixAmount",
927
+ "type": "uint96"
928
+ },
929
+ {
930
+ "internalType": "Amount",
931
+ "name": "bundleFeeFixAmount",
932
+ "type": "uint96"
933
+ },
934
+ {
935
+ "internalType": "Amount",
936
+ "name": "distributionFeeFixAmount",
937
+ "type": "uint96"
938
+ },
939
+ {
940
+ "internalType": "Amount",
941
+ "name": "productFeeVarAmount",
942
+ "type": "uint96"
943
+ },
944
+ {
945
+ "internalType": "Amount",
946
+ "name": "poolFeeVarAmount",
947
+ "type": "uint96"
948
+ },
949
+ {
950
+ "internalType": "Amount",
951
+ "name": "bundleFeeVarAmount",
952
+ "type": "uint96"
953
+ },
954
+ {
955
+ "internalType": "Amount",
956
+ "name": "distributionFeeVarAmount",
957
+ "type": "uint96"
958
+ },
959
+ {
960
+ "internalType": "Amount",
961
+ "name": "distributionOwnerFeeFixAmount",
962
+ "type": "uint96"
963
+ },
964
+ {
965
+ "internalType": "Amount",
966
+ "name": "distributionOwnerFeeVarAmount",
967
+ "type": "uint96"
968
+ },
969
+ {
970
+ "internalType": "Amount",
971
+ "name": "commissionAmount",
972
+ "type": "uint96"
973
+ },
974
+ {
975
+ "internalType": "Amount",
976
+ "name": "discountAmount",
977
+ "type": "uint96"
978
+ }
979
+ ],
980
+ "internalType": "struct IPolicy.PremiumInfo",
981
+ "name": "premium",
982
+ "type": "tuple"
983
+ }
984
+ ],
985
+ "name": "processSale",
986
+ "outputs": [],
987
+ "stateMutability": "nonpayable",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [
992
+ {
993
+ "internalType": "NftId",
994
+ "name": "distributionNftId",
995
+ "type": "uint96"
996
+ },
997
+ {
998
+ "internalType": "ReferralId",
999
+ "name": "referralId",
1000
+ "type": "bytes8"
1001
+ }
1002
+ ],
1003
+ "name": "referralIsValid",
1004
+ "outputs": [
1005
+ {
1006
+ "internalType": "bool",
1007
+ "name": "isValid",
1008
+ "type": "bool"
1009
+ }
1010
+ ],
1011
+ "stateMutability": "view",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [
1016
+ {
1017
+ "internalType": "address",
1018
+ "name": "newAuthority",
1019
+ "type": "address"
1020
+ }
1021
+ ],
1022
+ "name": "setAuthority",
1023
+ "outputs": [],
1024
+ "stateMutability": "nonpayable",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "inputs": [
1029
+ {
1030
+ "internalType": "bytes4",
1031
+ "name": "interfaceId",
1032
+ "type": "bytes4"
1033
+ }
1034
+ ],
1035
+ "name": "supportsInterface",
1036
+ "outputs": [
1037
+ {
1038
+ "internalType": "bool",
1039
+ "name": "",
1040
+ "type": "bool"
1041
+ }
1042
+ ],
1043
+ "stateMutability": "view",
1044
+ "type": "function"
1045
+ },
1046
+ {
1047
+ "inputs": [
1048
+ {
1049
+ "internalType": "bytes",
1050
+ "name": "data",
1051
+ "type": "bytes"
1052
+ }
1053
+ ],
1054
+ "name": "upgradeVersionable",
1055
+ "outputs": [],
1056
+ "stateMutability": "nonpayable",
1057
+ "type": "function"
1058
+ },
1059
+ {
1060
+ "inputs": [
1061
+ {
1062
+ "internalType": "NftId",
1063
+ "name": "distributorNftId",
1064
+ "type": "uint96"
1065
+ },
1066
+ {
1067
+ "internalType": "Amount",
1068
+ "name": "amount",
1069
+ "type": "uint96"
1070
+ }
1071
+ ],
1072
+ "name": "withdrawCommission",
1073
+ "outputs": [
1074
+ {
1075
+ "internalType": "Amount",
1076
+ "name": "withdrawnAmount",
1077
+ "type": "uint96"
1078
+ }
1079
+ ],
1080
+ "stateMutability": "nonpayable",
1081
+ "type": "function"
1082
+ }
1083
+ ],
1084
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6158c9806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610187575f3560e01c8063644c45e0116100d9578063893d20e811610093578063ab3fc75f1161006e578063ab3fc75f146103cc578063ada9652e146103df578063b68d1809146103f3578063bf7e214f146103fa575f80fd5b8063893d20e8146103905780638dd2b781146103985780638fb36037146103ab575f80fd5b8063644c45e01461030b5780636c741e781461032857806376b707b7146103485780637950d0e2146103625780637a9e5e4b146103755780638899278a14610388575f80fd5b80631eff4b2211610144578063329d6e741161011f578063329d6e74146102ad57806349bb9e4b146102c05780635ab1bd53146102d35780635dcb3bae146102f8575f80fd5b80631eff4b221461024557806325d073841461027a5780632b5198b11461028d575f80fd5b806301ffc9a71461018b578063071e1e4a146101cc57806307e71a6e146101e15780630d8e6e2c1461020c5780630fec111c14610228578063138461e01461023d575b5f80fd5b6101b76101993660046143bc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101df6101da366004614423565b610402565b005b6101f46101ef36600461445a565b610680565b6040516001600160601b0390911681526020016101c3565b610214610dae565b60405162ffffff90911681526020016101c3565b610230610e35565b6040516101c391906144b4565b6101f4610fc1565b61026c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101c3565b6101b7610288366004614423565b610fcb565b6102a061029b3660046146ed565b61149d565b6040516101c391906147ae565b6101df6102bb3660046147c3565b6119fc565b6101df6102ce366004614808565b611b46565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101c3565b6101f4610306366004614854565b611c42565b5f80516020615834833981519152546001600160601b03166101f4565b610330611ea1565b6040516001600160401b0390911681526020016101c3565b610350611f2d565b60405160ff90911681526020016101c3565b6101df6103703660046148b1565b611fa1565b6101df610383366004614a4d565b6124f2565b61026c600381565b6102e0612578565b6102a06103a6366004614a7a565b6126a9565b6103b3612ff8565b6040516001600160e01b031990911681526020016101c3565b6101df6103da366004614b1b565b61302d565b61026c5f8051602061583483398151915281565b600e610350565b6102e06131f2565b61040e335b5f3661320d565b81600e61041b828261330b565b6104258484610fcb565b1561067a575f61043d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561048c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104b39190810190614bc1565b90505f6104c48383602001516133c2565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610503573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105279190614c91565b6001600160a01b0316631d3be477886040518263ffffffff1660e01b815260040161055291906147ae565b5f60405180830381865afa15801561056c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105939190810190614cc2565b90506001816080018181516105a89190614d81565b63ffffffff1690525060408051631a99b41b60e31b815290516001600160a01b0384169163d4cda0d89160048083019260209291908290030181865afa1580156105f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106189190614c91565b6001600160a01b03166361105e0e888360ff6040518463ffffffff1660e01b815260040161064893929190614e31565b5f604051808303815f87803b15801561065f575f80fd5b505af1158015610671573d5f803e3d5ffd5b50505050505050505b50505050565b5f82601d61068e828261330b565b5f8061069a600e61344d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107009190614c91565b60405163f0ea17c360e01b81526001600160601b03851660048201529091505f906001600160a01b0383169063f0ea17c3906024015f60405180830381865afa15801561074f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107769190810190614e68565b90505f81604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107dd9190614c91565b604051630232ca4960e01b81526001600160601b038c1660048201529091505f906001600160a01b03851690630232ca4990602401602060405180830381865afa15801561082d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108519190614f22565b9050899850886001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156108c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e79190614f22565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610930573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109549190614f3d565b1561096157809850610a19565b604051632601631360e21b81526001600160601b038a811660048301528216602482015273__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af41580156109bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e39190614f3d565b15610a19576040516322d98b0960e11b81526001600160601b03808b166004830152821660248201526044015b60405180910390fd5b5f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7a9190614c91565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166311a1467782898d73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ae9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0d9190614f22565b6040518563ffffffff1660e01b8152600401610b2c9493929190614f58565b5f604051808303815f87803b158015610b43575f80fd5b505af1158015610b55573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166366101781828e73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be99190614f22565b8e6040518563ffffffff1660e01b8152600401610c099493929190614f58565b5f604051808303815f87803b158015610c20575f80fd5b505af1158015610c32573d5f803e3d5ffd5b50505050505f610c4a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038e1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cbb9190614c91565b90507f81c27687c85b82d25896110abb95c71bcbe0f90ff15274c4f0dbc5710a43ec3f8c8286602001518d604051610d2494939291906001600160601b0394851681526001600160a01b0393841660208201529190921660408201529116606082015260800190565b60405180910390a1604080850151905163153c361360e21b81526001600160a01b03858116600483015283811660248301526001600160601b038d166044830152909116906354f0d84c906064015f604051808303815f87803b158015610d89575f80fd5b505af1158015610d9b573d5f803e3d5ffd5b5050505050505050505050505092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610e0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e309190614f8a565b905090565b610e3d61437f565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed79190614f22565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610f1f612578565b6001600160a01b03168152602001826001018054610f3c90614fac565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6890614fac565b8015610fb35780601f10610f8a57610100808354040283529160200191610fb3565b820191905f5260205f20905b815481529060010190602001808311610f9657829003601f168201915b505050505081525091505090565b5f610e30306134e9565b5f82600e610fd9828261330b565b604051630a4d29dd60e31b81526001600160601b038616600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561102f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110539190614f3d565b806110d95750604051637bc32ecf60e01b815273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf9061109a906001600160c01b03198816906004016147ae565b602060405180830381865af41580156110b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d99190614f3d565b156110e6575f9250611495565b5f6110f96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015611148573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261116f9190810190614bc1565b90505f6111808383602001516133c2565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e39190614c91565b6001600160a01b0316631d3be477896040518263ffffffff1660e01b815260040161120e91906147ae565b5f60405180830381865afa158015611228573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261124f9190810190614cc2565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156112ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cf9190614f3d565b156112e0575f965050505050611495565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561133a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135e9190614f3d565b8061146c575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156113be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e29190614f3d565b801561146c575061146c73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611433573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114579190614fe4565b8260a0015164ffffffffff9081169116111590565b965086801561148e5750806060015163ffffffff16816080015163ffffffff16105b9650505050505b505092915050565b5f80806114aa600e61344d565b92505091505f6114b9836136e2565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151c9190614c91565b6040516302d764c760e21b81526001600160601b03841660048201526001600160a01b039190911690630b5d931c906024015f60405180830381865afa158015611568573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261158f91908101906150d3565b6101408101515161016082015151919250905f906115ad908e613772565b9050808210156116bd5760405163916c5c5760e01b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__9063916c5c5790602401602060405180830381865af4158015611605573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116299190615241565b60405163916c5c5760e01b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__9063916c5c5790602401602060405180830381865af4158015611677573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169b9190615241565b604051632d8d32a560e21b815260048101929092526024820152604401610a10565b5f6116c8838361377d565b90508e73__$bf7bc340cbb9229ef1de2c568356e67902$__6321e5749b9091836040518363ffffffff1660e01b815260040161170e929190918252602082015260400190565b602060405180830381865af4158015611729573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174d9190614f3d565b15611860578e73__$bf7bc340cbb9229ef1de2c568356e67902$__63916c5c5790916040518263ffffffff1660e01b815260040161178d91815260200190565b602060405180830381865af41580156117a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117cc9190615241565b60405163916c5c5760e01b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__9063916c5c5790602401602060405180830381865af415801561181a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183e9190615241565b6040516306990c9f60e11b815260048101929092526024820152604401610a10565b505050505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039838e6040518363ffffffff1660e01b815260040161189e929190615258565b602060405180830381865af41580156118b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118dd9190615279565b92505f6040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561196e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119929190614c91565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119bf929190615294565b5f604051808303815f87803b1580156119d6575f80fd5b505af11580156119e8573d5f803e3d5ffd5b505050505050509998505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611a1e610dae565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611a5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a80919061535c565b5f805160206158748339815191528054600160401b900460ff1680611ab2575080546001600160401b03808416911610155b15611ad05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611afa836137a9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206158748339815191528054600160401b810460ff1615906001600160401b03165f81158015611b775750825b90505f826001600160401b03166001148015611b925750303b155b905081158015611ba0575080155b15611bbe5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611be857845460ff60401b1916600160401b1785555b611bf287876137b1565b8315611c3957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f8080611c4f600e61344d565b6005546040805160e0810180835263bc1b392d60e01b905290519496509194506001600160a01b0316926357a8fba79250819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015611cbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce29190614f22565b6001600160601b03168152602001856001600160601b03168152602001611d07601d90565b60ff1681526020016001151581526020015f6001600160a01b03168152602001896001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401611d6491906144b4565b6020604051808303815f875af1158015611d80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611da49190614f22565b92505f6040518060800160405280876001600160c01b03191681526020016001151581526020018681526020015f63ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e3d9190614c91565b6001600160a01b031663f71d7ffe85836040518363ffffffff1660e01b8152600401611e6a9291906153c7565b5f604051808303815f87803b158015611e81575f80fd5b505af1158015611e93573d5f803e3d5ffd5b505050505050509392505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600e611ec6611f2d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611f09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e30919061535c565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e3091906153e8565b611faa33610407565b82600e611fb7828261330b565b5f611fca6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612019573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120409190810190614bc1565b90505f6120518383602001516133c2565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612090573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120b49190614c91565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121179190614c91565b90505f61212e896101c001518a6101e00151613974565b905061213a8b8b610fcb565b15612407575f896102000151905060025f9054906101000a90046001600160a01b03166001600160a01b03166374933c2f848e84866040518563ffffffff1660e01b815260040161218e9493929190614f58565b5f604051808303815f87803b1580156121a5575f80fd5b505af11580156121b7573d5f803e3d5ffd5b5050604051631d3be47760e01b81525f92506001600160a01b0387169150631d3be477906121e9908f906004016147ae565b5f60405180830381865afa158015612203573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261222a9190810190614cc2565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663d165cb6485835f015173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561229b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bf9190614f22565b866040518563ffffffff1660e01b81526004016122df9493929190614f58565b5f604051808303815f87803b1580156122f6575f80fd5b505af1158015612308573d5f803e3d5ffd5b505082516040516313d8ebc960e11b81526001600160601b0390911660048201525f92506001600160a01b03881691506327b1d792906024015f60405180830381865afa15801561235b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123829190810190615403565b90506001816060018181516123979190614d81565b63ffffffff169052508151604051632a72b0c760e11b81526001600160a01b038716916354e5618e916123d29190859060ff906004016154aa565b5f604051808303815f87803b1580156123e9575f80fd5b505af11580156123fb573d5f803e3d5ffd5b505050505050506124e5565b60025f9054906101000a90046001600160a01b03166001600160a01b03166374933c2f838d73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124979190614f22565b856040518563ffffffff1660e01b81526004016124b79493929190614f58565b5f604051808303815f87803b1580156124ce575f80fd5b505af11580156124e0573d5f803e3d5ffd5b505050505b5050505050505050505050565b336124fb6131f2565b6001600160a01b0316816001600160a01b0316146125365760405162d1953b60e31b81526001600160a01b0382166004820152602401610a10565b816001600160a01b03163b5f0361256b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a10565b612574826139f8565b5050565b5f805f8051602061583483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156125e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126089190614f3d565b15612693576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612669573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061268d9190614c91565b91505090565b54600160601b90046001600160a01b0316919050565b5f86601d6126b7828261330b565b5f806126c3600e61344d565b925050915089515f036126eb5789604051634fad6a5360e11b8152600401610a1091906154cb565b60405163790a38ad60e01b815264ffffffffff8816600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561273f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127639190614f3d565b8061286357508664ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__6394335b1a909173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156127d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127f89190614fe4565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af415801561283f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128639190614f3d565b1561288a5760405163df85467b60e01b815264ffffffffff88166004820152602401610a10565b5f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128eb9190614c91565b6040516313d8ebc960e11b81526001600160601b038e1660048201529091505f906001600160a01b038316906327b1d792906024015f60405180830381865afa15801561293a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129619190810190615403565b516040516368322c6360e11b81529091505f906001600160a01b0384169063d06458c6906129939085906004016147ae565b5f60405180830381865afa1580156129ad573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129d491908101906154dd565b90508a63ffffffff16816080015163ffffffff161015612a15576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610a10565b60208101518c1015612b2d576020810151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612a75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a999190615241565b604051632255341b60e11b8152600481018e905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612ae7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b0b9190615241565b6040516338a25a8b60e21b815260048101929092526024820152604401610a10565b60408101518c1115612c45576040818101519051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bb19190615241565b604051632255341b60e11b8152600481018e905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612bff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c239190615241565b604051631e1ea4f360e31b815260048101929092526024820152604401610a10565b8060a0015163ffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cbb9190614fe4565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612d10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d349190615241565b604051633682752160e21b815264ffffffffff8d16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612d88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dac9190615241565b612db691906155d6565b1115612e605760a0810151604051633682752160e21b815264ffffffffff8c16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612e15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e399190615241565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610a10565b5050604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__9150633f093cd690612e9c9085908e90600401615258565b602060405180830381865af4158015612eb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612edb9190615279565b94505f6040518060e001604052808d6001600160601b031681526020018c81526020018b81526020018a63ffffffff1681526020015f63ffffffff1681526020018964ffffffffff168152602001888152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f8f9190614c91565b6001600160a01b031663ca0e7f0887836040518363ffffffff1660e01b8152600401612fbc9291906155e9565b5f604051808303815f87803b158015612fd3575f80fd5b505af1158015612fe5573d5f803e3d5ffd5b5050505050505050509695505050505050565b5f8051602061585483398151915280545f9190600160a01b900460ff1661301f575f61268d565b638fb3603760e01b91505090565b5f613038600e61344d565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613079573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061309d9190614c91565b6040516313d8ebc960e11b81526001600160601b03871660048201526001600160a01b0391909116906327b1d792906024015f60405180830381865afa1580156130e9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131109190810190615403565b6001600160c01b03198516815260408082018590528051631a99b41b60e31b815290519192506001600160a01b0384169163d4cda0d8916004808201926020929091908290030181865afa15801561316a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061318e9190614c91565b6001600160a01b03166354e5618e868360ff6040518463ffffffff1660e01b81526004016131be939291906154aa565b5f604051808303815f87803b1580156131d5575f80fd5b505af11580156131e7573d5f803e3d5ffd5b505050505050505050565b5f80516020615854833981519152546001600160a01b031690565b5f805160206158548339815191525f806132456132286131f2565b873061323760045f8a8c61560d565b61324091615634565b613a58565b91509150816133035763ffffffff8116156132e057825460ff60a01b1916600160a01b1783556132736131f2565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016132a29392919061566c565b5f604051808303815f87803b1580156132b9575f80fd5b505af11580156132cb573d5f803e3d5ffd5b5050845460ff60a01b19168555506133039050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a10565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561336d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133919190614f3d565b6125745760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610a10565b6040516305247a1760e51b81526001600160601b03821660048201525f906134449084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613414573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261343b9190810190614bc1565b60200151613b60565b90505b92915050565b5f61345661437f565b5f6134696001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156134ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134d19190614f22565b92506134df83856001613bd1565b9395909450915050565b5f805f8051602061583483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135799190614f3d565b156135a55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a10565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156135f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061361b9190614f3d565b6136435760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a10565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136b99190614f22565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6136f56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613741573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526137689190810190614bc1565b6020015192915050565b5f61344482846156ab565b5f8282111561379f5760405163117efe6d60e31b815260040160405180910390fd5b61344482846155d6565b610187613eb6565b5f805160206158748339815191528054600160401b810460ff1615906001600160401b03165f811580156137e25750825b90505f826001600160401b031660011480156137fd5750303b155b90508115801561380b575080155b156138295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561385357845460ff60401b1916600160401b1785555b5f808780602001905181019061386991906156be565b9150915061387882828b613eee565b6138826022614033565b600280546001600160a01b0319166001600160a01b03929092169190911790556138ac600b614033565b600380546001600160a01b0319166001600160a01b03929092169190911790556138d6600a614033565b600480546001600160a01b0319166001600160a01b03929092169190911790556139006002614033565b600580546001600160a01b0319166001600160a01b0392909216919091179055613930630c0e748360e01b6140c4565b50508315611c3957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611c30565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156139d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134449190614f22565b5f8051602061585483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613ac691906156eb565b5f60405180830381855afa9150503d805f8114613afe576040519150601f19603f3d011682016040523d82523d5f602084013e613b03565b606091505b50915091508115613b55576040815110613b355780806020019051810190613b2b9190615701565b9094509250613b55565b6020815110613b555780806020019051810190613b529190614f3d565b93505b505094509492505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015613bad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134449190614c91565b613bd961437f565b5f80613bed6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613c3a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c619190810190614bc1565b925060ff8516600b14613cbf57604083015160ff868116911614613cba57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a10565b613d5b565b613cda8360400151613ccf600c90565b60ff90811691161490565b80613cf05750613cf08360400151613ccf600f90565b80613d065750613d068360400151613ccf600e90565b80613d1c5750613d1c8360400151613ccf600d90565b613d5b57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a10565b613d6b8360400151613ccf600390565b15613d765750613eae565b613d868360400151613ccf600c90565b15613da057613d99818460200151613b60565b9150613db1565b613dae8184602001516133c2565b91505b8315613eac57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015613df3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e179190614c91565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613e5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e839190614f3d565b15613eac57604051637d71120960e11b81526001600160601b0387166004820152602401610a10565b505b935093915050565b5f8051602061587483398151915254600160401b900460ff16613eec57604051631afcd79f60e31b815260040160405180910390fd5b565b613ef6613eb6565b613efe6140f0565b6001600160a01b03821615613f1b57613f1682614100565b613f92565b5f613f266002614033565b9050613f90816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f8b9190614c91565b614100565b505b61400e83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613fd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ff69190614f22565b60085f8560405180602001604052805f815250614114565b61401e634a531f3360e01b6140c4565b61402e63daf9067160e01b6140c4565b505050565b5f6140466001546001600160a01b031690565b6001600160a01b031663d39e60438361405d611f2d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156140a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134479190614c91565b6140cc613eb6565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6140f8613eb6565b613eec6141b9565b614108613eb6565b614111816141e7565b50565b61411c613eb6565b61412686836141f8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016141af8382615779565b5050505050505050565b6141c1613eb6565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6141ef613eb6565b614111816139f8565b614200613eb6565b6142098261426e565b61421161433a565b6001600160a01b0381166142385760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061583483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614276613eb6565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156142cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142f09190614f3d565b6143185760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a10565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b614342613eb6565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156143cc575f80fd5b81356001600160e01b0319811681146143e3575f80fd5b9392505050565b6001600160601b0381168114614111575f80fd5b8035614409816143ea565b919050565b6001600160c01b031981168114614111575f80fd5b5f8060408385031215614434575f80fd5b823561443f816143ea565b9150602083013561444f8161440e565b809150509250929050565b5f806040838503121561446b575f80fd5b8235614476816143ea565b9150602083013561444f816143ea565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516144fc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614540610100840182614486565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161024081016001600160401b038111828210171561457f5761457f614548565b60405290565b60405160e081016001600160401b038111828210171561457f5761457f614548565b604051608081016001600160401b038111828210171561457f5761457f614548565b6040516101e081016001600160401b038111828210171561457f5761457f614548565b60405161012081016001600160401b038111828210171561457f5761457f614548565b604051601f8201601f191681016001600160401b038111828210171561463757614637614548565b604052919050565b5f6001600160401b0382111561465757614657614548565b50601f01601f191660200190565b5f82601f830112614674575f80fd5b8135602083015f61468c6146878461463f565b61460f565b905082815285838301111561469f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114614111575f80fd5b8035614409816146b9565b8015158114614111575f80fd5b8035614409816146d5565b5f805f805f805f805f6101208a8c031215614706575f80fd5b89356001600160401b0381111561471b575f80fd5b6147278c828d01614665565b99505060208a0135975060408a0135965060608a0135955060808a013561474d816146b9565b945061475b60a08b016146ca565b935061476960c08b016146e2565b925061477760e08b016146e2565b91506101008a01356001600160401b03811115614792575f80fd5b61479e8c828d01614665565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b5f602082840312156147d3575f80fd5b81356001600160401b038111156147e8575f80fd5b61454084828501614665565b6001600160a01b0381168114614111575f80fd5b5f8060408385031215614819575f80fd5b8235614824816147f4565b915060208301356001600160401b0381111561483e575f80fd5b61484a85828601614665565b9150509250929050565b5f805f60608486031215614866575f80fd5b8335614871816147f4565b925060208401356148818161440e565b915060408401356001600160401b0381111561489b575f80fd5b6148a786828701614665565b9150509250925092565b5f805f8385036102808112156148c5575f80fd5b84356148d0816143ea565b935060208501356148e08161440e565b9250610240603f19820112156148f4575f80fd5b506148fd61455c565b614909604086016143fe565b8152614917606086016143fe565b6020820152614928608086016143fe565b604082015261493960a086016143fe565b606082015261494a60c086016143fe565b608082015261495b60e086016143fe565b60a082015261496d61010086016143fe565b60c082015261497f61012086016143fe565b60e082015261499161014086016143fe565b6101008201526149a461016086016143fe565b6101208201526149b761018086016143fe565b6101408201526149ca6101a086016143fe565b6101608201526149dd6101c086016143fe565b6101808201526149f06101e086016143fe565b6101a0820152614a0361020086016143fe565b6101c0820152614a1661022086016143fe565b6101e0820152614a2961024086016143fe565b610200820152614a3c61026086016143fe565b610220820152809150509250925092565b5f60208284031215614a5d575f80fd5b81356143e3816147f4565b64ffffffffff81168114614111575f80fd5b5f805f805f8060c08789031215614a8f575f80fd5b8635614a9a816143ea565b955060208701356001600160401b03811115614ab4575f80fd5b614ac089828a01614665565b955050604087013593506060870135614ad8816146b9565b92506080870135614ae881614a68565b915060a08701356001600160401b03811115614b02575f80fd5b614b0e89828a01614665565b9150509295509295509295565b5f805f60608486031215614b2d575f80fd5b8335614871816143ea565b8051614409816143ea565b60ff81168114614111575f80fd5b805161440981614b43565b8051614409816146d5565b8051614409816147f4565b5f82601f830112614b81575f80fd5b8151602083015f614b946146878461463f565b9050828152858383011115614ba7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614bd1575f80fd5b81516001600160401b03811115614be6575f80fd5b820160e08185031215614bf7575f80fd5b614bff614585565b614c0882614b38565b8152614c1660208301614b38565b6020820152614c2760408301614b51565b6040820152614c3860608301614b5c565b6060820152614c4960808301614b67565b6080820152614c5a60a08301614b67565b60a082015260c08201516001600160401b03811115614c77575f80fd5b614c8386828501614b72565b60c083015250949350505050565b5f60208284031215614ca1575f80fd5b81516143e3816147f4565b8051614409816146b9565b805161440981614a68565b5f60208284031215614cd2575f80fd5b81516001600160401b03811115614ce7575f80fd5b820160e08185031215614cf8575f80fd5b614d00614585565b614d0982614b38565b815260208201516001600160401b03811115614d23575f80fd5b614d2f86828501614b72565b60208301525060408281015190820152614d4b60608301614cac565b6060820152614d5c60808301614cac565b6080820152614c5a60a08301614cb7565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff818116838216019081111561344757613447614d6d565b6001600160601b0381511682525f602082015160e06020850152614dc460e0850182614486565b90506040830151604085015263ffffffff60608401511660608501526080830151614df7608086018263ffffffff169052565b5060a0830151614e1060a086018264ffffffffff169052565b5060c083015184820360c0860152614e288282614486565b95945050505050565b6001600160401b0360c01b84168152606060208201525f614e556060830185614d9d565b905060ff83166040830152949350505050565b5f60208284031215614e78575f80fd5b81516001600160401b03811115614e8d575f80fd5b820160808185031215614e9e575f80fd5b614ea66145a7565b81516001600160401b03811115614ebb575f80fd5b614ec786828501614b72565b8252506020820151614ed8816147f4565b60208201526040820151614eeb816147f4565b604082015260608201516001600160401b03811115614f08575f80fd5b614f1486828501614b72565b606083015250949350505050565b5f60208284031215614f32575f80fd5b81516143e3816143ea565b5f60208284031215614f4d575f80fd5b81516143e3816146d5565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f60208284031215614f9a575f80fd5b815162ffffff811681146143e3575f80fd5b600181811c90821680614fc057607f821691505b602082108103614fde57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215614ff4575f80fd5b81516143e381614a68565b5f82601f83011261500e575f80fd5b81516001600160401b0381111561502757615027614548565b8060051b6150376020820161460f565b91825260208185018101929081019086841115615052575f80fd5b6020860192505b8383101561507d57825161506c816143ea565b825260209283019290910190615059565b9695505050505050565b5f60408284031215615097575f80fd5b604080519081016001600160401b03811182821017156150b9576150b9614548565b604052825181526020928301519281019290925250919050565b5f602082840312156150e3575f80fd5b81516001600160401b038111156150f8575f80fd5b82016102c0818503121561510a575f80fd5b6151126145c9565b61511b82614b5c565b815261512960208301614b5c565b602082015261513a60408301614b5c565b604082015261514b60608301614b51565b606082015261515c60808301614b51565b608082015261516d60a08301614b38565b60a082015261517e60c08301614b38565b60c082015260e08201516001600160401b0381111561519b575f80fd5b6151a786828501614fff565b60e0830152506151bb856101008401615087565b6101008201526151cf856101408401615087565b6101208201526151e3856101808401615087565b6101408201526151f7856101c08401615087565b61016082015261520b856102008401615087565b61018082015261521f856102408401615087565b6101a0820152615233856102808401615087565b6101c0820152949350505050565b5f60208284031215615251575f80fd5b5051919050565b6001600160601b0383168152604060208201525f6145406040830184614486565b5f60208284031215615289575f80fd5b81516143e38161440e565b6001600160401b0360c01b83168152604060208201525f825161012060408401526152c3610160840182614486565b90506020840151606084015260408401516080840152606084015160a084015260808401516152fa60c085018263ffffffff169052565b5060a084015163ffffffff811660e08501525060c08401518015156101008501525060e084015180151561012085015250610100840151838203603f190161014085015261507d8282614486565b6001600160401b0381168114614111575f80fd5b5f6020828403121561536c575f80fd5b81516143e381615348565b6001600160401b0360c01b81511682526020810151151560208301525f6040820151608060408501526153ad6080850182614486565b60609384015163ffffffff16949093019390935250919050565b6001600160601b0383168152604060208201525f6145406040830184615377565b5f602082840312156153f8575f80fd5b81516143e381614b43565b5f60208284031215615413575f80fd5b81516001600160401b03811115615428575f80fd5b820160808185031215615439575f80fd5b6154416145a7565b815161544c8161440e565b8152602082015161545c816146d5565b602082015260408201516001600160401b03811115615479575f80fd5b61548586828501614b72565b6040830152506060820151915061549b826146b9565b60608101919091529392505050565b6001600160601b0384168152606060208201525f614e556060830185615377565b602081525f6134446020830184614486565b5f602082840312156154ed575f80fd5b81516001600160401b03811115615502575f80fd5b82016101208185031215615514575f80fd5b61551c6145ec565b81516001600160401b03811115615531575f80fd5b61553d86828501614b72565b82525060208281015190820152604080830151908201526060808301519082015261556a60808301614cac565b608082015261557b60a08301614cac565b60a082015261558c60c08301614b5c565b60c082015261559d60e08301614b5c565b60e08201526101008201516001600160401b038111156155bb575f80fd5b6155c786828501614b72565b61010083015250949350505050565b8181038181111561344757613447614d6d565b6001600160401b0360c01b83168152604060208201525f6145406040830184614d9d565b5f808585111561561b575f80fd5b83861115615627575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615665576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b8082018082111561344757613447614d6d565b5f80604083850312156156cf575f80fd5b82516156da816147f4565b602084015190925061444f816147f4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615712575f80fd5b825161571d816146d5565b602084015190925061444f816146b9565b601f82111561402e57805f5260205f20601f840160051c810160208510156157535750805b601f840160051c820191505b81811015615772575f815560010161575f565b5050505050565b81516001600160401b0381111561579257615792614548565b6157a6816157a08454614fac565b8461572e565b6020601f8211600181146157d8575f83156157c15750848201515b5f19600385901b1c1916600184901b178455615772565b5f84815260208120601f198516915b8281101561580757878501518255602094850194600190920191016157e7565b508482101561582457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220337e6028ace9ff8414363e760b964f717ca828c6984972153843700b5815422364736f6c634300081a0033",
1085
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610187575f3560e01c8063644c45e0116100d9578063893d20e811610093578063ab3fc75f1161006e578063ab3fc75f146103cc578063ada9652e146103df578063b68d1809146103f3578063bf7e214f146103fa575f80fd5b8063893d20e8146103905780638dd2b781146103985780638fb36037146103ab575f80fd5b8063644c45e01461030b5780636c741e781461032857806376b707b7146103485780637950d0e2146103625780637a9e5e4b146103755780638899278a14610388575f80fd5b80631eff4b2211610144578063329d6e741161011f578063329d6e74146102ad57806349bb9e4b146102c05780635ab1bd53146102d35780635dcb3bae146102f8575f80fd5b80631eff4b221461024557806325d073841461027a5780632b5198b11461028d575f80fd5b806301ffc9a71461018b578063071e1e4a146101cc57806307e71a6e146101e15780630d8e6e2c1461020c5780630fec111c14610228578063138461e01461023d575b5f80fd5b6101b76101993660046143bc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101df6101da366004614423565b610402565b005b6101f46101ef36600461445a565b610680565b6040516001600160601b0390911681526020016101c3565b610214610dae565b60405162ffffff90911681526020016101c3565b610230610e35565b6040516101c391906144b4565b6101f4610fc1565b61026c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101c3565b6101b7610288366004614423565b610fcb565b6102a061029b3660046146ed565b61149d565b6040516101c391906147ae565b6101df6102bb3660046147c3565b6119fc565b6101df6102ce366004614808565b611b46565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101c3565b6101f4610306366004614854565b611c42565b5f80516020615834833981519152546001600160601b03166101f4565b610330611ea1565b6040516001600160401b0390911681526020016101c3565b610350611f2d565b60405160ff90911681526020016101c3565b6101df6103703660046148b1565b611fa1565b6101df610383366004614a4d565b6124f2565b61026c600381565b6102e0612578565b6102a06103a6366004614a7a565b6126a9565b6103b3612ff8565b6040516001600160e01b031990911681526020016101c3565b6101df6103da366004614b1b565b61302d565b61026c5f8051602061583483398151915281565b600e610350565b6102e06131f2565b61040e335b5f3661320d565b81600e61041b828261330b565b6104258484610fcb565b1561067a575f61043d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561048c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104b39190810190614bc1565b90505f6104c48383602001516133c2565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610503573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105279190614c91565b6001600160a01b0316631d3be477886040518263ffffffff1660e01b815260040161055291906147ae565b5f60405180830381865afa15801561056c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105939190810190614cc2565b90506001816080018181516105a89190614d81565b63ffffffff1690525060408051631a99b41b60e31b815290516001600160a01b0384169163d4cda0d89160048083019260209291908290030181865afa1580156105f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106189190614c91565b6001600160a01b03166361105e0e888360ff6040518463ffffffff1660e01b815260040161064893929190614e31565b5f604051808303815f87803b15801561065f575f80fd5b505af1158015610671573d5f803e3d5ffd5b50505050505050505b50505050565b5f82601d61068e828261330b565b5f8061069a600e61344d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107009190614c91565b60405163f0ea17c360e01b81526001600160601b03851660048201529091505f906001600160a01b0383169063f0ea17c3906024015f60405180830381865afa15801561074f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107769190810190614e68565b90505f81604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107dd9190614c91565b604051630232ca4960e01b81526001600160601b038c1660048201529091505f906001600160a01b03851690630232ca4990602401602060405180830381865afa15801561082d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108519190614f22565b9050899850886001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156108c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e79190614f22565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610930573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109549190614f3d565b1561096157809850610a19565b604051632601631360e21b81526001600160601b038a811660048301528216602482015273__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401602060405180830381865af41580156109bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e39190614f3d565b15610a19576040516322d98b0960e11b81526001600160601b03808b166004830152821660248201526044015b60405180910390fd5b5f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7a9190614c91565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166311a1467782898d73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ae9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0d9190614f22565b6040518563ffffffff1660e01b8152600401610b2c9493929190614f58565b5f604051808303815f87803b158015610b43575f80fd5b505af1158015610b55573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166366101781828e73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be99190614f22565b8e6040518563ffffffff1660e01b8152600401610c099493929190614f58565b5f604051808303815f87803b158015610c20575f80fd5b505af1158015610c32573d5f803e3d5ffd5b50505050505f610c4a6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038e1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cbb9190614c91565b90507f81c27687c85b82d25896110abb95c71bcbe0f90ff15274c4f0dbc5710a43ec3f8c8286602001518d604051610d2494939291906001600160601b0394851681526001600160a01b0393841660208201529190921660408201529116606082015260800190565b60405180910390a1604080850151905163153c361360e21b81526001600160a01b03858116600483015283811660248301526001600160601b038d166044830152909116906354f0d84c906064015f604051808303815f87803b158015610d89575f80fd5b505af1158015610d9b573d5f803e3d5ffd5b5050505050505050505050505092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610e0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e309190614f8a565b905090565b610e3d61437f565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed79190614f22565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610f1f612578565b6001600160a01b03168152602001826001018054610f3c90614fac565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6890614fac565b8015610fb35780601f10610f8a57610100808354040283529160200191610fb3565b820191905f5260205f20905b815481529060010190602001808311610f9657829003601f168201915b505050505081525091505090565b5f610e30306134e9565b5f82600e610fd9828261330b565b604051630a4d29dd60e31b81526001600160601b038616600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561102f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110539190614f3d565b806110d95750604051637bc32ecf60e01b815273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf9061109a906001600160c01b03198816906004016147ae565b602060405180830381865af41580156110b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d99190614f3d565b156110e6575f9250611495565b5f6110f96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015611148573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261116f9190810190614bc1565b90505f6111808383602001516133c2565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e39190614c91565b6001600160a01b0316631d3be477896040518263ffffffff1660e01b815260040161120e91906147ae565b5f60405180830381865afa158015611228573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261124f9190810190614cc2565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156112ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cf9190614f3d565b156112e0575f965050505050611495565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561133a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135e9190614f3d565b8061146c575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156113be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e29190614f3d565b801561146c575061146c73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611433573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114579190614fe4565b8260a0015164ffffffffff9081169116111590565b965086801561148e5750806060015163ffffffff16816080015163ffffffff16105b9650505050505b505092915050565b5f80806114aa600e61344d565b92505091505f6114b9836136e2565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151c9190614c91565b6040516302d764c760e21b81526001600160601b03841660048201526001600160a01b039190911690630b5d931c906024015f60405180830381865afa158015611568573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261158f91908101906150d3565b6101408101515161016082015151919250905f906115ad908e613772565b9050808210156116bd5760405163916c5c5760e01b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__9063916c5c5790602401602060405180830381865af4158015611605573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116299190615241565b60405163916c5c5760e01b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__9063916c5c5790602401602060405180830381865af4158015611677573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169b9190615241565b604051632d8d32a560e21b815260048101929092526024820152604401610a10565b5f6116c8838361377d565b90508e73__$bf7bc340cbb9229ef1de2c568356e67902$__6321e5749b9091836040518363ffffffff1660e01b815260040161170e929190918252602082015260400190565b602060405180830381865af4158015611729573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174d9190614f3d565b15611860578e73__$bf7bc340cbb9229ef1de2c568356e67902$__63916c5c5790916040518263ffffffff1660e01b815260040161178d91815260200190565b602060405180830381865af41580156117a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117cc9190615241565b60405163916c5c5760e01b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__9063916c5c5790602401602060405180830381865af415801561181a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061183e9190615241565b6040516306990c9f60e11b815260048101929092526024820152604401610a10565b505050505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039838e6040518363ffffffff1660e01b815260040161189e929190615258565b602060405180830381865af41580156118b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118dd9190615279565b92505f6040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561196e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119929190614c91565b6001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119bf929190615294565b5f604051808303815f87803b1580156119d6575f80fd5b505af11580156119e8573d5f803e3d5ffd5b505050505050509998505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611a1e610dae565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611a5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a80919061535c565b5f805160206158748339815191528054600160401b900460ff1680611ab2575080546001600160401b03808416911610155b15611ad05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611afa836137a9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206158748339815191528054600160401b810460ff1615906001600160401b03165f81158015611b775750825b90505f826001600160401b03166001148015611b925750303b155b905081158015611ba0575080155b15611bbe5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611be857845460ff60401b1916600160401b1785555b611bf287876137b1565b8315611c3957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f8080611c4f600e61344d565b6005546040805160e0810180835263bc1b392d60e01b905290519496509194506001600160a01b0316926357a8fba79250819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015611cbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce29190614f22565b6001600160601b03168152602001856001600160601b03168152602001611d07601d90565b60ff1681526020016001151581526020015f6001600160a01b03168152602001896001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401611d6491906144b4565b6020604051808303815f875af1158015611d80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611da49190614f22565b92505f6040518060800160405280876001600160c01b03191681526020016001151581526020018681526020015f63ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e3d9190614c91565b6001600160a01b031663f71d7ffe85836040518363ffffffff1660e01b8152600401611e6a9291906153c7565b5f604051808303815f87803b158015611e81575f80fd5b505af1158015611e93573d5f803e3d5ffd5b505050505050509392505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600e611ec6611f2d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611f09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e30919061535c565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e3091906153e8565b611faa33610407565b82600e611fb7828261330b565b5f611fca6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612019573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120409190810190614bc1565b90505f6120518383602001516133c2565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612090573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120b49190614c91565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121179190614c91565b90505f61212e896101c001518a6101e00151613974565b905061213a8b8b610fcb565b15612407575f896102000151905060025f9054906101000a90046001600160a01b03166001600160a01b03166374933c2f848e84866040518563ffffffff1660e01b815260040161218e9493929190614f58565b5f604051808303815f87803b1580156121a5575f80fd5b505af11580156121b7573d5f803e3d5ffd5b5050604051631d3be47760e01b81525f92506001600160a01b0387169150631d3be477906121e9908f906004016147ae565b5f60405180830381865afa158015612203573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261222a9190810190614cc2565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663d165cb6485835f015173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561229b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bf9190614f22565b866040518563ffffffff1660e01b81526004016122df9493929190614f58565b5f604051808303815f87803b1580156122f6575f80fd5b505af1158015612308573d5f803e3d5ffd5b505082516040516313d8ebc960e11b81526001600160601b0390911660048201525f92506001600160a01b03881691506327b1d792906024015f60405180830381865afa15801561235b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123829190810190615403565b90506001816060018181516123979190614d81565b63ffffffff169052508151604051632a72b0c760e11b81526001600160a01b038716916354e5618e916123d29190859060ff906004016154aa565b5f604051808303815f87803b1580156123e9575f80fd5b505af11580156123fb573d5f803e3d5ffd5b505050505050506124e5565b60025f9054906101000a90046001600160a01b03166001600160a01b03166374933c2f838d73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124979190614f22565b856040518563ffffffff1660e01b81526004016124b79493929190614f58565b5f604051808303815f87803b1580156124ce575f80fd5b505af11580156124e0573d5f803e3d5ffd5b505050505b5050505050505050505050565b336124fb6131f2565b6001600160a01b0316816001600160a01b0316146125365760405162d1953b60e31b81526001600160a01b0382166004820152602401610a10565b816001600160a01b03163b5f0361256b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a10565b612574826139f8565b5050565b5f805f8051602061583483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156125e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126089190614f3d565b15612693576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612669573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061268d9190614c91565b91505090565b54600160601b90046001600160a01b0316919050565b5f86601d6126b7828261330b565b5f806126c3600e61344d565b925050915089515f036126eb5789604051634fad6a5360e11b8152600401610a1091906154cb565b60405163790a38ad60e01b815264ffffffffff8816600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561273f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127639190614f3d565b8061286357508664ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__6394335b1a909173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156127d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127f89190614fe4565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af415801561283f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128639190614f3d565b1561288a5760405163df85467b60e01b815264ffffffffff88166004820152602401610a10565b5f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128eb9190614c91565b6040516313d8ebc960e11b81526001600160601b038e1660048201529091505f906001600160a01b038316906327b1d792906024015f60405180830381865afa15801561293a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129619190810190615403565b516040516368322c6360e11b81529091505f906001600160a01b0384169063d06458c6906129939085906004016147ae565b5f60405180830381865afa1580156129ad573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129d491908101906154dd565b90508a63ffffffff16816080015163ffffffff161015612a15576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610a10565b60208101518c1015612b2d576020810151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612a75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a999190615241565b604051632255341b60e11b8152600481018e905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612ae7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b0b9190615241565b6040516338a25a8b60e21b815260048101929092526024820152604401610a10565b60408101518c1115612c45576040818101519051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bb19190615241565b604051632255341b60e11b8152600481018e905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015612bff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c239190615241565b604051631e1ea4f360e31b815260048101929092526024820152604401610a10565b8060a0015163ffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612c97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cbb9190614fe4565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612d10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d349190615241565b604051633682752160e21b815264ffffffffff8d16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612d88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dac9190615241565b612db691906155d6565b1115612e605760a0810151604051633682752160e21b815264ffffffffff8c16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612e15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e399190615241565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610a10565b5050604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__9150633f093cd690612e9c9085908e90600401615258565b602060405180830381865af4158015612eb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612edb9190615279565b94505f6040518060e001604052808d6001600160601b031681526020018c81526020018b81526020018a63ffffffff1681526020015f63ffffffff1681526020018964ffffffffff168152602001888152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f8f9190614c91565b6001600160a01b031663ca0e7f0887836040518363ffffffff1660e01b8152600401612fbc9291906155e9565b5f604051808303815f87803b158015612fd3575f80fd5b505af1158015612fe5573d5f803e3d5ffd5b5050505050505050509695505050505050565b5f8051602061585483398151915280545f9190600160a01b900460ff1661301f575f61268d565b638fb3603760e01b91505090565b5f613038600e61344d565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613079573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061309d9190614c91565b6040516313d8ebc960e11b81526001600160601b03871660048201526001600160a01b0391909116906327b1d792906024015f60405180830381865afa1580156130e9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131109190810190615403565b6001600160c01b03198516815260408082018590528051631a99b41b60e31b815290519192506001600160a01b0384169163d4cda0d8916004808201926020929091908290030181865afa15801561316a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061318e9190614c91565b6001600160a01b03166354e5618e868360ff6040518463ffffffff1660e01b81526004016131be939291906154aa565b5f604051808303815f87803b1580156131d5575f80fd5b505af11580156131e7573d5f803e3d5ffd5b505050505050505050565b5f80516020615854833981519152546001600160a01b031690565b5f805160206158548339815191525f806132456132286131f2565b873061323760045f8a8c61560d565b61324091615634565b613a58565b91509150816133035763ffffffff8116156132e057825460ff60a01b1916600160a01b1783556132736131f2565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016132a29392919061566c565b5f604051808303815f87803b1580156132b9575f80fd5b505af11580156132cb573d5f803e3d5ffd5b5050845460ff60a01b19168555506133039050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a10565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561336d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133919190614f3d565b6125745760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610a10565b6040516305247a1760e51b81526001600160601b03821660048201525f906134449084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613414573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261343b9190810190614bc1565b60200151613b60565b90505b92915050565b5f61345661437f565b5f6134696001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156134ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134d19190614f22565b92506134df83856001613bd1565b9395909450915050565b5f805f8051602061583483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613555573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135799190614f3d565b156135a55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a10565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156135f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061361b9190614f3d565b6136435760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a10565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136b99190614f22565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6136f56001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613741573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526137689190810190614bc1565b6020015192915050565b5f61344482846156ab565b5f8282111561379f5760405163117efe6d60e31b815260040160405180910390fd5b61344482846155d6565b610187613eb6565b5f805160206158748339815191528054600160401b810460ff1615906001600160401b03165f811580156137e25750825b90505f826001600160401b031660011480156137fd5750303b155b90508115801561380b575080155b156138295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561385357845460ff60401b1916600160401b1785555b5f808780602001905181019061386991906156be565b9150915061387882828b613eee565b6138826022614033565b600280546001600160a01b0319166001600160a01b03929092169190911790556138ac600b614033565b600380546001600160a01b0319166001600160a01b03929092169190911790556138d6600a614033565b600480546001600160a01b0319166001600160a01b03929092169190911790556139006002614033565b600580546001600160a01b0319166001600160a01b0392909216919091179055613930630c0e748360e01b6140c4565b50508315611c3957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611c30565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156139d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134449190614f22565b5f8051602061585483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613ac691906156eb565b5f60405180830381855afa9150503d805f8114613afe576040519150601f19603f3d011682016040523d82523d5f602084013e613b03565b606091505b50915091508115613b55576040815110613b355780806020019051810190613b2b9190615701565b9094509250613b55565b6020815110613b555780806020019051810190613b529190614f3d565b93505b505094509492505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015613bad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134449190614c91565b613bd961437f565b5f80613bed6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613c3a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c619190810190614bc1565b925060ff8516600b14613cbf57604083015160ff868116911614613cba57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a10565b613d5b565b613cda8360400151613ccf600c90565b60ff90811691161490565b80613cf05750613cf08360400151613ccf600f90565b80613d065750613d068360400151613ccf600e90565b80613d1c5750613d1c8360400151613ccf600d90565b613d5b57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610a10565b613d6b8360400151613ccf600390565b15613d765750613eae565b613d868360400151613ccf600c90565b15613da057613d99818460200151613b60565b9150613db1565b613dae8184602001516133c2565b91505b8315613eac57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015613df3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e179190614c91565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613e5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e839190614f3d565b15613eac57604051637d71120960e11b81526001600160601b0387166004820152602401610a10565b505b935093915050565b5f8051602061587483398151915254600160401b900460ff16613eec57604051631afcd79f60e31b815260040160405180910390fd5b565b613ef6613eb6565b613efe6140f0565b6001600160a01b03821615613f1b57613f1682614100565b613f92565b5f613f266002614033565b9050613f90816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f8b9190614c91565b614100565b505b61400e83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613fd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ff69190614f22565b60085f8560405180602001604052805f815250614114565b61401e634a531f3360e01b6140c4565b61402e63daf9067160e01b6140c4565b505050565b5f6140466001546001600160a01b031690565b6001600160a01b031663d39e60438361405d611f2d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156140a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134479190614c91565b6140cc613eb6565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6140f8613eb6565b613eec6141b9565b614108613eb6565b614111816141e7565b50565b61411c613eb6565b61412686836141f8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016141af8382615779565b5050505050505050565b6141c1613eb6565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6141ef613eb6565b614111816139f8565b614200613eb6565b6142098261426e565b61421161433a565b6001600160a01b0381166142385760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061583483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614276613eb6565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156142cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142f09190614f3d565b6143185760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a10565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b614342613eb6565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156143cc575f80fd5b81356001600160e01b0319811681146143e3575f80fd5b9392505050565b6001600160601b0381168114614111575f80fd5b8035614409816143ea565b919050565b6001600160c01b031981168114614111575f80fd5b5f8060408385031215614434575f80fd5b823561443f816143ea565b9150602083013561444f8161440e565b809150509250929050565b5f806040838503121561446b575f80fd5b8235614476816143ea565b9150602083013561444f816143ea565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516144fc608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614540610100840182614486565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161024081016001600160401b038111828210171561457f5761457f614548565b60405290565b60405160e081016001600160401b038111828210171561457f5761457f614548565b604051608081016001600160401b038111828210171561457f5761457f614548565b6040516101e081016001600160401b038111828210171561457f5761457f614548565b60405161012081016001600160401b038111828210171561457f5761457f614548565b604051601f8201601f191681016001600160401b038111828210171561463757614637614548565b604052919050565b5f6001600160401b0382111561465757614657614548565b50601f01601f191660200190565b5f82601f830112614674575f80fd5b8135602083015f61468c6146878461463f565b61460f565b905082815285838301111561469f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114614111575f80fd5b8035614409816146b9565b8015158114614111575f80fd5b8035614409816146d5565b5f805f805f805f805f6101208a8c031215614706575f80fd5b89356001600160401b0381111561471b575f80fd5b6147278c828d01614665565b99505060208a0135975060408a0135965060608a0135955060808a013561474d816146b9565b945061475b60a08b016146ca565b935061476960c08b016146e2565b925061477760e08b016146e2565b91506101008a01356001600160401b03811115614792575f80fd5b61479e8c828d01614665565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b5f602082840312156147d3575f80fd5b81356001600160401b038111156147e8575f80fd5b61454084828501614665565b6001600160a01b0381168114614111575f80fd5b5f8060408385031215614819575f80fd5b8235614824816147f4565b915060208301356001600160401b0381111561483e575f80fd5b61484a85828601614665565b9150509250929050565b5f805f60608486031215614866575f80fd5b8335614871816147f4565b925060208401356148818161440e565b915060408401356001600160401b0381111561489b575f80fd5b6148a786828701614665565b9150509250925092565b5f805f8385036102808112156148c5575f80fd5b84356148d0816143ea565b935060208501356148e08161440e565b9250610240603f19820112156148f4575f80fd5b506148fd61455c565b614909604086016143fe565b8152614917606086016143fe565b6020820152614928608086016143fe565b604082015261493960a086016143fe565b606082015261494a60c086016143fe565b608082015261495b60e086016143fe565b60a082015261496d61010086016143fe565b60c082015261497f61012086016143fe565b60e082015261499161014086016143fe565b6101008201526149a461016086016143fe565b6101208201526149b761018086016143fe565b6101408201526149ca6101a086016143fe565b6101608201526149dd6101c086016143fe565b6101808201526149f06101e086016143fe565b6101a0820152614a0361020086016143fe565b6101c0820152614a1661022086016143fe565b6101e0820152614a2961024086016143fe565b610200820152614a3c61026086016143fe565b610220820152809150509250925092565b5f60208284031215614a5d575f80fd5b81356143e3816147f4565b64ffffffffff81168114614111575f80fd5b5f805f805f8060c08789031215614a8f575f80fd5b8635614a9a816143ea565b955060208701356001600160401b03811115614ab4575f80fd5b614ac089828a01614665565b955050604087013593506060870135614ad8816146b9565b92506080870135614ae881614a68565b915060a08701356001600160401b03811115614b02575f80fd5b614b0e89828a01614665565b9150509295509295509295565b5f805f60608486031215614b2d575f80fd5b8335614871816143ea565b8051614409816143ea565b60ff81168114614111575f80fd5b805161440981614b43565b8051614409816146d5565b8051614409816147f4565b5f82601f830112614b81575f80fd5b8151602083015f614b946146878461463f565b9050828152858383011115614ba7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614bd1575f80fd5b81516001600160401b03811115614be6575f80fd5b820160e08185031215614bf7575f80fd5b614bff614585565b614c0882614b38565b8152614c1660208301614b38565b6020820152614c2760408301614b51565b6040820152614c3860608301614b5c565b6060820152614c4960808301614b67565b6080820152614c5a60a08301614b67565b60a082015260c08201516001600160401b03811115614c77575f80fd5b614c8386828501614b72565b60c083015250949350505050565b5f60208284031215614ca1575f80fd5b81516143e3816147f4565b8051614409816146b9565b805161440981614a68565b5f60208284031215614cd2575f80fd5b81516001600160401b03811115614ce7575f80fd5b820160e08185031215614cf8575f80fd5b614d00614585565b614d0982614b38565b815260208201516001600160401b03811115614d23575f80fd5b614d2f86828501614b72565b60208301525060408281015190820152614d4b60608301614cac565b6060820152614d5c60808301614cac565b6080820152614c5a60a08301614cb7565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff818116838216019081111561344757613447614d6d565b6001600160601b0381511682525f602082015160e06020850152614dc460e0850182614486565b90506040830151604085015263ffffffff60608401511660608501526080830151614df7608086018263ffffffff169052565b5060a0830151614e1060a086018264ffffffffff169052565b5060c083015184820360c0860152614e288282614486565b95945050505050565b6001600160401b0360c01b84168152606060208201525f614e556060830185614d9d565b905060ff83166040830152949350505050565b5f60208284031215614e78575f80fd5b81516001600160401b03811115614e8d575f80fd5b820160808185031215614e9e575f80fd5b614ea66145a7565b81516001600160401b03811115614ebb575f80fd5b614ec786828501614b72565b8252506020820151614ed8816147f4565b60208201526040820151614eeb816147f4565b604082015260608201516001600160401b03811115614f08575f80fd5b614f1486828501614b72565b606083015250949350505050565b5f60208284031215614f32575f80fd5b81516143e3816143ea565b5f60208284031215614f4d575f80fd5b81516143e3816146d5565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f60208284031215614f9a575f80fd5b815162ffffff811681146143e3575f80fd5b600181811c90821680614fc057607f821691505b602082108103614fde57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215614ff4575f80fd5b81516143e381614a68565b5f82601f83011261500e575f80fd5b81516001600160401b0381111561502757615027614548565b8060051b6150376020820161460f565b91825260208185018101929081019086841115615052575f80fd5b6020860192505b8383101561507d57825161506c816143ea565b825260209283019290910190615059565b9695505050505050565b5f60408284031215615097575f80fd5b604080519081016001600160401b03811182821017156150b9576150b9614548565b604052825181526020928301519281019290925250919050565b5f602082840312156150e3575f80fd5b81516001600160401b038111156150f8575f80fd5b82016102c0818503121561510a575f80fd5b6151126145c9565b61511b82614b5c565b815261512960208301614b5c565b602082015261513a60408301614b5c565b604082015261514b60608301614b51565b606082015261515c60808301614b51565b608082015261516d60a08301614b38565b60a082015261517e60c08301614b38565b60c082015260e08201516001600160401b0381111561519b575f80fd5b6151a786828501614fff565b60e0830152506151bb856101008401615087565b6101008201526151cf856101408401615087565b6101208201526151e3856101808401615087565b6101408201526151f7856101c08401615087565b61016082015261520b856102008401615087565b61018082015261521f856102408401615087565b6101a0820152615233856102808401615087565b6101c0820152949350505050565b5f60208284031215615251575f80fd5b5051919050565b6001600160601b0383168152604060208201525f6145406040830184614486565b5f60208284031215615289575f80fd5b81516143e38161440e565b6001600160401b0360c01b83168152604060208201525f825161012060408401526152c3610160840182614486565b90506020840151606084015260408401516080840152606084015160a084015260808401516152fa60c085018263ffffffff169052565b5060a084015163ffffffff811660e08501525060c08401518015156101008501525060e084015180151561012085015250610100840151838203603f190161014085015261507d8282614486565b6001600160401b0381168114614111575f80fd5b5f6020828403121561536c575f80fd5b81516143e381615348565b6001600160401b0360c01b81511682526020810151151560208301525f6040820151608060408501526153ad6080850182614486565b60609384015163ffffffff16949093019390935250919050565b6001600160601b0383168152604060208201525f6145406040830184615377565b5f602082840312156153f8575f80fd5b81516143e381614b43565b5f60208284031215615413575f80fd5b81516001600160401b03811115615428575f80fd5b820160808185031215615439575f80fd5b6154416145a7565b815161544c8161440e565b8152602082015161545c816146d5565b602082015260408201516001600160401b03811115615479575f80fd5b61548586828501614b72565b6040830152506060820151915061549b826146b9565b60608101919091529392505050565b6001600160601b0384168152606060208201525f614e556060830185615377565b602081525f6134446020830184614486565b5f602082840312156154ed575f80fd5b81516001600160401b03811115615502575f80fd5b82016101208185031215615514575f80fd5b61551c6145ec565b81516001600160401b03811115615531575f80fd5b61553d86828501614b72565b82525060208281015190820152604080830151908201526060808301519082015261556a60808301614cac565b608082015261557b60a08301614cac565b60a082015261558c60c08301614b5c565b60c082015261559d60e08301614b5c565b60e08201526101008201516001600160401b038111156155bb575f80fd5b6155c786828501614b72565b61010083015250949350505050565b8181038181111561344757613447614d6d565b6001600160401b0360c01b83168152604060208201525f6145406040830184614d9d565b5f808585111561561b575f80fd5b83861115615627575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615665576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b8082018082111561344757613447614d6d565b5f80604083850312156156cf575f80fd5b82516156da816147f4565b602084015190925061444f816147f4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615712575f80fd5b825161571d816146d5565b602084015190925061444f816146b9565b601f82111561402e57805f5260205f20601f840160051c810160208510156157535750805b601f840160051c820191505b81811015615772575f815560010161575f565b5050505050565b81516001600160401b0381111561579257615792614548565b6157a6816157a08454614fac565b8461572e565b6020601f8211600181146157d8575f83156157c15750848201515b5f19600385901b1c1916600184901b178455615772565b5f84815260208120601f198516915b8281101561580757878501518255602094850194600190920191016157e7565b508482101561582457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220337e6028ace9ff8414363e760b964f717ca828c6984972153843700b5815422364736f6c634300081a0033",
1086
+ "linkReferences": {
1087
+ "contracts/shared/ContractLib.sol": {
1088
+ "ContractLib": [
1089
+ {
1090
+ "length": 20,
1091
+ "start": 17258
1092
+ }
1093
+ ]
1094
+ },
1095
+ "contracts/type/Amount.sol": {
1096
+ "AmountLib": [
1097
+ {
1098
+ "length": 20,
1099
+ "start": 2360
1100
+ },
1101
+ {
1102
+ "length": 20,
1103
+ "start": 2388
1104
+ },
1105
+ {
1106
+ "length": 20,
1107
+ "start": 2653
1108
+ },
1109
+ {
1110
+ "length": 20,
1111
+ "start": 2938
1112
+ },
1113
+ {
1114
+ "length": 20,
1115
+ "start": 3158
1116
+ },
1117
+ {
1118
+ "length": 20,
1119
+ "start": 9004
1120
+ },
1121
+ {
1122
+ "length": 20,
1123
+ "start": 9476
1124
+ },
1125
+ {
1126
+ "length": 20,
1127
+ "start": 14962
1128
+ }
1129
+ ]
1130
+ },
1131
+ "contracts/type/DistributorType.sol": {
1132
+ "DistributorTypeLib": [
1133
+ {
1134
+ "length": 20,
1135
+ "start": 6461
1136
+ }
1137
+ ]
1138
+ },
1139
+ "contracts/type/NftId.sol": {
1140
+ "NftIdLib": [
1141
+ {
1142
+ "length": 20,
1143
+ "start": 3908
1144
+ },
1145
+ {
1146
+ "length": 20,
1147
+ "start": 4301
1148
+ },
1149
+ {
1150
+ "length": 20,
1151
+ "start": 4937
1152
+ },
1153
+ {
1154
+ "length": 20,
1155
+ "start": 7514
1156
+ },
1157
+ {
1158
+ "length": 20,
1159
+ "start": 9858
1160
+ },
1161
+ {
1162
+ "length": 20,
1163
+ "start": 13811
1164
+ }
1165
+ ]
1166
+ },
1167
+ "contracts/type/Referral.sol": {
1168
+ "ReferralLib": [
1169
+ {
1170
+ "length": 20,
1171
+ "start": 4414
1172
+ },
1173
+ {
1174
+ "length": 20,
1175
+ "start": 12103
1176
+ }
1177
+ ]
1178
+ },
1179
+ "contracts/type/RoleId.sol": {
1180
+ "RoleIdLib": [
1181
+ {
1182
+ "length": 20,
1183
+ "start": 8058
1184
+ }
1185
+ ]
1186
+ },
1187
+ "contracts/type/Timestamp.sol": {
1188
+ "TimestampLib": [
1189
+ {
1190
+ "length": 20,
1191
+ "start": 5080
1192
+ },
1193
+ {
1194
+ "length": 20,
1195
+ "start": 5212
1196
+ },
1197
+ {
1198
+ "length": 20,
1199
+ "start": 5316
1200
+ },
1201
+ {
1202
+ "length": 20,
1203
+ "start": 10205
1204
+ },
1205
+ {
1206
+ "length": 20,
1207
+ "start": 10313
1208
+ },
1209
+ {
1210
+ "length": 20,
1211
+ "start": 10341
1212
+ },
1213
+ {
1214
+ "length": 20,
1215
+ "start": 11560
1216
+ },
1217
+ {
1218
+ "length": 20,
1219
+ "start": 11694
1220
+ },
1221
+ {
1222
+ "length": 20,
1223
+ "start": 11814
1224
+ },
1225
+ {
1226
+ "length": 20,
1227
+ "start": 11955
1228
+ }
1229
+ ]
1230
+ },
1231
+ "contracts/type/UFixed.sol": {
1232
+ "UFixedLib": [
1233
+ {
1234
+ "length": 20,
1235
+ "start": 5795
1236
+ },
1237
+ {
1238
+ "length": 20,
1239
+ "start": 5909
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 6051
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 6187
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 6328
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 11027
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 11141
1260
+ },
1261
+ {
1262
+ "length": 20,
1263
+ "start": 11307
1264
+ },
1265
+ {
1266
+ "length": 20,
1267
+ "start": 11421
1268
+ }
1269
+ ]
1270
+ },
1271
+ "contracts/type/Version.sol": {
1272
+ "VersionLib": [
1273
+ {
1274
+ "length": 20,
1275
+ "start": 3754
1276
+ },
1277
+ {
1278
+ "length": 20,
1279
+ "start": 6868
1280
+ }
1281
+ ],
1282
+ "VersionPartLib": [
1283
+ {
1284
+ "length": 20,
1285
+ "start": 8219
1286
+ }
1287
+ ]
1288
+ }
1289
+ },
1290
+ "deployedLinkReferences": {
1291
+ "contracts/shared/ContractLib.sol": {
1292
+ "ContractLib": [
1293
+ {
1294
+ "length": 20,
1295
+ "start": 17044
1296
+ }
1297
+ ]
1298
+ },
1299
+ "contracts/type/Amount.sol": {
1300
+ "AmountLib": [
1301
+ {
1302
+ "length": 20,
1303
+ "start": 2146
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 2174
1308
+ },
1309
+ {
1310
+ "length": 20,
1311
+ "start": 2439
1312
+ },
1313
+ {
1314
+ "length": 20,
1315
+ "start": 2724
1316
+ },
1317
+ {
1318
+ "length": 20,
1319
+ "start": 2944
1320
+ },
1321
+ {
1322
+ "length": 20,
1323
+ "start": 8790
1324
+ },
1325
+ {
1326
+ "length": 20,
1327
+ "start": 9262
1328
+ },
1329
+ {
1330
+ "length": 20,
1331
+ "start": 14748
1332
+ }
1333
+ ]
1334
+ },
1335
+ "contracts/type/DistributorType.sol": {
1336
+ "DistributorTypeLib": [
1337
+ {
1338
+ "length": 20,
1339
+ "start": 6247
1340
+ }
1341
+ ]
1342
+ },
1343
+ "contracts/type/NftId.sol": {
1344
+ "NftIdLib": [
1345
+ {
1346
+ "length": 20,
1347
+ "start": 3694
1348
+ },
1349
+ {
1350
+ "length": 20,
1351
+ "start": 4087
1352
+ },
1353
+ {
1354
+ "length": 20,
1355
+ "start": 4723
1356
+ },
1357
+ {
1358
+ "length": 20,
1359
+ "start": 7300
1360
+ },
1361
+ {
1362
+ "length": 20,
1363
+ "start": 9644
1364
+ },
1365
+ {
1366
+ "length": 20,
1367
+ "start": 13597
1368
+ }
1369
+ ]
1370
+ },
1371
+ "contracts/type/Referral.sol": {
1372
+ "ReferralLib": [
1373
+ {
1374
+ "length": 20,
1375
+ "start": 4200
1376
+ },
1377
+ {
1378
+ "length": 20,
1379
+ "start": 11889
1380
+ }
1381
+ ]
1382
+ },
1383
+ "contracts/type/RoleId.sol": {
1384
+ "RoleIdLib": [
1385
+ {
1386
+ "length": 20,
1387
+ "start": 7844
1388
+ }
1389
+ ]
1390
+ },
1391
+ "contracts/type/Timestamp.sol": {
1392
+ "TimestampLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 4866
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 4998
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 5102
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 9991
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 10099
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 10127
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 11346
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 11480
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 11600
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 11741
1432
+ }
1433
+ ]
1434
+ },
1435
+ "contracts/type/UFixed.sol": {
1436
+ "UFixedLib": [
1437
+ {
1438
+ "length": 20,
1439
+ "start": 5581
1440
+ },
1441
+ {
1442
+ "length": 20,
1443
+ "start": 5695
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 5837
1448
+ },
1449
+ {
1450
+ "length": 20,
1451
+ "start": 5973
1452
+ },
1453
+ {
1454
+ "length": 20,
1455
+ "start": 6114
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 10813
1460
+ },
1461
+ {
1462
+ "length": 20,
1463
+ "start": 10927
1464
+ },
1465
+ {
1466
+ "length": 20,
1467
+ "start": 11093
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 11207
1472
+ }
1473
+ ]
1474
+ },
1475
+ "contracts/type/Version.sol": {
1476
+ "VersionLib": [
1477
+ {
1478
+ "length": 20,
1479
+ "start": 3540
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 6654
1484
+ }
1485
+ ],
1486
+ "VersionPartLib": [
1487
+ {
1488
+ "length": 20,
1489
+ "start": 8005
1490
+ }
1491
+ ]
1492
+ }
1493
+ }
1494
+ }