@etherisc/gif-next 0.0.2-c8c9cfc-245 → 0.0.2-c9577b6-545

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. package/README.md +5 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +13 -8
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +5 -0
  12. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +5 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  16. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +13 -8
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +52 -212
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +28 -19
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +16 -184
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +150 -286
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +100 -120
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +16 -37
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +65 -62
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1507 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +419 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1978 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +423 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1427 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1187 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1561 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1996 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +16 -0
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +16 -0
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +26 -99
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +177 -113
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +38 -29
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +424 -74
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +55 -146
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +77 -81
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +291 -112
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  79. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  81. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  83. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  89. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  91. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +42 -202
  92. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +30 -21
  94. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +16 -37
  97. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +16 -0
  99. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +16 -184
  101. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +53 -144
  103. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +76 -80
  105. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +45 -185
  107. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +28 -19
  109. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +148 -222
  111. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  112. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +115 -107
  113. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +40 -31
  115. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +48 -41
  117. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +208 -138
  119. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/Pool.sol/Pool.json +45 -185
  121. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +283 -355
  123. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +96 -120
  125. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +52 -162
  127. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +73 -89
  129. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +44 -210
  131. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  132. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +28 -19
  133. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +258 -184
  135. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +117 -101
  137. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +21 -0
  139. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +148 -7
  141. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +241 -145
  143. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  144. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +59 -43
  145. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  146. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +44 -63
  147. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  148. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +18 -2
  149. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +317 -384
  151. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +108 -124
  153. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingService.sol/PricingService.json +133 -261
  155. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +97 -117
  157. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  158. package/artifacts/contracts/product/Product.sol/Product.json +44 -210
  159. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskService.sol/RiskService.json +604 -0
  161. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +698 -0
  163. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  164. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  165. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +286 -34
  167. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  168. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +16 -0
  169. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  170. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/Registry.sol/Registry.json +492 -95
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  173. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +283 -143
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  175. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +39 -313
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +68 -72
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  179. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +129 -221
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  186. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  187. package/artifacts/contracts/shared/Component.sol/Component.json +16 -173
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  189. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +105 -228
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  191. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +112 -122
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  193. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +21 -112
  194. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  195. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  196. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +16 -26
  198. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +16 -0
  200. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +16 -37
  202. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  204. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  205. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  206. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  207. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  208. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  209. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  210. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  211. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +16 -0
  212. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IService.sol/IService.json +16 -0
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  216. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  218. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +16 -184
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  220. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  221. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  222. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  224. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  226. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  228. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  230. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -97
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  232. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  233. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  234. package/artifacts/contracts/shared/Service.sol/Service.json +21 -112
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  236. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +288 -16
  237. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  238. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  239. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  240. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +43 -27
  241. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  242. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +16 -21
  243. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  245. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  246. package/artifacts/contracts/staking/Staking.sol/Staking.json +101 -248
  247. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  249. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  250. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +93 -100
  251. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  252. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  253. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  254. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +47 -159
  255. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  256. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +72 -76
  257. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  258. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  259. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  260. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  261. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  262. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  263. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  264. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  267. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  269. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  271. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  273. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  275. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  276. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  277. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  279. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  281. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  283. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  285. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  287. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  289. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  291. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  295. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  302. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  304. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  305. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  306. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +55 -70
  307. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  308. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  309. package/contracts/authorization/AccessAdmin.sol +63 -59
  310. package/contracts/authorization/Authorization.sol +7 -3
  311. package/contracts/authorization/IAccess.sol +1 -0
  312. package/contracts/authorization/IAccessAdmin.sol +4 -3
  313. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  314. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  315. package/contracts/distribution/BasicDistribution.sol +2 -0
  316. package/contracts/distribution/Distribution.sol +3 -2
  317. package/contracts/distribution/DistributionService.sol +72 -60
  318. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  319. package/contracts/distribution/IDistributionService.sol +9 -5
  320. package/contracts/examples/fire/DamageLevel.sol +59 -0
  321. package/contracts/examples/fire/FirePool.sol +75 -0
  322. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  323. package/contracts/examples/fire/FireProduct.sol +411 -0
  324. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  325. package/contracts/examples/fire/FireUSD.sol +26 -0
  326. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  327. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  328. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  329. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  330. package/contracts/instance/IInstance.sol +7 -30
  331. package/contracts/instance/Instance.sol +10 -35
  332. package/contracts/instance/InstanceAdmin.sol +29 -7
  333. package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
  334. package/contracts/instance/InstanceReader.sol +107 -25
  335. package/contracts/instance/InstanceService.sol +63 -41
  336. package/contracts/instance/InstanceServiceManager.sol +6 -7
  337. package/contracts/instance/InstanceStore.sol +11 -1
  338. package/contracts/instance/base/ObjectLifecycle.sol +8 -1
  339. package/contracts/instance/module/IComponents.sol +4 -2
  340. package/contracts/instance/module/IPolicy.sol +23 -23
  341. package/contracts/oracle/Oracle.sol +2 -1
  342. package/contracts/oracle/OracleService.sol +41 -33
  343. package/contracts/oracle/OracleServiceManager.sol +6 -6
  344. package/contracts/pool/BasicPool.sol +12 -13
  345. package/contracts/pool/BundleService.sol +42 -31
  346. package/contracts/pool/BundleServiceManager.sol +6 -6
  347. package/contracts/pool/IBundleService.sol +11 -3
  348. package/contracts/pool/IPoolComponent.sol +18 -8
  349. package/contracts/pool/IPoolService.sol +50 -28
  350. package/contracts/pool/Pool.sol +61 -32
  351. package/contracts/pool/PoolService.sol +121 -117
  352. package/contracts/pool/PoolServiceManager.sol +4 -4
  353. package/contracts/product/ApplicationService.sol +50 -29
  354. package/contracts/product/ApplicationServiceManager.sol +4 -4
  355. package/contracts/product/BasicProduct.sol +1 -0
  356. package/contracts/product/ClaimService.sol +245 -88
  357. package/contracts/product/ClaimServiceManager.sol +4 -4
  358. package/contracts/product/IApplicationService.sol +1 -0
  359. package/contracts/product/IClaimService.sol +30 -7
  360. package/contracts/product/IPolicyService.sol +29 -34
  361. package/contracts/product/IPricingService.sol +7 -7
  362. package/contracts/product/IProductComponent.sol +17 -4
  363. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  364. package/contracts/product/PolicyService.sol +313 -172
  365. package/contracts/product/PolicyServiceManager.sol +4 -4
  366. package/contracts/product/PricingService.sol +47 -50
  367. package/contracts/product/PricingServiceManager.sol +3 -3
  368. package/contracts/product/Product.sol +76 -53
  369. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  370. package/contracts/product/RiskServiceManager.sol +39 -0
  371. package/contracts/registry/ChainNft.sol +65 -32
  372. package/contracts/registry/IRegistry.sol +55 -18
  373. package/contracts/registry/IRegistryService.sol +0 -9
  374. package/contracts/registry/Registry.sol +336 -197
  375. package/contracts/registry/RegistryAdmin.sol +134 -51
  376. package/contracts/registry/RegistryService.sol +55 -50
  377. package/contracts/registry/RegistryServiceManager.sol +2 -2
  378. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  379. package/contracts/registry/ReleaseRegistry.sol +204 -188
  380. package/contracts/registry/ServiceAuthorizationV3.sol +7 -9
  381. package/contracts/shared/Component.sol +12 -32
  382. package/contracts/shared/ComponentService.sol +20 -29
  383. package/contracts/shared/ComponentServiceManager.sol +8 -5
  384. package/contracts/shared/ComponentVerifyingService.sol +2 -3
  385. package/contracts/shared/ContractLib.sol +38 -0
  386. package/contracts/shared/IComponent.sol +0 -1
  387. package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
  388. package/contracts/shared/ILifecycle.sol +3 -1
  389. package/contracts/shared/INftOwnable.sol +2 -0
  390. package/contracts/shared/IPolicyHolder.sol +12 -22
  391. package/contracts/shared/InitializableERC165.sol +2 -2
  392. package/contracts/shared/InstanceLinkedComponent.sol +5 -6
  393. package/contracts/shared/KeyValueStore.sol +1 -1
  394. package/contracts/shared/Lifecycle.sol +15 -4
  395. package/contracts/shared/NftOwnable.sol +21 -5
  396. package/contracts/shared/PolicyHolder.sol +15 -52
  397. package/contracts/shared/Registerable.sol +4 -4
  398. package/contracts/shared/RegistryLinked.sol +3 -2
  399. package/contracts/shared/Service.sol +16 -11
  400. package/contracts/shared/TokenHandler.sol +99 -22
  401. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  402. package/contracts/staking/IStaking.sol +2 -1
  403. package/contracts/staking/IStakingService.sol +0 -3
  404. package/contracts/staking/StakeManagerLib.sol +18 -25
  405. package/contracts/staking/Staking.sol +11 -29
  406. package/contracts/staking/StakingManager.sol +8 -6
  407. package/contracts/staking/StakingReader.sol +12 -5
  408. package/contracts/staking/StakingService.sol +3 -17
  409. package/contracts/staking/StakingServiceManager.sol +2 -2
  410. package/contracts/staking/TargetManagerLib.sol +7 -3
  411. package/contracts/type/Amount.sol +15 -0
  412. package/contracts/type/ClaimId.sol +6 -1
  413. package/contracts/type/NftId.sol +1 -0
  414. package/contracts/type/ObjectType.sol +16 -11
  415. package/contracts/type/PayoutId.sol +10 -10
  416. package/contracts/type/RiskId.sol +15 -1
  417. package/contracts/type/Seconds.sol +8 -0
  418. package/contracts/type/StateId.sol +15 -1
  419. package/contracts/type/UFixed.sol +4 -0
  420. package/contracts/upgradeability/ProxyManager.sol +67 -34
  421. package/contracts/upgradeability/Versionable.sol +2 -2
  422. package/package.json +2 -1
  423. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  424. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  425. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  426. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  427. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  428. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  429. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  430. package/contracts/product/ProductServiceManager.sol +0 -39
  431. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,1427 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleDistribution",
