@etherisc/gif-next 0.0.2-d679de9-140 → 0.0.2-d696c44-627
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +291 -20
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1524 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1210 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +919 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +843 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +280 -1494
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +757 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +473 -1725
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1735 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1160 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3591 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1477 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +703 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +959 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1269 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1299 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +256 -221
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +966 -0
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IProductService.sol/IProductService.json} +207 -171
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1257 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +655 -50
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +940 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +885 -99
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1452 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +721 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1596 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +808 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +941 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +104 -141
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +37 -80
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -31
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +163 -143
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +244 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +617 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +255 -23
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +507 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/contracts/authorization/AccessAdmin.sol +591 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +218 -0
- package/contracts/authorization/IAccess.sol +48 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +54 -0
- package/contracts/authorization/IModuleAuthorization.sol +21 -0
- package/contracts/authorization/IServiceAuthorization.sol +38 -0
- package/contracts/authorization/ModuleAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +90 -0
- package/contracts/distribution/BasicDistribution.sol +149 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
- package/contracts/distribution/Distribution.sol +300 -0
- package/contracts/distribution/DistributionService.sol +302 -0
- package/contracts/distribution/DistributionServiceManager.sol +42 -0
- package/contracts/distribution/IDistributionComponent.sol +49 -0
- package/contracts/distribution/IDistributionService.sol +85 -0
- package/contracts/instance/BundleSet.sol +126 -0
- package/contracts/instance/IInstance.sol +78 -44
- package/contracts/instance/IInstanceService.sol +92 -0
- package/contracts/instance/Instance.sol +238 -52
- package/contracts/instance/InstanceAdmin.sol +266 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
- package/contracts/instance/InstanceReader.sol +405 -0
- package/contracts/instance/InstanceService.sol +443 -0
- package/contracts/instance/InstanceServiceManager.sol +44 -0
- package/contracts/instance/InstanceStore.sol +276 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +106 -0
- package/contracts/instance/base/ObjectSet.sol +79 -0
- package/contracts/instance/module/IAccess.sol +46 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IComponents.sol +52 -0
- package/contracts/instance/module/IDistribution.sol +42 -0
- package/contracts/instance/module/IPolicy.sol +84 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
- package/contracts/oracle/BasicOracle.sol +48 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +157 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BasicPool.sol +164 -0
- package/contracts/pool/BasicPoolAuthorization.sol +49 -0
- package/contracts/pool/BundleService.sol +296 -0
- package/contracts/pool/BundleServiceManager.sol +42 -0
- package/contracts/pool/IBundleService.sol +106 -0
- package/contracts/pool/IPoolComponent.sol +52 -0
- package/contracts/pool/IPoolService.sol +150 -0
- package/contracts/pool/Pool.sol +311 -0
- package/contracts/pool/PoolService.sol +451 -0
- package/contracts/pool/PoolServiceManager.sol +42 -0
- package/contracts/product/ApplicationService.sol +254 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +82 -0
- package/contracts/product/BasicProductAuthorization.sol +40 -0
- package/contracts/product/ClaimService.sol +442 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +99 -0
- package/contracts/product/IPolicyService.sol +78 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +39 -0
- package/contracts/product/IProductService.sol +33 -0
- package/contracts/product/PolicyService.sol +475 -0
- package/contracts/product/PolicyServiceManager.sol +42 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +42 -0
- package/contracts/product/Product.sol +392 -0
- package/contracts/product/ProductService.sol +124 -0
- package/contracts/product/ProductServiceManager.sol +42 -0
- package/contracts/registry/ChainNft.sol +95 -37
- package/contracts/registry/IRegistry.sol +106 -29
- package/contracts/registry/IRegistryService.sol +69 -0
- package/contracts/registry/ITransferInterceptor.sol +7 -0
- package/contracts/registry/Registry.sol +475 -280
- package/contracts/registry/RegistryAdmin.sol +365 -0
- package/contracts/registry/RegistryService.sol +266 -0
- package/contracts/registry/RegistryServiceManager.sol +53 -0
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +487 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +315 -0
- package/contracts/shared/Component.sol +281 -0
- package/contracts/shared/ComponentService.sol +617 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/ERC165.sol +15 -9
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +108 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
- package/contracts/shared/IKeyValueStore.sol +54 -0
- package/contracts/{instance/base → shared}/ILifecycle.sol +4 -5
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +45 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +25 -0
- package/contracts/shared/IVersionable.sol +38 -37
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +151 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +77 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +107 -0
- package/contracts/shared/PolicyHolder.sol +102 -0
- package/contracts/shared/ProxyManager.sol +198 -0
- package/contracts/shared/Registerable.sol +54 -65
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +83 -0
- package/contracts/shared/TokenHandler.sol +58 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +14 -0
- package/contracts/shared/Versionable.sol +38 -68
- package/contracts/staking/IStaking.sol +167 -0
- package/contracts/staking/IStakingService.sol +160 -0
- package/contracts/staking/StakeManagerLib.sol +231 -0
- package/contracts/staking/Staking.sol +511 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +53 -0
- package/contracts/staking/StakingReader.sol +186 -0
- package/contracts/staking/StakingService.sol +411 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +615 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +128 -0
- package/contracts/{types → type}/Blocknumber.sol +21 -3
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/type/DistributorType.sol +55 -0
- package/contracts/type/Fee.sol +66 -0
- package/contracts/{types → type}/Key32.sol +8 -3
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +271 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/type/Referral.sol +89 -0
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +43 -0
- package/contracts/type/RoleId.sol +174 -0
- package/contracts/type/Seconds.sol +81 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +39 -5
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +27 -14
- package/contracts/type/UFixed.sol +332 -0
- package/contracts/{types → type}/Version.sol +17 -2
- package/package.json +14 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -305
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -376
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
- package/contracts/components/BaseComponent.sol +0 -88
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/components/IPoolComponent.sol +0 -57
- package/contracts/components/IProductComponent.sol +0 -19
- package/contracts/components/Pool.sol +0 -174
- package/contracts/components/Product.sol +0 -117
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -42
- package/contracts/instance/base/IInstanceBase.sol +0 -14
- package/contracts/instance/base/IKeyValueStore.sol +0 -49
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -80
- package/contracts/instance/base/KeyValueStore.sol +0 -156
- package/contracts/instance/base/Lifecycle.sol +0 -95
- package/contracts/instance/base/ModuleBase.sol +0 -52
- package/contracts/instance/base/ServiceBase.sol +0 -37
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -136
- package/contracts/instance/module/bundle/IBundle.sol +0 -58
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -95
- package/contracts/instance/module/component/IComponent.sol +0 -53
- package/contracts/instance/module/policy/IPolicy.sol +0 -60
- package/contracts/instance/module/policy/PolicyModule.sol +0 -76
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -87
- package/contracts/instance/module/risk/IRisk.sol +0 -10
- package/contracts/instance/module/risk/RiskModule.sol +0 -8
- package/contracts/instance/module/treasury/ITreasury.sol +0 -103
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
- package/contracts/instance/service/ComponentOwnerService.sol +0 -170
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/instance/service/IPoolService.sol +0 -30
- package/contracts/instance/service/IProductService.sol +0 -58
- package/contracts/instance/service/PoolService.sol +0 -123
- package/contracts/instance/service/ProductService.sol +0 -354
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestPool.sol +0 -22
- package/contracts/test/TestProduct.sol +0 -44
- package/contracts/test/TestRegisterable.sol +0 -19
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -32
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/Fee.sol +0 -51
- package/contracts/types/NftIdSet.sol +0 -60
- package/contracts/types/ObjectType.sol +0 -115
- package/contracts/types/RoleId.sol +0 -36
- package/contracts/types/UFixed.sol +0 -210
@@ -1,479 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "UFixedMathLib",
|
4
|
-
"sourceName": "contracts/types/UFixed.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"name": "EXP",
|
9
|
-
"outputs": [
|
10
|
-
{
|
11
|
-
"internalType": "int8",
|
12
|
-
"name": "",
|
13
|
-
"type": "int8"
|
14
|
-
}
|
15
|
-
],
|
16
|
-
"stateMutability": "view",
|
17
|
-
"type": "function"
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"inputs": [],
|
21
|
-
"name": "MULTIPLIER",
|
22
|
-
"outputs": [
|
23
|
-
{
|
24
|
-
"internalType": "uint256",
|
25
|
-
"name": "",
|
26
|
-
"type": "uint256"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"stateMutability": "view",
|
30
|
-
"type": "function"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"inputs": [],
|
34
|
-
"name": "MULTIPLIER_HALF",
|
35
|
-
"outputs": [
|
36
|
-
{
|
37
|
-
"internalType": "uint256",
|
38
|
-
"name": "",
|
39
|
-
"type": "uint256"
|
40
|
-
}
|
41
|
-
],
|
42
|
-
"stateMutability": "view",
|
43
|
-
"type": "function"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"inputs": [],
|
47
|
-
"name": "ROUNDING_DOWN",
|
48
|
-
"outputs": [
|
49
|
-
{
|
50
|
-
"internalType": "uint8",
|
51
|
-
"name": "",
|
52
|
-
"type": "uint8"
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"stateMutability": "pure",
|
56
|
-
"type": "function"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"inputs": [],
|
60
|
-
"name": "ROUNDING_HALF_UP",
|
61
|
-
"outputs": [
|
62
|
-
{
|
63
|
-
"internalType": "uint8",
|
64
|
-
"name": "",
|
65
|
-
"type": "uint8"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"stateMutability": "pure",
|
69
|
-
"type": "function"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"inputs": [],
|
73
|
-
"name": "ROUNDING_UP",
|
74
|
-
"outputs": [
|
75
|
-
{
|
76
|
-
"internalType": "uint8",
|
77
|
-
"name": "",
|
78
|
-
"type": "uint8"
|
79
|
-
}
|
80
|
-
],
|
81
|
-
"stateMutability": "pure",
|
82
|
-
"type": "function"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"inputs": [
|
86
|
-
{
|
87
|
-
"internalType": "UFixed",
|
88
|
-
"name": "a",
|
89
|
-
"type": "uint256"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"internalType": "UFixed",
|
93
|
-
"name": "b",
|
94
|
-
"type": "uint256"
|
95
|
-
}
|
96
|
-
],
|
97
|
-
"name": "add",
|
98
|
-
"outputs": [
|
99
|
-
{
|
100
|
-
"internalType": "UFixed",
|
101
|
-
"name": "",
|
102
|
-
"type": "uint256"
|
103
|
-
}
|
104
|
-
],
|
105
|
-
"stateMutability": "pure",
|
106
|
-
"type": "function"
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"inputs": [],
|
110
|
-
"name": "decimals",
|
111
|
-
"outputs": [
|
112
|
-
{
|
113
|
-
"internalType": "uint256",
|
114
|
-
"name": "",
|
115
|
-
"type": "uint256"
|
116
|
-
}
|
117
|
-
],
|
118
|
-
"stateMutability": "pure",
|
119
|
-
"type": "function"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"inputs": [
|
123
|
-
{
|
124
|
-
"internalType": "UFixed",
|
125
|
-
"name": "a",
|
126
|
-
"type": "uint256"
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"internalType": "UFixed",
|
130
|
-
"name": "b",
|
131
|
-
"type": "uint256"
|
132
|
-
}
|
133
|
-
],
|
134
|
-
"name": "delta",
|
135
|
-
"outputs": [
|
136
|
-
{
|
137
|
-
"internalType": "UFixed",
|
138
|
-
"name": "",
|
139
|
-
"type": "uint256"
|
140
|
-
}
|
141
|
-
],
|
142
|
-
"stateMutability": "pure",
|
143
|
-
"type": "function"
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"inputs": [
|
147
|
-
{
|
148
|
-
"internalType": "UFixed",
|
149
|
-
"name": "a",
|
150
|
-
"type": "uint256"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"internalType": "UFixed",
|
154
|
-
"name": "b",
|
155
|
-
"type": "uint256"
|
156
|
-
}
|
157
|
-
],
|
158
|
-
"name": "div",
|
159
|
-
"outputs": [
|
160
|
-
{
|
161
|
-
"internalType": "UFixed",
|
162
|
-
"name": "",
|
163
|
-
"type": "uint256"
|
164
|
-
}
|
165
|
-
],
|
166
|
-
"stateMutability": "pure",
|
167
|
-
"type": "function"
|
168
|
-
},
|
169
|
-
{
|
170
|
-
"inputs": [
|
171
|
-
{
|
172
|
-
"internalType": "UFixed",
|
173
|
-
"name": "a",
|
174
|
-
"type": "uint256"
|
175
|
-
},
|
176
|
-
{
|
177
|
-
"internalType": "UFixed",
|
178
|
-
"name": "b",
|
179
|
-
"type": "uint256"
|
180
|
-
}
|
181
|
-
],
|
182
|
-
"name": "eq",
|
183
|
-
"outputs": [
|
184
|
-
{
|
185
|
-
"internalType": "bool",
|
186
|
-
"name": "isEqual",
|
187
|
-
"type": "bool"
|
188
|
-
}
|
189
|
-
],
|
190
|
-
"stateMutability": "pure",
|
191
|
-
"type": "function"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"inputs": [
|
195
|
-
{
|
196
|
-
"internalType": "UFixed",
|
197
|
-
"name": "a",
|
198
|
-
"type": "uint256"
|
199
|
-
}
|
200
|
-
],
|
201
|
-
"name": "eqz",
|
202
|
-
"outputs": [
|
203
|
-
{
|
204
|
-
"internalType": "bool",
|
205
|
-
"name": "isZero",
|
206
|
-
"type": "bool"
|
207
|
-
}
|
208
|
-
],
|
209
|
-
"stateMutability": "pure",
|
210
|
-
"type": "function"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"inputs": [
|
214
|
-
{
|
215
|
-
"internalType": "UFixed",
|
216
|
-
"name": "a",
|
217
|
-
"type": "uint256"
|
218
|
-
},
|
219
|
-
{
|
220
|
-
"internalType": "UFixed",
|
221
|
-
"name": "b",
|
222
|
-
"type": "uint256"
|
223
|
-
}
|
224
|
-
],
|
225
|
-
"name": "gt",
|
226
|
-
"outputs": [
|
227
|
-
{
|
228
|
-
"internalType": "bool",
|
229
|
-
"name": "isGreaterThan",
|
230
|
-
"type": "bool"
|
231
|
-
}
|
232
|
-
],
|
233
|
-
"stateMutability": "pure",
|
234
|
-
"type": "function"
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"inputs": [
|
238
|
-
{
|
239
|
-
"internalType": "UFixed",
|
240
|
-
"name": "a",
|
241
|
-
"type": "uint256"
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"internalType": "UFixed",
|
245
|
-
"name": "b",
|
246
|
-
"type": "uint256"
|
247
|
-
}
|
248
|
-
],
|
249
|
-
"name": "gte",
|
250
|
-
"outputs": [
|
251
|
-
{
|
252
|
-
"internalType": "bool",
|
253
|
-
"name": "isGreaterThan",
|
254
|
-
"type": "bool"
|
255
|
-
}
|
256
|
-
],
|
257
|
-
"stateMutability": "pure",
|
258
|
-
"type": "function"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"inputs": [
|
262
|
-
{
|
263
|
-
"internalType": "UFixed",
|
264
|
-
"name": "a",
|
265
|
-
"type": "uint256"
|
266
|
-
}
|
267
|
-
],
|
268
|
-
"name": "gtz",
|
269
|
-
"outputs": [
|
270
|
-
{
|
271
|
-
"internalType": "bool",
|
272
|
-
"name": "isZero",
|
273
|
-
"type": "bool"
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"stateMutability": "pure",
|
277
|
-
"type": "function"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"inputs": [
|
281
|
-
{
|
282
|
-
"internalType": "UFixed",
|
283
|
-
"name": "a",
|
284
|
-
"type": "uint256"
|
285
|
-
},
|
286
|
-
{
|
287
|
-
"internalType": "UFixed",
|
288
|
-
"name": "b",
|
289
|
-
"type": "uint256"
|
290
|
-
}
|
291
|
-
],
|
292
|
-
"name": "lt",
|
293
|
-
"outputs": [
|
294
|
-
{
|
295
|
-
"internalType": "bool",
|
296
|
-
"name": "isGreaterThan",
|
297
|
-
"type": "bool"
|
298
|
-
}
|
299
|
-
],
|
300
|
-
"stateMutability": "pure",
|
301
|
-
"type": "function"
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"inputs": [
|
305
|
-
{
|
306
|
-
"internalType": "UFixed",
|
307
|
-
"name": "a",
|
308
|
-
"type": "uint256"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"internalType": "UFixed",
|
312
|
-
"name": "b",
|
313
|
-
"type": "uint256"
|
314
|
-
}
|
315
|
-
],
|
316
|
-
"name": "lte",
|
317
|
-
"outputs": [
|
318
|
-
{
|
319
|
-
"internalType": "bool",
|
320
|
-
"name": "isGreaterThan",
|
321
|
-
"type": "bool"
|
322
|
-
}
|
323
|
-
],
|
324
|
-
"stateMutability": "pure",
|
325
|
-
"type": "function"
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"inputs": [
|
329
|
-
{
|
330
|
-
"internalType": "UFixed",
|
331
|
-
"name": "a",
|
332
|
-
"type": "uint256"
|
333
|
-
},
|
334
|
-
{
|
335
|
-
"internalType": "UFixed",
|
336
|
-
"name": "b",
|
337
|
-
"type": "uint256"
|
338
|
-
}
|
339
|
-
],
|
340
|
-
"name": "mul",
|
341
|
-
"outputs": [
|
342
|
-
{
|
343
|
-
"internalType": "UFixed",
|
344
|
-
"name": "",
|
345
|
-
"type": "uint256"
|
346
|
-
}
|
347
|
-
],
|
348
|
-
"stateMutability": "pure",
|
349
|
-
"type": "function"
|
350
|
-
},
|
351
|
-
{
|
352
|
-
"inputs": [
|
353
|
-
{
|
354
|
-
"internalType": "UFixed",
|
355
|
-
"name": "a",
|
356
|
-
"type": "uint256"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"internalType": "UFixed",
|
360
|
-
"name": "b",
|
361
|
-
"type": "uint256"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"name": "sub",
|
365
|
-
"outputs": [
|
366
|
-
{
|
367
|
-
"internalType": "UFixed",
|
368
|
-
"name": "",
|
369
|
-
"type": "uint256"
|
370
|
-
}
|
371
|
-
],
|
372
|
-
"stateMutability": "pure",
|
373
|
-
"type": "function"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"inputs": [
|
377
|
-
{
|
378
|
-
"internalType": "UFixed",
|
379
|
-
"name": "a",
|
380
|
-
"type": "uint256"
|
381
|
-
}
|
382
|
-
],
|
383
|
-
"name": "toInt",
|
384
|
-
"outputs": [
|
385
|
-
{
|
386
|
-
"internalType": "uint256",
|
387
|
-
"name": "",
|
388
|
-
"type": "uint256"
|
389
|
-
}
|
390
|
-
],
|
391
|
-
"stateMutability": "pure",
|
392
|
-
"type": "function"
|
393
|
-
},
|
394
|
-
{
|
395
|
-
"inputs": [
|
396
|
-
{
|
397
|
-
"internalType": "UFixed",
|
398
|
-
"name": "a",
|
399
|
-
"type": "uint256"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"internalType": "uint8",
|
403
|
-
"name": "rounding",
|
404
|
-
"type": "uint8"
|
405
|
-
}
|
406
|
-
],
|
407
|
-
"name": "toIntWithRounding",
|
408
|
-
"outputs": [
|
409
|
-
{
|
410
|
-
"internalType": "uint256",
|
411
|
-
"name": "",
|
412
|
-
"type": "uint256"
|
413
|
-
}
|
414
|
-
],
|
415
|
-
"stateMutability": "pure",
|
416
|
-
"type": "function"
|
417
|
-
},
|
418
|
-
{
|
419
|
-
"inputs": [
|
420
|
-
{
|
421
|
-
"internalType": "uint256",
|
422
|
-
"name": "a",
|
423
|
-
"type": "uint256"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"internalType": "int8",
|
427
|
-
"name": "exp",
|
428
|
-
"type": "int8"
|
429
|
-
}
|
430
|
-
],
|
431
|
-
"name": "toUFixed",
|
432
|
-
"outputs": [
|
433
|
-
{
|
434
|
-
"internalType": "UFixed",
|
435
|
-
"name": "",
|
436
|
-
"type": "uint256"
|
437
|
-
}
|
438
|
-
],
|
439
|
-
"stateMutability": "pure",
|
440
|
-
"type": "function"
|
441
|
-
},
|
442
|
-
{
|
443
|
-
"inputs": [
|
444
|
-
{
|
445
|
-
"internalType": "uint256",
|
446
|
-
"name": "a",
|
447
|
-
"type": "uint256"
|
448
|
-
}
|
449
|
-
],
|
450
|
-
"name": "toUFixed",
|
451
|
-
"outputs": [
|
452
|
-
{
|
453
|
-
"internalType": "UFixed",
|
454
|
-
"name": "",
|
455
|
-
"type": "uint256"
|
456
|
-
}
|
457
|
-
],
|
458
|
-
"stateMutability": "pure",
|
459
|
-
"type": "function"
|
460
|
-
},
|
461
|
-
{
|
462
|
-
"inputs": [],
|
463
|
-
"name": "zero",
|
464
|
-
"outputs": [
|
465
|
-
{
|
466
|
-
"internalType": "UFixed",
|
467
|
-
"name": "",
|
468
|
-
"type": "uint256"
|
469
|
-
}
|
470
|
-
],
|
471
|
-
"stateMutability": "pure",
|
472
|
-
"type": "function"
|
473
|
-
}
|
474
|
-
],
|
475
|
-
"bytecode": "0x61146a610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101625760003560e01c80637a858b97116100cd578063bc1b392d11610086578063bc1b392d1461046d578063bdbb46301461048b578063c8a4ac9c146104a9578063cc8b7b73146104d9578063ea6515c414610509578063eb646d711461053957610162565b80637a858b971461037157806389fa8ed7146103a157806393aa8725146103bf578063a391c15b146103dd578063b47733291461040d578063b67d77c51461043d57610162565b8063313ce5671161011f578063313ce5671461026357806332148d731461028157806344aa6836146102b157806345ebb61e146102e1578063753b14a514610311578063771602f71461034157610162565b8063059f8b161461016757806308c76ec414610185578063118fc88c146101b55780631488c845146101e55780631a12cd471461021557806321e5749b14610233575b600080fd5b61016f610557565b60405161017c9190610b99565b60405180910390f35b61019f600480360381019061019a9190610c1e565b61056b565b6040516101ac9190610b99565b60405180910390f35b6101cf60048036038101906101ca9190610c5e565b61062d565b6040516101dc9190610cb9565b60405180910390f35b6101ff60048036038101906101fa9190610d39565b610641565b60405161020c9190610db4565b60405180910390f35b61021d610714565b60405161022a9190610dde565b60405180910390f35b61024d60048036038101906102489190610c5e565b610719565b60405161025a9190610cb9565b60405180910390f35b61026b61072d565b6040516102789190610b99565b60405180910390f35b61029b60048036038101906102969190610c5e565b610739565b6040516102a89190610cb9565b60405180910390f35b6102cb60048036038101906102c69190610df9565b61074d565b6040516102d89190610b99565b60405180910390f35b6102fb60048036038101906102f69190610e26565b610767565b6040516103089190610db4565b60405180910390f35b61032b60048036038101906103269190610df9565b61078c565b6040516103389190610cb9565b60405180910390f35b61035b60048036038101906103569190610c5e565b61079e565b6040516103689190610db4565b60405180910390f35b61038b60048036038101906103869190610df9565b6107b2565b6040516103989190610cb9565b60405180910390f35b6103a96107c4565b6040516103b69190610e62565b60405180910390f35b6103c76107cd565b6040516103d49190610e62565b60405180910390f35b6103f760048036038101906103f29190610c5e565b6107d2565b6040516104049190610db4565b60405180910390f35b61042760048036038101906104229190610c5e565b6107e6565b6040516104349190610cb9565b60405180910390f35b61045760048036038101906104529190610c5e565b6107fa565b6040516104649190610db4565b60405180910390f35b61047561080e565b6040516104829190610db4565b60405180910390f35b610493610813565b6040516104a09190610e62565b60405180910390f35b6104c360048036038101906104be9190610c5e565b61081c565b6040516104d09190610db4565b60405180910390f35b6104f360048036038101906104ee9190610c5e565b610830565b6040516105009190610db4565b60405180910390f35b610523600480360381019061051e9190610c5e565b610844565b6040516105309190610cb9565b60405180910390f35b610541610858565b60405161054e9190610b99565b60405180910390f35b601260000b600a6105689190610fdf565b81565b60006105756107c4565b60ff168260ff16036105cd576105c66002601260000b600a6105979190610fdf565b6105a19190611059565b846105ac919061108a565b6001601260000b600a6105bf9190610fdf565b6000610878565b9050610627565b6105d56107cd565b60ff168260ff1603610606576105ff836001601260000b600a6105f89190610fdf565b6000610878565b9050610627565b610624836001601260000b600a61061d9190610fdf565b6001610878565b90505b92915050565b600061063983836108ee565b905092915050565b60008082601261065191906110be565b60000b1215610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c90611174565b60405180910390fd5b60408260126106a491906110be565b60000b13156106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106df906111e0565b60405180910390fd5b8160126106f591906110be565b600a6107019190611200565b8361070c919061124b565b905092915050565b601281565b600061072583836108fb565b905092915050565b6000601260ff16905090565b60006107458383610908565b905092915050565b60006107608261075b6107c4565b61056b565b9050919050565b6000601260000b600a61077a9190610fdf565b82610785919061124b565b9050919050565b600061079782610915565b9050919050565b60006107aa8383610921565b905092915050565b60006107bd82610937565b9050919050565b60006002905090565b600090565b60006107de8383610943565b905092915050565b60006107f283836109a2565b905092915050565b600061080683836109b0565b905092915050565b600090565b60006001905090565b60006108288383610a0f565b905092915050565b600061083c8383610a2c565b905092915050565b60006108508383610a61565b905092915050565b6002601260000b600a61086b9190610fdf565b6108759190611059565b81565b600080610886868686610a6f565b90506001600281111561089c5761089b61128d565b5b8360028111156108af576108ae61128d565b5b1480156108cd5750600084806108c8576108c761102a565b5b868809115b156108e2576001816108df919061108a565b90505b80915050949350505050565b6000818310905092915050565b6000818311905092915050565b6000818314905092915050565b60008082149050919050565b6000818361092f919061108a565b905092915050565b60008082119050919050565b6000808211610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e90611308565b60405180910390fd5b61099a83670de0b6b3a764000084610a6f565b905092915050565b600081831015905092915050565b60006109bc83836109a2565b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290611374565b60405180910390fd5b8183610a079190611394565b905092915050565b6000610a248383670de0b6b3a7640000610a6f565b905092915050565b6000610a3883836108fb565b15610a4e57610a4783836109b0565b9050610a5b565b610a5882846109b0565b90505b92915050565b600081831115905092915050565b6000806000801985870985870292508281108382030391505060008103610aaa57838281610aa057610a9f61102a565b5b0492505050610b79565b808411610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390611414565b60405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b6000819050919050565b610b9381610b80565b82525050565b6000602082019050610bae6000830184610b8a565b92915050565b600080fd5b610bc281610b80565b8114610bcd57600080fd5b50565b600081359050610bdf81610bb9565b92915050565b600060ff82169050919050565b610bfb81610be5565b8114610c0657600080fd5b50565b600081359050610c1881610bf2565b92915050565b60008060408385031215610c3557610c34610bb4565b5b6000610c4385828601610bd0565b9250506020610c5485828601610c09565b9150509250929050565b60008060408385031215610c7557610c74610bb4565b5b6000610c8385828601610bd0565b9250506020610c9485828601610bd0565b9150509250929050565b60008115159050919050565b610cb381610c9e565b82525050565b6000602082019050610cce6000830184610caa565b92915050565b610cdd81610b80565b8114610ce857600080fd5b50565b600081359050610cfa81610cd4565b92915050565b60008160000b9050919050565b610d1681610d00565b8114610d2157600080fd5b50565b600081359050610d3381610d0d565b92915050565b60008060408385031215610d5057610d4f610bb4565b5b6000610d5e85828601610ceb565b9250506020610d6f85828601610d24565b9150509250929050565b6000819050919050565b6000610d9e610d99610d9484610b80565b610d79565b610b80565b9050919050565b610dae81610d83565b82525050565b6000602082019050610dc96000830184610da5565b92915050565b610dd881610d00565b82525050565b6000602082019050610df36000830184610dcf565b92915050565b600060208284031215610e0f57610e0e610bb4565b5b6000610e1d84828501610bd0565b91505092915050565b600060208284031215610e3c57610e3b610bb4565b5b6000610e4a84828501610ceb565b91505092915050565b610e5c81610be5565b82525050565b6000602082019050610e776000830184610e53565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115610f0357808604811115610edf57610ede610e7d565b5b6001851615610eee5780820291505b8081029050610efc85610eac565b9450610ec3565b94509492505050565b600082610f1c5760019050610fd8565b81610f2a5760009050610fd8565b8160018114610f405760028114610f4a57610f79565b6001915050610fd8565b60ff841115610f5c57610f5b610e7d565b5b8360020a915084821115610f7357610f72610e7d565b5b50610fd8565b5060208310610133831016604e8410600b8410161715610fae5782820a905083811115610fa957610fa8610e7d565b5b610fd8565b610fbb8484846001610eb9565b92509050818404811115610fd257610fd1610e7d565b5b81810290505b9392505050565b6000610fea82610b80565b9150610ff583610b80565b92506110227fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610f0c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061106482610b80565b915061106f83610b80565b92508261107f5761107e61102a565b5b828204905092915050565b600061109582610b80565b91506110a083610b80565b92508282019050808211156110b8576110b7610e7d565b5b92915050565b60006110c982610d00565b91506110d483610d00565b925082820190507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808112607f8213171561111157611110610e7d565b5b92915050565b600082825260208201905092915050565b7f4552524f523a464d2d3031303a4558504f4e454e545f544f4f5f534d414c4c00600082015250565b600061115e601f83611117565b915061116982611128565b602082019050919050565b6000602082019050818103600083015261118d81611151565b9050919050565b7f4552524f523a464d2d3031313a4558504f4e454e545f544f4f5f4c4152474500600082015250565b60006111ca601f83611117565b91506111d582611194565b602082019050919050565b600060208201905081810360008301526111f9816111bd565b9050919050565b600061120b82610b80565b915061121683610be5565b92506112437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610f0c565b905092915050565b600061125682610b80565b915061126183610b80565b925082820261126f81610b80565b9150828204841483151761128657611285610e7d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4552524f523a55464d2d3032303a44495649534f525f5a45524f000000000000600082015250565b60006112f2601a83611117565b91506112fd826112bc565b602082019050919050565b60006020820190508181036000830152611321816112e5565b9050919050565b7f4552524f523a55464d2d3031303a4e454741544956455f524553554c54000000600082015250565b600061135e601d83611117565b915061136982611328565b602082019050919050565b6000602082019050818103600083015261138d81611351565b9050919050565b600061139f82610b80565b91506113aa83610b80565b92508282039050818111156113c2576113c1610e7d565b5b92915050565b7f4d6174683a206d756c446976206f766572666c6f770000000000000000000000600082015250565b60006113fe601583611117565b9150611409826113c8565b602082019050919050565b6000602082019050818103600083015261142d816113f1565b905091905056fea264697066735822122064a3cd11bbc6afe7af5d0ba5521b7521251300933c59cf5734b5dd8df1f1820364736f6c63430008140033",
|
476
|
-
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106101625760003560e01c80637a858b97116100cd578063bc1b392d11610086578063bc1b392d1461046d578063bdbb46301461048b578063c8a4ac9c146104a9578063cc8b7b73146104d9578063ea6515c414610509578063eb646d711461053957610162565b80637a858b971461037157806389fa8ed7146103a157806393aa8725146103bf578063a391c15b146103dd578063b47733291461040d578063b67d77c51461043d57610162565b8063313ce5671161011f578063313ce5671461026357806332148d731461028157806344aa6836146102b157806345ebb61e146102e1578063753b14a514610311578063771602f71461034157610162565b8063059f8b161461016757806308c76ec414610185578063118fc88c146101b55780631488c845146101e55780631a12cd471461021557806321e5749b14610233575b600080fd5b61016f610557565b60405161017c9190610b99565b60405180910390f35b61019f600480360381019061019a9190610c1e565b61056b565b6040516101ac9190610b99565b60405180910390f35b6101cf60048036038101906101ca9190610c5e565b61062d565b6040516101dc9190610cb9565b60405180910390f35b6101ff60048036038101906101fa9190610d39565b610641565b60405161020c9190610db4565b60405180910390f35b61021d610714565b60405161022a9190610dde565b60405180910390f35b61024d60048036038101906102489190610c5e565b610719565b60405161025a9190610cb9565b60405180910390f35b61026b61072d565b6040516102789190610b99565b60405180910390f35b61029b60048036038101906102969190610c5e565b610739565b6040516102a89190610cb9565b60405180910390f35b6102cb60048036038101906102c69190610df9565b61074d565b6040516102d89190610b99565b60405180910390f35b6102fb60048036038101906102f69190610e26565b610767565b6040516103089190610db4565b60405180910390f35b61032b60048036038101906103269190610df9565b61078c565b6040516103389190610cb9565b60405180910390f35b61035b60048036038101906103569190610c5e565b61079e565b6040516103689190610db4565b60405180910390f35b61038b60048036038101906103869190610df9565b6107b2565b6040516103989190610cb9565b60405180910390f35b6103a96107c4565b6040516103b69190610e62565b60405180910390f35b6103c76107cd565b6040516103d49190610e62565b60405180910390f35b6103f760048036038101906103f29190610c5e565b6107d2565b6040516104049190610db4565b60405180910390f35b61042760048036038101906104229190610c5e565b6107e6565b6040516104349190610cb9565b60405180910390f35b61045760048036038101906104529190610c5e565b6107fa565b6040516104649190610db4565b60405180910390f35b61047561080e565b6040516104829190610db4565b60405180910390f35b610493610813565b6040516104a09190610e62565b60405180910390f35b6104c360048036038101906104be9190610c5e565b61081c565b6040516104d09190610db4565b60405180910390f35b6104f360048036038101906104ee9190610c5e565b610830565b6040516105009190610db4565b60405180910390f35b610523600480360381019061051e9190610c5e565b610844565b6040516105309190610cb9565b60405180910390f35b610541610858565b60405161054e9190610b99565b60405180910390f35b601260000b600a6105689190610fdf565b81565b60006105756107c4565b60ff168260ff16036105cd576105c66002601260000b600a6105979190610fdf565b6105a19190611059565b846105ac919061108a565b6001601260000b600a6105bf9190610fdf565b6000610878565b9050610627565b6105d56107cd565b60ff168260ff1603610606576105ff836001601260000b600a6105f89190610fdf565b6000610878565b9050610627565b610624836001601260000b600a61061d9190610fdf565b6001610878565b90505b92915050565b600061063983836108ee565b905092915050565b60008082601261065191906110be565b60000b1215610695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068c90611174565b60405180910390fd5b60408260126106a491906110be565b60000b13156106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106df906111e0565b60405180910390fd5b8160126106f591906110be565b600a6107019190611200565b8361070c919061124b565b905092915050565b601281565b600061072583836108fb565b905092915050565b6000601260ff16905090565b60006107458383610908565b905092915050565b60006107608261075b6107c4565b61056b565b9050919050565b6000601260000b600a61077a9190610fdf565b82610785919061124b565b9050919050565b600061079782610915565b9050919050565b60006107aa8383610921565b905092915050565b60006107bd82610937565b9050919050565b60006002905090565b600090565b60006107de8383610943565b905092915050565b60006107f283836109a2565b905092915050565b600061080683836109b0565b905092915050565b600090565b60006001905090565b60006108288383610a0f565b905092915050565b600061083c8383610a2c565b905092915050565b60006108508383610a61565b905092915050565b6002601260000b600a61086b9190610fdf565b6108759190611059565b81565b600080610886868686610a6f565b90506001600281111561089c5761089b61128d565b5b8360028111156108af576108ae61128d565b5b1480156108cd5750600084806108c8576108c761102a565b5b868809115b156108e2576001816108df919061108a565b90505b80915050949350505050565b6000818310905092915050565b6000818311905092915050565b6000818314905092915050565b60008082149050919050565b6000818361092f919061108a565b905092915050565b60008082119050919050565b6000808211610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e90611308565b60405180910390fd5b61099a83670de0b6b3a764000084610a6f565b905092915050565b600081831015905092915050565b60006109bc83836109a2565b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290611374565b60405180910390fd5b8183610a079190611394565b905092915050565b6000610a248383670de0b6b3a7640000610a6f565b905092915050565b6000610a3883836108fb565b15610a4e57610a4783836109b0565b9050610a5b565b610a5882846109b0565b90505b92915050565b600081831115905092915050565b6000806000801985870985870292508281108382030391505060008103610aaa57838281610aa057610a9f61102a565b5b0492505050610b79565b808411610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390611414565b60405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b6000819050919050565b610b9381610b80565b82525050565b6000602082019050610bae6000830184610b8a565b92915050565b600080fd5b610bc281610b80565b8114610bcd57600080fd5b50565b600081359050610bdf81610bb9565b92915050565b600060ff82169050919050565b610bfb81610be5565b8114610c0657600080fd5b50565b600081359050610c1881610bf2565b92915050565b60008060408385031215610c3557610c34610bb4565b5b6000610c4385828601610bd0565b9250506020610c5485828601610c09565b9150509250929050565b60008060408385031215610c7557610c74610bb4565b5b6000610c8385828601610bd0565b9250506020610c9485828601610bd0565b9150509250929050565b60008115159050919050565b610cb381610c9e565b82525050565b6000602082019050610cce6000830184610caa565b92915050565b610cdd81610b80565b8114610ce857600080fd5b50565b600081359050610cfa81610cd4565b92915050565b60008160000b9050919050565b610d1681610d00565b8114610d2157600080fd5b50565b600081359050610d3381610d0d565b92915050565b60008060408385031215610d5057610d4f610bb4565b5b6000610d5e85828601610ceb565b9250506020610d6f85828601610d24565b9150509250929050565b6000819050919050565b6000610d9e610d99610d9484610b80565b610d79565b610b80565b9050919050565b610dae81610d83565b82525050565b6000602082019050610dc96000830184610da5565b92915050565b610dd881610d00565b82525050565b6000602082019050610df36000830184610dcf565b92915050565b600060208284031215610e0f57610e0e610bb4565b5b6000610e1d84828501610bd0565b91505092915050565b600060208284031215610e3c57610e3b610bb4565b5b6000610e4a84828501610ceb565b91505092915050565b610e5c81610be5565b82525050565b6000602082019050610e776000830184610e53565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115610f0357808604811115610edf57610ede610e7d565b5b6001851615610eee5780820291505b8081029050610efc85610eac565b9450610ec3565b94509492505050565b600082610f1c5760019050610fd8565b81610f2a5760009050610fd8565b8160018114610f405760028114610f4a57610f79565b6001915050610fd8565b60ff841115610f5c57610f5b610e7d565b5b8360020a915084821115610f7357610f72610e7d565b5b50610fd8565b5060208310610133831016604e8410600b8410161715610fae5782820a905083811115610fa957610fa8610e7d565b5b610fd8565b610fbb8484846001610eb9565b92509050818404811115610fd257610fd1610e7d565b5b81810290505b9392505050565b6000610fea82610b80565b9150610ff583610b80565b92506110227fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610f0c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061106482610b80565b915061106f83610b80565b92508261107f5761107e61102a565b5b828204905092915050565b600061109582610b80565b91506110a083610b80565b92508282019050808211156110b8576110b7610e7d565b5b92915050565b60006110c982610d00565b91506110d483610d00565b925082820190507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808112607f8213171561111157611110610e7d565b5b92915050565b600082825260208201905092915050565b7f4552524f523a464d2d3031303a4558504f4e454e545f544f4f5f534d414c4c00600082015250565b600061115e601f83611117565b915061116982611128565b602082019050919050565b6000602082019050818103600083015261118d81611151565b9050919050565b7f4552524f523a464d2d3031313a4558504f4e454e545f544f4f5f4c4152474500600082015250565b60006111ca601f83611117565b91506111d582611194565b602082019050919050565b600060208201905081810360008301526111f9816111bd565b9050919050565b600061120b82610b80565b915061121683610be5565b92506112437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610f0c565b905092915050565b600061125682610b80565b915061126183610b80565b925082820261126f81610b80565b9150828204841483151761128657611285610e7d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4552524f523a55464d2d3032303a44495649534f525f5a45524f000000000000600082015250565b60006112f2601a83611117565b91506112fd826112bc565b602082019050919050565b60006020820190508181036000830152611321816112e5565b9050919050565b7f4552524f523a55464d2d3031303a4e454741544956455f524553554c54000000600082015250565b600061135e601d83611117565b915061136982611328565b602082019050919050565b6000602082019050818103600083015261138d81611351565b9050919050565b600061139f82610b80565b91506113aa83610b80565b92508282039050818111156113c2576113c1610e7d565b5b92915050565b7f4d6174683a206d756c446976206f766572666c6f770000000000000000000000600082015250565b60006113fe601583611117565b9150611409826113c8565b602082019050919050565b6000602082019050818103600083015261142d816113f1565b905091905056fea264697066735822122064a3cd11bbc6afe7af5d0ba5521b7521251300933c59cf5734b5dd8df1f1820364736f6c63430008140033",
|
477
|
-
"linkReferences": {},
|
478
|
-
"deployedLinkReferences": {}
|
479
|
-
}
|
@@ -1,139 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "VersionLib",
|
4
|
-
"sourceName": "contracts/types/Version.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "Version",
|
10
|
-
"name": "version",
|
11
|
-
"type": "uint24"
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"name": "toInt",
|
15
|
-
"outputs": [
|
16
|
-
{
|
17
|
-
"internalType": "uint256",
|
18
|
-
"name": "",
|
19
|
-
"type": "uint256"
|
20
|
-
}
|
21
|
-
],
|
22
|
-
"stateMutability": "pure",
|
23
|
-
"type": "function"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"inputs": [
|
27
|
-
{
|
28
|
-
"internalType": "Version",
|
29
|
-
"name": "version",
|
30
|
-
"type": "uint24"
|
31
|
-
}
|
32
|
-
],
|
33
|
-
"name": "toMajorPart",
|
34
|
-
"outputs": [
|
35
|
-
{
|
36
|
-
"internalType": "VersionPart",
|
37
|
-
"name": "major",
|
38
|
-
"type": "uint8"
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"stateMutability": "pure",
|
42
|
-
"type": "function"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"inputs": [
|
46
|
-
{
|
47
|
-
"internalType": "uint256",
|
48
|
-
"name": "major",
|
49
|
-
"type": "uint256"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"internalType": "uint256",
|
53
|
-
"name": "minor",
|
54
|
-
"type": "uint256"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"internalType": "uint256",
|
58
|
-
"name": "patch",
|
59
|
-
"type": "uint256"
|
60
|
-
}
|
61
|
-
],
|
62
|
-
"name": "toVersion",
|
63
|
-
"outputs": [
|
64
|
-
{
|
65
|
-
"internalType": "Version",
|
66
|
-
"name": "",
|
67
|
-
"type": "uint24"
|
68
|
-
}
|
69
|
-
],
|
70
|
-
"stateMutability": "pure",
|
71
|
-
"type": "function"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"inputs": [
|
75
|
-
{
|
76
|
-
"internalType": "uint256",
|
77
|
-
"name": "versionPart",
|
78
|
-
"type": "uint256"
|
79
|
-
}
|
80
|
-
],
|
81
|
-
"name": "toVersionPart",
|
82
|
-
"outputs": [
|
83
|
-
{
|
84
|
-
"internalType": "VersionPart",
|
85
|
-
"name": "",
|
86
|
-
"type": "uint8"
|
87
|
-
}
|
88
|
-
],
|
89
|
-
"stateMutability": "pure",
|
90
|
-
"type": "function"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"inputs": [
|
94
|
-
{
|
95
|
-
"internalType": "Version",
|
96
|
-
"name": "version",
|
97
|
-
"type": "uint24"
|
98
|
-
}
|
99
|
-
],
|
100
|
-
"name": "toVersionParts",
|
101
|
-
"outputs": [
|
102
|
-
{
|
103
|
-
"internalType": "VersionPart",
|
104
|
-
"name": "major",
|
105
|
-
"type": "uint8"
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"internalType": "VersionPart",
|
109
|
-
"name": "minor",
|
110
|
-
"type": "uint8"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"internalType": "VersionPart",
|
114
|
-
"name": "patch",
|
115
|
-
"type": "uint8"
|
116
|
-
}
|
117
|
-
],
|
118
|
-
"stateMutability": "pure",
|
119
|
-
"type": "function"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"inputs": [],
|
123
|
-
"name": "zeroVersion",
|
124
|
-
"outputs": [
|
125
|
-
{
|
126
|
-
"internalType": "Version",
|
127
|
-
"name": "",
|
128
|
-
"type": "uint24"
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"stateMutability": "pure",
|
132
|
-
"type": "function"
|
133
|
-
}
|
134
|
-
],
|
135
|
-
"bytecode": "0x610656610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806304b8f6c5146100715780632efe01131461008f57806349a7111a146100bf57806355601007146100f15780638e4ad86c14610121578063c9e66e2914610151575b600080fd5b610079610181565b60405161008691906102fa565b60405180910390f35b6100a960048036038101906100a49190610350565b610186565b6040516100b691906102fa565b60405180910390f35b6100d960048036038101906100d491906103cf565b61020e565b6040516100e89392919061043a565b60405180910390f35b61010b600480360381019061010691906103cf565b610279565b6040516101189190610480565b60405180910390f35b61013b6004803603810190610136919061049b565b610288565b60405161014891906104c8565b60405180910390f35b61016b600480360381019061016691906103cf565b610292565b60405161017891906104c8565b60405180910390f35b600090565b60006101008410801561019a575061010083105b80156101a7575061010082105b6101e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101dd90610566565b60405180910390fd5b81600884901b601086901b6101fb91906105b5565b61020591906105b5565b90509392505050565b600080600080849050600060108262ffffff16901c905060108160ff16901b60ff168261023b91906105e9565b9150600060088362ffffff16901c9050600060088260ff16901b60ff168461026391906105e9565b9050828282965096509650505050509193909250565b60008162ffffff169050919050565b6000819050919050565b600080829050600060108262ffffff16901c90508092505050919050565b600062ffffff82169050919050565b6000819050919050565b60006102e46102df6102da846102b0565b6102bf565b6102b0565b9050919050565b6102f4816102c9565b82525050565b600060208201905061030f60008301846102eb565b92915050565b600080fd5b6000819050919050565b61032d8161031a565b811461033857600080fd5b50565b60008135905061034a81610324565b92915050565b60008060006060848603121561036957610368610315565b5b60006103778682870161033b565b93505060206103888682870161033b565b92505060406103998682870161033b565b9150509250925092565b6103ac816102b0565b81146103b757600080fd5b50565b6000813590506103c9816103a3565b92915050565b6000602082840312156103e5576103e4610315565b5b60006103f3848285016103ba565b91505092915050565b600060ff82169050919050565b600061042461041f61041a846103fc565b6102bf565b6103fc565b9050919050565b61043481610409565b82525050565b600060608201905061044f600083018661042b565b61045c602083018561042b565b610469604083018461042b565b949350505050565b61047a8161031a565b82525050565b60006020820190506104956000830184610471565b92915050565b6000602082840312156104b1576104b0610315565b5b60006104bf8482850161033b565b91505092915050565b60006020820190506104dd600083018461042b565b92915050565b600082825260208201905092915050565b7f4552524f523a5652532d3031303a56455253494f4e5f504152545f544f4f5f4260008201527f4947000000000000000000000000000000000000000000000000000000000000602082015250565b60006105506022836104e3565b915061055b826104f4565b604082019050919050565b6000602082019050818103600083015261057f81610543565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006105c08261031a565b91506105cb8361031a565b92508282019050808211156105e3576105e2610586565b5b92915050565b60006105f4826102b0565b91506105ff836102b0565b9250828203905062ffffff81111561061a57610619610586565b5b9291505056fea2646970667358221220e9dfc763417bd7f39d2043c21beb9c3cd830888e6733558a1b20cddf8a286b5564736f6c63430008140033",
|
136
|
-
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806304b8f6c5146100715780632efe01131461008f57806349a7111a146100bf57806355601007146100f15780638e4ad86c14610121578063c9e66e2914610151575b600080fd5b610079610181565b60405161008691906102fa565b60405180910390f35b6100a960048036038101906100a49190610350565b610186565b6040516100b691906102fa565b60405180910390f35b6100d960048036038101906100d491906103cf565b61020e565b6040516100e89392919061043a565b60405180910390f35b61010b600480360381019061010691906103cf565b610279565b6040516101189190610480565b60405180910390f35b61013b6004803603810190610136919061049b565b610288565b60405161014891906104c8565b60405180910390f35b61016b600480360381019061016691906103cf565b610292565b60405161017891906104c8565b60405180910390f35b600090565b60006101008410801561019a575061010083105b80156101a7575061010082105b6101e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101dd90610566565b60405180910390fd5b81600884901b601086901b6101fb91906105b5565b61020591906105b5565b90509392505050565b600080600080849050600060108262ffffff16901c905060108160ff16901b60ff168261023b91906105e9565b9150600060088362ffffff16901c9050600060088260ff16901b60ff168461026391906105e9565b9050828282965096509650505050509193909250565b60008162ffffff169050919050565b6000819050919050565b600080829050600060108262ffffff16901c90508092505050919050565b600062ffffff82169050919050565b6000819050919050565b60006102e46102df6102da846102b0565b6102bf565b6102b0565b9050919050565b6102f4816102c9565b82525050565b600060208201905061030f60008301846102eb565b92915050565b600080fd5b6000819050919050565b61032d8161031a565b811461033857600080fd5b50565b60008135905061034a81610324565b92915050565b60008060006060848603121561036957610368610315565b5b60006103778682870161033b565b93505060206103888682870161033b565b92505060406103998682870161033b565b9150509250925092565b6103ac816102b0565b81146103b757600080fd5b50565b6000813590506103c9816103a3565b92915050565b6000602082840312156103e5576103e4610315565b5b60006103f3848285016103ba565b91505092915050565b600060ff82169050919050565b600061042461041f61041a846103fc565b6102bf565b6103fc565b9050919050565b61043481610409565b82525050565b600060608201905061044f600083018661042b565b61045c602083018561042b565b610469604083018461042b565b949350505050565b61047a8161031a565b82525050565b60006020820190506104956000830184610471565b92915050565b6000602082840312156104b1576104b0610315565b5b60006104bf8482850161033b565b91505092915050565b60006020820190506104dd600083018461042b565b92915050565b600082825260208201905092915050565b7f4552524f523a5652532d3031303a56455253494f4e5f504152545f544f4f5f4260008201527f4947000000000000000000000000000000000000000000000000000000000000602082015250565b60006105506022836104e3565b915061055b826104f4565b604082019050919050565b6000602082019050818103600083015261057f81610543565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006105c08261031a565b91506105cb8361031a565b92508282019050808211156105e3576105e2610586565b5b92915050565b60006105f4826102b0565b91506105ff836102b0565b9250828203905062ffffff81111561061a57610619610586565b5b9291505056fea2646970667358221220e9dfc763417bd7f39d2043c21beb9c3cd830888e6733558a1b20cddf8a286b5564736f6c63430008140033",
|
137
|
-
"linkReferences": {},
|
138
|
-
"deployedLinkReferences": {}
|
139
|
-
}
|