@etherisc/gif-next 0.0.2-754ba48-078 → 0.0.2-7560591-936

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/README.md +53 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +8 -8
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +40 -40
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +6 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +33 -33
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +18 -18
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +19 -19
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +5 -5
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +5 -5
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +32 -145
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +20 -20
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1 -87
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +90 -90
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +67 -67
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +4 -4
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +44 -74
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +20 -20
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +89 -119
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +20 -20
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +39 -174
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +20 -20
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +18 -61
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +69 -112
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +20 -20
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +93 -136
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +20 -20
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +19 -1
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +8 -2
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +36 -13
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +81 -81
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +26 -26
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +195 -200
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +34 -28
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +37 -37
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +344 -354
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +2 -2
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  93. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  95. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  96. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  100. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  101. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +10 -31
  103. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +20 -20
  105. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +0 -21
  108. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -21
  111. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +32 -32
  113. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +45 -45
  115. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  116. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +22 -43
  117. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +20 -20
  119. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +60 -60
  121. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +53 -53
  123. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +6 -6
  125. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +10 -31
  127. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +18 -18
  129. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  130. package/artifacts/contracts/pool/Pool.sol/Pool.json +10 -31
  131. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  132. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +34 -34
  133. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +42 -42
  135. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +55 -55
  137. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  138. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +12 -12
  139. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +38 -38
  141. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  142. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +27 -48
  143. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +20 -20
  145. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +64 -64
  147. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +64 -64
  149. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  150. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +21 -42
  155. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  156. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  157. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +60 -60
  158. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  159. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +32 -32
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  161. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +55 -55
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/PricingService.sol/PricingService.json +32 -72
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +45 -65
  166. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  167. package/artifacts/contracts/product/Product.sol/Product.json +21 -42
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  169. package/artifacts/contracts/product/RiskService.sol/RiskService.json +2 -2
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +38 -38
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +15 -15
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  176. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  178. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/Registry.sol/Registry.json +17 -17
  180. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  181. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +83 -83
  182. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +31 -31
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  187. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +33 -33
  188. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  189. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +91 -91
  190. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +88 -88
  193. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +2 -2
  195. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -14
  197. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  198. package/artifacts/contracts/shared/Component.sol/Component.json +0 -21
  199. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  200. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +105 -81
  201. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +59 -55
  203. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  205. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +2 -2
  206. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  207. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  208. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  209. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -21
  211. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +43 -27
  213. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -21
  215. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  217. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  223. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  224. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -21
  225. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  226. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  227. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  228. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  230. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  231. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  232. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  234. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  235. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  236. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  237. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  238. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  239. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  240. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  241. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  242. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  243. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +9 -30
  244. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  245. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +4 -4
  246. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  247. package/artifacts/contracts/staking/Staking.sol/Staking.json +67 -96
  248. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +42 -42
  250. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  252. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +47 -51
  253. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  254. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +21 -21
  255. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  256. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +20 -20
  257. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  258. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +38 -38
  259. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  260. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +159 -159
  261. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  262. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -59
  263. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  264. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  266. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  271. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  273. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  275. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  289. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  291. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  292. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  293. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +18 -18
  294. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  295. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  296. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  297. package/contracts/accounting/IAccountingService.sol +2 -2
  298. package/contracts/authorization/IAccess.sol +13 -5
  299. package/contracts/distribution/BasicDistribution.sol +6 -6
  300. package/contracts/distribution/Distribution.sol +3 -48
  301. package/contracts/distribution/DistributionService.sol +28 -28
  302. package/contracts/distribution/IDistributionComponent.sol +0 -9
  303. package/contracts/examples/fire/FirePool.sol +0 -4
  304. package/contracts/examples/fire/FireProduct.sol +0 -4
  305. package/contracts/examples/unpermissioned/SimpleDistribution.sol +4 -8
  306. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  307. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  308. package/contracts/examples/unpermissioned/SimpleProduct.sol +0 -4
  309. package/contracts/instance/IInstance.sol +2 -1
  310. package/contracts/instance/IInstanceService.sol +5 -1
  311. package/contracts/instance/Instance.sol +11 -3
  312. package/contracts/instance/InstanceService.sol +11 -14
  313. package/contracts/instance/module/IBundle.sol +6 -5
  314. package/contracts/instance/module/IComponents.sol +16 -5
  315. package/contracts/instance/module/IDistribution.sol +17 -7
  316. package/contracts/instance/module/IPolicy.sol +28 -8
  317. package/contracts/instance/module/IRisk.sol +2 -0
  318. package/contracts/oracle/BasicOracle.sol +1 -3
  319. package/contracts/oracle/IOracle.sol +9 -4
  320. package/contracts/oracle/Oracle.sol +0 -2
  321. package/contracts/pool/BasicPool.sol +0 -2
  322. package/contracts/pool/Pool.sol +0 -2
  323. package/contracts/pool/PoolService.sol +1 -3
  324. package/contracts/product/BasicProduct.sol +0 -2
  325. package/contracts/product/PricingService.sol +6 -6
  326. package/contracts/product/Product.sol +0 -2
  327. package/contracts/registry/IRegistry.sol +4 -0
  328. package/contracts/registry/IRelease.sol +6 -3
  329. package/contracts/registry/TokenRegistry.sol +4 -1
  330. package/contracts/shared/Component.sol +8 -25
  331. package/contracts/shared/ComponentService.sol +34 -15
  332. package/contracts/shared/IComponent.sol +0 -3
  333. package/contracts/shared/IComponentService.sol +5 -3
  334. package/contracts/shared/InstanceLinkedComponent.sol +0 -2
  335. package/contracts/staking/IStaking.sol +7 -3
  336. package/contracts/staking/Staking.sol +2 -2
  337. package/contracts/type/Fee.sol +8 -8
  338. package/contracts/type/UFixed.sol +27 -10
  339. package/contracts/upgradeability/ProxyManager.sol +11 -9
  340. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
  341. package/package.json +1 -1