4
+ "sourceName": "contracts/examples/unpermissioned/SimpleDistribution.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "instanceNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "contract IAuthorization",
20
+ "name": "authorization",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "initialOwner",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "token",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "address",
41
+ "name": "authority",
42
+ "type": "address"
43
+ }
44
+ ],
45
+ "name": "AccessManagedInvalidAuthority",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [
50
+ {
51
+ "internalType": "address",
52
+ "name": "caller",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "internalType": "uint32",
57
+ "name": "delay",
58
+ "type": "uint32"
59
+ }
60
+ ],
61
+ "name": "AccessManagedRequiredDelay",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "caller",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "AccessManagedUnauthorized",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentNameLengthZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "caller",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorComponentNotChainNft",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "NftId",
95
+ "name": "instanceNftId",
96
+ "type": "uint96"
97
+ }
98
+ ],
99
+ "name": "ErrorComponentNotInstance",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorComponentProductNftAlreadySet",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorComponentTokenAddressZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ErrorComponentWalletAddressZero",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [],
124
+ "name": "ErrorComponentWalletNotComponent",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "address",
131
+ "name": "distributor",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "internalType": "NftId",
136
+ "name": "distributorNftId",
137
+ "type": "uint96"
138
+ }
139
+ ],
140
+ "name": "ErrorDistributionAlreadyDistributor",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [
145
+ {
146
+ "internalType": "address",
147
+ "name": "distributor",
148
+ "type": "address"
149
+ }
150
+ ],
151
+ "name": "ErrorDistributionNotDistributor",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "ErrorNftOwnableAlreadyLinked",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "address",
169
+ "name": "contractAddress",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "name": "ErrorNftOwnableContractNotRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "ErrorNftOwnableInitialOwnerZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "account",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorNftOwnableNotOwner",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "registryAddress",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "ErrorNotRegistry",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [],
221
+ "name": "InvalidInitialization",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "NotInitializing",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": false,
234
+ "internalType": "address",
235
+ "name": "authority",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "AuthorityUpdated",
240
+ "type": "event"
241
+ },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": false,
247
+ "internalType": "uint64",
248
+ "name": "version",
249
+ "type": "uint64"
250
+ }
251
+ ],
252
+ "name": "Initialized",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "address",
261
+ "name": "token",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "internalType": "Amount",
267
+ "name": "limit",
268
+ "type": "uint96"
269
+ }
270
+ ],
271
+ "name": "LogComponentTokenHandlerApproved",
272
+ "type": "event"
273
+ },
274
+ {
275
+ "anonymous": false,
276
+ "inputs": [
277
+ {
278
+ "indexed": false,
279
+ "internalType": "address",
280
+ "name": "oldWallet",
281
+ "type": "address"
282
+ },
283
+ {
284
+ "indexed": false,
285
+ "internalType": "address",
286
+ "name": "newWallet",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "LogComponentWalletAddressChanged",
291
+ "type": "event"
292
+ },
293
+ {
294
+ "anonymous": false,
295
+ "inputs": [
296
+ {
297
+ "indexed": false,
298
+ "internalType": "address",
299
+ "name": "from",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "to",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "uint256",
311
+ "name": "amount",
312
+ "type": "uint256"
313
+ }
314
+ ],
315
+ "name": "LogComponentWalletTokensTransferred",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": false,
323
+ "internalType": "address",
324
+ "name": "to",
325
+ "type": "address"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "address",
330
+ "name": "caller",
331
+ "type": "address"
332
+ }
333
+ ],
334
+ "name": "LogDistributorUpdated",
335
+ "type": "event"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "COMPONENT_LOCATION_V1",
340
+ "outputs": [
341
+ {
342
+ "internalType": "bytes32",
343
+ "name": "",
344
+ "type": "bytes32"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [],
352
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
353
+ "outputs": [
354
+ {
355
+ "internalType": "bytes32",
356
+ "name": "",
357
+ "type": "bytes32"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
366
+ "outputs": [
367
+ {
368
+ "internalType": "bytes32",
369
+ "name": "",
370
+ "type": "bytes32"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
379
+ "outputs": [
380
+ {
381
+ "internalType": "bytes32",
382
+ "name": "",
383
+ "type": "bytes32"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "REGISTERABLE_LOCATION_V1",
392
+ "outputs": [
393
+ {
394
+ "internalType": "bytes32",
395
+ "name": "",
396
+ "type": "bytes32"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "address",
406
+ "name": "token",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "Amount",
411
+ "name": "spendingLimitAmount",
412
+ "type": "uint96"
413
+ }
414
+ ],
415
+ "name": "approveTokenHandler",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "Amount",
424
+ "name": "spendingLimitAmount",
425
+ "type": "uint96"
426
+ }
427
+ ],
428
+ "name": "approveTokenHandler",
429
+ "outputs": [],
430
+ "stateMutability": "nonpayable",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [],
435
+ "name": "authority",
436
+ "outputs": [
437
+ {
438
+ "internalType": "address",
439
+ "name": "",
440
+ "type": "address"
441
+ }
442
+ ],
443
+ "stateMutability": "view",
444
+ "type": "function"
445
+ },
446
+ {
447
+ "inputs": [
448
+ {
449
+ "internalType": "ReferralId",
450
+ "name": "referralId",
451
+ "type": "bytes8"
452
+ },
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "netPremiumAmount",
456
+ "type": "uint256"
457
+ }
458
+ ],
459
+ "name": "calculateRenewalFeeAmount",
460
+ "outputs": [
461
+ {
462
+ "internalType": "uint256",
463
+ "name": "feeAmount",
464
+ "type": "uint256"
465
+ }
466
+ ],
467
+ "stateMutability": "view",
468
+ "type": "function"
469
+ },
470
+ {
471
+ "inputs": [
472
+ {
473
+ "internalType": "address",
474
+ "name": "distributor",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "internalType": "DistributorType",
479
+ "name": "distributorType",
480
+ "type": "bytes8"
481
+ },
482
+ {
483
+ "internalType": "bytes",
484
+ "name": "data",
485
+ "type": "bytes"
486
+ }
487
+ ],
488
+ "name": "createDistributor",
489
+ "outputs": [
490
+ {
491
+ "internalType": "NftId",
492
+ "name": "distributorNftId",
493
+ "type": "uint96"
494
+ }
495
+ ],
496
+ "stateMutability": "nonpayable",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [
501
+ {
502
+ "internalType": "string",
503
+ "name": "name",
504
+ "type": "string"
505
+ },
506
+ {
507
+ "internalType": "UFixed",
508
+ "name": "minDiscountPercentage",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "UFixed",
513
+ "name": "maxDiscountPercentage",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "internalType": "UFixed",
518
+ "name": "commissionPercentage",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "internalType": "uint32",
523
+ "name": "maxReferralCount",
524
+ "type": "uint32"
525
+ },
526
+ {
527
+ "internalType": "uint32",
528
+ "name": "maxReferralLifetime",
529
+ "type": "uint32"
530
+ },
531
+ {
532
+ "internalType": "bool",
533
+ "name": "allowSelfReferrals",
534
+ "type": "bool"
535
+ },
536
+ {
537
+ "internalType": "bool",
538
+ "name": "allowRenewals",
539
+ "type": "bool"
540
+ },
541
+ {
542
+ "internalType": "bytes",
543
+ "name": "data",
544
+ "type": "bytes"
545
+ }
546
+ ],
547
+ "name": "createDistributorType",
548
+ "outputs": [
549
+ {
550
+ "internalType": "DistributorType",
551
+ "name": "distributorType",
552
+ "type": "bytes8"
553
+ }
554
+ ],
555
+ "stateMutability": "nonpayable",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [
560
+ {
561
+ "internalType": "string",
562
+ "name": "code",
563
+ "type": "string"
564
+ },
565
+ {
566
+ "internalType": "UFixed",
567
+ "name": "discountPercentage",
568
+ "type": "uint256"
569
+ },
570
+ {
571
+ "internalType": "uint32",
572
+ "name": "maxReferrals",
573
+ "type": "uint32"
574
+ },
575
+ {
576
+ "internalType": "Timestamp",
577
+ "name": "expiryAt",
578
+ "type": "uint40"
579
+ },
580
+ {
581
+ "internalType": "bytes",
582
+ "name": "data",
583
+ "type": "bytes"
584
+ }
585
+ ],
586
+ "name": "createReferral",
587
+ "outputs": [
588
+ {
589
+ "internalType": "ReferralId",
590
+ "name": "referralId",
591
+ "type": "bytes8"
592
+ }
593
+ ],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [],
599
+ "name": "getAuthorization",
600
+ "outputs": [
601
+ {
602
+ "internalType": "contract IAuthorization",
603
+ "name": "authorization",
604
+ "type": "address"
605
+ }
606
+ ],
607
+ "stateMutability": "view",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [],
612
+ "name": "getComponentInfo",
613
+ "outputs": [
614
+ {
615
+ "components": [
616
+ {
617
+ "internalType": "string",
618
+ "name": "name",
619
+ "type": "string"
620
+ },
621
+ {
622
+ "internalType": "NftId",
623
+ "name": "productNftId",
624
+ "type": "uint96"
625
+ },
626
+ {
627
+ "internalType": "contract IERC20Metadata",
628
+ "name": "token",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "contract TokenHandler",
633
+ "name": "tokenHandler",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "internalType": "address",
638
+ "name": "wallet",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "internalType": "bytes",
643
+ "name": "data",
644
+ "type": "bytes"
645
+ }
646
+ ],
647
+ "internalType": "struct IComponents.ComponentInfo",
648
+ "name": "info",
649
+ "type": "tuple"
650
+ }
651
+ ],
652
+ "stateMutability": "view",
653
+ "type": "function"
654
+ },
655
+ {
656
+ "inputs": [
657
+ {
658
+ "internalType": "string",
659
+ "name": "referralCode",
660
+ "type": "string"
661
+ }
662
+ ],
663
+ "name": "getDiscountPercentage",
664
+ "outputs": [
665
+ {
666
+ "internalType": "UFixed",
667
+ "name": "discountPercentage",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "ReferralStatus",
672
+ "name": "status",
673
+ "type": "uint8"
674
+ }
675
+ ],
676
+ "stateMutability": "view",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [
681
+ {
682
+ "internalType": "address",
683
+ "name": "distributor",
684
+ "type": "address"
685
+ }
686
+ ],
687
+ "name": "getDistributorNftId",
688
+ "outputs": [
689
+ {
690
+ "internalType": "NftId",
691
+ "name": "distributorNftId",
692
+ "type": "uint96"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [],
700
+ "name": "getInitialComponentInfo",
701
+ "outputs": [
702
+ {
703
+ "components": [
704
+ {
705
+ "internalType": "string",
706
+ "name": "name",
707
+ "type": "string"
708
+ },
709
+ {
710
+ "internalType": "NftId",
711
+ "name": "productNftId",
712
+ "type": "uint96"
713
+ },
714
+ {
715
+ "internalType": "contract IERC20Metadata",
716
+ "name": "token",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "contract TokenHandler",
721
+ "name": "tokenHandler",
722
+ "type": "address"
723
+ },
724
+ {
725
+ "internalType": "address",
726
+ "name": "wallet",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "data",
732
+ "type": "bytes"
733
+ }
734
+ ],
735
+ "internalType": "struct IComponents.ComponentInfo",
736
+ "name": "info",
737
+ "type": "tuple"
738
+ }
739
+ ],
740
+ "stateMutability": "view",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [],
745
+ "name": "getInitialInfo",
746
+ "outputs": [
747
+ {
748
+ "components": [
749
+ {
750
+ "internalType": "NftId",
751
+ "name": "nftId",
752
+ "type": "uint96"
753
+ },
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "parentNftId",
757
+ "type": "uint96"
758
+ },
759
+ {
760
+ "internalType": "ObjectType",
761
+ "name": "objectType",
762
+ "type": "uint8"
763
+ },
764
+ {
765
+ "internalType": "bool",
766
+ "name": "isInterceptor",
767
+ "type": "bool"
768
+ },
769
+ {
770
+ "internalType": "address",
771
+ "name": "objectAddress",
772
+ "type": "address"
773
+ },
774
+ {
775
+ "internalType": "address",
776
+ "name": "initialOwner",
777
+ "type": "address"
778
+ },
779
+ {
780
+ "internalType": "bytes",
781
+ "name": "data",
782
+ "type": "bytes"
783
+ }
784
+ ],
785
+ "internalType": "struct IRegistry.ObjectInfo",
786
+ "name": "info",
787
+ "type": "tuple"
788
+ }
789
+ ],
790
+ "stateMutability": "view",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [],
795
+ "name": "getInstance",
796
+ "outputs": [
797
+ {
798
+ "internalType": "contract IInstance",
799
+ "name": "instance",
800
+ "type": "address"
801
+ }
802
+ ],
803
+ "stateMutability": "view",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [],
808
+ "name": "getName",
809
+ "outputs": [
810
+ {
811
+ "internalType": "string",
812
+ "name": "name",
813
+ "type": "string"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [],
821
+ "name": "getNftId",
822
+ "outputs": [
823
+ {
824
+ "internalType": "NftId",
825
+ "name": "",
826
+ "type": "uint96"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [],
834
+ "name": "getOwner",
835
+ "outputs": [
836
+ {
837
+ "internalType": "address",
838
+ "name": "",
839
+ "type": "address"
840
+ }
841
+ ],
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [],
847
+ "name": "getProductNftId",
848
+ "outputs": [
849
+ {
850
+ "internalType": "NftId",
851
+ "name": "productNftId",
852
+ "type": "uint96"
853
+ }
854
+ ],
855
+ "stateMutability": "view",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [
860
+ {
861
+ "internalType": "string",
862
+ "name": "referralCode",
863
+ "type": "string"
864
+ }
865
+ ],
866
+ "name": "getReferralId",
867
+ "outputs": [
868
+ {
869
+ "internalType": "ReferralId",
870
+ "name": "referralId",
871
+ "type": "bytes8"
872
+ }
873
+ ],
874
+ "stateMutability": "view",
875
+ "type": "function"
876
+ },
877
+ {
878
+ "inputs": [],
879
+ "name": "getRegistry",
880
+ "outputs": [
881
+ {
882
+ "internalType": "contract IRegistry",
883
+ "name": "",
884
+ "type": "address"
885
+ }
886
+ ],
887
+ "stateMutability": "view",
888
+ "type": "function"
889
+ },
890
+ {
891
+ "inputs": [],
892
+ "name": "getToken",
893
+ "outputs": [
894
+ {
895
+ "internalType": "contract IERC20Metadata",
896
+ "name": "token",
897
+ "type": "address"
898
+ }
899
+ ],
900
+ "stateMutability": "view",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [],
905
+ "name": "getTokenHandler",
906
+ "outputs": [
907
+ {
908
+ "internalType": "contract TokenHandler",
909
+ "name": "tokenHandler",
910
+ "type": "address"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [],
918
+ "name": "getWallet",
919
+ "outputs": [
920
+ {
921
+ "internalType": "address",
922
+ "name": "walletAddress",
923
+ "type": "address"
924
+ }
925
+ ],
926
+ "stateMutability": "view",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [
931
+ {
932
+ "internalType": "address",
933
+ "name": "registry",
934
+ "type": "address"
935
+ },
936
+ {
937
+ "internalType": "NftId",
938
+ "name": "instanceNftId",
939
+ "type": "uint96"
940
+ },
941
+ {
942
+ "internalType": "contract IAuthorization",
943
+ "name": "authorization",
944
+ "type": "address"
945
+ },
946
+ {
947
+ "internalType": "address",
948
+ "name": "initialOwner",
949
+ "type": "address"
950
+ },
951
+ {
952
+ "internalType": "string",
953
+ "name": "name",
954
+ "type": "string"
955
+ },
956
+ {
957
+ "internalType": "address",
958
+ "name": "token",
959
+ "type": "address"
960
+ }
961
+ ],
962
+ "name": "initialize",
963
+ "outputs": [],
964
+ "stateMutability": "nonpayable",
965
+ "type": "function"
966
+ },
967
+ {
968
+ "inputs": [],
969
+ "name": "isConsumingScheduledOp",
970
+ "outputs": [
971
+ {
972
+ "internalType": "bytes4",
973
+ "name": "",
974
+ "type": "bytes4"
975
+ }
976
+ ],
977
+ "stateMutability": "view",
978
+ "type": "function"
979
+ },
980
+ {
981
+ "inputs": [
982
+ {
983
+ "internalType": "address",
984
+ "name": "candidate",
985
+ "type": "address"
986
+ }
987
+ ],
988
+ "name": "isDistributor",
989
+ "outputs": [
990
+ {
991
+ "internalType": "bool",
992
+ "name": "",
993
+ "type": "bool"
994
+ }
995
+ ],
996
+ "stateMutability": "view",
997
+ "type": "function"
998
+ },
999
+ {
1000
+ "inputs": [],
1001
+ "name": "isNftInterceptor",
1002
+ "outputs": [
1003
+ {
1004
+ "internalType": "bool",
1005
+ "name": "isInterceptor",
1006
+ "type": "bool"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [],
1014
+ "name": "isRegistered",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "bool",
1018
+ "name": "",
1019
+ "type": "bool"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [],
1027
+ "name": "isVerifying",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "bool",
1031
+ "name": "verifying",
1032
+ "type": "bool"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "pure",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [],
1040
+ "name": "linkToRegisteredNftId",
1041
+ "outputs": [
1042
+ {
1043
+ "internalType": "NftId",
1044
+ "name": "nftId",
1045
+ "type": "uint96"
1046
+ }
1047
+ ],
1048
+ "stateMutability": "nonpayable",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [],
1053
+ "name": "lock",
1054
+ "outputs": [],
1055
+ "stateMutability": "nonpayable",
1056
+ "type": "function"
1057
+ },
1058
+ {
1059
+ "inputs": [
1060
+ {
1061
+ "internalType": "address",
1062
+ "name": "to",
1063
+ "type": "address"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "tokenId",
1068
+ "type": "uint256"
1069
+ }
1070
+ ],
1071
+ "name": "nftMint",
1072
+ "outputs": [],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "address",
1080
+ "name": "from",
1081
+ "type": "address"
1082
+ },
1083
+ {
1084
+ "internalType": "address",
1085
+ "name": "to",
1086
+ "type": "address"
1087
+ },
1088
+ {
1089
+ "internalType": "uint256",
1090
+ "name": "tokenId",
1091
+ "type": "uint256"
1092
+ }
1093
+ ],
1094
+ "name": "nftTransferFrom",
1095
+ "outputs": [],
1096
+ "stateMutability": "nonpayable",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "ReferralId",
1103
+ "name": "referralId",
1104
+ "type": "bytes8"
1105
+ },
1106
+ {
1107
+ "internalType": "uint256",
1108
+ "name": "feeAmount",
1109
+ "type": "uint256"
1110
+ }
1111
+ ],
1112
+ "name": "processRenewal",
1113
+ "outputs": [],
1114
+ "stateMutability": "nonpayable",
1115
+ "type": "function"
1116
+ },
1117
+ {
1118
+ "inputs": [],
1119
+ "name": "register",
1120
+ "outputs": [],
1121
+ "stateMutability": "nonpayable",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [
1126
+ {
1127
+ "internalType": "address",
1128
+ "name": "newAuthority",
1129
+ "type": "address"
1130
+ }
1131
+ ],
1132
+ "name": "setAuthority",
1133
+ "outputs": [],
1134
+ "stateMutability": "nonpayable",
1135
+ "type": "function"
1136
+ },
1137
+ {
1138
+ "inputs": [
1139
+ {
1140
+ "components": [
1141
+ {
1142
+ "internalType": "UFixed",
1143
+ "name": "fractionalFee",
1144
+ "type": "uint256"
1145
+ },
1146
+ {
1147
+ "internalType": "uint256",
1148
+ "name": "fixedFee",
1149
+ "type": "uint256"
1150
+ }
1151
+ ],
1152
+ "internalType": "struct Fee",
1153
+ "name": "distributionFee",
1154
+ "type": "tuple"
1155
+ },
1156
+ {
1157
+ "components": [
1158
+ {
1159
+ "internalType": "UFixed",
1160
+ "name": "fractionalFee",
1161
+ "type": "uint256"
1162
+ },
1163
+ {
1164
+ "internalType": "uint256",
1165
+ "name": "fixedFee",
1166
+ "type": "uint256"
1167
+ }
1168
+ ],
1169
+ "internalType": "struct Fee",
1170
+ "name": "minDistributionOwnerFee",
1171
+ "type": "tuple"
1172
+ }
1173
+ ],
1174
+ "name": "setFees",
1175
+ "outputs": [],
1176
+ "stateMutability": "nonpayable",
1177
+ "type": "function"
1178
+ },
1179
+ {
1180
+ "inputs": [
1181
+ {
1182
+ "internalType": "address",
1183
+ "name": "newWallet",
1184
+ "type": "address"
1185
+ }
1186
+ ],
1187
+ "name": "setWallet",
1188
+ "outputs": [],
1189
+ "stateMutability": "nonpayable",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "bytes4",
1196
+ "name": "interfaceId",
1197
+ "type": "bytes4"
1198
+ }
1199
+ ],
1200
+ "name": "supportsInterface",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "bool",
1204
+ "name": "",
1205
+ "type": "bool"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "view",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [],
1213
+ "name": "unlock",
1214
+ "outputs": [],
1215
+ "stateMutability": "nonpayable",
1216
+ "type": "function"
1217
+ },
1218
+ {
1219
+ "inputs": [
1220
+ {
1221
+ "internalType": "NftId",
1222
+ "name": "distributorNftId",
1223
+ "type": "uint96"
1224
+ },
1225
+ {
1226
+ "internalType": "DistributorType",
1227
+ "name": "distributorType",
1228
+ "type": "bytes8"
1229
+ },
1230
+ {
1231
+ "internalType": "bytes",
1232
+ "name": "data",
1233
+ "type": "bytes"
1234
+ }
1235
+ ],
1236
+ "name": "updateDistributorType",
1237
+ "outputs": [],
1238
+ "stateMutability": "nonpayable",
1239
+ "type": "function"
1240
+ },
1241
+ {
1242
+ "inputs": [
1243
+ {
1244
+ "internalType": "NftId",
1245
+ "name": "distributorNftId",
1246
+ "type": "uint96"
1247
+ },
1248
+ {
1249
+ "internalType": "Amount",
1250
+ "name": "amount",
1251
+ "type": "uint96"
1252
+ }
1253
+ ],
1254
+ "name": "withdrawCommission",
1255
+ "outputs": [
1256
+ {
1257
+ "internalType": "Amount",
1258
+ "name": "withdrawnAmount",
1259
+ "type": "uint96"
1260
+ }
1261
+ ],
1262
+ "stateMutability": "nonpayable",
1263
+ "type": "function"
1264
+ },
1265
+ {
1266
+ "inputs": [
1267
+ {
1268
+ "internalType": "Amount",
1269
+ "name": "amount",
1270
+ "type": "uint96"
1271
+ }
1272
+ ],
1273
+ "name": "withdrawFees",
1274
+ "outputs": [
1275
+ {
1276
+ "internalType": "Amount",
1277
+ "name": "withdrawnAmount",
1278
+ "type": "uint96"
1279
+ }
1280
+ ],
1281
+ "stateMutability": "nonpayable",
1282
+ "type": "function"
1283
+ }
1284
+ ],
1285
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051614f77380380614f7783398101604081905261002e91610b10565b61006c858585856040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b8152508661007660201b60201c565b5050505050610d38565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bf5750825b90505f826001600160401b031660011480156100da5750303b155b9050811580156100e8575080155b156101065760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013457845460ff60401b1916680100000000000000001785555b6101428b8b8b8b8b8b610195565b831561018857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b61019d6101d7565b6101cf86868686868660405180602001604052805f81525060405180602001604052805f81525061022760201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661022557604051631afcd79f60e31b815260040160405180910390fd5b565b61022f6101d7565b61024388888686600e8b60018c8a8a6102d6565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900610273600e610583565b610583565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556102a061026e600b90565b81546001600160a01b0319166001600160a01b03919091161781556102cb6301a39f4760e01b61069e565b505050505050505050565b6102de6101d7565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561034e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103729190610b8c565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156103cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f19190610ba7565b61041e57604051637db5183160e11b81526001600160601b038b1660048201526024015b60405180910390fd5b80546040805163bf7e214f60e01b81529051610498926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610466573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048a9190610b8c565b8c8c8c8c8c8b8b8b8b6106ca565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156104df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105039190610b8c565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561054161026e600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610573634a531f3360e01b61069e565b6101886376c9b41160e11b61069e565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156105ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106109190610bc6565b90506106246001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015610673573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106979190610b8c565b9392505050565b6106a66101d7565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6106d26101d7565b6106e08989878787876107cf565b6106e98a610881565b6001600160a01b038616610710576040516327eab2e360e11b815260040160405180910390fd5b86515f036107315760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061075d8982610c7e565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016107ae8382610c7e565b506107bf634a531f3360e01b61069e565b610188632986755f60e11b61069e565b6107d76101d7565b6107e18287610895565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108778382610c7e565b5050505050505050565b6108896101d7565b61089281610927565b50565b61089d6101d7565b6108a681610938565b6108ae610a44565b6001600160a01b0382166108d55760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b61092f6101d7565b61089281610a89565b6109406101d7565b806001600160a01b03163b5f036109755760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610415565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa9250505080156109ef575060408051601f3d908101601f191682019092526109ec91810190610ba7565b60015b610a175760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610415565b80610a405760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610415565b5050565b610a4c6101d7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610892575f80fd5b5f805f805f60a08688031215610b24575f80fd5b8551610b2f81610afc565b60208701519095506001600160601b0381168114610b4b575f80fd5b6040870151909450610b5c81610afc565b6060870151909350610b6d81610afc565b6080870151909250610b7e81610afc565b809150509295509295909350565b5f60208284031215610b9c575f80fd5b815161069781610afc565b5f60208284031215610bb7575f80fd5b81518015158114610697575f80fd5b5f60208284031215610bd6575f80fd5b815160ff81168114610697575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610c0e57607f821691505b602082108103610c2c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c7957805f5260205f20601f840160051c81016020851015610c575750805b601f840160051c820191505b81811015610c76575f8155600101610c63565b50505b505050565b81516001600160401b03811115610c9757610c97610be6565b610cab81610ca58454610bfa565b84610c32565b6020601f821160018114610cdd575f8315610cc65750848201515b5f19600385901b1c1916600184901b178455610c76565b5f84815260208120601f198516915b82811015610d0c5787850151825560209485019460019092019101610cec565b5084821015610d2957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b61423280610d455f395ff3fe608060405234801561000f575f80fd5b5060043610610296575f3560e01c80637a9e5e4b11610161578063bb1e0e59116100ca578063e7f7fb8611610084578063e7f7fb861461060a578063ea15869f1461061d578063f5860e1a14610631578063f80e207214610645578063f83d08ba14610658578063f86664d214610660575f80fd5b8063bb1e0e5914610582578063bf7e214f14610595578063d16d0fe81461059d578063de7b5d14146105b0578063deaa59df146105cd578063e145d46c146105e0575f80fd5b8063a69df4b51161011b578063a69df4b514610525578063ada9652e1461052d578063b2a6b42d14610541578063b423086c14610554578063b6b412ba1461055c578063bae99c991461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd578063893d20e8146104d45780638f0c86fa146104dc5780638fb36037146104ef57806390edbd3514610510575f80fd5b80632b5198b11161020357806359660bea116101bd57806359660bea146104385780635ab1bd531461044b5780635dcb3bae1461045c578063644c45e01461046f5780636bd1c0eb146104775780637427d7a8146104a7575f80fd5b80632b5198b1146103c25780632eb3e6f4146103ee5780633d683fd914610402578063419197fe1461041557806343d752d3146104285780635741e5e914610430575f80fd5b806317d7de7c1161025457806317d7de7c1461034b5780631aa3a008146103605780631c6b21901461036a5780631eff4b221461037d57806321df0da7146103b257806322366844146103ba575f80fd5b806251884a1461029a57806301ffc9a7146102bf57806307e71a6e146102fb5780630fec111c1461030e5780631329960414610323578063138461e014610343575b5f80fd5b6102a2610673565b6040516001600160601b0390911681526020015b60405180910390f35b6102eb6102cd3660046133b8565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102b6565b6102a26103093660046133f3565b610685565b610316610836565b6040516102b69190613458565b61032b6109f4565b6040516001600160a01b0390911681526020016102b6565b6102a2610a06565b610353610a15565b6040516102b691906134ec565b610368610a25565b005b6102a26103783660046134fe565b610ad2565b6103a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b6565b61032b610b28565b6102eb610b3a565b6103d56103d0366004613655565b610c30565b6040516001600160c01b031990911681526020016102b6565b6103a45f805160206141dd83398151915281565b61036861041036600461372b565b610c94565b61036861042336600461379c565b610da4565b61032b610f64565b6102eb610f76565b6103d56104463660046137b8565b61102a565b6001546001600160a01b031661032b565b6102a261046a366004613851565b611081565b6102a26110db565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661032b565b6103d56104b536600461386e565b6110f6565b6103686104c836600461389f565b611176565b60016102eb565b61032b6111fc565b6102eb6104ea36600461389f565b61132d565b6104f76113f2565b6040516001600160e01b031990911681526020016102b6565b610518611427565b6040516102b691906138ba565b61036861144c565b6103a45f8051602061415d83398151915281565b6102a261054f36600461389f565b6114ea565b61051861152c565b61036861056a366004613999565b61153c565b61036861057d3660046134fe565b61158a565b6103686105903660046139cc565b6115d9565b61032b611676565b6103a46105ab3660046139f6565b611691565b5f805160206141dd833981519152546001600160a01b031661032b565b6103686105db36600461389f565b6116a5565b6105f36105ee36600461386e565b61191b565b6040805192835260ff9091166020830152016102b6565b610368610618366004613a12565b6119d5565b6103a45f8051602061417d83398151915281565b6103a45f805160206141bd83398151915281565b6103686106533660046139f6565b611a7d565b610368611a86565b61036861066e366004613a50565b611afa565b5f61067c611427565b60200151905090565b5f610692335b5f36611c10565b61069b3361132d565b6106bf5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610724573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107489190613af0565b6107795760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106b6565b8461078c6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108039190613af0565b6108225760405163086391f760e31b81523360048201526024016106b6565b61082c8686611d0e565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090a9190613b16565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109526111fc565b6001600160a01b0316815260200182600101805461096f90613b31565b80601f016020809104026020016040519081016040528092919081815260200182805461099b90613b31565b80156109e65780601f106109bd576101008083540402835291602001916109e6565b820191905f5260205f20905b8154815290600101906020018083116109c957829003601f168201915b505050505081525091505090565b5f6109fd611427565b60800151905090565b5f610a1030611d9a565b905090565b6060610a1f611427565b51919050565b610a2d6111fc565b6001600160a01b0316336001600160a01b031614610a605760405163086391f760e31b81523360048201526024016106b6565b5f805160206141bd833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610ab0575f80fd5b505af1158015610ac2573d5f803e3d5ffd5b50505050610ad05f19611f8e565b565b5f610adb6111fc565b6001600160a01b0316336001600160a01b031614610b0e5760405163086391f760e31b81523360048201526024016106b6565b610b173361068b565b610b208261200c565b90505b919050565b5f610b31611427565b60400151905090565b5f610b4d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb59190613b16565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a109190613af0565b5f610c396111fc565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106b6565b610c753361068b565b610c868a8a8a8a8a8a8a8a8a612090565b9a9950505050505050505050565b610c9c6111fc565b6001600160a01b0316336001600160a01b031614610ccf5760405163086391f760e31b81523360048201526024016106b6565b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610d34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d589190613af0565b610d895760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106b6565b610d923361068b565b610d9d85858561214f565b5050505050565b610dac6111fc565b6001600160a01b0316336001600160a01b031614610ddf5760405163086391f760e31b81523360048201526024016106b6565b30610de86109f4565b6001600160a01b031614610e0f5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610e38610f64565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610e78610f64565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef29190613b69565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5f9190613af0565b505050565b5f610f6d611427565b60600151905090565b5f610f7f610b3a565b15610ffa576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610fd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f6d9190810190613bf3565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6110343361132d565b6110535760405163637c41bb60e01b81523360048201526024016106b6565b61105c3361068b565b5f611066336114ea565b9050611076818888888888612163565b979650505050505050565b5f61108a6111fc565b6001600160a01b0316336001600160a01b0316146110bd5760405163086391f760e31b81523360048201526024016106b6565b6110c63361068b565b6110d1848484612219565b90505b9392505050565b5f8051602061415d833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66111196110db565b846040518363ffffffff1660e01b8152600401611137929190613cc3565b602060405180830381865af4158015611152573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b209190613ce4565b3361117f611676565b6001600160a01b0316816001600160a01b0316146111ba5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b6565b816001600160a01b03163b5f036111ef576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b6565b6111f8826123dd565b5050565b5f805f8051602061415d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128c9190613af0565b15611317576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156112ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113119190613cff565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141bd8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156113ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d49190613af0565b5f8051602061419d83398151915280545f9190600160a01b900460ff16611419575f611311565b638fb3603760e01b91505090565b61142f613362565b611437610b3a565b1561144457610a1061243d565b610a1061152c565b6114546111fc565b6001600160a01b0316336001600160a01b0316146114875760405163086391f760e31b81523360048201526024016106b6565b611491600a612604565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156114d2575f80fd5b505af11580156114e4573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611534613362565b610a1061243d565b6115446111fc565b6001600160a01b0316336001600160a01b0316146115775760405163086391f760e31b81523360048201526024016106b6565b6115803361068b565b6111f88282612705565b6115926111fc565b6001600160a01b0316336001600160a01b0316146115c55760405163086391f760e31b81523360048201526024016106b6565b6115d66115d0610b28565b82610da4565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611620573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116449190613cff565b6001600160a01b0316336001600160a01b0316146111f85760405162f0630960e01b81523360048201526024016106b6565b5f8051602061419d833981519152546001600160a01b031690565b5f61169c8282613d1a565b90505b92915050565b6116ad6111fc565b6001600160a01b0316336001600160a01b0316146116e05760405163086391f760e31b81523360048201526024016106b6565b5f6116e96109f4565b90505f6116f4610b28565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa15801561173a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175e9190613b69565b90506117698361276c565b8015610f5f57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036118ca576117d2610f64565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161181b91815260200190565b602060405180830381865af4158015611836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185a9190613b16565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156118af575f80fd5b505af11580156118c1573d5f803e3d5ffd5b50505050505050565b6118d2610f64565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161181b91815260200190565b5f805f611927846110f6565b905061195a7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119cb9190613d3d565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a409190613cff565b6001600160a01b0316336001600160a01b031614611a725760405162f0630960e01b81523360048201526024016106b6565b610f5f838383612805565b6111f83361068b565b611a8e6111fc565b6001600160a01b0316336001600160a01b031614611ac15760405163086391f760e31b81523360048201526024016106b6565b611acb600a612604565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016114bb565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015611b3e5750825b90505f826001600160401b03166001148015611b595750303b155b905081158015611b67575080155b15611b855760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611baf57845460ff60401b1916600160401b1785555b611bbd8b8b8b8b8b8b6129ab565b8315611c0357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f8051602061419d8339815191525f80611c48611c2b611676565b8730611c3a60045f8a8c613d61565b611c4391613d88565b6129df565b9150915081611d065763ffffffff811615611ce357825460ff60a01b1916600160a01b178355611c76611676565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ca593929190613dc0565b5f604051808303815f87803b158015611cbc575f80fd5b505af1158015611cce573d5f803e3d5ffd5b5050845460ff60a01b1916855550611d069050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b6565b505050505050565b5f5f805160206141bd833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611d76573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c9190613b16565b5f805f8051602061415d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2a9190613af0565b15611e565780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ea8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ecc9190613af0565b611ef45760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b6565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6a9190613b16565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f8051602061417d833981519152906001600160a01b031663095ea7b3611fd5611427565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610f1f565b5f5f805160206141dd833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561206c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b209190613b16565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f805160206141bd833981519152916001600160a01b0390911690632b5198b190612100908e908e908e908e908e908e908e908e908e90600401613dff565b6020604051808303815f875af115801561211c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121409190613ce4565b9b9a5050505050505050505050565b5f5f805160206141bd833981519152610d9d565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f805160206141bd833981519152916001600160a01b0390911690638dd2b781906121cd908b908b908b908b908b908b90600401613e70565b6020604051808303815f875af11580156121e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220d9190613ce4565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141bd8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156122ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122de9190613af0565b15612329576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106b6565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061235f90889088908890600401613ecf565b6020604051808303815f875af115801561237b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239f9190613b16565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061419d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612445613362565b5f6124586001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561249c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c09190613b16565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612519573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253d9190613af0565b156125fc577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361257a6110db565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156125bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125e29190810190613f02565b60808101519092506001600160a01b0316156125fc575090565b611311612ae7565b5f805f805160206141dd8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa15801561265a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061267e9190613fda565b90506126926001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156126e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d49190613cff565b5f805160206141bd83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906127439085908590600401613ff5565b5f604051808303815f87803b15801561275a575f80fd5b505af1158015611d06573d5f803e3d5ffd5b6127746111fc565b6001600160a01b0316336001600160a01b0316146127a75760405163086391f760e31b81523360048201526024016106b6565b6127b1600b612604565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156127f3575f80fd5b505af1158015610d9d573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f805160206141bd833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561289e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c29190613b16565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c9190613b16565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6129b3612c4b565b611d0686868686868660405180602001604052805f81525060405180602001604052805f815250612c94565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a4d919061401b565b5f60405180830381855afa9150503d805f8114612a85576040519150601f19603f3d011682016040523d82523d5f602084013e612a8a565b606091505b50915091508115612adc576040815110612abc5780806020019051810190612ab29190614031565b9094509250612adc565b6020815110612adc5780806020019051810190612ad99190613af0565b93505b505094509492505050565b612aef613362565b5f5f8051602061417d83398151915290506040518060c00160405280825f018054612b1990613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4590613b31565b8015612b905780601f10612b6757610100808354040283529160200191612b90565b820191905f5260205f20905b815481529060010190602001808311612b7357829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612be1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c059190613b16565b6001600160601b0316815260018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161096f90613b31565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610ad057604051631afcd79f60e31b815260040160405180910390fd5b612c9c612c4b565b612cb088888686600e8b60018c8a8a612d2a565b5f805160206141bd833981519152612cc8600e612604565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612cf4600b612604565b81546001600160a01b0319166001600160a01b0391909116178155612d1f6301a39f4760e01b612fba565b505050505050505050565b612d32612c4b565b5f5f805160206141dd83398151915260405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612d8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612db39190613cff565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612e0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e329190613af0565b612e5a57604051637db5183160e11b81526001600160601b038b1660048201526024016106b6565b80546040805163bf7e214f60e01b81529051612ed4926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015612ea2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec69190613cff565b8c8c8c8c8c8b8b8b8b612fe6565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f3f9190613cff565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612f7c600b612604565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612fae634a531f3360e01b612fba565b611c036376c9b41160e11b5b612fc2612c4b565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612fee612c4b565b612ffc8989878787876130d8565b6130058a61317d565b6001600160a01b03861661302c576040516327eab2e360e11b815260040160405180910390fd5b86515f0361304d5760405163591eebf360e11b815260040160405180910390fd5b5f8051602061417d8339815191528061306689826140a2565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016130b783826140a2565b506130c8634a531f3360e01b612fba565b611c03632986755f60e11b612fba565b6130e0612c4b565b6130ea828761318e565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161317383826140a2565b5050505050505050565b613185612c4b565b6115d681613204565b613196612c4b565b61319f81613215565b6131a761331d565b6001600160a01b0382166131ce5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061415d83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61320c612c4b565b6115d6816123dd565b61321d612c4b565b806001600160a01b03163b5f036132525760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa9250505080156132cc575060408051601f3d908101601f191682019092526132c991810190613af0565b60015b6132f45760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b806111f85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b6565b613325612c4b565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156133c8575f80fd5b81356001600160e01b0319811681146110d4575f80fd5b6001600160601b03811681146115d6575f80fd5b5f8060408385031215613404575f80fd5b823561340f816133df565b9150602083013561341f816133df565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516134a0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526134e461010084018261342a565b949350505050565b602081525f61169c602083018461342a565b5f6020828403121561350e575f80fd5b81356110d4816133df565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561354f5761354f613519565b60405290565b60405160c081016001600160401b038111828210171561354f5761354f613519565b604051601f8201601f191681016001600160401b038111828210171561359f5761359f613519565b604052919050565b5f6001600160401b038211156135bf576135bf613519565b50601f01601f191660200190565b5f82601f8301126135dc575f80fd5b8135602083015f6135f46135ef846135a7565b613577565b9050828152858383011115613607575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff811681146115d6575f80fd5b8035610b2381613621565b80151581146115d6575f80fd5b8035610b238161363d565b5f805f805f805f805f6101208a8c03121561366e575f80fd5b89356001600160401b03811115613683575f80fd5b61368f8c828d016135cd565b99505060208a0135975060408a0135965060608a0135955060808a01356136b581613621565b94506136c360a08b01613632565b93506136d160c08b0161364a565b92506136df60e08b0161364a565b91506101008a01356001600160401b038111156136fa575f80fd5b6137068c828d016135cd565b9150509295985092959850929598565b6001600160c01b0319811681146115d6575f80fd5b5f805f6060848603121561373d575f80fd5b8335613748816133df565b9250602084013561375881613716565b915060408401356001600160401b03811115613772575f80fd5b61377e868287016135cd565b9150509250925092565b6001600160a01b03811681146115d6575f80fd5b5f80604083850312156137ad575f80fd5b823561340f81613788565b5f805f805f60a086880312156137cc575f80fd5b85356001600160401b038111156137e1575f80fd5b6137ed888289016135cd565b95505060208601359350604086013561380581613621565b9250606086013564ffffffffff8116811461381e575f80fd5b915060808601356001600160401b03811115613838575f80fd5b613844888289016135cd565b9150509295509295909350565b5f805f60608486031215613863575f80fd5b833561374881613788565b5f6020828403121561387e575f80fd5b81356001600160401b03811115613893575f80fd5b6134e4848285016135cd565b5f602082840312156138af575f80fd5b81356110d481613788565b602081525f825160c060208401526138d560e084018261342a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161392860a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152613944828261342a565b95945050505050565b5f6040828403121561395d575f80fd5b604080519081016001600160401b038111828210171561397f5761397f613519565b604052823581526020928301359281019290925250919050565b5f80608083850312156139aa575f80fd5b6139b4848461394d565b91506139c3846040850161394d565b90509250929050565b5f80604083850312156139dd575f80fd5b82356139e881613788565b946020939093013593505050565b5f8060408385031215613a07575f80fd5b82356139e881613716565b5f805f60608486031215613a24575f80fd5b8335613a2f81613788565b92506020840135613a3f81613788565b929592945050506040919091013590565b5f805f805f8060c08789031215613a65575f80fd5b8635613a7081613788565b95506020870135613a80816133df565b94506040870135613a9081613788565b93506060870135613aa081613788565b925060808701356001600160401b03811115613aba575f80fd5b613ac689828a016135cd565b92505060a0870135613ad781613788565b809150509295509295509295565b8051610b238161363d565b5f60208284031215613b00575f80fd5b81516110d48161363d565b8051610b23816133df565b5f60208284031215613b26575f80fd5b81516110d4816133df565b600181811c90821680613b4557607f821691505b602082108103613b6357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613b79575f80fd5b5051919050565b60ff811681146115d6575f80fd5b8051610b2381613b80565b8051610b2381613788565b5f82601f830112613bb3575f80fd5b8151602083015f613bc66135ef846135a7565b9050828152858383011115613bd9575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613c03575f80fd5b81516001600160401b03811115613c18575f80fd5b820160e08185031215613c29575f80fd5b613c3161352d565b613c3a82613b0b565b8152613c4860208301613b0b565b6020820152613c5960408301613b8e565b6040820152613c6a60608301613ae5565b6060820152613c7b60808301613b99565b6080820152613c8c60a08301613b99565b60a082015260c08201516001600160401b03811115613ca9575f80fd5b613cb586828501613ba4565b60c083015250949350505050565b6001600160601b0383168152604060208201525f6110d1604083018461342a565b5f60208284031215613cf4575f80fd5b81516110d481613716565b5f60208284031215613d0f575f80fd5b81516110d481613788565b808202811582820484141761169f57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613d4e575f80fd5b8251602084015190925061341f81613b80565b5f8085851115613d6f575f80fd5b83861115613d7b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613db9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613e1361012083018c61342a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613e60818561342a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613e9160c083018861342a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613ec2818561342a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906139449083018461342a565b5f60208284031215613f12575f80fd5b81516001600160401b03811115613f27575f80fd5b820160c08185031215613f38575f80fd5b613f40613555565b81516001600160401b03811115613f55575f80fd5b613f6186828501613ba4565b825250613f7060208301613b0b565b6020820152613f8160408301613b99565b6040820152613f9260608301613b99565b6060820152613fa360808301613b99565b608082015260a08201516001600160401b03811115613fc0575f80fd5b613fcc86828501613ba4565b60a083015250949350505050565b5f60208284031215613fea575f80fd5b81516110d481613b80565b8251815260208084015181830152825160408301528201516060820152608081016110d4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614042575f80fd5b825161404d8161363d565b602084015190925061341f81613621565b601f821115610f5f57805f5260205f20601f840160051c810160208510156140835750805b601f840160051c820191505b81811015610d9d575f815560010161408f565b81516001600160401b038111156140bb576140bb613519565b6140cf816140c98454613b31565b8461405e565b6020601f821160018114614101575f83156140ea5750848201515b5f19600385901b1c1916600184901b178455610d9d565b5f84815260208120601f198516915b828110156141305787850151825560209485019460019092019101614110565b508482101561414d57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212201e3ca5cb5e097b1f98a2b98138a0a6a9bddc1b2d8e0b22bfc5de46179f737b4164736f6c634300081a0033",
1286
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610296575f3560e01c80637a9e5e4b11610161578063bb1e0e59116100ca578063e7f7fb8611610084578063e7f7fb861461060a578063ea15869f1461061d578063f5860e1a14610631578063f80e207214610645578063f83d08ba14610658578063f86664d214610660575f80fd5b8063bb1e0e5914610582578063bf7e214f14610595578063d16d0fe81461059d578063de7b5d14146105b0578063deaa59df146105cd578063e145d46c146105e0575f80fd5b8063a69df4b51161011b578063a69df4b514610525578063ada9652e1461052d578063b2a6b42d14610541578063b423086c14610554578063b6b412ba1461055c578063bae99c991461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd578063893d20e8146104d45780638f0c86fa146104dc5780638fb36037146104ef57806390edbd3514610510575f80fd5b80632b5198b11161020357806359660bea116101bd57806359660bea146104385780635ab1bd531461044b5780635dcb3bae1461045c578063644c45e01461046f5780636bd1c0eb146104775780637427d7a8146104a7575f80fd5b80632b5198b1146103c25780632eb3e6f4146103ee5780633d683fd914610402578063419197fe1461041557806343d752d3146104285780635741e5e914610430575f80fd5b806317d7de7c1161025457806317d7de7c1461034b5780631aa3a008146103605780631c6b21901461036a5780631eff4b221461037d57806321df0da7146103b257806322366844146103ba575f80fd5b806251884a1461029a57806301ffc9a7146102bf57806307e71a6e146102fb5780630fec111c1461030e5780631329960414610323578063138461e014610343575b5f80fd5b6102a2610673565b6040516001600160601b0390911681526020015b60405180910390f35b6102eb6102cd3660046133b8565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102b6565b6102a26103093660046133f3565b610685565b610316610836565b6040516102b69190613458565b61032b6109f4565b6040516001600160a01b0390911681526020016102b6565b6102a2610a06565b610353610a15565b6040516102b691906134ec565b610368610a25565b005b6102a26103783660046134fe565b610ad2565b6103a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b6565b61032b610b28565b6102eb610b3a565b6103d56103d0366004613655565b610c30565b6040516001600160c01b031990911681526020016102b6565b6103a45f805160206141dd83398151915281565b61036861041036600461372b565b610c94565b61036861042336600461379c565b610da4565b61032b610f64565b6102eb610f76565b6103d56104463660046137b8565b61102a565b6001546001600160a01b031661032b565b6102a261046a366004613851565b611081565b6102a26110db565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661032b565b6103d56104b536600461386e565b6110f6565b6103686104c836600461389f565b611176565b60016102eb565b61032b6111fc565b6102eb6104ea36600461389f565b61132d565b6104f76113f2565b6040516001600160e01b031990911681526020016102b6565b610518611427565b6040516102b691906138ba565b61036861144c565b6103a45f8051602061415d83398151915281565b6102a261054f36600461389f565b6114ea565b61051861152c565b61036861056a366004613999565b61153c565b61036861057d3660046134fe565b61158a565b6103686105903660046139cc565b6115d9565b61032b611676565b6103a46105ab3660046139f6565b611691565b5f805160206141dd833981519152546001600160a01b031661032b565b6103686105db36600461389f565b6116a5565b6105f36105ee36600461386e565b61191b565b6040805192835260ff9091166020830152016102b6565b610368610618366004613a12565b6119d5565b6103a45f8051602061417d83398151915281565b6103a45f805160206141bd83398151915281565b6103686106533660046139f6565b611a7d565b610368611a86565b61036861066e366004613a50565b611afa565b5f61067c611427565b60200151905090565b5f610692335b5f36611c10565b61069b3361132d565b6106bf5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610724573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107489190613af0565b6107795760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106b6565b8461078c6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108039190613af0565b6108225760405163086391f760e31b81523360048201526024016106b6565b61082c8686611d0e565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090a9190613b16565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016109526111fc565b6001600160a01b0316815260200182600101805461096f90613b31565b80601f016020809104026020016040519081016040528092919081815260200182805461099b90613b31565b80156109e65780601f106109bd576101008083540402835291602001916109e6565b820191905f5260205f20905b8154815290600101906020018083116109c957829003601f168201915b505050505081525091505090565b5f6109fd611427565b60800151905090565b5f610a1030611d9a565b905090565b6060610a1f611427565b51919050565b610a2d6111fc565b6001600160a01b0316336001600160a01b031614610a605760405163086391f760e31b81523360048201526024016106b6565b5f805160206141bd833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610ab0575f80fd5b505af1158015610ac2573d5f803e3d5ffd5b50505050610ad05f19611f8e565b565b5f610adb6111fc565b6001600160a01b0316336001600160a01b031614610b0e5760405163086391f760e31b81523360048201526024016106b6565b610b173361068b565b610b208261200c565b90505b919050565b5f610b31611427565b60400151905090565b5f610b4d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb59190613b16565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a109190613af0565b5f610c396111fc565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106b6565b610c753361068b565b610c868a8a8a8a8a8a8a8a8a612090565b9a9950505050505050505050565b610c9c6111fc565b6001600160a01b0316336001600160a01b031614610ccf5760405163086391f760e31b81523360048201526024016106b6565b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610d34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d589190613af0565b610d895760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106b6565b610d923361068b565b610d9d85858561214f565b5050505050565b610dac6111fc565b6001600160a01b0316336001600160a01b031614610ddf5760405163086391f760e31b81523360048201526024016106b6565b30610de86109f4565b6001600160a01b031614610e0f5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610e38610f64565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610e78610f64565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef29190613b69565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5f9190613af0565b505050565b5f610f6d611427565b60600151905090565b5f610f7f610b3a565b15610ffa576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610fd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f6d9190810190613bf3565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6110343361132d565b6110535760405163637c41bb60e01b81523360048201526024016106b6565b61105c3361068b565b5f611066336114ea565b9050611076818888888888612163565b979650505050505050565b5f61108a6111fc565b6001600160a01b0316336001600160a01b0316146110bd5760405163086391f760e31b81523360048201526024016106b6565b6110c63361068b565b6110d1848484612219565b90505b9392505050565b5f8051602061415d833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66111196110db565b846040518363ffffffff1660e01b8152600401611137929190613cc3565b602060405180830381865af4158015611152573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b209190613ce4565b3361117f611676565b6001600160a01b0316816001600160a01b0316146111ba5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b6565b816001600160a01b03163b5f036111ef576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b6565b6111f8826123dd565b5050565b5f805f8051602061415d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128c9190613af0565b15611317576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156112ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113119190613cff565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141bd8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156113ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d49190613af0565b5f8051602061419d83398151915280545f9190600160a01b900460ff16611419575f611311565b638fb3603760e01b91505090565b61142f613362565b611437610b3a565b1561144457610a1061243d565b610a1061152c565b6114546111fc565b6001600160a01b0316336001600160a01b0316146114875760405163086391f760e31b81523360048201526024016106b6565b611491600a612604565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156114d2575f80fd5b505af11580156114e4573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611534613362565b610a1061243d565b6115446111fc565b6001600160a01b0316336001600160a01b0316146115775760405163086391f760e31b81523360048201526024016106b6565b6115803361068b565b6111f88282612705565b6115926111fc565b6001600160a01b0316336001600160a01b0316146115c55760405163086391f760e31b81523360048201526024016106b6565b6115d66115d0610b28565b82610da4565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611620573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116449190613cff565b6001600160a01b0316336001600160a01b0316146111f85760405162f0630960e01b81523360048201526024016106b6565b5f8051602061419d833981519152546001600160a01b031690565b5f61169c8282613d1a565b90505b92915050565b6116ad6111fc565b6001600160a01b0316336001600160a01b0316146116e05760405163086391f760e31b81523360048201526024016106b6565b5f6116e96109f4565b90505f6116f4610b28565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa15801561173a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175e9190613b69565b90506117698361276c565b8015610f5f57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036118ca576117d2610f64565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161181b91815260200190565b602060405180830381865af4158015611836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185a9190613b16565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156118af575f80fd5b505af11580156118c1573d5f803e3d5ffd5b50505050505050565b6118d2610f64565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161181b91815260200190565b5f805f611927846110f6565b905061195a7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119cb9190613d3d565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a409190613cff565b6001600160a01b0316336001600160a01b031614611a725760405162f0630960e01b81523360048201526024016106b6565b610f5f838383612805565b6111f83361068b565b611a8e6111fc565b6001600160a01b0316336001600160a01b031614611ac15760405163086391f760e31b81523360048201526024016106b6565b611acb600a612604565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016114bb565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015611b3e5750825b90505f826001600160401b03166001148015611b595750303b155b905081158015611b67575080155b15611b855760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611baf57845460ff60401b1916600160401b1785555b611bbd8b8b8b8b8b8b6129ab565b8315611c0357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f8051602061419d8339815191525f80611c48611c2b611676565b8730611c3a60045f8a8c613d61565b611c4391613d88565b6129df565b9150915081611d065763ffffffff811615611ce357825460ff60a01b1916600160a01b178355611c76611676565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ca593929190613dc0565b5f604051808303815f87803b158015611cbc575f80fd5b505af1158015611cce573d5f803e3d5ffd5b5050845460ff60a01b1916855550611d069050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b6565b505050505050565b5f5f805160206141bd833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611d76573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c9190613b16565b5f805f8051602061415d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2a9190613af0565b15611e565780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ea8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ecc9190613af0565b611ef45760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b6565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6a9190613b16565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f8051602061417d833981519152906001600160a01b031663095ea7b3611fd5611427565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610f1f565b5f5f805160206141dd833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561206c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b209190613b16565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f805160206141bd833981519152916001600160a01b0390911690632b5198b190612100908e908e908e908e908e908e908e908e908e90600401613dff565b6020604051808303815f875af115801561211c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121409190613ce4565b9b9a5050505050505050505050565b5f5f805160206141bd833981519152610d9d565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f805160206141bd833981519152916001600160a01b0390911690638dd2b781906121cd908b908b908b908b908b908b90600401613e70565b6020604051808303815f875af11580156121e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061220d9190613ce4565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141bd8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156122ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122de9190613af0565b15612329576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106b6565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061235f90889088908890600401613ecf565b6020604051808303815f875af115801561237b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239f9190613b16565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061419d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612445613362565b5f6124586001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561249c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124c09190613b16565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612519573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253d9190613af0565b156125fc577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361257a6110db565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156125bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125e29190810190613f02565b60808101519092506001600160a01b0316156125fc575090565b611311612ae7565b5f805f805160206141dd8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa15801561265a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061267e9190613fda565b90506126926001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156126e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d49190613cff565b5f805160206141bd83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906127439085908590600401613ff5565b5f604051808303815f87803b15801561275a575f80fd5b505af1158015611d06573d5f803e3d5ffd5b6127746111fc565b6001600160a01b0316336001600160a01b0316146127a75760405163086391f760e31b81523360048201526024016106b6565b6127b1600b612604565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156127f3575f80fd5b505af1158015610d9d573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f805160206141bd833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561289e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c29190613b16565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c9190613b16565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6129b3612c4b565b611d0686868686868660405180602001604052805f81525060405180602001604052805f815250612c94565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a4d919061401b565b5f60405180830381855afa9150503d805f8114612a85576040519150601f19603f3d011682016040523d82523d5f602084013e612a8a565b606091505b50915091508115612adc576040815110612abc5780806020019051810190612ab29190614031565b9094509250612adc565b6020815110612adc5780806020019051810190612ad99190613af0565b93505b505094509492505050565b612aef613362565b5f5f8051602061417d83398151915290506040518060c00160405280825f018054612b1990613b31565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4590613b31565b8015612b905780601f10612b6757610100808354040283529160200191612b90565b820191905f5260205f20905b815481529060010190602001808311612b7357829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612be1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c059190613b16565b6001600160601b0316815260018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161096f90613b31565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610ad057604051631afcd79f60e31b815260040160405180910390fd5b612c9c612c4b565b612cb088888686600e8b60018c8a8a612d2a565b5f805160206141bd833981519152612cc8600e612604565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612cf4600b612604565b81546001600160a01b0319166001600160a01b0391909116178155612d1f6301a39f4760e01b612fba565b505050505050505050565b612d32612c4b565b5f5f805160206141dd83398151915260405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612d8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612db39190613cff565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612e0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e329190613af0565b612e5a57604051637db5183160e11b81526001600160601b038b1660048201526024016106b6565b80546040805163bf7e214f60e01b81529051612ed4926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015612ea2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec69190613cff565b8c8c8c8c8c8b8b8b8b612fe6565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f3f9190613cff565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612f7c600b612604565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612fae634a531f3360e01b612fba565b611c036376c9b41160e11b5b612fc2612c4b565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612fee612c4b565b612ffc8989878787876130d8565b6130058a61317d565b6001600160a01b03861661302c576040516327eab2e360e11b815260040160405180910390fd5b86515f0361304d5760405163591eebf360e11b815260040160405180910390fd5b5f8051602061417d8339815191528061306689826140a2565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016130b783826140a2565b506130c8634a531f3360e01b612fba565b611c03632986755f60e11b612fba565b6130e0612c4b565b6130ea828761318e565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161317383826140a2565b5050505050505050565b613185612c4b565b6115d681613204565b613196612c4b565b61319f81613215565b6131a761331d565b6001600160a01b0382166131ce5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061415d83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61320c612c4b565b6115d6816123dd565b61321d612c4b565b806001600160a01b03163b5f036132525760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa9250505080156132cc575060408051601f3d908101601f191682019092526132c991810190613af0565b60015b6132f45760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b806111f85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b6565b613325612c4b565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156133c8575f80fd5b81356001600160e01b0319811681146110d4575f80fd5b6001600160601b03811681146115d6575f80fd5b5f8060408385031215613404575f80fd5b823561340f816133df565b9150602083013561341f816133df565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516134a0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526134e461010084018261342a565b949350505050565b602081525f61169c602083018461342a565b5f6020828403121561350e575f80fd5b81356110d4816133df565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561354f5761354f613519565b60405290565b60405160c081016001600160401b038111828210171561354f5761354f613519565b604051601f8201601f191681016001600160401b038111828210171561359f5761359f613519565b604052919050565b5f6001600160401b038211156135bf576135bf613519565b50601f01601f191660200190565b5f82601f8301126135dc575f80fd5b8135602083015f6135f46135ef846135a7565b613577565b9050828152858383011115613607575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff811681146115d6575f80fd5b8035610b2381613621565b80151581146115d6575f80fd5b8035610b238161363d565b5f805f805f805f805f6101208a8c03121561366e575f80fd5b89356001600160401b03811115613683575f80fd5b61368f8c828d016135cd565b99505060208a0135975060408a0135965060608a0135955060808a01356136b581613621565b94506136c360a08b01613632565b93506136d160c08b0161364a565b92506136df60e08b0161364a565b91506101008a01356001600160401b038111156136fa575f80fd5b6137068c828d016135cd565b9150509295985092959850929598565b6001600160c01b0319811681146115d6575f80fd5b5f805f6060848603121561373d575f80fd5b8335613748816133df565b9250602084013561375881613716565b915060408401356001600160401b03811115613772575f80fd5b61377e868287016135cd565b9150509250925092565b6001600160a01b03811681146115d6575f80fd5b5f80604083850312156137ad575f80fd5b823561340f81613788565b5f805f805f60a086880312156137cc575f80fd5b85356001600160401b038111156137e1575f80fd5b6137ed888289016135cd565b95505060208601359350604086013561380581613621565b9250606086013564ffffffffff8116811461381e575f80fd5b915060808601356001600160401b03811115613838575f80fd5b613844888289016135cd565b9150509295509295909350565b5f805f60608486031215613863575f80fd5b833561374881613788565b5f6020828403121561387e575f80fd5b81356001600160401b03811115613893575f80fd5b6134e4848285016135cd565b5f602082840312156138af575f80fd5b81356110d481613788565b602081525f825160c060208401526138d560e084018261342a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161392860a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152613944828261342a565b95945050505050565b5f6040828403121561395d575f80fd5b604080519081016001600160401b038111828210171561397f5761397f613519565b604052823581526020928301359281019290925250919050565b5f80608083850312156139aa575f80fd5b6139b4848461394d565b91506139c3846040850161394d565b90509250929050565b5f80604083850312156139dd575f80fd5b82356139e881613788565b946020939093013593505050565b5f8060408385031215613a07575f80fd5b82356139e881613716565b5f805f60608486031215613a24575f80fd5b8335613a2f81613788565b92506020840135613a3f81613788565b929592945050506040919091013590565b5f805f805f8060c08789031215613a65575f80fd5b8635613a7081613788565b95506020870135613a80816133df565b94506040870135613a9081613788565b93506060870135613aa081613788565b925060808701356001600160401b03811115613aba575f80fd5b613ac689828a016135cd565b92505060a0870135613ad781613788565b809150509295509295509295565b8051610b238161363d565b5f60208284031215613b00575f80fd5b81516110d48161363d565b8051610b23816133df565b5f60208284031215613b26575f80fd5b81516110d4816133df565b600181811c90821680613b4557607f821691505b602082108103613b6357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613b79575f80fd5b5051919050565b60ff811681146115d6575f80fd5b8051610b2381613b80565b8051610b2381613788565b5f82601f830112613bb3575f80fd5b8151602083015f613bc66135ef846135a7565b9050828152858383011115613bd9575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613c03575f80fd5b81516001600160401b03811115613c18575f80fd5b820160e08185031215613c29575f80fd5b613c3161352d565b613c3a82613b0b565b8152613c4860208301613b0b565b6020820152613c5960408301613b8e565b6040820152613c6a60608301613ae5565b6060820152613c7b60808301613b99565b6080820152613c8c60a08301613b99565b60a082015260c08201516001600160401b03811115613ca9575f80fd5b613cb586828501613ba4565b60c083015250949350505050565b6001600160601b0383168152604060208201525f6110d1604083018461342a565b5f60208284031215613cf4575f80fd5b81516110d481613716565b5f60208284031215613d0f575f80fd5b81516110d481613788565b808202811582820484141761169f57634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613d4e575f80fd5b8251602084015190925061341f81613b80565b5f8085851115613d6f575f80fd5b83861115613d7b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613db9576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613e1361012083018c61342a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613e60818561342a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613e9160c083018861342a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613ec2818561342a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906139449083018461342a565b5f60208284031215613f12575f80fd5b81516001600160401b03811115613f27575f80fd5b820160c08185031215613f38575f80fd5b613f40613555565b81516001600160401b03811115613f55575f80fd5b613f6186828501613ba4565b825250613f7060208301613b0b565b6020820152613f8160408301613b99565b6040820152613f9260608301613b99565b6060820152613fa360808301613b99565b608082015260a08201516001600160401b03811115613fc0575f80fd5b613fcc86828501613ba4565b60a083015250949350505050565b5f60208284031215613fea575f80fd5b81516110d481613b80565b8251815260208084015181830152825160408301528201516060820152608081016110d4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614042575f80fd5b825161404d8161363d565b602084015190925061341f81613621565b601f821115610f5f57805f5260205f20601f840160051c810160208510156140835750805b601f840160051c820191505b81811015610d9d575f815560010161408f565b81516001600160401b038111156140bb576140bb613519565b6140cf816140c98454613b31565b8461405e565b6020601f821160018114614101575f83156140ea5750848201515b5f19600385901b1c1916600184901b178455610d9d565b5f84815260208120601f198516915b828110156141305787850151825560209485019460019092019101614110565b508482101561414d57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212201e3ca5cb5e097b1f98a2b98138a0a6a9bddc1b2d8e0b22bfc5de46179f737b4164736f6c634300081a0033",
1287
+ "linkReferences": {
1288
+ "contracts/type/Amount.sol": {
1289
+ "AmountLib": [
1290
+ {
1291
+ "length": 20,
1292
+ "start": 7131
1293
+ },
1294
+ {
1295
+ "length": 20,
1296
+ "start": 9513
1297
+ },
1298
+ {
1299
+ "length": 20,
1300
+ "start": 9769
1301
+ }
1302
+ ]
1303
+ },
1304
+ "contracts/type/NftId.sol": {
1305
+ "NftIdLib": [
1306
+ {
1307
+ "length": 20,
1308
+ "start": 5606
1309
+ },
1310
+ {
1311
+ "length": 20,
1312
+ "start": 6425
1313
+ },
1314
+ {
1315
+ "length": 20,
1316
+ "start": 8053
1317
+ },
1318
+ {
1319
+ "length": 20,
1320
+ "start": 8411
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 11027
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 12231
1329
+ },
1330
+ {
1331
+ "length": 20,
1332
+ "start": 12838
1333
+ },
1334
+ {
1335
+ "length": 20,
1336
+ "start": 13726
1337
+ },
1338
+ {
1339
+ "length": 20,
1340
+ "start": 13909
1341
+ },
1342
+ {
1343
+ "length": 20,
1344
+ "start": 14561
1345
+ }
1346
+ ]
1347
+ },
1348
+ "contracts/type/Referral.sol": {
1349
+ "ReferralLib": [
1350
+ {
1351
+ "length": 20,
1352
+ "start": 7742
1353
+ }
1354
+ ]
1355
+ }
1356
+ },
1357
+ "deployedLinkReferences": {
1358
+ "contracts/type/Amount.sol": {
1359
+ "AmountLib": [
1360
+ {
1361
+ "length": 20,
1362
+ "start": 3734
1363
+ },
1364
+ {
1365
+ "length": 20,
1366
+ "start": 6116
1367
+ },
1368
+ {
1369
+ "length": 20,
1370
+ "start": 6372
1371
+ }
1372
+ ]
1373
+ },
1374
+ "contracts/type/NftId.sol": {
1375
+ "NftIdLib": [
1376
+ {
1377
+ "length": 20,
1378
+ "start": 2209
1379
+ },
1380
+ {
1381
+ "length": 20,
1382
+ "start": 3028
1383
+ },
1384
+ {
1385
+ "length": 20,
1386
+ "start": 4656
1387
+ },
1388
+ {
1389
+ "length": 20,
1390
+ "start": 5014
1391
+ },
1392
+ {
1393
+ "length": 20,
1394
+ "start": 7630
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 8834
1399
+ },
1400
+ {
1401
+ "length": 20,
1402
+ "start": 9441
1403
+ },
1404
+ {
1405
+ "length": 20,
1406
+ "start": 10329
1407
+ },
1408
+ {
1409
+ "length": 20,
1410
+ "start": 10512
1411
+ },
1412
+ {
1413
+ "length": 20,
1414
+ "start": 11164
1415
+ }
1416
+ ]
1417
+ },
1418
+ "contracts/type/Referral.sol": {
1419
+ "ReferralLib": [
1420
+ {
1421
+ "length": 20,
1422
+ "start": 4345
1423
+ }
1424
+ ]
1425
+ }
1426
+ }
1427
+ }