@etherisc/gif-next 0.0.2-f9b0591-801 → 0.0.2-fa35bce-363

Sign up to get free protection for your applications and to get access to all the features.
Files changed (548) hide show
  1. package/README.md +89 -9
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +183 -487
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +102 -387
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +644 -392
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +209 -133
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +476 -137
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +567 -67
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +385 -60
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +573 -165
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1689 -736
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +399 -231
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +143 -105
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +974 -651
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +127 -355
  106. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  108. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -133
  111. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  113. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +103 -323
  115. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  117. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +177 -97
  119. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +156 -384
  121. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  123. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +374 -446
  125. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +170 -134
  127. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +259 -153
  129. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +142 -183
  131. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +524 -288
  133. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  134. package/artifacts/contracts/pool/Pool.sol/Pool.json +132 -363
  135. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  137. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +730 -549
  139. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +206 -114
  141. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  143. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +159 -99
  145. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +272 -431
  147. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  149. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  151. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +187 -123
  153. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  155. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  157. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +358 -127
  159. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  161. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
  163. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  164. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  165. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +477 -373
  167. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  169. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +196 -124
  171. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  173. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +165 -137
  175. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  176. package/artifacts/contracts/product/Product.sol/Product.json +264 -423
  177. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  179. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  181. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  183. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -48
  185. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  187. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  189. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  191. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.json +565 -109
  193. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +791 -377
  195. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +141 -89
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  211. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  212. package/artifacts/contracts/shared/Component.sol/Component.json +86 -277
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -638
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +183 -133
  217. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  225. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
  227. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  229. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
  231. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +42 -6
  233. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  235. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  237. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  239. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  241. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  244. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  246. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +102 -322
  248. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +48 -7
  250. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  252. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  254. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  256. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  258. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  260. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  262. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  264. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  268. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  270. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1295 -165
  272. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  274. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  275. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +69 -0
  276. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  277. package/artifacts/contracts/staking/Staking.sol/Staking.json +1444 -421
  278. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  279. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +207 -105
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +185 -223
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +144 -96
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1473 -579
  292. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  293. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +265 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +131 -50
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  301. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +69 -2
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +118 -79
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +458 -269
  359. package/contracts/authorization/AccessAdminLib.sol +396 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  361. package/contracts/authorization/Authorization.sol +159 -208
  362. package/contracts/authorization/IAccess.sol +25 -6
  363. package/contracts/authorization/IAccessAdmin.sol +87 -79
  364. package/contracts/authorization/IAuthorization.sol +9 -37
  365. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  366. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  367. package/contracts/distribution/BasicDistribution.sol +20 -17
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  369. package/contracts/distribution/Distribution.sol +44 -92
  370. package/contracts/distribution/DistributionService.sol +243 -132
  371. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  372. package/contracts/distribution/IDistributionComponent.sol +4 -11
  373. package/contracts/distribution/IDistributionService.sol +47 -29
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +42 -38
  388. package/contracts/instance/IInstance.sol +102 -43
  389. package/contracts/instance/IInstanceService.sol +59 -34
  390. package/contracts/instance/Instance.sol +193 -100
  391. package/contracts/instance/InstanceAdmin.sol +275 -158
  392. package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
  393. package/contracts/instance/InstanceReader.sol +476 -257
  394. package/contracts/instance/InstanceService.sol +293 -236
  395. package/contracts/instance/InstanceServiceManager.sol +6 -7
  396. package/contracts/instance/InstanceStore.sol +23 -2
  397. package/contracts/instance/RiskSet.sol +126 -0
  398. package/contracts/instance/base/BalanceStore.sol +4 -6
  399. package/contracts/instance/base/ObjectCounter.sol +1 -2
  400. package/contracts/instance/base/ObjectLifecycle.sol +13 -10
  401. package/contracts/instance/base/ObjectSet.sol +31 -33
  402. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  403. package/contracts/instance/module/IBundle.sol +6 -5
  404. package/contracts/instance/module/IComponents.sol +30 -15
  405. package/contracts/instance/module/IDistribution.sol +21 -8
  406. package/contracts/instance/module/IPolicy.sol +50 -29
  407. package/contracts/instance/module/IRisk.sol +5 -0
  408. package/contracts/oracle/BasicOracle.sol +2 -5
  409. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  410. package/contracts/oracle/IOracle.sol +9 -4
  411. package/contracts/oracle/IOracleService.sol +2 -1
  412. package/contracts/oracle/Oracle.sol +9 -21
  413. package/contracts/oracle/OracleService.sol +119 -87
  414. package/contracts/oracle/OracleServiceManager.sol +6 -6
  415. package/contracts/pool/BasicPool.sol +36 -40
  416. package/contracts/pool/BasicPoolAuthorization.sol +36 -13
  417. package/contracts/pool/BundleService.sol +137 -191
  418. package/contracts/pool/BundleServiceManager.sol +6 -6
  419. package/contracts/pool/IBundleService.sol +32 -49
  420. package/contracts/pool/IPoolComponent.sol +19 -15
  421. package/contracts/pool/IPoolService.sol +97 -76
  422. package/contracts/pool/Pool.sol +142 -137
  423. package/contracts/pool/PoolLib.sol +341 -0
  424. package/contracts/pool/PoolService.sol +388 -302
  425. package/contracts/pool/PoolServiceManager.sol +4 -4
  426. package/contracts/product/ApplicationService.sol +143 -46
  427. package/contracts/product/ApplicationServiceManager.sol +4 -4
  428. package/contracts/product/BasicProduct.sol +11 -14
  429. package/contracts/product/BasicProductAuthorization.sol +32 -12
  430. package/contracts/product/ClaimService.sol +385 -172
  431. package/contracts/product/ClaimServiceManager.sol +4 -4
  432. package/contracts/product/IApplicationService.sol +29 -3
  433. package/contracts/product/IClaimService.sol +48 -11
  434. package/contracts/product/IPolicyService.sol +61 -43
  435. package/contracts/product/IPricingService.sol +11 -10
  436. package/contracts/product/IProductComponent.sol +27 -5
  437. package/contracts/product/IRiskService.sol +48 -0
  438. package/contracts/product/PolicyService.sol +423 -307
  439. package/contracts/product/PolicyServiceLib.sol +139 -0
  440. package/contracts/product/PolicyServiceManager.sol +4 -4
  441. package/contracts/product/PricingService.sol +90 -84
  442. package/contracts/product/PricingServiceManager.sol +4 -4
  443. package/contracts/product/Product.sol +188 -106
  444. package/contracts/product/RiskService.sol +190 -0
  445. package/contracts/product/RiskServiceManager.sol +39 -0
  446. package/contracts/registry/ChainNft.sol +72 -40
  447. package/contracts/registry/IRegistry.sol +70 -32
  448. package/contracts/registry/IRegistryService.sol +5 -12
  449. package/contracts/registry/IRelease.sol +29 -0
  450. package/contracts/registry/ITransferInterceptor.sol +1 -2
  451. package/contracts/registry/Registry.sol +367 -207
  452. package/contracts/registry/RegistryAdmin.sol +114 -288
  453. package/contracts/registry/RegistryAuthorization.sol +312 -0
  454. package/contracts/registry/RegistryService.sol +38 -49
  455. package/contracts/registry/RegistryServiceManager.sol +3 -3
  456. package/contracts/registry/ReleaseAdmin.sol +195 -0
  457. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  458. package/contracts/registry/ReleaseRegistry.sol +279 -239
  459. package/contracts/registry/ServiceAuthorizationV3.sol +205 -63
  460. package/contracts/registry/TokenRegistry.sol +61 -59
  461. package/contracts/shared/Component.sol +70 -136
  462. package/contracts/shared/ComponentService.sol +423 -387
  463. package/contracts/shared/ComponentServiceManager.sol +8 -5
  464. package/contracts/shared/ContractLib.sol +312 -0
  465. package/contracts/shared/IComponent.sol +6 -18
  466. package/contracts/shared/IComponentService.sol +43 -40
  467. package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
  468. package/contracts/shared/IKeyValueStore.sol +1 -1
  469. package/contracts/shared/ILifecycle.sol +3 -1
  470. package/contracts/shared/INftOwnable.sol +4 -0
  471. package/contracts/shared/IPolicyHolder.sol +12 -22
  472. package/contracts/shared/IRegisterable.sol +22 -1
  473. package/contracts/shared/IService.sol +3 -5
  474. package/contracts/shared/InitializableERC165.sol +10 -2
  475. package/contracts/shared/InstanceLinkedComponent.sol +73 -51
  476. package/contracts/shared/KeyValueStore.sol +4 -4
  477. package/contracts/shared/Lifecycle.sol +15 -4
  478. package/contracts/shared/NftOwnable.sol +31 -9
  479. package/contracts/shared/PolicyHolder.sol +18 -54
  480. package/contracts/shared/Registerable.sol +52 -21
  481. package/contracts/shared/RegistryLinked.sol +9 -14
  482. package/contracts/shared/Service.sol +20 -35
  483. package/contracts/shared/TokenHandler.sol +310 -26
  484. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  485. package/contracts/staking/IStaking.sol +197 -67
  486. package/contracts/staking/IStakingService.sol +45 -78
  487. package/contracts/staking/ITargetLimitHandler.sol +26 -0
  488. package/contracts/staking/Staking.sol +504 -240
  489. package/contracts/staking/StakingLib.sol +195 -0
  490. package/contracts/staking/StakingManager.sol +12 -9
  491. package/contracts/staking/StakingReader.sol +53 -85
  492. package/contracts/staking/StakingService.sol +62 -152
  493. package/contracts/staking/StakingServiceManager.sol +7 -5
  494. package/contracts/staking/StakingStore.sol +895 -326
  495. package/contracts/staking/TargetHandler.sol +102 -0
  496. package/contracts/staking/TargetManagerLib.sol +8 -4
  497. package/contracts/type/Amount.sol +19 -0
  498. package/contracts/type/Blocknumber.sol +15 -15
  499. package/contracts/type/ChainId.sol +101 -0
  500. package/contracts/type/ClaimId.sol +6 -1
  501. package/contracts/type/Fee.sol +8 -8
  502. package/contracts/type/Key32.sol +2 -2
  503. package/contracts/type/Key32Set.sol +62 -0
  504. package/contracts/type/NftId.sol +7 -0
  505. package/contracts/type/ObjectType.sol +73 -37
  506. package/contracts/type/PayoutId.sol +10 -10
  507. package/contracts/type/RiskId.sol +38 -6
  508. package/contracts/type/RoleId.sol +61 -55
  509. package/contracts/type/Seconds.sol +22 -0
  510. package/contracts/type/Selector.sol +5 -0
  511. package/contracts/type/StateId.sol +15 -1
  512. package/contracts/type/String.sol +12 -0
  513. package/contracts/type/Timestamp.sol +4 -7
  514. package/contracts/type/UFixed.sol +38 -126
  515. package/contracts/type/Version.sol +54 -5
  516. package/contracts/upgradeability/IVersionable.sol +3 -0
  517. package/contracts/upgradeability/ProxyManager.sol +93 -45
  518. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  519. package/contracts/upgradeability/Versionable.sol +8 -5
  520. package/package.json +5 -4
  521. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  522. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  523. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  524. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  525. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  526. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  527. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  528. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  529. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  530. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  531. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  532. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  533. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  534. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  535. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  536. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  537. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
  538. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  539. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  540. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  541. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  542. package/contracts/instance/module/IAccess.sol +0 -46
  543. package/contracts/product/IProductService.sol +0 -33
  544. package/contracts/product/ProductService.sol +0 -99
  545. package/contracts/product/ProductServiceManager.sol +0 -39
  546. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  547. package/contracts/shared/InitializableCustom.sol +0 -177
  548. package/contracts/staking/StakeManagerLib.sol +0 -231