@@ -15,12 +15,12 @@
15
15
  {
16
16
  "internalType": "UFixed",
17
17
  "name": "fractionalFee",
18
- "type": "uint256"
18
+ "type": "uint160"
19
19
  },
20
20
  {
21
- "internalType": "uint256",
21
+ "internalType": "Amount",
22
22
  "name": "fixedFee",
23
- "type": "uint256"
23
+ "type": "uint96"
24
24
  }
25
25
  ],
26
26
  "internalType": "struct Fee",
@@ -56,12 +56,12 @@
56
56
  {
57
57
  "internalType": "UFixed",
58
58
  "name": "fractionalFee",
59
- "type": "uint256"
59
+ "type": "uint160"
60
60
  },
61
61
  {
62
- "internalType": "uint256",
62
+ "internalType": "Amount",
63
63
  "name": "fixedFee",
64
- "type": "uint256"
64
+ "type": "uint96"
65
65
  }
66
66
  ],
67
67
  "internalType": "struct Fee",
@@ -73,12 +73,12 @@
73
73
  {
74
74
  "internalType": "UFixed",
75
75
  "name": "fractionalFee",
76
- "type": "uint256"
76
+ "type": "uint160"
77
77
  },
78
78
  {
79
- "internalType": "uint256",
79
+ "internalType": "Amount",
80
80
  "name": "fixedFee",
81
- "type": "uint256"
81
+ "type": "uint96"
82
82
  }
83
83
  ],
84
84
  "internalType": "struct Fee",
@@ -104,12 +104,12 @@
104
104
  {
105
105
  "internalType": "UFixed",
106
106
  "name": "fractionalFee",
107
- "type": "uint256"
107
+ "type": "uint160"
108
108
  },
109
109
  {
110
- "internalType": "uint256",
110
+ "internalType": "Amount",
111
111
  "name": "fixedFee",
112
- "type": "uint256"
112
+ "type": "uint96"
113
113
  }
114
114
  ],
115
115
  "internalType": "struct Fee",
@@ -135,12 +135,12 @@
135
135
  {
136
136
  "internalType": "UFixed",
137
137
  "name": "fractionalFee",
138
- "type": "uint256"
138
+ "type": "uint160"
139
139
  },
140
140
  {
141
- "internalType": "uint256",
141
+ "internalType": "Amount",
142
142
  "name": "fixedFee",
143
- "type": "uint256"
143
+ "type": "uint96"
144
144
  }
145
145
  ],
146
146
  "internalType": "struct Fee",
@@ -174,12 +174,12 @@
174
174
  {
175
175
  "internalType": "UFixed",
176
176
  "name": "fractionalFee",
177
- "type": "uint256"
177
+ "type": "uint160"
178
178
  },
179
179
  {
180
- "internalType": "uint256",
180
+ "internalType": "Amount",
181
181
  "name": "fixedFee",
182
- "type": "uint256"
182
+ "type": "uint96"
183
183
  }
