@etherisc/gif-next 0.0.2-d679de9-140 → 0.0.2-d67ce7f-686
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +306 -21
- 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 +1518 -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 +1196 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1557 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +854 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +943 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +945 -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 +1674 -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 +3469 -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 +802 -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 +1055 -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 +1432 -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 +1534 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +842 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +927 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +946 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1213 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1218 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1652 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +774 -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 +1280 -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 +1339 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -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 +788 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +816 -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 +985 -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 +1351 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +802 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -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 +1238 -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 +858 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1712 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -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/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 +1033 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +737 -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/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +977 -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/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 +197 -0
- 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 +470 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1991 -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 +773 -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 +2242 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -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 +374 -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 +317 -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 +222 -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 +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -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/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -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 +138 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +295 -0
- package/contracts/distribution/DistributionService.sol +336 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +97 -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 +204 -0
- package/contracts/instance/InstanceReader.sol +405 -0
- package/contracts/instance/InstanceService.sol +443 -0
- package/contracts/instance/InstanceServiceManager.sol +40 -0
- package/contracts/instance/InstanceStore.sol +277 -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 +104 -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 +47 -0
- package/contracts/instance/module/IDistribution.sol +41 -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} +6 -6
- 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 +33 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +166 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +166 -0
- package/contracts/pool/BasicPoolAuthorization.sol +58 -0
- package/contracts/pool/BundleService.sol +437 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +133 -0
- package/contracts/pool/IPoolComponent.sol +58 -0
- package/contracts/pool/IPoolService.sol +149 -0
- package/contracts/pool/Pool.sol +328 -0
- package/contracts/pool/PoolService.sol +525 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +230 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +52 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +424 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +100 -0
- package/contracts/product/IPolicyService.sol +85 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +40 -0
- package/contracts/product/IProductService.sol +33 -0
- package/contracts/product/PolicyService.sol +542 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +411 -0
- package/contracts/product/ProductService.sol +99 -0
- package/contracts/product/ProductServiceManager.sol +39 -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 +252 -0
- package/contracts/registry/RegistryServiceManager.sol +53 -0
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +485 -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 +650 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/IComponent.sol +71 -0
- package/contracts/shared/IComponentService.sol +108 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +56 -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/InitializableCustom.sol +177 -0
- package/contracts/shared/InitializableERC165.sol +27 -0
- package/contracts/shared/InstanceLinkedComponent.sol +172 -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 +99 -0
- package/contracts/shared/Registerable.sol +54 -65
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +82 -0
- package/contracts/shared/TokenHandler.sol +62 -0
- 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 +516 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +50 -0
- package/contracts/staking/StakingReader.sol +183 -0
- package/contracts/staking/StakingService.sol +407 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +135 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -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 +90 -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 +93 -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 +38 -15
- package/contracts/type/UFixed.sol +351 -0
- package/contracts/{types → type}/Version.sol +17 -2
- package/contracts/upgradeability/IVersionable.sol +53 -0
- package/contracts/upgradeability/ProxyManager.sol +198 -0
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
- package/contracts/upgradeability/Versionable.sol +59 -0
- 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/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
- 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/ERC165.sol +0 -21
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/shared/IVersionable.sol +0 -52
- package/contracts/shared/Versionable.sol +0 -89
- 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,338 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "TestUsdc",
|
4
|
-
"sourceName": "contracts/test/TestToken.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"stateMutability": "nonpayable",
|
9
|
-
"type": "constructor"
|
10
|
-
},
|
11
|
-
{
|
12
|
-
"anonymous": false,
|
13
|
-
"inputs": [
|
14
|
-
{
|
15
|
-
"indexed": true,
|
16
|
-
"internalType": "address",
|
17
|
-
"name": "owner",
|
18
|
-
"type": "address"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"indexed": true,
|
22
|
-
"internalType": "address",
|
23
|
-
"name": "spender",
|
24
|
-
"type": "address"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"indexed": false,
|
28
|
-
"internalType": "uint256",
|
29
|
-
"name": "value",
|
30
|
-
"type": "uint256"
|
31
|
-
}
|
32
|
-
],
|
33
|
-
"name": "Approval",
|
34
|
-
"type": "event"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"anonymous": false,
|
38
|
-
"inputs": [
|
39
|
-
{
|
40
|
-
"indexed": true,
|
41
|
-
"internalType": "address",
|
42
|
-
"name": "from",
|
43
|
-
"type": "address"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"indexed": true,
|
47
|
-
"internalType": "address",
|
48
|
-
"name": "to",
|
49
|
-
"type": "address"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"indexed": false,
|
53
|
-
"internalType": "uint256",
|
54
|
-
"name": "value",
|
55
|
-
"type": "uint256"
|
56
|
-
}
|
57
|
-
],
|
58
|
-
"name": "Transfer",
|
59
|
-
"type": "event"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"inputs": [],
|
63
|
-
"name": "DECIMALS",
|
64
|
-
"outputs": [
|
65
|
-
{
|
66
|
-
"internalType": "uint8",
|
67
|
-
"name": "",
|
68
|
-
"type": "uint8"
|
69
|
-
}
|
70
|
-
],
|
71
|
-
"stateMutability": "view",
|
72
|
-
"type": "function"
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"inputs": [],
|
76
|
-
"name": "INITIAL_SUPPLY",
|
77
|
-
"outputs": [
|
78
|
-
{
|
79
|
-
"internalType": "uint256",
|
80
|
-
"name": "",
|
81
|
-
"type": "uint256"
|
82
|
-
}
|
83
|
-
],
|
84
|
-
"stateMutability": "view",
|
85
|
-
"type": "function"
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"inputs": [],
|
89
|
-
"name": "NAME",
|
90
|
-
"outputs": [
|
91
|
-
{
|
92
|
-
"internalType": "string",
|
93
|
-
"name": "",
|
94
|
-
"type": "string"
|
95
|
-
}
|
96
|
-
],
|
97
|
-
"stateMutability": "view",
|
98
|
-
"type": "function"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"inputs": [],
|
102
|
-
"name": "SYMBOL",
|
103
|
-
"outputs": [
|
104
|
-
{
|
105
|
-
"internalType": "string",
|
106
|
-
"name": "",
|
107
|
-
"type": "string"
|
108
|
-
}
|
109
|
-
],
|
110
|
-
"stateMutability": "view",
|
111
|
-
"type": "function"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"inputs": [
|
115
|
-
{
|
116
|
-
"internalType": "address",
|
117
|
-
"name": "owner",
|
118
|
-
"type": "address"
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"internalType": "address",
|
122
|
-
"name": "spender",
|
123
|
-
"type": "address"
|
124
|
-
}
|
125
|
-
],
|
126
|
-
"name": "allowance",
|
127
|
-
"outputs": [
|
128
|
-
{
|
129
|
-
"internalType": "uint256",
|
130
|
-
"name": "",
|
131
|
-
"type": "uint256"
|
132
|
-
}
|
133
|
-
],
|
134
|
-
"stateMutability": "view",
|
135
|
-
"type": "function"
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"inputs": [
|
139
|
-
{
|
140
|
-
"internalType": "address",
|
141
|
-
"name": "spender",
|
142
|
-
"type": "address"
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"internalType": "uint256",
|
146
|
-
"name": "amount",
|
147
|
-
"type": "uint256"
|
148
|
-
}
|
149
|
-
],
|
150
|
-
"name": "approve",
|
151
|
-
"outputs": [
|
152
|
-
{
|
153
|
-
"internalType": "bool",
|
154
|
-
"name": "",
|
155
|
-
"type": "bool"
|
156
|
-
}
|
157
|
-
],
|
158
|
-
"stateMutability": "nonpayable",
|
159
|
-
"type": "function"
|
160
|
-
},
|
161
|
-
{
|
162
|
-
"inputs": [
|
163
|
-
{
|
164
|
-
"internalType": "address",
|
165
|
-
"name": "account",
|
166
|
-
"type": "address"
|
167
|
-
}
|
168
|
-
],
|
169
|
-
"name": "balanceOf",
|
170
|
-
"outputs": [
|
171
|
-
{
|
172
|
-
"internalType": "uint256",
|
173
|
-
"name": "",
|
174
|
-
"type": "uint256"
|
175
|
-
}
|
176
|
-
],
|
177
|
-
"stateMutability": "view",
|
178
|
-
"type": "function"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"inputs": [],
|
182
|
-
"name": "decimals",
|
183
|
-
"outputs": [
|
184
|
-
{
|
185
|
-
"internalType": "uint8",
|
186
|
-
"name": "",
|
187
|
-
"type": "uint8"
|
188
|
-
}
|
189
|
-
],
|
190
|
-
"stateMutability": "pure",
|
191
|
-
"type": "function"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"inputs": [
|
195
|
-
{
|
196
|
-
"internalType": "address",
|
197
|
-
"name": "spender",
|
198
|
-
"type": "address"
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"internalType": "uint256",
|
202
|
-
"name": "subtractedValue",
|
203
|
-
"type": "uint256"
|
204
|
-
}
|
205
|
-
],
|
206
|
-
"name": "decreaseAllowance",
|
207
|
-
"outputs": [
|
208
|
-
{
|
209
|
-
"internalType": "bool",
|
210
|
-
"name": "",
|
211
|
-
"type": "bool"
|
212
|
-
}
|
213
|
-
],
|
214
|
-
"stateMutability": "nonpayable",
|
215
|
-
"type": "function"
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"inputs": [
|
219
|
-
{
|
220
|
-
"internalType": "address",
|
221
|
-
"name": "spender",
|
222
|
-
"type": "address"
|
223
|
-
},
|
224
|
-
{
|
225
|
-
"internalType": "uint256",
|
226
|
-
"name": "addedValue",
|
227
|
-
"type": "uint256"
|
228
|
-
}
|
229
|
-
],
|
230
|
-
"name": "increaseAllowance",
|
231
|
-
"outputs": [
|
232
|
-
{
|
233
|
-
"internalType": "bool",
|
234
|
-
"name": "",
|
235
|
-
"type": "bool"
|
236
|
-
}
|
237
|
-
],
|
238
|
-
"stateMutability": "nonpayable",
|
239
|
-
"type": "function"
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"inputs": [],
|
243
|
-
"name": "name",
|
244
|
-
"outputs": [
|
245
|
-
{
|
246
|
-
"internalType": "string",
|
247
|
-
"name": "",
|
248
|
-
"type": "string"
|
249
|
-
}
|
250
|
-
],
|
251
|
-
"stateMutability": "view",
|
252
|
-
"type": "function"
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"inputs": [],
|
256
|
-
"name": "symbol",
|
257
|
-
"outputs": [
|
258
|
-
{
|
259
|
-
"internalType": "string",
|
260
|
-
"name": "",
|
261
|
-
"type": "string"
|
262
|
-
}
|
263
|
-
],
|
264
|
-
"stateMutability": "view",
|
265
|
-
"type": "function"
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"inputs": [],
|
269
|
-
"name": "totalSupply",
|
270
|
-
"outputs": [
|
271
|
-
{
|
272
|
-
"internalType": "uint256",
|
273
|
-
"name": "",
|
274
|
-
"type": "uint256"
|
275
|
-
}
|
276
|
-
],
|
277
|
-
"stateMutability": "view",
|
278
|
-
"type": "function"
|
279
|
-
},
|
280
|
-
{
|
281
|
-
"inputs": [
|
282
|
-
{
|
283
|
-
"internalType": "address",
|
284
|
-
"name": "to",
|
285
|
-
"type": "address"
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"internalType": "uint256",
|
289
|
-
"name": "amount",
|
290
|
-
"type": "uint256"
|
291
|
-
}
|
292
|
-
],
|
293
|
-
"name": "transfer",
|
294
|
-
"outputs": [
|
295
|
-
{
|
296
|
-
"internalType": "bool",
|
297
|
-
"name": "",
|
298
|
-
"type": "bool"
|
299
|
-
}
|
300
|
-
],
|
301
|
-
"stateMutability": "nonpayable",
|
302
|
-
"type": "function"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"inputs": [
|
306
|
-
{
|
307
|
-
"internalType": "address",
|
308
|
-
"name": "from",
|
309
|
-
"type": "address"
|
310
|
-
},
|
311
|
-
{
|
312
|
-
"internalType": "address",
|
313
|
-
"name": "to",
|
314
|
-
"type": "address"
|
315
|
-
},
|
316
|
-
{
|
317
|
-
"internalType": "uint256",
|
318
|
-
"name": "amount",
|
319
|
-
"type": "uint256"
|
320
|
-
}
|
321
|
-
],
|
322
|
-
"name": "transferFrom",
|
323
|
-
"outputs": [
|
324
|
-
{
|
325
|
-
"internalType": "bool",
|
326
|
-
"name": "",
|
327
|
-
"type": "bool"
|
328
|
-
}
|
329
|
-
],
|
330
|
-
"stateMutability": "nonpayable",
|
331
|
-
"type": "function"
|
332
|
-
}
|
333
|
-
],
|
334
|
-
"bytecode": "0x60806040523480156200001157600080fd5b506040518060400160405280600b81526020017f55534443202d20546573740000000000000000000000000000000000000000008152506040518060400160405280600481526020017f555344430000000000000000000000000000000000000000000000000000000081525081600390816200008f9190620004e4565b508060049081620000a19190620004e4565b505050620000e5620000b8620000eb60201b60201c565b6006600a620000c891906200075b565b633b9aca00620000d99190620007ac565b620000f360201b60201c565b620008e3565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000165576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200015c9062000858565b60405180910390fd5b62000179600083836200026060201b60201c565b80600260008282546200018d91906200087a565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002409190620008c6565b60405180910390a36200025c600083836200026560201b60201c565b5050565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002ec57607f821691505b602082108103620003025762000301620002a4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200036c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200032d565b6200037886836200032d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003c5620003bf620003b98462000390565b6200039a565b62000390565b9050919050565b6000819050919050565b620003e183620003a4565b620003f9620003f082620003cc565b8484546200033a565b825550505050565b600090565b6200041062000401565b6200041d818484620003d6565b505050565b5b8181101562000445576200043960008262000406565b60018101905062000423565b5050565b601f82111562000494576200045e8162000308565b62000469846200031d565b8101602085101562000479578190505b6200049162000488856200031d565b83018262000422565b50505b505050565b600082821c905092915050565b6000620004b96000198460080262000499565b1980831691505092915050565b6000620004d48383620004a6565b9150826002028217905092915050565b620004ef826200026a565b67ffffffffffffffff8111156200050b576200050a62000275565b5b620005178254620002d3565b6200052482828562000449565b600060209050601f8311600181146200055c576000841562000547578287015190505b620005538582620004c6565b865550620005c3565b601f1984166200056c8662000308565b60005b8281101562000596578489015182556001820191506020850194506020810190506200056f565b86831015620005b65784890151620005b2601f891682620004a6565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156200065957808604811115620006315762000630620005cb565b5b6001851615620006415780820291505b80810290506200065185620005fa565b945062000611565b94509492505050565b60008262000674576001905062000747565b8162000684576000905062000747565b81600181146200069d5760028114620006a857620006de565b600191505062000747565b60ff841115620006bd57620006bc620005cb565b5b8360020a915084821115620006d757620006d6620005cb565b5b5062000747565b5060208310610133831016604e8410600b8410161715620007185782820a905083811115620007125762000711620005cb565b5b62000747565b62000727848484600162000607565b92509050818404811115620007415762000740620005cb565b5b81810290505b9392505050565b600060ff82169050919050565b6000620007688262000390565b915062000775836200074e565b9250620007a47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000662565b905092915050565b6000620007b98262000390565b9150620007c68362000390565b9250828202620007d68162000390565b91508282048414831517620007f057620007ef620005cb565b5b5092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000840601f83620007f7565b91506200084d8262000808565b602082019050919050565b60006020820190508181036000830152620008738162000831565b9050919050565b6000620008878262000390565b9150620008948362000390565b9250828201905080821115620008af57620008ae620005cb565b5b92915050565b620008c08162000390565b82525050565b6000602082019050620008dd6000830184620008b5565b92915050565b61154a80620008f36000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80633950935111610097578063a457c2d711610066578063a457c2d71461028c578063a9059cbb146102bc578063dd62ed3e146102ec578063f76f8d781461031c576100f5565b806339509351146101f057806370a082311461022057806395d89b4114610250578063a3f4df7e1461026e576100f5565b806323b872dd116100d357806323b872dd146101665780632e0f2625146101965780632ff2e9dc146101b4578063313ce567146101d2576100f5565b806306fdde03146100fa578063095ea7b31461011857806318160ddd14610148575b600080fd5b61010261033a565b60405161010f9190610c67565b60405180910390f35b610132600480360381019061012d9190610d22565b6103cc565b60405161013f9190610d7d565b60405180910390f35b6101506103ef565b60405161015d9190610da7565b60405180910390f35b610180600480360381019061017b9190610dc2565b6103f9565b60405161018d9190610d7d565b60405180910390f35b61019e610428565b6040516101ab9190610e31565b60405180910390f35b6101bc61042d565b6040516101c99190610da7565b60405180910390f35b6101da61044d565b6040516101e79190610e31565b60405180910390f35b61020a60048036038101906102059190610d22565b610456565b6040516102179190610d7d565b60405180910390f35b61023a60048036038101906102359190610e4c565b61048d565b6040516102479190610da7565b60405180910390f35b6102586104d5565b6040516102659190610c67565b60405180910390f35b610276610567565b6040516102839190610c67565b60405180910390f35b6102a660048036038101906102a19190610d22565b6105a0565b6040516102b39190610d7d565b60405180910390f35b6102d660048036038101906102d19190610d22565b610617565b6040516102e39190610d7d565b60405180910390f35b61030660048036038101906103019190610e79565b61063a565b6040516103139190610da7565b60405180910390f35b6103246106c1565b6040516103319190610c67565b60405180910390f35b60606003805461034990610ee8565b80601f016020809104026020016040519081016040528092919081815260200182805461037590610ee8565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b6000806103d76106fa565b90506103e4818585610702565b600191505092915050565b6000600254905090565b6000806104046106fa565b90506104118582856108cb565b61041c858585610957565b60019150509392505050565b600681565b6006600a61043b919061107b565b633b9aca0061044a91906110c6565b81565b60006006905090565b6000806104616106fa565b9050610482818585610473858961063a565b61047d9190611108565b610702565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546104e490610ee8565b80601f016020809104026020016040519081016040528092919081815260200182805461051090610ee8565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b6040518060400160405280600b81526020017f55534443202d205465737400000000000000000000000000000000000000000081525081565b6000806105ab6106fa565b905060006105b9828661063a565b9050838110156105fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f5906111ae565b60405180910390fd5b61060b8286868403610702565b60019250505092915050565b6000806106226106fa565b905061062f818585610957565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6040518060400160405280600481526020017f555344430000000000000000000000000000000000000000000000000000000081525081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076890611240565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d7906112d2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516108be9190610da7565b60405180910390a3505050565b60006108d7848461063a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109515781811015610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a9061133e565b60405180910390fd5b6109508484848403610702565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd906113d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90611462565b60405180910390fd5b610a40838383610bcd565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd906114f4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610bb49190610da7565b60405180910390a3610bc7848484610bd2565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610c11578082015181840152602081019050610bf6565b60008484015250505050565b6000601f19601f8301169050919050565b6000610c3982610bd7565b610c438185610be2565b9350610c53818560208601610bf3565b610c5c81610c1d565b840191505092915050565b60006020820190508181036000830152610c818184610c2e565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610cb982610c8e565b9050919050565b610cc981610cae565b8114610cd457600080fd5b50565b600081359050610ce681610cc0565b92915050565b6000819050919050565b610cff81610cec565b8114610d0a57600080fd5b50565b600081359050610d1c81610cf6565b92915050565b60008060408385031215610d3957610d38610c89565b5b6000610d4785828601610cd7565b9250506020610d5885828601610d0d565b9150509250929050565b60008115159050919050565b610d7781610d62565b82525050565b6000602082019050610d926000830184610d6e565b92915050565b610da181610cec565b82525050565b6000602082019050610dbc6000830184610d98565b92915050565b600080600060608486031215610ddb57610dda610c89565b5b6000610de986828701610cd7565b9350506020610dfa86828701610cd7565b9250506040610e0b86828701610d0d565b9150509250925092565b600060ff82169050919050565b610e2b81610e15565b82525050565b6000602082019050610e466000830184610e22565b92915050565b600060208284031215610e6257610e61610c89565b5b6000610e7084828501610cd7565b91505092915050565b60008060408385031215610e9057610e8f610c89565b5b6000610e9e85828601610cd7565b9250506020610eaf85828601610cd7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610f0057607f821691505b602082108103610f1357610f12610eb9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115610f9f57808604811115610f7b57610f7a610f19565b5b6001851615610f8a5780820291505b8081029050610f9885610f48565b9450610f5f565b94509492505050565b600082610fb85760019050611074565b81610fc65760009050611074565b8160018114610fdc5760028114610fe657611015565b6001915050611074565b60ff841115610ff857610ff7610f19565b5b8360020a91508482111561100f5761100e610f19565b5b50611074565b5060208310610133831016604e8410600b841016171561104a5782820a90508381111561104557611044610f19565b5b611074565b6110578484846001610f55565b9250905081840481111561106e5761106d610f19565b5b81810290505b9392505050565b600061108682610cec565b915061109183610e15565b92506110be7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610fa8565b905092915050565b60006110d182610cec565b91506110dc83610cec565b92508282026110ea81610cec565b9150828204841483151761110157611100610f19565b5b5092915050565b600061111382610cec565b915061111e83610cec565b925082820190508082111561113657611135610f19565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611198602583610be2565b91506111a38261113c565b604082019050919050565b600060208201905081810360008301526111c78161118b565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061122a602483610be2565b9150611235826111ce565b604082019050919050565b600060208201905081810360008301526112598161121d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006112bc602283610be2565b91506112c782611260565b604082019050919050565b600060208201905081810360008301526112eb816112af565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611328601d83610be2565b9150611333826112f2565b602082019050919050565b600060208201905081810360008301526113578161131b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006113ba602583610be2565b91506113c58261135e565b604082019050919050565b600060208201905081810360008301526113e9816113ad565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061144c602383610be2565b9150611457826113f0565b604082019050919050565b6000602082019050818103600083015261147b8161143f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006114de602683610be2565b91506114e982611482565b604082019050919050565b6000602082019050818103600083015261150d816114d1565b905091905056fea26469706673582212207e5d249e6d2ee2ea2aa725b7a07902b2d8ce2ff2cc07e23c5607b13fe8dcc70964736f6c63430008140033",
|
335
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80633950935111610097578063a457c2d711610066578063a457c2d71461028c578063a9059cbb146102bc578063dd62ed3e146102ec578063f76f8d781461031c576100f5565b806339509351146101f057806370a082311461022057806395d89b4114610250578063a3f4df7e1461026e576100f5565b806323b872dd116100d357806323b872dd146101665780632e0f2625146101965780632ff2e9dc146101b4578063313ce567146101d2576100f5565b806306fdde03146100fa578063095ea7b31461011857806318160ddd14610148575b600080fd5b61010261033a565b60405161010f9190610c67565b60405180910390f35b610132600480360381019061012d9190610d22565b6103cc565b60405161013f9190610d7d565b60405180910390f35b6101506103ef565b60405161015d9190610da7565b60405180910390f35b610180600480360381019061017b9190610dc2565b6103f9565b60405161018d9190610d7d565b60405180910390f35b61019e610428565b6040516101ab9190610e31565b60405180910390f35b6101bc61042d565b6040516101c99190610da7565b60405180910390f35b6101da61044d565b6040516101e79190610e31565b60405180910390f35b61020a60048036038101906102059190610d22565b610456565b6040516102179190610d7d565b60405180910390f35b61023a60048036038101906102359190610e4c565b61048d565b6040516102479190610da7565b60405180910390f35b6102586104d5565b6040516102659190610c67565b60405180910390f35b610276610567565b6040516102839190610c67565b60405180910390f35b6102a660048036038101906102a19190610d22565b6105a0565b6040516102b39190610d7d565b60405180910390f35b6102d660048036038101906102d19190610d22565b610617565b6040516102e39190610d7d565b60405180910390f35b61030660048036038101906103019190610e79565b61063a565b6040516103139190610da7565b60405180910390f35b6103246106c1565b6040516103319190610c67565b60405180910390f35b60606003805461034990610ee8565b80601f016020809104026020016040519081016040528092919081815260200182805461037590610ee8565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b6000806103d76106fa565b90506103e4818585610702565b600191505092915050565b6000600254905090565b6000806104046106fa565b90506104118582856108cb565b61041c858585610957565b60019150509392505050565b600681565b6006600a61043b919061107b565b633b9aca0061044a91906110c6565b81565b60006006905090565b6000806104616106fa565b9050610482818585610473858961063a565b61047d9190611108565b610702565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546104e490610ee8565b80601f016020809104026020016040519081016040528092919081815260200182805461051090610ee8565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b6040518060400160405280600b81526020017f55534443202d205465737400000000000000000000000000000000000000000081525081565b6000806105ab6106fa565b905060006105b9828661063a565b9050838110156105fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f5906111ae565b60405180910390fd5b61060b8286868403610702565b60019250505092915050565b6000806106226106fa565b905061062f818585610957565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6040518060400160405280600481526020017f555344430000000000000000000000000000000000000000000000000000000081525081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076890611240565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d7906112d2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516108be9190610da7565b60405180910390a3505050565b60006108d7848461063a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109515781811015610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a9061133e565b60405180910390fd5b6109508484848403610702565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd906113d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90611462565b60405180910390fd5b610a40838383610bcd565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd906114f4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610bb49190610da7565b60405180910390a3610bc7848484610bd2565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610c11578082015181840152602081019050610bf6565b60008484015250505050565b6000601f19601f8301169050919050565b6000610c3982610bd7565b610c438185610be2565b9350610c53818560208601610bf3565b610c5c81610c1d565b840191505092915050565b60006020820190508181036000830152610c818184610c2e565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610cb982610c8e565b9050919050565b610cc981610cae565b8114610cd457600080fd5b50565b600081359050610ce681610cc0565b92915050565b6000819050919050565b610cff81610cec565b8114610d0a57600080fd5b50565b600081359050610d1c81610cf6565b92915050565b60008060408385031215610d3957610d38610c89565b5b6000610d4785828601610cd7565b9250506020610d5885828601610d0d565b9150509250929050565b60008115159050919050565b610d7781610d62565b82525050565b6000602082019050610d926000830184610d6e565b92915050565b610da181610cec565b82525050565b6000602082019050610dbc6000830184610d98565b92915050565b600080600060608486031215610ddb57610dda610c89565b5b6000610de986828701610cd7565b9350506020610dfa86828701610cd7565b9250506040610e0b86828701610d0d565b9150509250925092565b600060ff82169050919050565b610e2b81610e15565b82525050565b6000602082019050610e466000830184610e22565b92915050565b600060208284031215610e6257610e61610c89565b5b6000610e7084828501610cd7565b91505092915050565b60008060408385031215610e9057610e8f610c89565b5b6000610e9e85828601610cd7565b9250506020610eaf85828601610cd7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610f0057607f821691505b602082108103610f1357610f12610eb9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115610f9f57808604811115610f7b57610f7a610f19565b5b6001851615610f8a5780820291505b8081029050610f9885610f48565b9450610f5f565b94509492505050565b600082610fb85760019050611074565b81610fc65760009050611074565b8160018114610fdc5760028114610fe657611015565b6001915050611074565b60ff841115610ff857610ff7610f19565b5b8360020a91508482111561100f5761100e610f19565b5b50611074565b5060208310610133831016604e8410600b841016171561104a5782820a90508381111561104557611044610f19565b5b611074565b6110578484846001610f55565b9250905081840481111561106e5761106d610f19565b5b81810290505b9392505050565b600061108682610cec565b915061109183610e15565b92506110be7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610fa8565b905092915050565b60006110d182610cec565b91506110dc83610cec565b92508282026110ea81610cec565b9150828204841483151761110157611100610f19565b5b5092915050565b600061111382610cec565b915061111e83610cec565b925082820190508082111561113657611135610f19565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611198602583610be2565b91506111a38261113c565b604082019050919050565b600060208201905081810360008301526111c78161118b565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061122a602483610be2565b9150611235826111ce565b604082019050919050565b600060208201905081810360008301526112598161121d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006112bc602283610be2565b91506112c782611260565b604082019050919050565b600060208201905081810360008301526112eb816112af565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611328601d83610be2565b9150611333826112f2565b602082019050919050565b600060208201905081810360008301526113578161131b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006113ba602583610be2565b91506113c58261135e565b604082019050919050565b600060208201905081810360008301526113e9816113ad565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061144c602383610be2565b9150611457826113f0565b604082019050919050565b6000602082019050818103600083015261147b8161143f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006114de602683610be2565b91506114e982611482565b604082019050919050565b6000602082019050818103600083015261150d816114d1565b905091905056fea26469706673582212207e5d249e6d2ee2ea2aa725b7a07902b2d8ce2ff2cc07e23c5607b13fe8dcc70964736f6c63430008140033",
|
336
|
-
"linkReferences": {},
|
337
|
-
"deployedLinkReferences": {}
|
338
|
-
}
|
@@ -1,218 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "TestVersion",
|
4
|
-
"sourceName": "contracts/test/TestVersion.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "uint256",
|
10
|
-
"name": "major",
|
11
|
-
"type": "uint256"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "uint256",
|
15
|
-
"name": "minor",
|
16
|
-
"type": "uint256"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "uint256",
|
20
|
-
"name": "patch",
|
21
|
-
"type": "uint256"
|
22
|
-
}
|
23
|
-
],
|
24
|
-
"name": "createVersion",
|
25
|
-
"outputs": [
|
26
|
-
{
|
27
|
-
"internalType": "Version",
|
28
|
-
"name": "",
|
29
|
-
"type": "uint24"
|
30
|
-
}
|
31
|
-
],
|
32
|
-
"stateMutability": "pure",
|
33
|
-
"type": "function"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"inputs": [
|
37
|
-
{
|
38
|
-
"internalType": "uint256",
|
39
|
-
"name": "versionPart",
|
40
|
-
"type": "uint256"
|
41
|
-
}
|
42
|
-
],
|
43
|
-
"name": "createVersionPart",
|
44
|
-
"outputs": [
|
45
|
-
{
|
46
|
-
"internalType": "VersionPart",
|
47
|
-
"name": "",
|
48
|
-
"type": "uint8"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"stateMutability": "pure",
|
52
|
-
"type": "function"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"inputs": [
|
56
|
-
{
|
57
|
-
"internalType": "Version",
|
58
|
-
"name": "version",
|
59
|
-
"type": "uint24"
|
60
|
-
}
|
61
|
-
],
|
62
|
-
"name": "getMajorPart",
|
63
|
-
"outputs": [
|
64
|
-
{
|
65
|
-
"internalType": "VersionPart",
|
66
|
-
"name": "major",
|
67
|
-
"type": "uint8"
|
68
|
-
}
|
69
|
-
],
|
70
|
-
"stateMutability": "pure",
|
71
|
-
"type": "function"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"inputs": [
|
75
|
-
{
|
76
|
-
"internalType": "Version",
|
77
|
-
"name": "version",
|
78
|
-
"type": "uint24"
|
79
|
-
}
|
80
|
-
],
|
81
|
-
"name": "getVersionParts",
|
82
|
-
"outputs": [
|
83
|
-
{
|
84
|
-
"internalType": "VersionPart",
|
85
|
-
"name": "major",
|
86
|
-
"type": "uint8"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"internalType": "VersionPart",
|
90
|
-
"name": "minor",
|
91
|
-
"type": "uint8"
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"internalType": "VersionPart",
|
95
|
-
"name": "patch",
|
96
|
-
"type": "uint8"
|
97
|
-
}
|
98
|
-
],
|
99
|
-
"stateMutability": "pure",
|
100
|
-
"type": "function"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"inputs": [],
|
104
|
-
"name": "getZeroVersion",
|
105
|
-
"outputs": [
|
106
|
-
{
|
107
|
-
"internalType": "Version",
|
108
|
-
"name": "",
|
109
|
-
"type": "uint24"
|
110
|
-
}
|
111
|
-
],
|
112
|
-
"stateMutability": "pure",
|
113
|
-
"type": "function"
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"inputs": [
|
117
|
-
{
|
118
|
-
"internalType": "Version",
|
119
|
-
"name": "a",
|
120
|
-
"type": "uint24"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"internalType": "Version",
|
124
|
-
"name": "b",
|
125
|
-
"type": "uint24"
|
126
|
-
}
|
127
|
-
],
|
128
|
-
"name": "isLargerVersion",
|
129
|
-
"outputs": [
|
130
|
-
{
|
131
|
-
"internalType": "bool",
|
132
|
-
"name": "",
|
133
|
-
"type": "bool"
|
134
|
-
}
|
135
|
-
],
|
136
|
-
"stateMutability": "pure",
|
137
|
-
"type": "function"
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"inputs": [
|
141
|
-
{
|
142
|
-
"internalType": "Version",
|
143
|
-
"name": "a",
|
144
|
-
"type": "uint24"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"internalType": "Version",
|
148
|
-
"name": "b",
|
149
|
-
"type": "uint24"
|
150
|
-
}
|
151
|
-
],
|
152
|
-
"name": "isSameVersion",
|
153
|
-
"outputs": [
|
154
|
-
{
|
155
|
-
"internalType": "bool",
|
156
|
-
"name": "",
|
157
|
-
"type": "bool"
|
158
|
-
}
|
159
|
-
],
|
160
|
-
"stateMutability": "pure",
|
161
|
-
"type": "function"
|
162
|
-
}
|
163
|
-
],
|
164
|
-
"bytecode": "0x608060405234801561001057600080fd5b5061090c806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80636a3dc0ee1161005b5780636a3dc0ee1461010257806389818c3c1461013257806389d5976814610162578063e038c625146101925761007d565b80630f40f5951461008257806312cf04de146100a057806364d4e5d8146100d0575b600080fd5b61008a6101c2565b60405161009791906104f7565b60405180910390f35b6100ba60048036038101906100b5919061054d565b610236565b6040516100c791906104f7565b60405180910390f35b6100ea60048036038101906100e591906105cc565b6102bd565b6040516100f993929190610637565b60405180910390f35b61011c6004803603810190610117919061066e565b61034e565b60405161012991906106c9565b60405180910390f35b61014c600480360381019061014791906106e4565b610362565b6040516101599190610711565b60405180910390f35b61017c6004803603810190610177919061066e565b6103e3565b60405161018991906106c9565b60405180910390f35b6101ac60048036038101906101a791906105cc565b6103f7565b6040516101b99190610711565b60405180910390f35b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801561020d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102319190610741565b905090565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__632efe01138585856040518463ffffffff1660e01b81526004016102739392919061077d565b602060405180830381865af4158015610290573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b49190610741565b90509392505050565b60008060008362ffffff1673__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6349a7111a90916040518263ffffffff1660e01b815260040161030091906107c3565b606060405180830381865af415801561031d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610341919061080a565b9250925092509193909250565b600061035a838361047f565b905092915050565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__638e4ad86c836040518263ffffffff1660e01b815260040161039b919061088e565b602060405180830381865af41580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc91906108a9565b9050919050565b60006103ef8383610496565b905092915050565b60008162ffffff1673__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63c9e66e2990916040518263ffffffff1660e01b815260040161043791906107c3565b602060405180830381865af4158015610454573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047891906108a9565b9050919050565b60008162ffffff168362ffffff1611905092915050565b60008162ffffff168362ffffff1614905092915050565b600062ffffff82169050919050565b6000819050919050565b60006104e16104dc6104d7846104ad565b6104bc565b6104ad565b9050919050565b6104f1816104c6565b82525050565b600060208201905061050c60008301846104e8565b92915050565b600080fd5b6000819050919050565b61052a81610517565b811461053557600080fd5b50565b60008135905061054781610521565b92915050565b60008060006060848603121561056657610565610512565b5b600061057486828701610538565b935050602061058586828701610538565b925050604061059686828701610538565b9150509250925092565b6105a9816104ad565b81146105b457600080fd5b50565b6000813590506105c6816105a0565b92915050565b6000602082840312156105e2576105e1610512565b5b60006105f0848285016105b7565b91505092915050565b600060ff82169050919050565b600061062161061c610617846105f9565b6104bc565b6105f9565b9050919050565b61063181610606565b82525050565b600060608201905061064c6000830186610628565b6106596020830185610628565b6106666040830184610628565b949350505050565b6000806040838503121561068557610684610512565b5b6000610693858286016105b7565b92505060206106a4858286016105b7565b9150509250929050565b60008115159050919050565b6106c3816106ae565b82525050565b60006020820190506106de60008301846106ba565b92915050565b6000602082840312156106fa576106f9610512565b5b600061070884828501610538565b91505092915050565b60006020820190506107266000830184610628565b92915050565b60008151905061073b816105a0565b92915050565b60006020828403121561075757610756610512565b5b60006107658482850161072c565b91505092915050565b61077781610517565b82525050565b6000606082019050610792600083018661076e565b61079f602083018561076e565b6107ac604083018461076e565b949350505050565b6107bd816104c6565b82525050565b60006020820190506107d860008301846107b4565b92915050565b6107e7816105f9565b81146107f257600080fd5b50565b600081519050610804816107de565b92915050565b60008060006060848603121561082357610822610512565b5b6000610831868287016107f5565b9350506020610842868287016107f5565b9250506040610853868287016107f5565b9150509250925092565b600061087861087361086e846105f9565b6104bc565b610517565b9050919050565b6108888161085d565b82525050565b60006020820190506108a3600083018461087f565b92915050565b6000602082840312156108bf576108be610512565b5b60006108cd848285016107f5565b9150509291505056fea264697066735822122082ea108eb32170d248fd592c0ad0b3af51b8660792788adc75acdeeb7c43141664736f6c63430008140033",
|
165
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80636a3dc0ee1161005b5780636a3dc0ee1461010257806389818c3c1461013257806389d5976814610162578063e038c625146101925761007d565b80630f40f5951461008257806312cf04de146100a057806364d4e5d8146100d0575b600080fd5b61008a6101c2565b60405161009791906104f7565b60405180910390f35b6100ba60048036038101906100b5919061054d565b610236565b6040516100c791906104f7565b60405180910390f35b6100ea60048036038101906100e591906105cc565b6102bd565b6040516100f993929190610637565b60405180910390f35b61011c6004803603810190610117919061066e565b61034e565b60405161012991906106c9565b60405180910390f35b61014c600480360381019061014791906106e4565b610362565b6040516101599190610711565b60405180910390f35b61017c6004803603810190610177919061066e565b6103e3565b60405161018991906106c9565b60405180910390f35b6101ac60048036038101906101a791906105cc565b6103f7565b6040516101b99190610711565b60405180910390f35b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af415801561020d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102319190610741565b905090565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__632efe01138585856040518463ffffffff1660e01b81526004016102739392919061077d565b602060405180830381865af4158015610290573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b49190610741565b90509392505050565b60008060008362ffffff1673__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6349a7111a90916040518263ffffffff1660e01b815260040161030091906107c3565b606060405180830381865af415801561031d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610341919061080a565b9250925092509193909250565b600061035a838361047f565b905092915050565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__638e4ad86c836040518263ffffffff1660e01b815260040161039b919061088e565b602060405180830381865af41580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc91906108a9565b9050919050565b60006103ef8383610496565b905092915050565b60008162ffffff1673__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63c9e66e2990916040518263ffffffff1660e01b815260040161043791906107c3565b602060405180830381865af4158015610454573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047891906108a9565b9050919050565b60008162ffffff168362ffffff1611905092915050565b60008162ffffff168362ffffff1614905092915050565b600062ffffff82169050919050565b6000819050919050565b60006104e16104dc6104d7846104ad565b6104bc565b6104ad565b9050919050565b6104f1816104c6565b82525050565b600060208201905061050c60008301846104e8565b92915050565b600080fd5b6000819050919050565b61052a81610517565b811461053557600080fd5b50565b60008135905061054781610521565b92915050565b60008060006060848603121561056657610565610512565b5b600061057486828701610538565b935050602061058586828701610538565b925050604061059686828701610538565b9150509250925092565b6105a9816104ad565b81146105b457600080fd5b50565b6000813590506105c6816105a0565b92915050565b6000602082840312156105e2576105e1610512565b5b60006105f0848285016105b7565b91505092915050565b600060ff82169050919050565b600061062161061c610617846105f9565b6104bc565b6105f9565b9050919050565b61063181610606565b82525050565b600060608201905061064c6000830186610628565b6106596020830185610628565b6106666040830184610628565b949350505050565b6000806040838503121561068557610684610512565b5b6000610693858286016105b7565b92505060206106a4858286016105b7565b9150509250929050565b60008115159050919050565b6106c3816106ae565b82525050565b60006020820190506106de60008301846106ba565b92915050565b6000602082840312156106fa576106f9610512565b5b600061070884828501610538565b91505092915050565b60006020820190506107266000830184610628565b92915050565b60008151905061073b816105a0565b92915050565b60006020828403121561075757610756610512565b5b60006107658482850161072c565b91505092915050565b61077781610517565b82525050565b6000606082019050610792600083018661076e565b61079f602083018561076e565b6107ac604083018461076e565b949350505050565b6107bd816104c6565b82525050565b60006020820190506107d860008301846107b4565b92915050565b6107e7816105f9565b81146107f257600080fd5b50565b600081519050610804816107de565b92915050565b60008060006060848603121561082357610822610512565b5b6000610831868287016107f5565b9350506020610842868287016107f5565b9250506040610853868287016107f5565b9150509250925092565b600061087861087361086e846105f9565b6104bc565b610517565b9050919050565b6108888161085d565b82525050565b60006020820190506108a3600083018461087f565b92915050565b6000602082840312156108bf576108be610512565b5b60006108cd848285016107f5565b9150509291505056fea264697066735822122082ea108eb32170d248fd592c0ad0b3af51b8660792788adc75acdeeb7c43141664736f6c63430008140033",
|
166
|
-
"linkReferences": {
|
167
|
-
"contracts/types/Version.sol": {
|
168
|
-
"VersionLib": [
|
169
|
-
{
|
170
|
-
"length": 20,
|
171
|
-
"start": 486
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"length": 20,
|
175
|
-
"start": 602
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"length": 20,
|
179
|
-
"start": 746
|
180
|
-
},
|
181
|
-
{
|
182
|
-
"length": 20,
|
183
|
-
"start": 902
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"length": 20,
|
187
|
-
"start": 1057
|
188
|
-
}
|
189
|
-
]
|
190
|
-
}
|
191
|
-
},
|
192
|
-
"deployedLinkReferences": {
|
193
|
-
"contracts/types/Version.sol": {
|
194
|
-
"VersionLib": [
|
195
|
-
{
|
196
|
-
"length": 20,
|
197
|
-
"start": 454
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"length": 20,
|
201
|
-
"start": 570
|
202
|
-
},
|
203
|
-
{
|
204
|
-
"length": 20,
|
205
|
-
"start": 714
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"length": 20,
|
209
|
-
"start": 870
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"length": 20,
|
213
|
-
"start": 1025
|
214
|
-
}
|
215
|
-
]
|
216
|
-
}
|
217
|
-
}
|
218
|
-
}
|