@etherisc/gif-next 0.0.2-f8e07c7-917 → 0.0.2-f946ccd-184

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