184
184
  ],
185
185
  "internalType": "struct Fee",
@@ -195,7 +195,7 @@
195
195
  {
196
196
  "internalType": "UFixed",
197
197
  "name": "fractionalFee",
198
- "type": "uint256"
198
+ "type": "uint160"
199
199
  },
200
200
  {
201
201
  "internalType": "uint256",
@@ -210,12 +210,12 @@
210
210
  {
211
211
  "internalType": "UFixed",
212
212
  "name": "fractionalFee",
213
- "type": "uint256"
213
+ "type": "uint160"
214
214
  },
215
215
  {
216
- "internalType": "uint256",
216
+ "internalType": "Amount",
217
217
  "name": "fixedFee",
218
- "type": "uint256"
218
+ "type": "uint96"
219
219
  }
220
220
  ],
221
221
  "internalType": "struct Fee",
@@ -235,12 +235,12 @@
235
235
  {
236
236
  "internalType": "UFixed",
237
237
  "name": "fractionalFee",
238
- "type": "uint256"
238
+ "type": "uint160"
239
239
  },
240
240
  {
241
- "internalType": "uint256",
241
+ "internalType": "Amount",
242
242
  "name": "fixedFee",
243
- "type": "uint256"
243
+ "type": "uint96"
244
244
  }
245
245
  ],
246
246
  "internalType": "struct Fee",
@@ -252,22 +252,50 @@
252
252
  "type": "function"
253
253
  }
254
254
  ],
