@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc41a4e-906

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