@@ -0,0 +1,1171 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleOracle",
4
+ "sourceName": "contracts/examples/unpermissioned/SimpleOracle.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "productNftId",
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
+ "stateMutability": "nonpayable",
30
+ "type": "constructor"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "address",
36
+ "name": "authority",
37
+ "type": "address"
38
+ }
39
+ ],
40
+ "name": "AccessManagedInvalidAuthority",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "caller",
48
+ "type": "address"
49
+ },
50
+ {
51
+ "internalType": "uint32",
52
+ "name": "delay",
53
+ "type": "uint32"
54
+ }
55
+ ],
56
+ "name": "AccessManagedRequiredDelay",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "caller",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "AccessManagedUnauthorized",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "authority",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "ErrorAuthorityInvalid",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorComponentNameLengthZero",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "caller",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentNotChainNft",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "ErrorComponentProductNftIdNonzero",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorComponentProductNftIdZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorComponentWalletAddressZero",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ErrorComponentWalletNotComponent",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "ErrorNftOwnableAlreadyLinked",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "address",
169
+ "name": "contractAddress",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "name": "ErrorNftOwnableContractNotRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "ErrorNftOwnableInitialOwnerZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "account",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorNftOwnableNotOwner",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "registryAddress",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "ErrorNotRegistry",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "string",
223
+ "name": "methodName",
224
+ "type": "string"
225
+ }
226
+ ],
227
+ "name": "ErrorOracleNotImplemented",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorRegisterableNotActive",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "InvalidInitialization",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "NotInitializing",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "anonymous": false,
247
+ "inputs": [
248
+ {
249
+ "indexed": false,
250
+ "internalType": "address",
251
+ "name": "authority",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "AuthorityUpdated",
256
+ "type": "event"
257
+ },
258
+ {
259
+ "anonymous": false,
260
+ "inputs": [
261
+ {
262
+ "indexed": false,
263
+ "internalType": "uint64",
264
+ "name": "version",
265
+ "type": "uint64"
266
+ }
267
+ ],
268
+ "name": "Initialized",
269
+ "type": "event"
270
+ },
271
+ {
272
+ "anonymous": false,
273
+ "inputs": [
274
+ {
275
+ "indexed": false,
276
+ "internalType": "address",
277
+ "name": "tokenHandler",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "indexed": false,
282
+ "internalType": "address",
283
+ "name": "token",
284
+ "type": "address"
285
+ },
286
+ {
287
+ "indexed": false,
288
+ "internalType": "Amount",
289
+ "name": "limit",
290
+ "type": "uint96"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "bool",
295
+ "name": "isMaxAmount",
296
+ "type": "bool"
297
+ }
298
+ ],
299
+ "name": "LogComponentTokenHandlerApproved",
300
+ "type": "event"
301
+ },
302
+ {
303
+ "anonymous": false,
304
+ "inputs": [
305
+ {
306
+ "indexed": false,
307
+ "internalType": "address",
308
+ "name": "oldWallet",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "address",
314
+ "name": "newWallet",
315
+ "type": "address"
316
+ }
317
+ ],
318
+ "name": "LogComponentWalletAddressChanged",
319
+ "type": "event"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": false,
326
+ "internalType": "address",
327
+ "name": "from",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "address",
333
+ "name": "to",
334
+ "type": "address"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "amount",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "name": "LogComponentWalletTokensTransferred",
344
+ "type": "event"
345
+ },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "NftId",
352
+ "name": "nftId",
353
+ "type": "uint96"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "address",
358
+ "name": "owner",
359
+ "type": "address"
360
+ }
361
+ ],
362
+ "name": "LogNftOwnableNftLinkedToAddress",
363
+ "type": "event"
364
+ },
365
+ {
366
+ "anonymous": false,
367
+ "inputs": [
368
+ {
369
+ "indexed": false,
370
+ "internalType": "RequestId",
371
+ "name": "requestId",
372
+ "type": "uint64"
373
+ },
374
+ {
375
+ "indexed": false,
376
+ "internalType": "string",
377
+ "name": "responseText",
378
+ "type": "string"
379
+ }
380
+ ],
381
+ "name": "LogSimpleOracleAsyncResponseSent",
382
+ "type": "event"
383
+ },
384
+ {
385
+ "anonymous": false,
386
+ "inputs": [
387
+ {
388
+ "indexed": false,
389
+ "internalType": "RequestId",
390
+ "name": "requestId",
391
+ "type": "uint64"
392
+ }
393
+ ],
394
+ "name": "LogSimpleOracleCancellingReceived",
395
+ "type": "event"
396
+ },
397
+ {
398
+ "anonymous": false,
399
+ "inputs": [
400
+ {
401
+ "indexed": false,
402
+ "internalType": "RequestId",
403
+ "name": "requestId",
404
+ "type": "uint64"
405
+ },
406
+ {
407
+ "indexed": false,
408
+ "internalType": "NftId",
409
+ "name": "requesterId",
410
+ "type": "uint96"
411
+ },
412
+ {
413
+ "indexed": false,
414
+ "internalType": "bool",
415
+ "name": "synchronous",
416
+ "type": "bool"
417
+ },
418
+ {
419
+ "indexed": false,
420
+ "internalType": "string",
421
+ "name": "requestText",
422
+ "type": "string"
423
+ }
424
+ ],
425
+ "name": "LogSimpleOracleRequestReceived",
426
+ "type": "event"
427
+ },
428
+ {
429
+ "anonymous": false,
430
+ "inputs": [
431
+ {
432
+ "indexed": false,
433
+ "internalType": "RequestId",
434
+ "name": "requestId",
435
+ "type": "uint64"
436
+ },
437
+ {
438
+ "indexed": false,
439
+ "internalType": "string",
440
+ "name": "responseText",
441
+ "type": "string"
442
+ }
443
+ ],
444
+ "name": "LogSimpleOracleSyncResponseSent",
445
+ "type": "event"
446
+ },
447
+ {
448
+ "inputs": [],
449
+ "name": "ANSWER_SYNC",
450
+ "outputs": [
451
+ {
452
+ "internalType": "string",
453
+ "name": "",
454
+ "type": "string"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "COMPONENT_LOCATION_V1",
463
+ "outputs": [
464
+ {
465
+ "internalType": "bytes32",
466
+ "name": "",
467
+ "type": "bytes32"
468
+ }
469
+ ],
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [],
475
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
476
+ "outputs": [
477
+ {
478
+ "internalType": "bytes32",
479
+ "name": "",
480
+ "type": "bytes32"
481
+ }
482
+ ],
483
+ "stateMutability": "view",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [],
488
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
489
+ "outputs": [
490
+ {
491
+ "internalType": "bytes32",
492
+ "name": "",
493
+ "type": "bytes32"
494
+ }
495
+ ],
496
+ "stateMutability": "view",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [],
501
+ "name": "ORACLE_STORAGE_LOCATION_V1",
502
+ "outputs": [
503
+ {
504
+ "internalType": "bytes32",
505
+ "name": "",
506
+ "type": "bytes32"
507
+ }
508
+ ],
509
+ "stateMutability": "view",
510
+ "type": "function"
511
+ },
512
+ {
513
+ "inputs": [],
514
+ "name": "REGISTERABLE_LOCATION_V1",
515
+ "outputs": [
516
+ {
517
+ "internalType": "bytes32",
518
+ "name": "",
519
+ "type": "bytes32"
520
+ }
521
+ ],
522
+ "stateMutability": "view",
523
+ "type": "function"
524
+ },
525
+ {
526
+ "inputs": [],
527
+ "name": "authority",
528
+ "outputs": [
529
+ {
530
+ "internalType": "address",
531
+ "name": "",
532
+ "type": "address"
533
+ }
534
+ ],
535
+ "stateMutability": "view",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [
540
+ {
541
+ "internalType": "RequestId",
542
+ "name": "requestId",
543
+ "type": "uint64"
544
+ }
545
+ ],
546
+ "name": "cancel",
547
+ "outputs": [],
548
+ "stateMutability": "nonpayable",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [],
553
+ "name": "getAuthorization",
554
+ "outputs": [
555
+ {
556
+ "internalType": "contract IAuthorization",
557
+ "name": "authorization",
558
+ "type": "address"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [],
566
+ "name": "getComponentInfo",
567
+ "outputs": [
568
+ {
569
+ "components": [
570
+ {
571
+ "internalType": "string",
572
+ "name": "name",
573
+ "type": "string"
574
+ },
575
+ {
576
+ "internalType": "contract TokenHandler",
577
+ "name": "tokenHandler",
578
+ "type": "address"
579
+ },
580
+ {
581
+ "internalType": "bytes",
582
+ "name": "data",
583
+ "type": "bytes"
584
+ }
585
+ ],
586
+ "internalType": "struct IComponents.ComponentInfo",
587
+ "name": "info",
588
+ "type": "tuple"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [],
596
+ "name": "getInitialComponentInfo",
597
+ "outputs": [
598
+ {
599
+ "components": [
600
+ {
601
+ "internalType": "string",
602
+ "name": "name",
603
+ "type": "string"
604
+ },
605
+ {
606
+ "internalType": "contract TokenHandler",
607
+ "name": "tokenHandler",
608
+ "type": "address"
609
+ },
610
+ {
611
+ "internalType": "bytes",
612
+ "name": "data",
613
+ "type": "bytes"
614
+ }
615
+ ],
616
+ "internalType": "struct IComponents.ComponentInfo",
617
+ "name": "info",
618
+ "type": "tuple"
619
+ }
620
+ ],
621
+ "stateMutability": "view",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [],
626
+ "name": "getInitialInfo",
627
+ "outputs": [
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "NftId",
632
+ "name": "nftId",
633
+ "type": "uint96"
634
+ },
635
+ {
636
+ "internalType": "NftId",
637
+ "name": "parentNftId",
638
+ "type": "uint96"
639
+ },
640
+ {
641
+ "internalType": "ObjectType",
642
+ "name": "objectType",
643
+ "type": "uint8"
644
+ },
645
+ {
646
+ "internalType": "bool",
647
+ "name": "isInterceptor",
648
+ "type": "bool"
649
+ },
650
+ {
651
+ "internalType": "address",
652
+ "name": "objectAddress",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "address",
657
+ "name": "initialOwner",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "internalType": "bytes",
662
+ "name": "data",
663
+ "type": "bytes"
664
+ }
665
+ ],
666
+ "internalType": "struct IRegistry.ObjectInfo",
667
+ "name": "info",
668
+ "type": "tuple"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [],
676
+ "name": "getInstance",
677
+ "outputs": [
678
+ {
679
+ "internalType": "contract IInstance",
680
+ "name": "instance",
681
+ "type": "address"
682
+ }
683
+ ],
684
+ "stateMutability": "view",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [],
689
+ "name": "getName",
690
+ "outputs": [
691
+ {
692
+ "internalType": "string",
693
+ "name": "name",
694
+ "type": "string"
695
+ }
696
+ ],
697
+ "stateMutability": "view",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [],
702
+ "name": "getNftId",
703
+ "outputs": [
704
+ {
705
+ "internalType": "NftId",
706
+ "name": "",
707
+ "type": "uint96"
708
+ }
709
+ ],
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [],
715
+ "name": "getOwner",
716
+ "outputs": [
717
+ {
718
+ "internalType": "address",
719
+ "name": "",
720
+ "type": "address"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getRegistry",
729
+ "outputs": [
730
+ {
731
+ "internalType": "contract IRegistry",
732
+ "name": "",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [],
741
+ "name": "getRelease",
742
+ "outputs": [
743
+ {
744
+ "internalType": "VersionPart",
745
+ "name": "release",
746
+ "type": "uint8"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getToken",
755
+ "outputs": [
756
+ {
757
+ "internalType": "contract IERC20Metadata",
758
+ "name": "token",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "getTokenHandler",
768
+ "outputs": [
769
+ {
770
+ "internalType": "contract TokenHandler",
771
+ "name": "tokenHandler",
772
+ "type": "address"
773
+ }
774
+ ],
775
+ "stateMutability": "view",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [],
780
+ "name": "getVersion",
781
+ "outputs": [
782
+ {
783
+ "internalType": "Version",
784
+ "name": "version",
785
+ "type": "uint24"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "getWallet",
794
+ "outputs": [
795
+ {
796
+ "internalType": "address",
797
+ "name": "walletAddress",
798
+ "type": "address"
799
+ }
800
+ ],
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "address",
808
+ "name": "registry",
809
+ "type": "address"
810
+ },
811
+ {
812
+ "internalType": "NftId",
813
+ "name": "productNftId",
814
+ "type": "uint96"
815
+ },
816
+ {
817
+ "internalType": "contract IAuthorization",
818
+ "name": "authorization",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "initialOwner",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "string",
828
+ "name": "name",
829
+ "type": "string"
830
+ }
831
+ ],
832
+ "name": "initialize",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [],
839
+ "name": "isActive",
840
+ "outputs": [
841
+ {
842
+ "internalType": "bool",
843
+ "name": "active",
844
+ "type": "bool"
845
+ }
846
+ ],
847
+ "stateMutability": "view",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [],
852
+ "name": "isConsumingScheduledOp",
853
+ "outputs": [
854
+ {
855
+ "internalType": "bytes4",
856
+ "name": "",
857
+ "type": "bytes4"
858
+ }
859
+ ],
860
+ "stateMutability": "view",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "isNftInterceptor",
866
+ "outputs": [
867
+ {
868
+ "internalType": "bool",
869
+ "name": "isInterceptor",
870
+ "type": "bool"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "isRegistered",
879
+ "outputs": [
880
+ {
881
+ "internalType": "bool",
882
+ "name": "",
883
+ "type": "bool"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "isVerifying",
892
+ "outputs": [
893
+ {
894
+ "internalType": "bool",
895
+ "name": "verifying",
896
+ "type": "bool"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [],
904
+ "name": "linkToRegisteredNftId",
905
+ "outputs": [
906
+ {
907
+ "internalType": "NftId",
908
+ "name": "nftId",
909
+ "type": "uint96"
910
+ }
911
+ ],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [
917
+ {
918
+ "internalType": "address",
919
+ "name": "from",
920
+ "type": "address"
921
+ },
922
+ {
923
+ "internalType": "address",
924
+ "name": "to",
925
+ "type": "address"
926
+ },
927
+ {
928
+ "internalType": "uint256",
929
+ "name": "tokenId",
930
+ "type": "uint256"
931
+ },
932
+ {
933
+ "internalType": "address",
934
+ "name": "operator",
935
+ "type": "address"
936
+ }
937
+ ],
938
+ "name": "nftTransferFrom",
939
+ "outputs": [],
940
+ "stateMutability": "nonpayable",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "RequestId",
947
+ "name": "requestId",
948
+ "type": "uint64"
949
+ },
950
+ {
951
+ "internalType": "NftId",
952
+ "name": "requesterId",
953
+ "type": "uint96"
954
+ },
955
+ {
956
+ "internalType": "bytes",
957
+ "name": "requestData",
958
+ "type": "bytes"
959
+ },
960
+ {
961
+ "internalType": "Timestamp",
962
+ "name": "expiryAt",
963
+ "type": "uint40"
964
+ }
965
+ ],
966
+ "name": "request",
967
+ "outputs": [],
968
+ "stateMutability": "nonpayable",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [
973
+ {
974
+ "internalType": "RequestId",
975
+ "name": "requestId",
976
+ "type": "uint64"
977
+ },
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "responseData",
981
+ "type": "bytes"
982
+ }
983
+ ],
984
+ "name": "respond",
985
+ "outputs": [],
986
+ "stateMutability": "nonpayable",
987
+ "type": "function"
988
+ },
989
+ {
990
+ "inputs": [
991
+ {
992
+ "internalType": "RequestId",
993
+ "name": "requestId",
994
+ "type": "uint64"
995
+ },
996
+ {
997
+ "internalType": "string",
998
+ "name": "responseText",
999
+ "type": "string"
1000
+ },
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "revertInCall",
1004
+ "type": "bool"
1005
+ },
1006
+ {
1007
+ "internalType": "Timestamp",
1008
+ "name": "revertUntil",
1009
+ "type": "uint40"
1010
+ }
1011
+ ],
1012
+ "name": "respondAsync",
1013
+ "outputs": [],
1014
+ "stateMutability": "nonpayable",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "inputs": [
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "newAuthority",
1022
+ "type": "address"
1023
+ }
1024
+ ],
1025
+ "name": "setAuthority",
1026
+ "outputs": [],
1027
+ "stateMutability": "nonpayable",
1028
+ "type": "function"
1029
+ },
1030
+ {
1031
+ "inputs": [
1032
+ {
1033
+ "internalType": "bytes4",
1034
+ "name": "interfaceId",
1035
+ "type": "bytes4"
1036
+ }
1037
+ ],
1038
+ "name": "supportsInterface",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "bool",
1042
+ "name": "",
1043
+ "type": "bool"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "Amount",
1053
+ "name": "amount",
1054
+ "type": "uint96"
1055
+ }
1056
+ ],
1057
+ "name": "withdrawFees",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "Amount",
1061
+ "name": "",
1062
+ "type": "uint96"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "nonpayable",
1066
+ "type": "function"
1067
+ }
1068
+ ],
1069
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051613f3a380380613f3a83398101604081905261002e91610c49565b610065848484846040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b81525061006e60201b60201c565b50505050611001565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b75750825b90505f826001600160401b031660011480156100d25750303b155b9050811580156100e0575080155b156100fe5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012c57845460ff60401b1916680100000000000000001785555b6101398a8a8a8a8a61018b565b831561017f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101936101bc565b6101b5858585858560405180602001604052805f81525061020c60201b60201c565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661020a57604051631afcd79f60e31b815260040160405180910390fd5b565b6102146101bc565b610226868684600d88600189886102b7565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900610256600b6104db565b6104db565b81546001600160a01b0319166001600160a01b039190911617815561027c610251600d90565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556102ae63c0d4275760e01b610572565b50505050505050565b6102bf6101bc565b5f6102cb8989886105a5565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561033d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103619190610ca1565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610400929163bf7e214f9160048083019260209291908290030181865afa1580156103bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103df9190610ca1565b8b8b8b8b8a8a60405180602001604052805f8152508b61065060201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610447573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046b9190610ca1565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104a9610251600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561017f63a9c1bc6f60e01b610572565b5f6104ee6001546001600160a01b031690565b6001600160a01b031663d39e604383610505610720565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056c9190610ca1565b92915050565b61057a6101bc565b6105a2816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105c6576105bd8484600a6107b6565b50829050610649565b5f6105d38585600c6107b6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610621573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106459190610cbc565b9150505b9392505050565b6106586101bc565b85515f036106795760405163591eebf360e11b815260040160405180910390fd5b61068889898988888888610880565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106b48882610d6a565b5060018101805460ff1916861515179055600281016106d38382610d6a565b506106de600b6104db565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610710634a531f3360e01b610572565b61017f6306e9e5ff60e31b610572565b5f6107527ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561078d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b19190610e3d565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610804573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261082b9190810190610f18565b905061084281604001518460ff9081169116141590565b1561087857604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108886101bc565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109029190610fe8565b61092a5760405163cf6935e560e01b81526001600160a01b038816600482015260240161086f565b610933876109d4565b61093d86836109e5565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109b98382610d6a565b506109ca634a531f3360e01b610572565b5050505050505050565b6109dc6101bc565b6105a281610a77565b6109ed6101bc565b6109f5610a88565b6109fe82610ad0565b6001600160a01b038116610a255760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a7f6101bc565b6105a281610b9c565b610a906101bc565b61020a6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ad86101bc565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190610fe8565b610b7a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161086f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105a2575f80fd5b8051610c2e81610c0f565b919050565b80516001600160601b0381168114610c2e575f80fd5b5f805f8060808587031215610c5c575f80fd5b8451610c6781610c0f565b9350610c7560208601610c33565b92506040850151610c8581610c0f565b6060860151909250610c9681610c0f565b939692955090935050565b5f60208284031215610cb1575f80fd5b815161064981610c0f565b5f60208284031215610ccc575f80fd5b61064982610c33565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610cfd57607f821691505b602082108103610d1b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d6557805f5260205f20601f840160051c81016020851015610d465750805b601f840160051c820191505b818110156101b5575f8155600101610d52565b505050565b81516001600160401b03811115610d8357610d83610cd5565b610d9781610d918454610ce9565b84610d21565b6020601f821160018114610dc9575f8315610db25750848201515b5f19600385901b1c1916600184901b1784556101b5565b5f84815260208120601f198516915b82811015610df85787850151825560209485019460019092019101610dd8565b5084821015610e1557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105a2575f80fd5b8051610c2e81610e24565b5f60208284031215610e4d575f80fd5b815161064981610e24565b60405160e081016001600160401b0381118282101715610e7a57610e7a610cd5565b60405290565b80518015158114610c2e575f80fd5b5f82601f830112610e9e575f80fd5b81516001600160401b03811115610eb757610eb7610cd5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ee557610ee5610cd5565b604052818152838201602001851015610efc575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f28575f80fd5b81516001600160401b03811115610f3d575f80fd5b820160e08185031215610f4e575f80fd5b610f56610e58565b610f5f82610c33565b8152610f6d60208301610c33565b6020820152610f7e60408301610e32565b6040820152610f8f60608301610e80565b6060820152610fa060808301610c23565b6080820152610fb160a08301610c23565b60a082015260c08201516001600160401b03811115610fce575f80fd5b610fda86828501610e8f565b60c083015250949350505050565b5f60208284031215610ff8575f80fd5b61064982610e80565b612f2c8061100e5f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c80635ab1bd531161011f578063963cb067116100a9578063b423086c11610079578063b423086c1461051c578063bf7e214f14610524578063cf4ee77a1461052c578063de7b5d141461053f578063ea15869f1461056f575f80fd5b8063963cb067146104a6578063a8b81cd8146104b9578063ad12ad60146104f5578063ada9652e14610508575f80fd5b80637a9e5e4b116100ef5780637a9e5e4b1461044f57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b80635ab1bd53146103d7578063644c45e0146103e85780636bd1c0eb1461040557806376b707b714610435575f80fd5b80631eff4b22116101a05780632eb3e6f4116101705780632eb3e6f41461036657806343d752d31461038d5780634bd100e4146103955780634c125e79146103bc5780635741e5e9146103cf575f80fd5b80631eff4b221461031957806321df0da71461034e578063223668441461035657806322f3e2d41461035e575f80fd5b80630fec111c116101e65780630fec111c1461029c57806313299604146102b1578063138461e0146102d157806317d7de7c146102f15780631c6b219014610306575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630d8e6e2c14610280575b5f80fd5b610243610225366004612366565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046124d6565b610596565b005b61026b61027b366004612556565b610626565b610288610646565b60405162ffffff909116815260200161024f565b6102a46106cd565b60405161024f9190612623565b6102b9610887565b6040516001600160a01b03909116815260200161024f565b6102d96108ef565b6040516001600160601b03909116815260200161024f565b6102f96108f9565b60405161024f91906126b7565b6102d96103143660046126c9565b610909565b6103407f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102b961098b565b6102436109cf565b610243610ac5565b6103407fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b9610b3c565b6103407faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103ca3660046126e4565b610b4e565b610243610b63565b6001546001600160a01b03166102b9565b5f80516020612eb7833981519152546001600160601b03166102d9565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b9565b61043d610c19565b60405160ff909116815260200161024f565b61026b61045d366004612711565b610c81565b5f610243565b6102b9610d07565b610478610e38565b6040516001600160e01b0319909116815260200161024f565b610499610e6d565b60405161024f919061272c565b61026b6104b4366004612783565b610e92565b6102f96040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b610503366004612805565b610fa6565b6103405f80516020612eb783398151915281565b610499611049565b6102b9611059565b61026b61053a366004612855565b611074565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b9565b6103407fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105cb91906128b2565b60405160208183030381529060405290506105e68582611083565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516106179291906128e9565b60405180910390a15050505050565b610632335b5f36611119565b61063f8585858585611217565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c8919061290a565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d9190612937565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107e5610d07565b6001600160a01b0316815260200182600101805461080290612952565b80601f016020809104026020016040519081016040528092919081815260200182805461082e90612952565b80156108795780601f1061085057610100808354040283529160200191610879565b820191905f5260205f20905b81548152906001019060200180831161085c57829003601f168201915b505050505081525091505090565b5f610890610b3c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612995565b5f6106c830611282565b6060610903610e6d565b51919050565b5f610912610d07565b6001600160a01b0316336001600160a01b03161461094a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109533361062b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610941565b5f610994610b3c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612937565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906129bb565b5f610ace611059565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3691906129bb565b15905090565b5f610b45610e6d565b60200151905090565b610b573361062b565b610b60816114d8565b50565b5f610b6c6109cf565b15610bf0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610be79190810190612a43565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610c22611059565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612b13565b33610c8a611059565b6001600160a01b0316816001600160a01b031614610cc55760405162d1953b60e31b81526001600160a01b0382166004820152602401610941565b816001600160a01b03163b5f03610cfa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610941565b610d0382611517565b5050565b5f805f80516020612eb783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9791906129bb565b15610e22576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612995565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ed783398151915280545f9190600160a01b900460ff16610e5f575f610e1c565b638fb3603760e01b91505090565b610e7561233d565b610e7d6109cf565b15610e8a576106c8611578565b6106c8611049565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ed65750825b90505f826001600160401b03166001148015610ef15750303b155b905081158015610eff575080155b15610f1d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f4757845460ff60401b1916600160401b1785555b610f548a8a8a8a8a61175e565b8315610f9a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110119190612995565b6001600160a01b0316336001600160a01b0316146110435760405162f0630960e01b8152336004820152602401610941565b50505050565b61105161233d565b6106c8611578565b5f80516020612ed7833981519152546001600160a01b031690565b61107d3361062b565b610d0382825b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906110d490859085906004016128e9565b6020604051808303815f875af11580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906129bb565b505050565b5f80516020612ed78339815191525f80611151611134611059565b873061114360045f8a8c612b2e565b61114c91612b55565b611782565b915091508161120f5763ffffffff8116156111ec57825460ff60a01b1916600160a01b17835561117f611059565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111ae93929190612b8d565b5f604051808303815f87803b1580156111c5575f80fd5b505af11580156111d7573d5f803e3d5ffd5b5050845460ff60a01b191685555061120f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610941565b505050505050565b5f61122483850185612bcc565b805190915015611237576112378661188a565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e892611272928a928a929190612c66565b60405180910390a1505050505050565b5f805f80516020612eb783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061131291906129bb565b1561133e5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610941565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611390573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b491906129bb565b6113dc5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610941565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561142e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114529190612937565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061149e610d07565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612ed783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b61158061233d565b5f6115936001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156115d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115fb9190612937565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611654573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167891906129bb565b15611756577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116d45f80516020612eb7833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611715573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261173c9190810190612ca8565b60208101519092506001600160a01b031615611756575090565b610e1c611952565b611766611a36565b61063f858585858560405180602001604052805f815250611a81565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117f09190612d62565b5f60405180830381855afa9150503d805f8114611828576040519150601f19603f3d011682016040523d82523d5f602084013e61182d565b606091505b5091509150811561187f57604081511061185f57808060200190518101906118559190612d78565b909450925061187f565b602081511061187f578080602001905181019061187c91906129bb565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016118d191906126b7565b60405160208183030381529060405290506118ec8282611083565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525060405161156c9291906128e9565b61195a61233d565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f01805461199790612952565b80601f01602080910402602001604051908101604052809291908181526020018280546119c390612952565b8015611a0e5780601f106119e557610100808354040283529160200191611a0e565b820191905f5260205f20905b8154815290600101906020018083116119f157829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461080290612952565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611a7f57604051631afcd79f60e31b815260040160405180910390fd5b565b611a89611a36565b611a9b868684600d8860018988611b26565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611ac6600b611d43565b81546001600160a01b0319166001600160a01b0391909116178155611aeb600d611d43565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055611b1d63c0d4275760e01b611dda565b50505050505050565b611b2e611a36565b5f611b3a898988611e0a565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd09190612995565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611c69929163bf7e214f9160048083019260209291908290030181865afa158015611c2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4e9190612995565b8b8b8b8b8a8a60405180602001604052805f8152508b611eb5565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611cb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd49190612995565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055611d11600b611d43565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610f9a63a9c1bc6f60e01b611dda565b5f611d566001546001600160a01b031690565b6001600160a01b031663d39e604383611d6d610c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd49190612995565b92915050565b611de2611a36565b610b60816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e2b57611e228484600a611f85565b50829050611eae565b5f611e388585600c611f85565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaa9190612937565b9150505b9392505050565b611ebd611a36565b85515f03611ede5760405163591eebf360e11b815260040160405180910390fd5b611eed8989898888888861204a565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611f198882612dfc565b5060018101805460ff191686151517905560028101611f388382612dfc565b50611f43600b611d43565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611f75634a531f3360e01b611dda565b610f9a6306e9e5ff60e31b611dda565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015611fd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ffa9190810190612a43565b905061201181604001518460ff9081169116141590565b1561204257604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610941565b509392505050565b612052611a36565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156120a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120cc91906129bb565b6120f45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610941565b6120fd87612191565b61210786836121a2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121768382612dfc565b50612187634a531f3360e01b611dda565b5050505050505050565b612199611a36565b610b6081612218565b6121aa611a36565b6121b2612229565b6121bb82612271565b6001600160a01b0381166121e25760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612eb783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612220611a36565b610b6081611517565b612231611a36565b611a7f6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612279611a36565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156122cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f391906129bb565b61231b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610941565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612376575f80fd5b81356001600160e01b031981168114611eae575f80fd5b80356001600160401b03811681146123a3575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123de576123de6123a8565b60405290565b604051606081016001600160401b03811182821017156123de576123de6123a8565b604051601f8201601f191681016001600160401b038111828210171561242e5761242e6123a8565b604052919050565b5f6001600160401b0382111561244e5761244e6123a8565b50601f01601f191660200190565b5f61246e61246984612436565b612406565b9050828152838383011115612481575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124a6575f80fd5b611eae8383356020850161245c565b8015158114610b60575f80fd5b803564ffffffffff811681146123a3575f80fd5b5f805f80608085870312156124e9575f80fd5b6124f28561238d565b935060208501356001600160401b0381111561250c575f80fd5b61251887828801612497565b9350506040850135612529816124b5565b9150612537606086016124c2565b905092959194509250565b6001600160601b0381168114610b60575f80fd5b5f805f805f6080868803121561256a575f80fd5b6125738661238d565b9450602086013561258381612542565b935060408601356001600160401b0381111561259d575f80fd5b8601601f810188136125ad575f80fd5b80356001600160401b038111156125c2575f80fd5b8860208284010111156125d3575f80fd5b602091909101935091506125e9606087016124c2565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161266b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126af6101008401826125f5565b949350505050565b602081525f611eae60208301846125f5565b5f602082840312156126d9575f80fd5b8135611eae81612542565b5f602082840312156126f4575f80fd5b611eae8261238d565b6001600160a01b0381168114610b60575f80fd5b5f60208284031215612721575f80fd5b8135611eae816126fd565b602081525f82516060602084015261274760808401826125f5565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061277a82826125f5565b95945050505050565b5f805f805f60a08688031215612797575f80fd5b85356127a2816126fd565b945060208601356127b281612542565b935060408601356127c2816126fd565b925060608601356127d2816126fd565b915060808601356001600160401b038111156127ec575f80fd5b6127f888828901612497565b9150509295509295909350565b5f805f8060808587031215612818575f80fd5b8435612823816126fd565b93506020850135612833816126fd565b925060408501359150606085013561284a816126fd565b939692955090935050565b5f8060408385031215612866575f80fd5b61286f8361238d565b915060208301356001600160401b03811115612889575f80fd5b8301601f81018513612899575f80fd5b6128a88582356020840161245c565b9150509250929050565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126af60808401826125f5565b6001600160401b0383168152604060208201525f6126af60408301846125f5565b5f6020828403121561291a575f80fd5b815162ffffff81168114611eae575f80fd5b80516123a381612542565b5f60208284031215612947575f80fd5b8151611eae81612542565b600181811c9082168061296657607f821691505b60208210810361298457634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123a3816126fd565b5f602082840312156129a5575f80fd5b8151611eae816126fd565b80516123a3816124b5565b5f602082840312156129cb575f80fd5b8151611eae816124b5565b60ff81168114610b60575f80fd5b80516123a3816129d6565b5f6129fc61246984612436565b9050828152838383011115612a0f575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a34575f80fd5b611eae838351602085016129ef565b5f60208284031215612a53575f80fd5b81516001600160401b03811115612a68575f80fd5b820160e08185031215612a79575f80fd5b612a816123bc565b612a8a8261292c565b8152612a986020830161292c565b6020820152612aa9604083016129e4565b6040820152612aba606083016129b0565b6060820152612acb6080830161298a565b6080820152612adc60a0830161298a565b60a082015260c08201516001600160401b03811115612af9575f80fd5b612b0586828501612a25565b60c083015250949350505050565b5f60208284031215612b23575f80fd5b8151611eae816129d6565b5f8085851115612b3c575f80fd5b83861115612b48575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b86576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612bdc575f80fd5b81356001600160401b03811115612bf1575f80fd5b820160408185031215612c02575f80fd5b604080519081016001600160401b0381118282101715612c2457612c246123a8565b6040528135612c32816124b5565b815260208201356001600160401b03811115612c4c575f80fd5b612c5886828501612497565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612c9e60808301846125f5565b9695505050505050565b5f60208284031215612cb8575f80fd5b81516001600160401b03811115612ccd575f80fd5b820160608185031215612cde575f80fd5b612ce66123e4565b81516001600160401b03811115612cfb575f80fd5b8201601f81018613612d0b575f80fd5b612d1a868251602084016129ef565b8252506020820151612d2b816126fd565b602082015260408201516001600160401b03811115612d48575f80fd5b612d5486828501612a25565b604083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612d89575f80fd5b8251612d94816124b5565b602084015190925063ffffffff81168114612dad575f80fd5b809150509250929050565b601f82111561111457805f5260205f20601f840160051c81016020851015612ddd5750805b601f840160051c820191505b8181101561063f575f8155600101612de9565b81516001600160401b03811115612e1557612e156123a8565b612e2981612e238454612952565b84612db8565b6020601f821160018114612e5b575f8315612e445750848201515b5f19600385901b1c1916600184901b17845561063f565b5f84815260208120601f198516915b82811015612e8a5787850151825560209485019460019092019101612e6a565b5084821015612ea757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200190f8d9501757538523ea33dd74193b675a365ff5deeb20ae552249c64f32b064736f6c634300081a0033",
1070
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c80635ab1bd531161011f578063963cb067116100a9578063b423086c11610079578063b423086c1461051c578063bf7e214f14610524578063cf4ee77a1461052c578063de7b5d141461053f578063ea15869f1461056f575f80fd5b8063963cb067146104a6578063a8b81cd8146104b9578063ad12ad60146104f5578063ada9652e14610508575f80fd5b80637a9e5e4b116100ef5780637a9e5e4b1461044f57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b80635ab1bd53146103d7578063644c45e0146103e85780636bd1c0eb1461040557806376b707b714610435575f80fd5b80631eff4b22116101a05780632eb3e6f4116101705780632eb3e6f41461036657806343d752d31461038d5780634bd100e4146103955780634c125e79146103bc5780635741e5e9146103cf575f80fd5b80631eff4b221461031957806321df0da71461034e578063223668441461035657806322f3e2d41461035e575f80fd5b80630fec111c116101e65780630fec111c1461029c57806313299604146102b1578063138461e0146102d157806317d7de7c146102f15780631c6b219014610306575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630d8e6e2c14610280575b5f80fd5b610243610225366004612366565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046124d6565b610596565b005b61026b61027b366004612556565b610626565b610288610646565b60405162ffffff909116815260200161024f565b6102a46106cd565b60405161024f9190612623565b6102b9610887565b6040516001600160a01b03909116815260200161024f565b6102d96108ef565b6040516001600160601b03909116815260200161024f565b6102f96108f9565b60405161024f91906126b7565b6102d96103143660046126c9565b610909565b6103407f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102b961098b565b6102436109cf565b610243610ac5565b6103407fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b9610b3c565b6103407faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103ca3660046126e4565b610b4e565b610243610b63565b6001546001600160a01b03166102b9565b5f80516020612eb7833981519152546001600160601b03166102d9565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b9565b61043d610c19565b60405160ff909116815260200161024f565b61026b61045d366004612711565b610c81565b5f610243565b6102b9610d07565b610478610e38565b6040516001600160e01b0319909116815260200161024f565b610499610e6d565b60405161024f919061272c565b61026b6104b4366004612783565b610e92565b6102f96040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b610503366004612805565b610fa6565b6103405f80516020612eb783398151915281565b610499611049565b6102b9611059565b61026b61053a366004612855565b611074565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b9565b6103407fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105cb91906128b2565b60405160208183030381529060405290506105e68582611083565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516106179291906128e9565b60405180910390a15050505050565b610632335b5f36611119565b61063f8585858585611217565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c8919061290a565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d9190612937565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107e5610d07565b6001600160a01b0316815260200182600101805461080290612952565b80601f016020809104026020016040519081016040528092919081815260200182805461082e90612952565b80156108795780601f1061085057610100808354040283529160200191610879565b820191905f5260205f20905b81548152906001019060200180831161085c57829003601f168201915b505050505081525091505090565b5f610890610b3c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612995565b5f6106c830611282565b6060610903610e6d565b51919050565b5f610912610d07565b6001600160a01b0316336001600160a01b03161461094a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109533361062b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610941565b5f610994610b3c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612937565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906129bb565b5f610ace611059565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3691906129bb565b15905090565b5f610b45610e6d565b60200151905090565b610b573361062b565b610b60816114d8565b50565b5f610b6c6109cf565b15610bf0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610be79190810190612a43565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610c22611059565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612b13565b33610c8a611059565b6001600160a01b0316816001600160a01b031614610cc55760405162d1953b60e31b81526001600160a01b0382166004820152602401610941565b816001600160a01b03163b5f03610cfa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610941565b610d0382611517565b5050565b5f805f80516020612eb783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9791906129bb565b15610e22576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612995565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ed783398151915280545f9190600160a01b900460ff16610e5f575f610e1c565b638fb3603760e01b91505090565b610e7561233d565b610e7d6109cf565b15610e8a576106c8611578565b6106c8611049565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ed65750825b90505f826001600160401b03166001148015610ef15750303b155b905081158015610eff575080155b15610f1d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f4757845460ff60401b1916600160401b1785555b610f548a8a8a8a8a61175e565b8315610f9a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110119190612995565b6001600160a01b0316336001600160a01b0316146110435760405162f0630960e01b8152336004820152602401610941565b50505050565b61105161233d565b6106c8611578565b5f80516020612ed7833981519152546001600160a01b031690565b61107d3361062b565b610d0382825b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906110d490859085906004016128e9565b6020604051808303815f875af11580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111491906129bb565b505050565b5f80516020612ed78339815191525f80611151611134611059565b873061114360045f8a8c612b2e565b61114c91612b55565b611782565b915091508161120f5763ffffffff8116156111ec57825460ff60a01b1916600160a01b17835561117f611059565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111ae93929190612b8d565b5f604051808303815f87803b1580156111c5575f80fd5b505af11580156111d7573d5f803e3d5ffd5b5050845460ff60a01b191685555061120f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610941565b505050505050565b5f61122483850185612bcc565b805190915015611237576112378661188a565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e892611272928a928a929190612c66565b60405180910390a1505050505050565b5f805f80516020612eb783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061131291906129bb565b1561133e5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610941565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611390573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b491906129bb565b6113dc5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610941565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561142e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114529190612937565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061149e610d07565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612ed783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b61158061233d565b5f6115936001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156115d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115fb9190612937565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611654573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167891906129bb565b15611756577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116d45f80516020612eb7833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611715573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261173c9190810190612ca8565b60208101519092506001600160a01b031615611756575090565b610e1c611952565b611766611a36565b61063f858585858560405180602001604052805f815250611a81565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117f09190612d62565b5f60405180830381855afa9150503d805f8114611828576040519150601f19603f3d011682016040523d82523d5f602084013e61182d565b606091505b5091509150811561187f57604081511061185f57808060200190518101906118559190612d78565b909450925061187f565b602081511061187f578080602001905181019061187c91906129bb565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016118d191906126b7565b60405160208183030381529060405290506118ec8282611083565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525060405161156c9291906128e9565b61195a61233d565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f01805461199790612952565b80601f01602080910402602001604051908101604052809291908181526020018280546119c390612952565b8015611a0e5780601f106119e557610100808354040283529160200191611a0e565b820191905f5260205f20905b8154815290600101906020018083116119f157829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461080290612952565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611a7f57604051631afcd79f60e31b815260040160405180910390fd5b565b611a89611a36565b611a9b868684600d8860018988611b26565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611ac6600b611d43565b81546001600160a01b0319166001600160a01b0391909116178155611aeb600d611d43565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055611b1d63c0d4275760e01b611dda565b50505050505050565b611b2e611a36565b5f611b3a898988611e0a565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd09190612995565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611c69929163bf7e214f9160048083019260209291908290030181865afa158015611c2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4e9190612995565b8b8b8b8b8a8a60405180602001604052805f8152508b611eb5565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611cb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd49190612995565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055611d11600b611d43565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610f9a63a9c1bc6f60e01b611dda565b5f611d566001546001600160a01b031690565b6001600160a01b031663d39e604383611d6d610c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd49190612995565b92915050565b611de2611a36565b610b60816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e2b57611e228484600a611f85565b50829050611eae565b5f611e388585600c611f85565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611e86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaa9190612937565b9150505b9392505050565b611ebd611a36565b85515f03611ede5760405163591eebf360e11b815260040160405180910390fd5b611eed8989898888888861204a565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611f198882612dfc565b5060018101805460ff191686151517905560028101611f388382612dfc565b50611f43600b611d43565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611f75634a531f3360e01b611dda565b610f9a6306e9e5ff60e31b611dda565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015611fd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ffa9190810190612a43565b905061201181604001518460ff9081169116141590565b1561204257604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610941565b509392505050565b612052611a36565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156120a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120cc91906129bb565b6120f45760405163cf6935e560e01b81526001600160a01b0388166004820152602401610941565b6120fd87612191565b61210786836121a2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121768382612dfc565b50612187634a531f3360e01b611dda565b5050505050505050565b612199611a36565b610b6081612218565b6121aa611a36565b6121b2612229565b6121bb82612271565b6001600160a01b0381166121e25760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612eb783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612220611a36565b610b6081611517565b612231611a36565b611a7f6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612279611a36565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156122cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f391906129bb565b61231b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610941565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612376575f80fd5b81356001600160e01b031981168114611eae575f80fd5b80356001600160401b03811681146123a3575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123de576123de6123a8565b60405290565b604051606081016001600160401b03811182821017156123de576123de6123a8565b604051601f8201601f191681016001600160401b038111828210171561242e5761242e6123a8565b604052919050565b5f6001600160401b0382111561244e5761244e6123a8565b50601f01601f191660200190565b5f61246e61246984612436565b612406565b9050828152838383011115612481575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124a6575f80fd5b611eae8383356020850161245c565b8015158114610b60575f80fd5b803564ffffffffff811681146123a3575f80fd5b5f805f80608085870312156124e9575f80fd5b6124f28561238d565b935060208501356001600160401b0381111561250c575f80fd5b61251887828801612497565b9350506040850135612529816124b5565b9150612537606086016124c2565b905092959194509250565b6001600160601b0381168114610b60575f80fd5b5f805f805f6080868803121561256a575f80fd5b6125738661238d565b9450602086013561258381612542565b935060408601356001600160401b0381111561259d575f80fd5b8601601f810188136125ad575f80fd5b80356001600160401b038111156125c2575f80fd5b8860208284010111156125d3575f80fd5b602091909101935091506125e9606087016124c2565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161266b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126af6101008401826125f5565b949350505050565b602081525f611eae60208301846125f5565b5f602082840312156126d9575f80fd5b8135611eae81612542565b5f602082840312156126f4575f80fd5b611eae8261238d565b6001600160a01b0381168114610b60575f80fd5b5f60208284031215612721575f80fd5b8135611eae816126fd565b602081525f82516060602084015261274760808401826125f5565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061277a82826125f5565b95945050505050565b5f805f805f60a08688031215612797575f80fd5b85356127a2816126fd565b945060208601356127b281612542565b935060408601356127c2816126fd565b925060608601356127d2816126fd565b915060808601356001600160401b038111156127ec575f80fd5b6127f888828901612497565b9150509295509295909350565b5f805f8060808587031215612818575f80fd5b8435612823816126fd565b93506020850135612833816126fd565b925060408501359150606085013561284a816126fd565b939692955090935050565b5f8060408385031215612866575f80fd5b61286f8361238d565b915060208301356001600160401b03811115612889575f80fd5b8301601f81018513612899575f80fd5b6128a88582356020840161245c565b9150509250929050565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126af60808401826125f5565b6001600160401b0383168152604060208201525f6126af60408301846125f5565b5f6020828403121561291a575f80fd5b815162ffffff81168114611eae575f80fd5b80516123a381612542565b5f60208284031215612947575f80fd5b8151611eae81612542565b600181811c9082168061296657607f821691505b60208210810361298457634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123a3816126fd565b5f602082840312156129a5575f80fd5b8151611eae816126fd565b80516123a3816124b5565b5f602082840312156129cb575f80fd5b8151611eae816124b5565b60ff81168114610b60575f80fd5b80516123a3816129d6565b5f6129fc61246984612436565b9050828152838383011115612a0f575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a34575f80fd5b611eae838351602085016129ef565b5f60208284031215612a53575f80fd5b81516001600160401b03811115612a68575f80fd5b820160e08185031215612a79575f80fd5b612a816123bc565b612a8a8261292c565b8152612a986020830161292c565b6020820152612aa9604083016129e4565b6040820152612aba606083016129b0565b6060820152612acb6080830161298a565b6080820152612adc60a0830161298a565b60a082015260c08201516001600160401b03811115612af9575f80fd5b612b0586828501612a25565b60c083015250949350505050565b5f60208284031215612b23575f80fd5b8151611eae816129d6565b5f8085851115612b3c575f80fd5b83861115612b48575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b86576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612bdc575f80fd5b81356001600160401b03811115612bf1575f80fd5b820160408185031215612c02575f80fd5b604080519081016001600160401b0381118282101715612c2457612c246123a8565b6040528135612c32816124b5565b815260208201356001600160401b03811115612c4c575f80fd5b612c5886828501612497565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612c9e60808301846125f5565b9695505050505050565b5f60208284031215612cb8575f80fd5b81516001600160401b03811115612ccd575f80fd5b820160608185031215612cde575f80fd5b612ce66123e4565b81516001600160401b03811115612cfb575f80fd5b8201601f81018613612d0b575f80fd5b612d1a868251602084016129ef565b8252506020820151612d2b816126fd565b602082015260408201516001600160401b03811115612d48575f80fd5b612d5486828501612a25565b604083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612d89575f80fd5b8251612d94816124b5565b602084015190925063ffffffff81168114612dad575f80fd5b809150509250929050565b601f82111561111457805f5260205f20601f840160051c81016020851015612ddd5750805b601f840160051c820191505b8181101561063f575f8155600101612de9565b81516001600160401b03811115612e1557612e156123a8565b612e2981612e238454612952565b84612db8565b6020601f821160018114612e5b575f8315612e445750848201515b5f19600385901b1c1916600184901b17845561063f565b5f84815260208120601f198516915b82811015612e8a5787850151825560209485019460019092019101612e6a565b5084821015612ea757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200190f8d9501757538523ea33dd74193b675a365ff5deeb20ae552249c64f32b064736f6c634300081a0033",
1071
+ "linkReferences": {
1072
+ "contracts/shared/ContractLib.sol": {
1073
+ "ContractLib": [
1074
+ {
1075
+ "length": 20,
1076
+ "start": 2214
1077
+ },
1078
+ {
1079
+ "length": 20,
1080
+ "start": 2806
1081
+ },
1082
+ {
1083
+ "length": 20,
1084
+ "start": 12414
1085
+ },
1086
+ {
1087
+ "length": 20,
1088
+ "start": 12965
1089
+ }
1090
+ ]
1091
+ },
1092
+ "contracts/type/NftId.sol": {
1093
+ "NftIdLib": [
1094
+ {
1095
+ "length": 20,
1096
+ "start": 5954
1097
+ },
1098
+ {
1099
+ "length": 20,
1100
+ "start": 6775
1101
+ },
1102
+ {
1103
+ "length": 20,
1104
+ "start": 7497
1105
+ },
1106
+ {
1107
+ "length": 20,
1108
+ "start": 8900
1109
+ },
1110
+ {
1111
+ "length": 20,
1112
+ "start": 9770
1113
+ }
1114
+ ]
1115
+ },
1116
+ "contracts/type/Version.sol": {
1117
+ "VersionLib": [
1118
+ {
1119
+ "length": 20,
1120
+ "start": 5754
1121
+ }
1122
+ ]
1123
+ }
1124
+ },
1125
+ "deployedLinkReferences": {
1126
+ "contracts/shared/ContractLib.sol": {
1127
+ "ContractLib": [
1128
+ {
1129
+ "length": 20,
1130
+ "start": 8304
1131
+ },
1132
+ {
1133
+ "length": 20,
1134
+ "start": 8855
1135
+ }
1136
+ ]
1137
+ },
1138
+ "contracts/type/NftId.sol": {
1139
+ "NftIdLib": [
1140
+ {
1141
+ "length": 20,
1142
+ "start": 1844
1143
+ },
1144
+ {
1145
+ "length": 20,
1146
+ "start": 2665
1147
+ },
1148
+ {
1149
+ "length": 20,
1150
+ "start": 3387
1151
+ },
1152
+ {
1153
+ "length": 20,
1154
+ "start": 4790
1155
+ },
1156
+ {
1157
+ "length": 20,
1158
+ "start": 5660
1159
+ }
1160
+ ]
1161
+ },
1162
+ "contracts/type/Version.sol": {
1163
+ "VersionLib": [
1164
+ {
1165
+ "length": 20,
1166
+ "start": 1644
1167
+ }
1168
+ ]
1169
+ }
1170
+ }
1171
+ }