255
- "bytecode": "0x610759610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80639ed246ea116100635780639ed246ea146100f2578063bc1b392d14610125578063c7010dfa1461014e578063d0e149f714610181575f80fd5b806305deb8b7146100895780632b324dc0146100b15780635faa955b146100c4575b5f80fd5b61009c6100973660046105e4565b610194565b60405190151581526020015b60405180910390f35b61009c6100bf3660046105fe565b6101ae565b6100d76100d2366004610631565b6101ce565b604080518251815260209283015192810192909252016100a8565b610105610100366004610668565b610273565b604080516001600160601b039384168152929091166020830152016100a8565b6040805180820182525f80825260209182018190528251808401909352808352908201526100d7565b6100d761015c36600461069e565b6040805180820182525f80825260209182015281518083019092529281529182015290565b61009c61018f3660046105e4565b61041f565b80515f901515806101a857505f8260200151115b92915050565b5f816020015183602001511480156101c7575082518251145b9392505050565b6040805180820182525f8082526020820152815180830192839052631488c84560e01b90925260ff831660448301526001196064830152908073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c84560848301602060405180830381865af4158015610240573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026491906106be565b81525f60209091015292915050565b5f8161027e84610194565b15610418576040516355205f0f60e01b81526001600160601b03841660048201525f9061030a9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156102df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030391906106be565b8651610434565b6020860151604051632255341b60e11b81526004810183905291925073__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96919073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af415801561037d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a191906106be565b6103ab91906106d5565b6040518263ffffffff1660e01b81526004016103c991815260200190565b602060405180830381865af41580156103e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040891906106f4565b92506104148284610448565b9150505b9250929050565b5f81602001515f1480156101a8575050511590565b5f6101c78383670de0b6b3a76400006104cc565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156104a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c791906106f4565b5f838302815f1985870982811083820303915050805f03610500578382816104f6576104f661070f565b04925050506101c7565b8084116105205760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6040828403121561059b575f80fd5b6040516040810181811067ffffffffffffffff821117156105ca57634e487b7160e01b5f52604160045260245ffd5b604052823581526020928301359281019290925250919050565b5f604082840312156105f4575f80fd5b6101c7838361058b565b5f806080838503121561060f575f80fd5b610619848461058b565b9150610628846040850161058b565b90509250929050565b5f60208284031215610641575f80fd5b813560ff811681146101c7575f80fd5b6001600160601b0381168114610665575f80fd5b50565b5f8060608385031215610679575f80fd5b610683848461058b565b9150604083013561069381610651565b809150509250929050565b5f80604083850312156106af575f80fd5b50508035926020909101359150565b5f602082840312156106ce575f80fd5b5051919050565b808201808211156101a857634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610704575f80fd5b81516101c781610651565b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220a48bbf555af976a3ef5d38054a3f6281f1816be33593a8fa57a9f09c1f72a0cb64736f6c634300081a0033",
256
- "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80639ed246ea116100635780639ed246ea146100f2578063bc1b392d14610125578063c7010dfa1461014e578063d0e149f714610181575f80fd5b806305deb8b7146100895780632b324dc0146100b15780635faa955b146100c4575b5f80fd5b61009c6100973660046105e4565b610194565b60405190151581526020015b60405180910390f35b61009c6100bf3660046105fe565b6101ae565b6100d76100d2366004610631565b6101ce565b604080518251815260209283015192810192909252016100a8565b610105610100366004610668565b610273565b604080516001600160601b039384168152929091166020830152016100a8565b6040805180820182525f80825260209182018190528251808401909352808352908201526100d7565b6100d761015c36600461069e565b6040805180820182525f80825260209182015281518083019092529281529182015290565b61009c61018f3660046105e4565b61041f565b80515f901515806101a857505f8260200151115b92915050565b5f816020015183602001511480156101c7575082518251145b9392505050565b6040805180820182525f8082526020820152815180830192839052631488c84560e01b90925260ff831660448301526001196064830152908073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c84560848301602060405180830381865af4158015610240573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026491906106be565b81525f60209091015292915050565b5f8161027e84610194565b15610418576040516355205f0f60e01b81526001600160601b03841660048201525f9061030a9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156102df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030391906106be565b8651610434565b6020860151604051632255341b60e11b81526004810183905291925073__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96919073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af415801561037d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a191906106be565b6103ab91906106d5565b6040518263ffffffff1660e01b81526004016103c991815260200190565b602060405180830381865af41580156103e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040891906106f4565b92506104148284610448565b9150505b9250929050565b5f81602001515f1480156101a8575050511590565b5f6101c78383670de0b6b3a76400006104cc565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156104a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c791906106f4565b5f838302815f1985870982811083820303915050805f03610500578382816104f6576104f661070f565b04925050506101c7565b8084116105205760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6040828403121561059b575f80fd5b6040516040810181811067ffffffffffffffff821117156105ca57634e487b7160e01b5f52604160045260245ffd5b604052823581526020928301359281019290925250919050565b5f604082840312156105f4575f80fd5b6101c7838361058b565b5f806080838503121561060f575f80fd5b610619848461058b565b9150610628846040850161058b565b90509250929050565b5f60208284031215610641575f80fd5b813560ff811681146101c7575f80fd5b6001600160601b0381168114610665575f80fd5b50565b5f8060608385031215610679575f80fd5b610683848461058b565b9150604083013561069381610651565b809150509250929050565b5f80604083850312156106af575f80fd5b50508035926020909101359150565b5f602082840312156106ce575f80fd5b5051919050565b808201808211156101a857634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610704575f80fd5b81516101c781610651565b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220a48bbf555af976a3ef5d38054a3f6281f1816be33593a8fa57a9f09c1f72a0cb64736f6c634300081a0033",
255
+ "bytecode": "0x610b4a610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80639ed246ea116100635780639ed246ea14610104578063bc1b392d14610137578063c8f806b51461013f578063d0e149f714610152575f80fd5b806305deb8b7146100895780632b324dc0146100b15780635faa955b146100c4575b5f80fd5b61009c6100973660046109c7565b610165565b60405190151581526020015b60405180910390f35b61009c6100bf3660046109e1565b610200565b6100d76100d2366004610a14565b610234565b6040805182516001600160a01b031681526020928301516001600160601b031692810192909252016100a8565b610117610112366004610a34565b610356565b604080516001600160601b039384168152929091166020830152016100a8565b6100d7610508565b6100d761014d366004610a6a565b6105b0565b61009c6101603660046109c7565b610660565b80515f906001600160a01b03161515806101fa575060208201516040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156101d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101fa9190610a94565b92915050565b5f610213836020015183602001516106f8565b801561022d5750825182516001600160a01b039182169116145b9392505050565b604080518082019091525f80825260208201526040805180820191829052631488c84560e01b90915260ff8316604482015260011960648201528073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c84560848301602060405180830381865af41580156102a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102cc9190610ab3565b6001600160a01b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103459190610ace565b6001600160601b0316905292915050565b5f8161036184610165565b15610501576040516355205f0f60e01b81526001600160601b03841660048201525f906103ed9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156103c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e69190610ab3565b865161077c565b60405163e2eb023b60e01b81526001600160a01b03821660048201529091506104f19073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015610466573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048a9190610ae9565b6040518263ffffffff1660e01b81526004016104a891815260200190565b602060405180830381865af41580156104c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e79190610ace565b86602001516107a1565b92506104fd8284610826565b9150505b9250929050565b604080518082019091525f808252602082015260405180604001604052805f6001600160a01b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561057c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a09190610ace565b6001600160601b03169052919050565b604080518082019091525f80825260208201526040805180820182526001600160a01b03851681529051632620eecb60e11b815260048101849052602082019073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af415801561062a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e9190610ace565b6001600160601b031690529392505050565b6020810151604051630a4d29dd60e31b81526001600160601b0390911660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af41580156106be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e29190610a94565b80156101fa575050516001600160a01b03161590565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022d9190610a94565b5f61022d836001600160a01b0316836001600160a01b031666038d7ea4c68000610870565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015610802573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022d9190610ace565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016107e7565b5f838302815f1985870982811083820303915050805f036108a45783828161089a5761089a610b00565b049250505061022d565b8084116108c45760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b0381168114610943575f80fd5b50565b6001600160601b0381168114610943575f80fd5b5f6040828403121561096a575f80fd5b6040516040810181811067ffffffffffffffff8211171561099957634e487b7160e01b5f52604160045260245ffd5b60405290508082356109aa8161092f565b815260208301356109ba81610946565b6020919091015292915050565b5f604082840312156109d7575f80fd5b61022d838361095a565b5f80608083850312156109f2575f80fd5b6109fc848461095a565b9150610a0b846040850161095a565b90509250929050565b5f60208284031215610a24575f80fd5b813560ff8116811461022d575f80fd5b5f8060608385031215610a45575f80fd5b610a4f848461095a565b91506040830135610a5f81610946565b809150509250929050565b5f8060408385031215610a7b575f80fd5b8235610a868161092f565b946020939093013593505050565b5f60208284031215610aa4575f80fd5b8151801515811461022d575f80fd5b5f60208284031215610ac3575f80fd5b815161022d8161092f565b5f60208284031215610ade575f80fd5b815161022d81610946565b5f60208284031215610af9575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220cf8d3d423d47e7846e63a1f2d8744a31e6dd394411ed89b98a791eed6d32b69264736f6c634300081a0033",
256
+ "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80639ed246ea116100635780639ed246ea14610104578063bc1b392d14610137578063c8f806b51461013f578063d0e149f714610152575f80fd5b806305deb8b7146100895780632b324dc0146100b15780635faa955b146100c4575b5f80fd5b61009c6100973660046109c7565b610165565b60405190151581526020015b60405180910390f35b61009c6100bf3660046109e1565b610200565b6100d76100d2366004610a14565b610234565b6040805182516001600160a01b031681526020928301516001600160601b031692810192909252016100a8565b610117610112366004610a34565b610356565b604080516001600160601b039384168152929091166020830152016100a8565b6100d7610508565b6100d761014d366004610a6a565b6105b0565b61009c6101603660046109c7565b610660565b80515f906001600160a01b03161515806101fa575060208201516040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156101d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101fa9190610a94565b92915050565b5f610213836020015183602001516106f8565b801561022d5750825182516001600160a01b039182169116145b9392505050565b604080518082019091525f80825260208201526040805180820191829052631488c84560e01b90915260ff8316604482015260011960648201528073__$bf7bc340cbb9229ef1de2c568356e67902$__631488c84560848301602060405180830381865af41580156102a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102cc9190610ab3565b6001600160a01b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103459190610ace565b6001600160601b0316905292915050565b5f8161036184610165565b15610501576040516355205f0f60e01b81526001600160601b03841660048201525f906103ed9073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156103c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e69190610ab3565b865161077c565b60405163e2eb023b60e01b81526001600160a01b03821660048201529091506104f19073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015610466573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048a9190610ae9565b6040518263ffffffff1660e01b81526004016104a891815260200190565b602060405180830381865af41580156104c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e79190610ace565b86602001516107a1565b92506104fd8284610826565b9150505b9250929050565b604080518082019091525f808252602082015260405180604001604052805f6001600160a01b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561057c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a09190610ace565b6001600160601b03169052919050565b604080518082019091525f80825260208201526040805180820182526001600160a01b03851681529051632620eecb60e11b815260048101849052602082019073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af415801561062a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e9190610ace565b6001600160601b031690529392505050565b6020810151604051630a4d29dd60e31b81526001600160601b0390911660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af41580156106be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e29190610a94565b80156101fa575050516001600160a01b03161590565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015610758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022d9190610a94565b5f61022d836001600160a01b0316836001600160a01b031666038d7ea4c68000610870565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015610802573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022d9190610ace565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016107e7565b5f838302815f1985870982811083820303915050805f036108a45783828161089a5761089a610b00565b049250505061022d565b8084116108c45760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b0381168114610943575f80fd5b50565b6001600160601b0381168114610943575f80fd5b5f6040828403121561096a575f80fd5b6040516040810181811067ffffffffffffffff8211171561099957634e487b7160e01b5f52604160045260245ffd5b60405290508082356109aa8161092f565b815260208301356109ba81610946565b6020919091015292915050565b5f604082840312156109d7575f80fd5b61022d838361095a565b5f80608083850312156109f2575f80fd5b6109fc848461095a565b9150610a0b846040850161095a565b90509250929050565b5f60208284031215610a24575f80fd5b813560ff8116811461022d575f80fd5b5f8060608385031215610a45575f80fd5b610a4f848461095a565b91506040830135610a5f81610946565b809150509250929050565b5f8060408385031215610a7b575f80fd5b8235610a868161092f565b946020939093013593505050565b5f60208284031215610aa4575f80fd5b8151801515811461022d575f80fd5b5f60208284031215610ac3575f80fd5b815161022d8161092f565b5f60208284031215610ade575f80fd5b815161022d81610946565b5f60208284031215610af9575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffdfea2646970667358221220cf8d3d423d47e7846e63a1f2d8744a31e6dd394411ed89b98a791eed6d32b69264736f6c634300081a0033",
257
257
  "linkReferences": {
258
258
  "contracts/type/Amount.sol": {
259
259
  "AmountLib": [
260
260
  {
261
261
  "length": 20,
262
- "start": 731
262
+ "start": 466
263
+ },
264
+ {
265
+ "length": 20,
266
+ "start": 784
267
+ },
268
+ {
269
+ "length": 20,
270
+ "start": 958
271
+ },
272
+ {
273
+ "length": 20,
274
+ "start": 1094
275
+ },
276
+ {
277
+ "length": 20,
278
+ "start": 1387
279
+ },
280
+ {
281
+ "length": 20,
282
+ "start": 1574
283
+ },
284
+ {
285
+ "length": 20,
286
+ "start": 1722
287
+ },
288
+ {
289
+ "length": 20,
290
+ "start": 1876
263
291
  },
264
292
  {
265
293
  "length": 20,
266
- "start": 860
294
+ "start": 2045
267
295
  },
268
296
  {
269
297
  "length": 20,
270
- "start": 1188
298
+ "start": 2178
271
299
  }
272
300
  ]
273
301
  },
@@ -275,11 +303,11 @@
275
303
  "UFixedLib": [
276
304
  {
277
305
  "length": 20,
278
- "start": 573
306
+ "start": 677
279
307
  },
280
308
  {
281
309
  "length": 20,
282
- "start": 889
310
+ "start": 1122
283
311
  }
284
312
  ]
285
313
  }
