@etherisc/gif-next 0.0.2-cd89a0b-062 → 0.0.2-cdd6310-176
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +179 -14
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +827 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +709 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +358 -1865
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +769 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +445 -2059
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1701 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1220 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +758 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -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/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +187 -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/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
- 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/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ModuleBase.sol/ModuleBase.json → oracle/IOracle.sol/IOracle.json} +2 -2
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -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 +1146 -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/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +342 -313
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +512 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +320 -255
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -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} +187 -176
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1397 -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 +60 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +408 -60
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +621 -166
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +565 -170
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +889 -322
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +371 -110
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1218 -0
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -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/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +298 -152
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -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 +880 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +77 -169
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +66 -52
- 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 +65 -8
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +155 -153
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +139 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +333 -60
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +205 -12
- 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/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +242 -191
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -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/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
- package/contracts/distribution/Distribution.sol +261 -0
- package/contracts/distribution/DistributionService.sol +297 -0
- package/contracts/distribution/DistributionServiceManager.sol +42 -0
- package/contracts/distribution/IDistributionComponent.sol +66 -0
- package/contracts/distribution/IDistributionService.sol +81 -0
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/IInstance.sol +79 -46
- package/contracts/instance/IInstanceService.sol +97 -0
- package/contracts/instance/Instance.sol +247 -69
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
- package/contracts/instance/InstanceReader.sol +392 -0
- package/contracts/instance/InstanceService.sol +439 -0
- package/contracts/instance/InstanceServiceManager.sol +44 -0
- package/contracts/instance/InstanceStore.sol +269 -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/ObjectManager.sol +80 -0
- package/contracts/instance/module/IAccess.sol +46 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IComponents.sol +52 -0
- package/contracts/instance/module/IDistribution.sol +42 -0
- package/contracts/instance/module/IPolicy.sol +84 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
- package/contracts/oracle/IOracle.sol +20 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +145 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BundleService.sol +296 -0
- package/contracts/pool/BundleServiceManager.sol +42 -0
- package/contracts/pool/IBundleService.sol +106 -0
- package/contracts/pool/IPoolComponent.sol +112 -0
- package/contracts/pool/IPoolService.sol +150 -0
- package/contracts/pool/Pool.sol +299 -0
- package/contracts/pool/PoolService.sol +452 -0
- package/contracts/pool/PoolServiceManager.sol +42 -0
- package/contracts/product/ApplicationService.sol +254 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/ClaimService.sol +442 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +62 -0
- package/contracts/product/IClaimService.sol +99 -0
- package/contracts/product/IPolicyService.sol +78 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +42 -0
- package/contracts/product/IProductService.sol +33 -0
- package/contracts/product/PolicyService.sol +475 -0
- package/contracts/product/PolicyServiceManager.sol +42 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +42 -0
- package/contracts/product/Product.sol +377 -0
- package/contracts/product/ProductService.sol +124 -0
- package/contracts/product/ProductServiceManager.sol +42 -0
- package/contracts/registry/ChainNft.sol +55 -25
- package/contracts/registry/IRegistry.sol +85 -34
- package/contracts/registry/IRegistryService.sol +56 -16
- package/contracts/registry/IServiceAuthorization.sol +35 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +416 -324
- package/contracts/registry/RegistryAdmin.sol +333 -0
- package/contracts/registry/RegistryService.sol +158 -267
- package/contracts/registry/RegistryServiceManager.sol +26 -25
- package/contracts/registry/ReleaseManager.sol +527 -0
- package/contracts/registry/ServiceAuthorization.sol +86 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +315 -0
- package/contracts/shared/AccessAdmin.sol +759 -0
- package/contracts/shared/AccessManagerCustom.sol +741 -0
- package/contracts/shared/AccessManagerExtended.sol +481 -0
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
- package/contracts/shared/Component.sol +281 -0
- package/contracts/shared/ComponentService.sol +617 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/ERC165.sol +16 -10
- package/contracts/shared/IAccessAdmin.sol +168 -0
- package/contracts/shared/IAccessManagerExtended.sol +74 -0
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +102 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
- package/contracts/shared/IKeyValueStore.sol +53 -0
- package/contracts/{instance/base → shared}/ILifecycle.sol +4 -4
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +45 -0
- package/contracts/shared/IRegisterable.sol +5 -12
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +25 -0
- package/contracts/shared/IVersionable.sol +5 -48
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +144 -0
- package/contracts/shared/KeyValueStore.sol +127 -0
- package/contracts/{instance/base → shared}/Lifecycle.sol +38 -8
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +73 -53
- package/contracts/shared/PolicyHolder.sol +102 -0
- package/contracts/shared/ProxyManager.sol +127 -31
- package/contracts/shared/Registerable.sol +33 -75
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +83 -0
- package/contracts/shared/TokenHandler.sol +58 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +5 -93
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +153 -0
- package/contracts/staking/StakeManagerLib.sol +231 -0
- package/contracts/staking/Staking.sol +513 -0
- package/contracts/staking/StakingManager.sol +54 -0
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +411 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +613 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +128 -0
- package/contracts/{types → type}/Blocknumber.sol +21 -3
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/type/DistributorType.sol +55 -0
- package/contracts/type/Fee.sol +66 -0
- package/contracts/{types → type}/Key32.sol +8 -3
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +241 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/type/Referral.sol +89 -0
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +201 -0
- package/contracts/type/Seconds.sol +81 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +39 -5
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +27 -14
- package/contracts/{types → type}/UFixed.sol +129 -12
- package/contracts/{types → type}/Version.sol +6 -2
- package/package.json +8 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -213
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -445
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -177
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -343
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -474
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -373
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -602
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -502
- 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/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/ISM.json +0 -124
- 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/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- 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/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 -710
- 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 -380
- 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 -297
- 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 -297
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
- 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/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
- 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 -284
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
- 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 -164
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
- 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 -113
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
- 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 -638
- 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 -638
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -690
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -526
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -369
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- 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 -649
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
- 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 -602
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -191
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -472
- 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 -270
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- 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/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- 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/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- 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/Version.sol/VersionLib.dbg.json +0 -4
- 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 -79
- package/contracts/components/Distribution.sol +0 -155
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/components/IDistributionComponent.sol +0 -47
- package/contracts/components/IPoolComponent.sol +0 -65
- package/contracts/components/IProductComponent.sol +0 -39
- package/contracts/components/Pool.sol +0 -246
- package/contracts/components/Product.sol +0 -299
- 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/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 -49
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/IKeyValueStore.sol +0 -50
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -89
- package/contracts/instance/base/KeyValueStore.sol +0 -161
- package/contracts/instance/base/ModuleBase.sol +0 -57
- package/contracts/instance/base/ServiceBase.sol +0 -43
- 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 -134
- package/contracts/instance/module/bundle/IBundle.sol +0 -53
- package/contracts/instance/module/component/ComponentModule.sol +0 -71
- package/contracts/instance/module/component/IComponent.sol +0 -28
- package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
- package/contracts/instance/module/distribution/IDistribution.sol +0 -10
- package/contracts/instance/module/policy/IPolicy.sol +0 -63
- package/contracts/instance/module/policy/PolicyModule.sol +0 -91
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -95
- package/contracts/instance/module/risk/IRisk.sol +0 -26
- package/contracts/instance/module/risk/RiskModule.sol +0 -62
- package/contracts/instance/module/treasury/ITreasury.sol +0 -84
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
- package/contracts/instance/service/ComponentOwnerService.sol +0 -272
- package/contracts/instance/service/DistributionService.sol +0 -54
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPoolService.sol +0 -37
- package/contracts/instance/service/IProductService.sol +0 -107
- package/contracts/instance/service/PoolService.sol +0 -149
- package/contracts/instance/service/ProductService.sol +0 -509
- package/contracts/registry/IChainNft.sol +0 -22
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestDistribution.sol +0 -22
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestPool.sol +0 -27
- package/contracts/test/TestProduct.sol +0 -74
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -26
- package/contracts/test/TestToken.sol +0 -26
- 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 -56
- package/contracts/types/NftIdSet.sol +0 -60
- package/contracts/types/ObjectType.sol +0 -131
- package/contracts/types/ReferralId.sol +0 -48
- package/contracts/types/RoleId.sol +0 -38
@@ -1,502 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "Product",
|
4
|
-
"sourceName": "contracts/components/Product.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "address",
|
10
|
-
"name": "registry",
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "instanceNftid",
|
16
|
-
"type": "uint96"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "address",
|
20
|
-
"name": "token",
|
21
|
-
"type": "address"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"internalType": "bool",
|
25
|
-
"name": "isInterceptor",
|
26
|
-
"type": "bool"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"internalType": "address",
|
30
|
-
"name": "pool",
|
31
|
-
"type": "address"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"internalType": "address",
|
35
|
-
"name": "distribution",
|
36
|
-
"type": "address"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"components": [
|
40
|
-
{
|
41
|
-
"internalType": "UFixed",
|
42
|
-
"name": "fractionalFee",
|
43
|
-
"type": "uint256"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"internalType": "uint256",
|
47
|
-
"name": "fixedFee",
|
48
|
-
"type": "uint256"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"internalType": "struct Fee",
|
52
|
-
"name": "productFee",
|
53
|
-
"type": "tuple"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"components": [
|
57
|
-
{
|
58
|
-
"internalType": "UFixed",
|
59
|
-
"name": "fractionalFee",
|
60
|
-
"type": "uint256"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"internalType": "uint256",
|
64
|
-
"name": "fixedFee",
|
65
|
-
"type": "uint256"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"internalType": "struct Fee",
|
69
|
-
"name": "processingFee",
|
70
|
-
"type": "tuple"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"internalType": "address",
|
74
|
-
"name": "initialOwner",
|
75
|
-
"type": "address"
|
76
|
-
}
|
77
|
-
],
|
78
|
-
"stateMutability": "nonpayable",
|
79
|
-
"type": "constructor"
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"inputs": [],
|
83
|
-
"name": "InvalidInitialization",
|
84
|
-
"type": "error"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"inputs": [],
|
88
|
-
"name": "NotInitializing",
|
89
|
-
"type": "error"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"anonymous": false,
|
93
|
-
"inputs": [
|
94
|
-
{
|
95
|
-
"indexed": false,
|
96
|
-
"internalType": "uint64",
|
97
|
-
"name": "version",
|
98
|
-
"type": "uint64"
|
99
|
-
}
|
100
|
-
],
|
101
|
-
"name": "Initialized",
|
102
|
-
"type": "event"
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"inputs": [],
|
106
|
-
"name": "REGISTERABLE_LOCATION_V1",
|
107
|
-
"outputs": [
|
108
|
-
{
|
109
|
-
"internalType": "bytes32",
|
110
|
-
"name": "",
|
111
|
-
"type": "bytes32"
|
112
|
-
}
|
113
|
-
],
|
114
|
-
"stateMutability": "view",
|
115
|
-
"type": "function"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"inputs": [
|
119
|
-
{
|
120
|
-
"internalType": "uint256",
|
121
|
-
"name": "sumInsuredAmount",
|
122
|
-
"type": "uint256"
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"internalType": "RiskId",
|
126
|
-
"name": "riskId",
|
127
|
-
"type": "bytes8"
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"internalType": "uint256",
|
131
|
-
"name": "lifetime",
|
132
|
-
"type": "uint256"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"internalType": "bytes",
|
136
|
-
"name": "applicationData",
|
137
|
-
"type": "bytes"
|
138
|
-
}
|
139
|
-
],
|
140
|
-
"name": "calculateNetPremium",
|
141
|
-
"outputs": [
|
142
|
-
{
|
143
|
-
"internalType": "uint256",
|
144
|
-
"name": "netPremiumAmount",
|
145
|
-
"type": "uint256"
|
146
|
-
}
|
147
|
-
],
|
148
|
-
"stateMutability": "view",
|
149
|
-
"type": "function"
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"inputs": [
|
153
|
-
{
|
154
|
-
"internalType": "uint256",
|
155
|
-
"name": "sumInsuredAmount",
|
156
|
-
"type": "uint256"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"internalType": "RiskId",
|
160
|
-
"name": "riskId",
|
161
|
-
"type": "bytes8"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"internalType": "uint256",
|
165
|
-
"name": "lifetime",
|
166
|
-
"type": "uint256"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"internalType": "bytes",
|
170
|
-
"name": "applicationData",
|
171
|
-
"type": "bytes"
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"internalType": "ReferralId",
|
175
|
-
"name": "referralId",
|
176
|
-
"type": "bytes8"
|
177
|
-
},
|
178
|
-
{
|
179
|
-
"internalType": "NftId",
|
180
|
-
"name": "bundleNftId",
|
181
|
-
"type": "uint96"
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"name": "calculatePremium",
|
185
|
-
"outputs": [
|
186
|
-
{
|
187
|
-
"internalType": "uint256",
|
188
|
-
"name": "premiumAmount",
|
189
|
-
"type": "uint256"
|
190
|
-
}
|
191
|
-
],
|
192
|
-
"stateMutability": "view",
|
193
|
-
"type": "function"
|
194
|
-
},
|
195
|
-
{
|
196
|
-
"inputs": [],
|
197
|
-
"name": "getDistributionNftId",
|
198
|
-
"outputs": [
|
199
|
-
{
|
200
|
-
"internalType": "NftId",
|
201
|
-
"name": "distributionNftId",
|
202
|
-
"type": "uint96"
|
203
|
-
}
|
204
|
-
],
|
205
|
-
"stateMutability": "view",
|
206
|
-
"type": "function"
|
207
|
-
},
|
208
|
-
{
|
209
|
-
"inputs": [],
|
210
|
-
"name": "getInitialInfo",
|
211
|
-
"outputs": [
|
212
|
-
{
|
213
|
-
"components": [
|
214
|
-
{
|
215
|
-
"internalType": "NftId",
|
216
|
-
"name": "nftId",
|
217
|
-
"type": "uint96"
|
218
|
-
},
|
219
|
-
{
|
220
|
-
"internalType": "NftId",
|
221
|
-
"name": "parentNftId",
|
222
|
-
"type": "uint96"
|
223
|
-
},
|
224
|
-
{
|
225
|
-
"internalType": "ObjectType",
|
226
|
-
"name": "objectType",
|
227
|
-
"type": "uint8"
|
228
|
-
},
|
229
|
-
{
|
230
|
-
"internalType": "bool",
|
231
|
-
"name": "isInterceptor",
|
232
|
-
"type": "bool"
|
233
|
-
},
|
234
|
-
{
|
235
|
-
"internalType": "address",
|
236
|
-
"name": "objectAddress",
|
237
|
-
"type": "address"
|
238
|
-
},
|
239
|
-
{
|
240
|
-
"internalType": "address",
|
241
|
-
"name": "initialOwner",
|
242
|
-
"type": "address"
|
243
|
-
},
|
244
|
-
{
|
245
|
-
"internalType": "bytes",
|
246
|
-
"name": "data",
|
247
|
-
"type": "bytes"
|
248
|
-
}
|
249
|
-
],
|
250
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
251
|
-
"name": "",
|
252
|
-
"type": "tuple"
|
253
|
-
},
|
254
|
-
{
|
255
|
-
"internalType": "bytes",
|
256
|
-
"name": "",
|
257
|
-
"type": "bytes"
|
258
|
-
}
|
259
|
-
],
|
260
|
-
"stateMutability": "view",
|
261
|
-
"type": "function"
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"inputs": [],
|
265
|
-
"name": "getInstance",
|
266
|
-
"outputs": [
|
267
|
-
{
|
268
|
-
"internalType": "contract IInstance",
|
269
|
-
"name": "instance",
|
270
|
-
"type": "address"
|
271
|
-
}
|
272
|
-
],
|
273
|
-
"stateMutability": "view",
|
274
|
-
"type": "function"
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"inputs": [],
|
278
|
-
"name": "getNftId",
|
279
|
-
"outputs": [
|
280
|
-
{
|
281
|
-
"internalType": "NftId",
|
282
|
-
"name": "nftId",
|
283
|
-
"type": "uint96"
|
284
|
-
}
|
285
|
-
],
|
286
|
-
"stateMutability": "view",
|
287
|
-
"type": "function"
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"inputs": [],
|
291
|
-
"name": "getOwner",
|
292
|
-
"outputs": [
|
293
|
-
{
|
294
|
-
"internalType": "address",
|
295
|
-
"name": "",
|
296
|
-
"type": "address"
|
297
|
-
}
|
298
|
-
],
|
299
|
-
"stateMutability": "view",
|
300
|
-
"type": "function"
|
301
|
-
},
|
302
|
-
{
|
303
|
-
"inputs": [],
|
304
|
-
"name": "getPoolNftId",
|
305
|
-
"outputs": [
|
306
|
-
{
|
307
|
-
"internalType": "NftId",
|
308
|
-
"name": "poolNftId",
|
309
|
-
"type": "uint96"
|
310
|
-
}
|
311
|
-
],
|
312
|
-
"stateMutability": "view",
|
313
|
-
"type": "function"
|
314
|
-
},
|
315
|
-
{
|
316
|
-
"inputs": [],
|
317
|
-
"name": "getProcessingFee",
|
318
|
-
"outputs": [
|
319
|
-
{
|
320
|
-
"components": [
|
321
|
-
{
|
322
|
-
"internalType": "UFixed",
|
323
|
-
"name": "fractionalFee",
|
324
|
-
"type": "uint256"
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"internalType": "uint256",
|
328
|
-
"name": "fixedFee",
|
329
|
-
"type": "uint256"
|
330
|
-
}
|
331
|
-
],
|
332
|
-
"internalType": "struct Fee",
|
333
|
-
"name": "processingFee",
|
334
|
-
"type": "tuple"
|
335
|
-
}
|
336
|
-
],
|
337
|
-
"stateMutability": "view",
|
338
|
-
"type": "function"
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"inputs": [],
|
342
|
-
"name": "getProductFee",
|
343
|
-
"outputs": [
|
344
|
-
{
|
345
|
-
"components": [
|
346
|
-
{
|
347
|
-
"internalType": "UFixed",
|
348
|
-
"name": "fractionalFee",
|
349
|
-
"type": "uint256"
|
350
|
-
},
|
351
|
-
{
|
352
|
-
"internalType": "uint256",
|
353
|
-
"name": "fixedFee",
|
354
|
-
"type": "uint256"
|
355
|
-
}
|
356
|
-
],
|
357
|
-
"internalType": "struct Fee",
|
358
|
-
"name": "productFee",
|
359
|
-
"type": "tuple"
|
360
|
-
}
|
361
|
-
],
|
362
|
-
"stateMutability": "view",
|
363
|
-
"type": "function"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"inputs": [],
|
367
|
-
"name": "getRegistry",
|
368
|
-
"outputs": [
|
369
|
-
{
|
370
|
-
"internalType": "contract IRegistry",
|
371
|
-
"name": "registry",
|
372
|
-
"type": "address"
|
373
|
-
}
|
374
|
-
],
|
375
|
-
"stateMutability": "view",
|
376
|
-
"type": "function"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"inputs": [],
|
380
|
-
"name": "getToken",
|
381
|
-
"outputs": [
|
382
|
-
{
|
383
|
-
"internalType": "contract IERC20Metadata",
|
384
|
-
"name": "token",
|
385
|
-
"type": "address"
|
386
|
-
}
|
387
|
-
],
|
388
|
-
"stateMutability": "view",
|
389
|
-
"type": "function"
|
390
|
-
},
|
391
|
-
{
|
392
|
-
"inputs": [],
|
393
|
-
"name": "getWallet",
|
394
|
-
"outputs": [
|
395
|
-
{
|
396
|
-
"internalType": "address",
|
397
|
-
"name": "walletAddress",
|
398
|
-
"type": "address"
|
399
|
-
}
|
400
|
-
],
|
401
|
-
"stateMutability": "view",
|
402
|
-
"type": "function"
|
403
|
-
},
|
404
|
-
{
|
405
|
-
"inputs": [],
|
406
|
-
"name": "lock",
|
407
|
-
"outputs": [],
|
408
|
-
"stateMutability": "nonpayable",
|
409
|
-
"type": "function"
|
410
|
-
},
|
411
|
-
{
|
412
|
-
"inputs": [
|
413
|
-
{
|
414
|
-
"components": [
|
415
|
-
{
|
416
|
-
"internalType": "UFixed",
|
417
|
-
"name": "fractionalFee",
|
418
|
-
"type": "uint256"
|
419
|
-
},
|
420
|
-
{
|
421
|
-
"internalType": "uint256",
|
422
|
-
"name": "fixedFee",
|
423
|
-
"type": "uint256"
|
424
|
-
}
|
425
|
-
],
|
426
|
-
"internalType": "struct Fee",
|
427
|
-
"name": "productFee",
|
428
|
-
"type": "tuple"
|
429
|
-
},
|
430
|
-
{
|
431
|
-
"components": [
|
432
|
-
{
|
433
|
-
"internalType": "UFixed",
|
434
|
-
"name": "fractionalFee",
|
435
|
-
"type": "uint256"
|
436
|
-
},
|
437
|
-
{
|
438
|
-
"internalType": "uint256",
|
439
|
-
"name": "fixedFee",
|
440
|
-
"type": "uint256"
|
441
|
-
}
|
442
|
-
],
|
443
|
-
"internalType": "struct Fee",
|
444
|
-
"name": "processingFee",
|
445
|
-
"type": "tuple"
|
446
|
-
}
|
447
|
-
],
|
448
|
-
"name": "setFees",
|
449
|
-
"outputs": [],
|
450
|
-
"stateMutability": "nonpayable",
|
451
|
-
"type": "function"
|
452
|
-
},
|
453
|
-
{
|
454
|
-
"inputs": [
|
455
|
-
{
|
456
|
-
"internalType": "bytes4",
|
457
|
-
"name": "interfaceId",
|
458
|
-
"type": "bytes4"
|
459
|
-
}
|
460
|
-
],
|
461
|
-
"name": "supportsInterface",
|
462
|
-
"outputs": [
|
463
|
-
{
|
464
|
-
"internalType": "bool",
|
465
|
-
"name": "",
|
466
|
-
"type": "bool"
|
467
|
-
}
|
468
|
-
],
|
469
|
-
"stateMutability": "view",
|
470
|
-
"type": "function"
|
471
|
-
},
|
472
|
-
{
|
473
|
-
"inputs": [],
|
474
|
-
"name": "unlock",
|
475
|
-
"outputs": [],
|
476
|
-
"stateMutability": "nonpayable",
|
477
|
-
"type": "function"
|
478
|
-
}
|
479
|
-
],
|
480
|
-
"bytecode": "0x60806040523480156200001157600080fd5b506040516200234a3803806200234a83398101604081905262000034916200089c565b888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905589856040805160208101909152600081526200009687878686868662000562565b6000620000b96000805160206200232a833981519152546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000109573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000133919081019062000a06565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200019b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c1919062000aec565b620001ed5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000241573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000267919062000b11565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050505050505050600560009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000339573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035f919062000b11565b600680546001600160a01b03199081166001600160a01b0393841617909155600780548216888416179055600880549091168683161790558351600955602080850151600a558351600b55830151600c556000805160206200232a8339815191525416600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa1580156200040c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000432919062000b31565b600d80546001600160601b0319166001600160601b0392909216919091179055620004736000805160206200232a833981519152546001600160a01b031690565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e3919062000b31565b600d80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505062000caa565b6001600160a01b038616620005ba5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001e4565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000608573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200062e919062000aec565b6200067c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001e4565b6001600160a01b03818116600160a01b6001600160601b0389168102919091176000805160206200232a8339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200073b848262000bde565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b03811681146200079857600080fd5b50565b8051620007a88162000782565b919050565b80516001600160601b0381168114620007a857600080fd5b80518015158114620007a857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620008115762000811620007d6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008425762000842620007d6565b604052919050565b6000604082840312156200085d57600080fd5b604080519081016001600160401b0381118282101715620008825762000882620007d6565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008bc57600080fd5b8951620008c98162000782565b9850620008d960208b01620007ad565b975060408a0151620008eb8162000782565b9650620008fb60608b01620007c5565b955060808a01516200090d8162000782565b60a08b0151909550620009208162000782565b9350620009318b60c08c016200084a565b9250620009438b6101008c016200084a565b91506101408a0151620009568162000782565b809150509295985092959850929598565b805160ff81168114620007a857600080fd5b600082601f8301126200098b57600080fd5b81516001600160401b03811115620009a757620009a7620007d6565b6020620009bd601f8301601f1916820162000817565b8281528582848701011115620009d257600080fd5b60005b83811015620009f2578581018301518282018401528201620009d5565b506000928101909101919091529392505050565b60006020828403121562000a1957600080fd5b81516001600160401b038082111562000a3157600080fd5b9083019060e0828603121562000a4657600080fd5b62000a50620007ec565b62000a5b83620007ad565b815262000a6b60208401620007ad565b602082015262000a7e6040840162000967565b604082015262000a9160608401620007c5565b606082015262000aa4608084016200079b565b608082015262000ab760a084016200079b565b60a082015260c08301518281111562000acf57600080fd5b62000add8782860162000979565b60c08301525095945050505050565b60006020828403121562000aff57600080fd5b62000b0a82620007c5565b9392505050565b60006020828403121562000b2457600080fd5b815162000b0a8162000782565b60006020828403121562000b4457600080fd5b62000b0a82620007ad565b600181811c9082168062000b6457607f821691505b60208210810362000b8557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000bd957600081815260208120601f850160051c8101602086101562000bb45750805b601f850160051c820191505b8181101562000bd55782815560010162000bc0565b5050505b505050565b81516001600160401b0381111562000bfa5762000bfa620007d6565b62000c128162000c0b845462000b4f565b8462000b8b565b602080601f83116001811462000c4a576000841562000c315750858301515b600019600386901b1c1916600185901b17855562000bd5565b600085815260208120601f198616915b8281101562000c7b5788860151825594840194600190910190840162000c5a565b508582101562000c9a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116708062000cba6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80635e78426b116100a2578063b6b412ba11610071578063b6b412ba14610257578063daafed401461026a578063db6dcc9514610272578063de7b5d141461027a578063f83d08ba1461028b57600080fd5b80635e78426b1461022a578063644c45e01461023d578063893d20e814610245578063a69df4b51461024d57600080fd5b80631380bf23116100e95780631380bf23146101b95780631bdd6b76146101dc5780631eff4b22146101fc57806321df0da7146102115780635ab1bd531461022257600080fd5b806301ffc9a71461011b5780630fec111c1461015d57806312abb9b3146101735780631329960414610194575b600080fd5b610148610129366004610c66565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610165610293565b604051610154929190610ce7565b610186610181366004610ee8565b6104bd565b604051908152602001610154565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610154565b6101c1610549565b60408051825181526020928301519281019290925201610154565b6101e461067e565b6040516001600160601b039091168152602001610154565b61018660008051602061161b83398151915281565b6004546001600160a01b03166101a1565b6101a16106fb565b610186610238366004610f71565b610717565b6101e461072d565b6101a161076b565b6102556107e6565b005b610255610265366004611004565b610887565b6101c1610927565b6101e4610a5c565b6005546001600160a01b03166101a1565b610255610a97565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806102d7610aff565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610331573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261035991908101906110d7565b915091506000806000838060200190518101906103769190611200565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af415801561045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048091906112a4565b905260035460405161049f92916001600160a01b0316906020016112c0565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906104f89089908b908a908a9089908b906004016113b6565b60a060405180830381865afa158015610515573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610539919061140d565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061056761072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156105b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105dd919061144d565b156106625760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190611468565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b60006106886106fb565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611527565b905090565b60008051602061161b833981519152546001600160a01b031690565b6000610724600a86611544565b95945050505050565b60008051602061161b83398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e906024016106b5565b600060008051602061161b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611566565b6107ee61076b565b6001600160a01b0316336001600160a01b0316146108275760405162461bcd60e51b815260040161081e90611583565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050565b61088f61076b565b6001600160a01b0316336001600160a01b0316146108bf5760405162461bcd60e51b815260040161081e90611583565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906108f190859085906004016115ba565b600060405180830381600087803b15801561090b57600080fd5b505af115801561091f573d6000803e3d6000fd5b505050505050565b6040805180820190915260008082526020820152600061094561072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb919061144d565b15610a405760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a369190611468565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610a666106fb565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016106b5565b610a9f61076b565b6001600160a01b0316336001600160a01b031614610acf5760405162461bcd60e51b815260040161081e90611583565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610853565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060600060008051602061161b83398151915290506040518060e00160405280610b62600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610bcc906115e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf8906115e0565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610c7857600080fd5b81356001600160e01b031981168114610c9057600080fd5b9392505050565b60005b83811015610cb2578181015183820152602001610c9a565b50506000910152565b60008151808452610cd3816020860160208601610c97565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610d2b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610d71610120840182610cbb565b905082810360208401526107248185610cbb565b6001600160c01b031981168114610d9b57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b60405290565b60405160e0810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051610120810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051601f8201601f1916810167ffffffffffffffff81118282101715610e4d57610e4d610d9e565b604052919050565b600067ffffffffffffffff821115610e6f57610e6f610d9e565b50601f01601f191660200190565b600082601f830112610e8e57600080fd5b8135610ea1610e9c82610e55565b610e24565b818152846020838601011115610eb657600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b0381168114610d9b57600080fd5b60008060008060008060c08789031215610f0157600080fd5b863595506020870135610f1381610d85565b945060408701359350606087013567ffffffffffffffff811115610f3657600080fd5b610f4289828a01610e7d565b9350506080870135610f5381610d85565b915060a0870135610f6381610ed3565b809150509295509295509295565b60008060008060808587031215610f8757600080fd5b843593506020850135610f9981610d85565b925060408501359150606085013567ffffffffffffffff811115610fbc57600080fd5b610fc887828801610e7d565b91505092959194509250565b600060408284031215610fe657600080fd5b610fee610db4565b9050813581526020820135602082015292915050565b6000806080838503121561101757600080fd5b6110218484610fd4565b91506110308460408501610fd4565b90509250929050565b805161104481610ed3565b919050565b805160ff8116811461104457600080fd5b8051801515811461104457600080fd5b6001600160a01b0381168114610d9b57600080fd5b80516110448161106a565b600082601f83011261109b57600080fd5b81516110a9610e9c82610e55565b8181528460208386010111156110be57600080fd5b6110cf826020830160208701610c97565b949350505050565b600080604083850312156110ea57600080fd5b825167ffffffffffffffff8082111561110257600080fd5b9084019060e0828703121561111657600080fd5b61111e610ddd565b61112783611039565b815261113560208401611039565b602082015261114660408401611049565b60408201526111576060840161105a565b60608201526111686080840161107f565b608082015261117960a0840161107f565b60a082015260c08301518281111561119057600080fd5b61119c8882860161108a565b60c08301525060208601519094509150808211156111b957600080fd5b506111c68582860161108a565b9150509250929050565b6000604082840312156111e257600080fd5b6111ea610db4565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561121b57600080fd5b604081121561122957600080fd5b50611232610db4565b61123b8861105a565b8152602088015160208201528096505060408701516112598161106a565b606088015190955061126a8161106a565b935061127988608089016111d0565b92506112888860c089016111d0565b91506112988861010089016111d0565b90509295509295509295565b6000604082840312156112b657600080fd5b610c9083836111d0565b82516001600160601b031681526020808401516102008301916112ed908401826001600160601b03169052565b50604084015161130860408401826001600160a01b03169052565b506060840151611325606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610c90565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526113e960c0840187610cbb565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561142557600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561145f57600080fd5b610c908261105a565b60006101e0828403121561147b57600080fd5b611483610e00565b61148c83611039565b815261149a60208401611039565b60208201526114ab6040840161107f565b60408201526114bd84606085016111d0565b60608201526114cf8460a085016111d0565b60808201526114e18460e085016111d0565b60a08201526114f48461012085016111d0565b60c08201526115078461016085016111d0565b60e082015261151a846101a085016111d0565b6101008201529392505050565b60006020828403121561153957600080fd5b8151610c9081610ed3565b60008261156157634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561157857600080fd5b8151610c908161106a565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610c90565b600181811c908216806115f457607f821691505b60208210810361161457634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122072c3a56db42a616c78151f648dc707ba4d8ebb86bedd007454695d5e62340c5864736f6c634300081400336548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300",
|
481
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80635e78426b116100a2578063b6b412ba11610071578063b6b412ba14610257578063daafed401461026a578063db6dcc9514610272578063de7b5d141461027a578063f83d08ba1461028b57600080fd5b80635e78426b1461022a578063644c45e01461023d578063893d20e814610245578063a69df4b51461024d57600080fd5b80631380bf23116100e95780631380bf23146101b95780631bdd6b76146101dc5780631eff4b22146101fc57806321df0da7146102115780635ab1bd531461022257600080fd5b806301ffc9a71461011b5780630fec111c1461015d57806312abb9b3146101735780631329960414610194575b600080fd5b610148610129366004610c66565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610165610293565b604051610154929190610ce7565b610186610181366004610ee8565b6104bd565b604051908152602001610154565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610154565b6101c1610549565b60408051825181526020928301519281019290925201610154565b6101e461067e565b6040516001600160601b039091168152602001610154565b61018660008051602061161b83398151915281565b6004546001600160a01b03166101a1565b6101a16106fb565b610186610238366004610f71565b610717565b6101e461072d565b6101a161076b565b6102556107e6565b005b610255610265366004611004565b610887565b6101c1610927565b6101e4610a5c565b6005546001600160a01b03166101a1565b610255610a97565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806102d7610aff565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610331573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261035991908101906110d7565b915091506000806000838060200190518101906103769190611200565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af415801561045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048091906112a4565b905260035460405161049f92916001600160a01b0316906020016112c0565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906104f89089908b908a908a9089908b906004016113b6565b60a060405180830381865afa158015610515573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610539919061140d565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061056761072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156105b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105dd919061144d565b156106625760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190611468565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b60006106886106fb565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611527565b905090565b60008051602061161b833981519152546001600160a01b031690565b6000610724600a86611544565b95945050505050565b60008051602061161b83398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e906024016106b5565b600060008051602061161b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611566565b6107ee61076b565b6001600160a01b0316336001600160a01b0316146108275760405162461bcd60e51b815260040161081e90611583565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050565b61088f61076b565b6001600160a01b0316336001600160a01b0316146108bf5760405162461bcd60e51b815260040161081e90611583565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906108f190859085906004016115ba565b600060405180830381600087803b15801561090b57600080fd5b505af115801561091f573d6000803e3d6000fd5b505050505050565b6040805180820190915260008082526020820152600061094561072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb919061144d565b15610a405760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a369190611468565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610a666106fb565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016106b5565b610a9f61076b565b6001600160a01b0316336001600160a01b031614610acf5760405162461bcd60e51b815260040161081e90611583565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610853565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060600060008051602061161b83398151915290506040518060e00160405280610b62600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610bcc906115e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf8906115e0565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610c7857600080fd5b81356001600160e01b031981168114610c9057600080fd5b9392505050565b60005b83811015610cb2578181015183820152602001610c9a565b50506000910152565b60008151808452610cd3816020860160208601610c97565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610d2b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610d71610120840182610cbb565b905082810360208401526107248185610cbb565b6001600160c01b031981168114610d9b57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b60405290565b60405160e0810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051610120810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051601f8201601f1916810167ffffffffffffffff81118282101715610e4d57610e4d610d9e565b604052919050565b600067ffffffffffffffff821115610e6f57610e6f610d9e565b50601f01601f191660200190565b600082601f830112610e8e57600080fd5b8135610ea1610e9c82610e55565b610e24565b818152846020838601011115610eb657600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b0381168114610d9b57600080fd5b60008060008060008060c08789031215610f0157600080fd5b863595506020870135610f1381610d85565b945060408701359350606087013567ffffffffffffffff811115610f3657600080fd5b610f4289828a01610e7d565b9350506080870135610f5381610d85565b915060a0870135610f6381610ed3565b809150509295509295509295565b60008060008060808587031215610f8757600080fd5b843593506020850135610f9981610d85565b925060408501359150606085013567ffffffffffffffff811115610fbc57600080fd5b610fc887828801610e7d565b91505092959194509250565b600060408284031215610fe657600080fd5b610fee610db4565b9050813581526020820135602082015292915050565b6000806080838503121561101757600080fd5b6110218484610fd4565b91506110308460408501610fd4565b90509250929050565b805161104481610ed3565b919050565b805160ff8116811461104457600080fd5b8051801515811461104457600080fd5b6001600160a01b0381168114610d9b57600080fd5b80516110448161106a565b600082601f83011261109b57600080fd5b81516110a9610e9c82610e55565b8181528460208386010111156110be57600080fd5b6110cf826020830160208701610c97565b949350505050565b600080604083850312156110ea57600080fd5b825167ffffffffffffffff8082111561110257600080fd5b9084019060e0828703121561111657600080fd5b61111e610ddd565b61112783611039565b815261113560208401611039565b602082015261114660408401611049565b60408201526111576060840161105a565b60608201526111686080840161107f565b608082015261117960a0840161107f565b60a082015260c08301518281111561119057600080fd5b61119c8882860161108a565b60c08301525060208601519094509150808211156111b957600080fd5b506111c68582860161108a565b9150509250929050565b6000604082840312156111e257600080fd5b6111ea610db4565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561121b57600080fd5b604081121561122957600080fd5b50611232610db4565b61123b8861105a565b8152602088015160208201528096505060408701516112598161106a565b606088015190955061126a8161106a565b935061127988608089016111d0565b92506112888860c089016111d0565b91506112988861010089016111d0565b90509295509295509295565b6000604082840312156112b657600080fd5b610c9083836111d0565b82516001600160601b031681526020808401516102008301916112ed908401826001600160601b03169052565b50604084015161130860408401826001600160a01b03169052565b506060840151611325606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610c90565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526113e960c0840187610cbb565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561142557600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561145f57600080fd5b610c908261105a565b60006101e0828403121561147b57600080fd5b611483610e00565b61148c83611039565b815261149a60208401611039565b60208201526114ab6040840161107f565b60408201526114bd84606085016111d0565b60608201526114cf8460a085016111d0565b60808201526114e18460e085016111d0565b60a08201526114f48461012085016111d0565b60c08201526115078461016085016111d0565b60e082015261151a846101a085016111d0565b6101008201529392505050565b60006020828403121561153957600080fd5b8151610c9081610ed3565b60008261156157634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561157857600080fd5b8151610c908161106a565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610c90565b600181811c908216806115f457607f821691505b60208210810361161457634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122072c3a56db42a616c78151f648dc707ba4d8ebb86bedd007454695d5e62340c5864736f6c63430008140033",
|
482
|
-
"linkReferences": {
|
483
|
-
"contracts/types/Fee.sol": {
|
484
|
-
"FeeLib": [
|
485
|
-
{
|
486
|
-
"length": 20,
|
487
|
-
"start": 4318
|
488
|
-
}
|
489
|
-
]
|
490
|
-
}
|
491
|
-
},
|
492
|
-
"deployedLinkReferences": {
|
493
|
-
"contracts/types/Fee.sol": {
|
494
|
-
"FeeLib": [
|
495
|
-
{
|
496
|
-
"length": 20,
|
497
|
-
"start": 1060
|
498
|
-
}
|
499
|
-
]
|
500
|
-
}
|
501
|
-
}
|
502
|
-
}
|
@@ -1,105 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "Require",
|
4
|
-
"sourceName": "contracts/experiment/errors/Require.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"stateMutability": "nonpayable",
|
9
|
-
"type": "constructor"
|
10
|
-
},
|
11
|
-
{
|
12
|
-
"inputs": [
|
13
|
-
{
|
14
|
-
"internalType": "uint256",
|
15
|
-
"name": "a",
|
16
|
-
"type": "uint256"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "uint256",
|
20
|
-
"name": "b",
|
21
|
-
"type": "uint256"
|
22
|
-
}
|
23
|
-
],
|
24
|
-
"name": "AsmallerThanB_L",
|
25
|
-
"type": "error"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"inputs": [
|
29
|
-
{
|
30
|
-
"internalType": "uint256",
|
31
|
-
"name": "a",
|
32
|
-
"type": "uint256"
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"name": "AsmallerThanB_M",
|
36
|
-
"type": "error"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"inputs": [],
|
40
|
-
"name": "AsmallerThanB_S",
|
41
|
-
"type": "error"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"inputs": [
|
45
|
-
{
|
46
|
-
"internalType": "uint256",
|
47
|
-
"name": "a",
|
48
|
-
"type": "uint256"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"name": "isAlargerThanBRequire_L",
|
52
|
-
"outputs": [
|
53
|
-
{
|
54
|
-
"internalType": "bool",
|
55
|
-
"name": "isLarger",
|
56
|
-
"type": "bool"
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"stateMutability": "view",
|
60
|
-
"type": "function"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"inputs": [
|
64
|
-
{
|
65
|
-
"internalType": "uint256",
|
66
|
-
"name": "a",
|
67
|
-
"type": "uint256"
|
68
|
-
}
|
69
|
-
],
|
70
|
-
"name": "isAlargerThanBRequire_M",
|
71
|
-
"outputs": [
|
72
|
-
{
|
73
|
-
"internalType": "bool",
|
74
|
-
"name": "isLarger",
|
75
|
-
"type": "bool"
|
76
|
-
}
|
77
|
-
],
|
78
|
-
"stateMutability": "view",
|
79
|
-
"type": "function"
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"inputs": [
|
83
|
-
{
|
84
|
-
"internalType": "uint256",
|
85
|
-
"name": "a",
|
86
|
-
"type": "uint256"
|
87
|
-
}
|
88
|
-
],
|
89
|
-
"name": "isAlargerThanBRequire_S",
|
90
|
-
"outputs": [
|
91
|
-
{
|
92
|
-
"internalType": "bool",
|
93
|
-
"name": "isLarger",
|
94
|
-
"type": "bool"
|
95
|
-
}
|
96
|
-
],
|
97
|
-
"stateMutability": "view",
|
98
|
-
"type": "function"
|
99
|
-
}
|
100
|
-
],
|
101
|
-
"bytecode": "0x608060405234801561001057600080fd5b50602a6000556101df806100256000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461006d57806394977ddd14610080575b600080fd5b610059610054366004610190565b610093565b604051901515815260200160405180910390f35b61005961007b366004610190565b6100f2565b61005961008e366004610190565b610134565b6000805482116100ea5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4142432d3030323a415f49535f534d414c4c455200000000000060448201526064015b60405180910390fd5b506001919050565b6000805482116100ea5760405162461bcd60e51b815260206004820152600d60248201526c4552524f523a4142432d30303160981b60448201526064016100e1565b6000805482116100ea5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f6044820152602160f91b60648201526084016100e1565b6000602082840312156101a257600080fd5b503591905056fea2646970667358221220572bbc4b1e30046ddb065771b03fa96e34255214cd346e350172d87d56991ba064736f6c63430008140033",
|
102
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461006d57806394977ddd14610080575b600080fd5b610059610054366004610190565b610093565b604051901515815260200160405180910390f35b61005961007b366004610190565b6100f2565b61005961008e366004610190565b610134565b6000805482116100ea5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4142432d3030323a415f49535f534d414c4c455200000000000060448201526064015b60405180910390fd5b506001919050565b6000805482116100ea5760405162461bcd60e51b815260206004820152600d60248201526c4552524f523a4142432d30303160981b60448201526064016100e1565b6000805482116100ea5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f6044820152602160f91b60648201526084016100e1565b6000602082840312156101a257600080fd5b503591905056fea2646970667358221220572bbc4b1e30046ddb065771b03fa96e34255214cd346e350172d87d56991ba064736f6c63430008140033",
|
103
|
-
"linkReferences": {},
|
104
|
-
"deployedLinkReferences": {}
|
105
|
-
}
|