@@ -289,15 +317,43 @@
289
317
  "AmountLib": [
290
318
  {
291
319
  "length": 20,
292
- "start": 679
320
+ "start": 414
321
+ },
322
+ {
323
+ "length": 20,
324
+ "start": 732
325
+ },
326
+ {
327
+ "length": 20,
328
+ "start": 906
329
+ },
330
+ {
331
+ "length": 20,
332
+ "start": 1042
333
+ },
334
+ {
335
+ "length": 20,
336
+ "start": 1335
337
+ },
338
+ {
339
+ "length": 20,
340
+ "start": 1522
341
+ },
342
+ {
343
+ "length": 20,
344
+ "start": 1670
345
+ },
346
+ {
347
+ "length": 20,
348
+ "start": 1824
293
349
  },
294
350
  {
295
351
  "length": 20,
296
- "start": 808
352
+ "start": 1993
297
353
  },
298
354
  {
299
355
  "length": 20,
300
- "start": 1136
356
+ "start": 2126
301
357
  }
302
358
  ]
303
359
  },
@@ -305,11 +361,11 @@
305
361
  "UFixedLib": [
306
362
  {
307
363
  "length": 20,
308
- "start": 521
364
+ "start": 625
309
365
  },
310
366
  {
311
367
  "length": 20,
312
- "start": 837
368
+ "start": 1070
313
369
  }
314
370
  ]
315
371
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c008201893c8fb3d478073da4ea835db.json"
3
+ "buildInfo": "../../../build-info/e99aba91a0180eb96d937504d3bc3c5a.json"
4
4
  }