@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,632 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "TestProduct",
|
4
|
-
"sourceName": "contracts/test/TestProduct.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
|
-
"anonymous": false,
|
106
|
-
"inputs": [
|
107
|
-
{
|
108
|
-
"indexed": false,
|
109
|
-
"internalType": "address",
|
110
|
-
"name": "sender",
|
111
|
-
"type": "address"
|
112
|
-
}
|
113
|
-
],
|
114
|
-
"name": "LogTestProductSender",
|
115
|
-
"type": "event"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"inputs": [],
|
119
|
-
"name": "DEFAULT_RISK_NAME",
|
120
|
-
"outputs": [
|
121
|
-
{
|
122
|
-
"internalType": "string",
|
123
|
-
"name": "",
|
124
|
-
"type": "string"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"stateMutability": "view",
|
128
|
-
"type": "function"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"inputs": [],
|
132
|
-
"name": "REGISTERABLE_LOCATION_V1",
|
133
|
-
"outputs": [
|
134
|
-
{
|
135
|
-
"internalType": "bytes32",
|
136
|
-
"name": "",
|
137
|
-
"type": "bytes32"
|
138
|
-
}
|
139
|
-
],
|
140
|
-
"stateMutability": "view",
|
141
|
-
"type": "function"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"inputs": [
|
145
|
-
{
|
146
|
-
"internalType": "uint256",
|
147
|
-
"name": "sumInsuredAmount",
|
148
|
-
"type": "uint256"
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"internalType": "uint256",
|
152
|
-
"name": "lifetime",
|
153
|
-
"type": "uint256"
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"internalType": "NftId",
|
157
|
-
"name": "bundleNftId",
|
158
|
-
"type": "uint96"
|
159
|
-
},
|
160
|
-
{
|
161
|
-
"internalType": "ReferralId",
|
162
|
-
"name": "referralId",
|
163
|
-
"type": "bytes8"
|
164
|
-
}
|
165
|
-
],
|
166
|
-
"name": "applyForPolicy",
|
167
|
-
"outputs": [
|
168
|
-
{
|
169
|
-
"internalType": "NftId",
|
170
|
-
"name": "nftId",
|
171
|
-
"type": "uint96"
|
172
|
-
}
|
173
|
-
],
|
174
|
-
"stateMutability": "nonpayable",
|
175
|
-
"type": "function"
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"inputs": [
|
179
|
-
{
|
180
|
-
"internalType": "uint256",
|
181
|
-
"name": "sumInsuredAmount",
|
182
|
-
"type": "uint256"
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"internalType": "RiskId",
|
186
|
-
"name": "riskId",
|
187
|
-
"type": "bytes8"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"internalType": "uint256",
|
191
|
-
"name": "lifetime",
|
192
|
-
"type": "uint256"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"internalType": "bytes",
|
196
|
-
"name": "applicationData",
|
197
|
-
"type": "bytes"
|
198
|
-
}
|
199
|
-
],
|
200
|
-
"name": "calculateNetPremium",
|
201
|
-
"outputs": [
|
202
|
-
{
|
203
|
-
"internalType": "uint256",
|
204
|
-
"name": "netPremiumAmount",
|
205
|
-
"type": "uint256"
|
206
|
-
}
|
207
|
-
],
|
208
|
-
"stateMutability": "view",
|
209
|
-
"type": "function"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"inputs": [
|
213
|
-
{
|
214
|
-
"internalType": "uint256",
|
215
|
-
"name": "sumInsuredAmount",
|
216
|
-
"type": "uint256"
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"internalType": "RiskId",
|
220
|
-
"name": "riskId",
|
221
|
-
"type": "bytes8"
|
222
|
-
},
|
223
|
-
{
|
224
|
-
"internalType": "uint256",
|
225
|
-
"name": "lifetime",
|
226
|
-
"type": "uint256"
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"internalType": "bytes",
|
230
|
-
"name": "applicationData",
|
231
|
-
"type": "bytes"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"internalType": "ReferralId",
|
235
|
-
"name": "referralId",
|
236
|
-
"type": "bytes8"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"internalType": "NftId",
|
240
|
-
"name": "bundleNftId",
|
241
|
-
"type": "uint96"
|
242
|
-
}
|
243
|
-
],
|
244
|
-
"name": "calculatePremium",
|
245
|
-
"outputs": [
|
246
|
-
{
|
247
|
-
"internalType": "uint256",
|
248
|
-
"name": "premiumAmount",
|
249
|
-
"type": "uint256"
|
250
|
-
}
|
251
|
-
],
|
252
|
-
"stateMutability": "view",
|
253
|
-
"type": "function"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"inputs": [
|
257
|
-
{
|
258
|
-
"internalType": "NftId",
|
259
|
-
"name": "nftId",
|
260
|
-
"type": "uint96"
|
261
|
-
},
|
262
|
-
{
|
263
|
-
"internalType": "Timestamp",
|
264
|
-
"name": "activateAt",
|
265
|
-
"type": "uint40"
|
266
|
-
}
|
267
|
-
],
|
268
|
-
"name": "collectPremium",
|
269
|
-
"outputs": [],
|
270
|
-
"stateMutability": "nonpayable",
|
271
|
-
"type": "function"
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"inputs": [],
|
275
|
-
"name": "getDefaultRiskId",
|
276
|
-
"outputs": [
|
277
|
-
{
|
278
|
-
"internalType": "RiskId",
|
279
|
-
"name": "",
|
280
|
-
"type": "bytes8"
|
281
|
-
}
|
282
|
-
],
|
283
|
-
"stateMutability": "pure",
|
284
|
-
"type": "function"
|
285
|
-
},
|
286
|
-
{
|
287
|
-
"inputs": [],
|
288
|
-
"name": "getDistributionNftId",
|
289
|
-
"outputs": [
|
290
|
-
{
|
291
|
-
"internalType": "NftId",
|
292
|
-
"name": "distributionNftId",
|
293
|
-
"type": "uint96"
|
294
|
-
}
|
295
|
-
],
|
296
|
-
"stateMutability": "view",
|
297
|
-
"type": "function"
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"inputs": [],
|
301
|
-
"name": "getInitialInfo",
|
302
|
-
"outputs": [
|
303
|
-
{
|
304
|
-
"components": [
|
305
|
-
{
|
306
|
-
"internalType": "NftId",
|
307
|
-
"name": "nftId",
|
308
|
-
"type": "uint96"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"internalType": "NftId",
|
312
|
-
"name": "parentNftId",
|
313
|
-
"type": "uint96"
|
314
|
-
},
|
315
|
-
{
|
316
|
-
"internalType": "ObjectType",
|
317
|
-
"name": "objectType",
|
318
|
-
"type": "uint8"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"internalType": "bool",
|
322
|
-
"name": "isInterceptor",
|
323
|
-
"type": "bool"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"internalType": "address",
|
327
|
-
"name": "objectAddress",
|
328
|
-
"type": "address"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"internalType": "address",
|
332
|
-
"name": "initialOwner",
|
333
|
-
"type": "address"
|
334
|
-
},
|
335
|
-
{
|
336
|
-
"internalType": "bytes",
|
337
|
-
"name": "data",
|
338
|
-
"type": "bytes"
|
339
|
-
}
|
340
|
-
],
|
341
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
342
|
-
"name": "",
|
343
|
-
"type": "tuple"
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"internalType": "bytes",
|
347
|
-
"name": "",
|
348
|
-
"type": "bytes"
|
349
|
-
}
|
350
|
-
],
|
351
|
-
"stateMutability": "view",
|
352
|
-
"type": "function"
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"inputs": [],
|
356
|
-
"name": "getInstance",
|
357
|
-
"outputs": [
|
358
|
-
{
|
359
|
-
"internalType": "contract IInstance",
|
360
|
-
"name": "instance",
|
361
|
-
"type": "address"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"stateMutability": "view",
|
365
|
-
"type": "function"
|
366
|
-
},
|
367
|
-
{
|
368
|
-
"inputs": [],
|
369
|
-
"name": "getNftId",
|
370
|
-
"outputs": [
|
371
|
-
{
|
372
|
-
"internalType": "NftId",
|
373
|
-
"name": "nftId",
|
374
|
-
"type": "uint96"
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"stateMutability": "view",
|
378
|
-
"type": "function"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"inputs": [],
|
382
|
-
"name": "getOwner",
|
383
|
-
"outputs": [
|
384
|
-
{
|
385
|
-
"internalType": "address",
|
386
|
-
"name": "",
|
387
|
-
"type": "address"
|
388
|
-
}
|
389
|
-
],
|
390
|
-
"stateMutability": "view",
|
391
|
-
"type": "function"
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"inputs": [],
|
395
|
-
"name": "getPoolNftId",
|
396
|
-
"outputs": [
|
397
|
-
{
|
398
|
-
"internalType": "NftId",
|
399
|
-
"name": "poolNftId",
|
400
|
-
"type": "uint96"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"stateMutability": "view",
|
404
|
-
"type": "function"
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"inputs": [],
|
408
|
-
"name": "getProcessingFee",
|
409
|
-
"outputs": [
|
410
|
-
{
|
411
|
-
"components": [
|
412
|
-
{
|
413
|
-
"internalType": "UFixed",
|
414
|
-
"name": "fractionalFee",
|
415
|
-
"type": "uint256"
|
416
|
-
},
|
417
|
-
{
|
418
|
-
"internalType": "uint256",
|
419
|
-
"name": "fixedFee",
|
420
|
-
"type": "uint256"
|
421
|
-
}
|
422
|
-
],
|
423
|
-
"internalType": "struct Fee",
|
424
|
-
"name": "processingFee",
|
425
|
-
"type": "tuple"
|
426
|
-
}
|
427
|
-
],
|
428
|
-
"stateMutability": "view",
|
429
|
-
"type": "function"
|
430
|
-
},
|
431
|
-
{
|
432
|
-
"inputs": [],
|
433
|
-
"name": "getProductFee",
|
434
|
-
"outputs": [
|
435
|
-
{
|
436
|
-
"components": [
|
437
|
-
{
|
438
|
-
"internalType": "UFixed",
|
439
|
-
"name": "fractionalFee",
|
440
|
-
"type": "uint256"
|
441
|
-
},
|
442
|
-
{
|
443
|
-
"internalType": "uint256",
|
444
|
-
"name": "fixedFee",
|
445
|
-
"type": "uint256"
|
446
|
-
}
|
447
|
-
],
|
448
|
-
"internalType": "struct Fee",
|
449
|
-
"name": "productFee",
|
450
|
-
"type": "tuple"
|
451
|
-
}
|
452
|
-
],
|
453
|
-
"stateMutability": "view",
|
454
|
-
"type": "function"
|
455
|
-
},
|
456
|
-
{
|
457
|
-
"inputs": [],
|
458
|
-
"name": "getRegistry",
|
459
|
-
"outputs": [
|
460
|
-
{
|
461
|
-
"internalType": "contract IRegistry",
|
462
|
-
"name": "registry",
|
463
|
-
"type": "address"
|
464
|
-
}
|
465
|
-
],
|
466
|
-
"stateMutability": "view",
|
467
|
-
"type": "function"
|
468
|
-
},
|
469
|
-
{
|
470
|
-
"inputs": [],
|
471
|
-
"name": "getToken",
|
472
|
-
"outputs": [
|
473
|
-
{
|
474
|
-
"internalType": "contract IERC20Metadata",
|
475
|
-
"name": "token",
|
476
|
-
"type": "address"
|
477
|
-
}
|
478
|
-
],
|
479
|
-
"stateMutability": "view",
|
480
|
-
"type": "function"
|
481
|
-
},
|
482
|
-
{
|
483
|
-
"inputs": [],
|
484
|
-
"name": "getWallet",
|
485
|
-
"outputs": [
|
486
|
-
{
|
487
|
-
"internalType": "address",
|
488
|
-
"name": "walletAddress",
|
489
|
-
"type": "address"
|
490
|
-
}
|
491
|
-
],
|
492
|
-
"stateMutability": "view",
|
493
|
-
"type": "function"
|
494
|
-
},
|
495
|
-
{
|
496
|
-
"inputs": [],
|
497
|
-
"name": "lock",
|
498
|
-
"outputs": [],
|
499
|
-
"stateMutability": "nonpayable",
|
500
|
-
"type": "function"
|
501
|
-
},
|
502
|
-
{
|
503
|
-
"inputs": [
|
504
|
-
{
|
505
|
-
"components": [
|
506
|
-
{
|
507
|
-
"internalType": "UFixed",
|
508
|
-
"name": "fractionalFee",
|
509
|
-
"type": "uint256"
|
510
|
-
},
|
511
|
-
{
|
512
|
-
"internalType": "uint256",
|
513
|
-
"name": "fixedFee",
|
514
|
-
"type": "uint256"
|
515
|
-
}
|
516
|
-
],
|
517
|
-
"internalType": "struct Fee",
|
518
|
-
"name": "productFee",
|
519
|
-
"type": "tuple"
|
520
|
-
},
|
521
|
-
{
|
522
|
-
"components": [
|
523
|
-
{
|
524
|
-
"internalType": "UFixed",
|
525
|
-
"name": "fractionalFee",
|
526
|
-
"type": "uint256"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"internalType": "uint256",
|
530
|
-
"name": "fixedFee",
|
531
|
-
"type": "uint256"
|
532
|
-
}
|
533
|
-
],
|
534
|
-
"internalType": "struct Fee",
|
535
|
-
"name": "processingFee",
|
536
|
-
"type": "tuple"
|
537
|
-
}
|
538
|
-
],
|
539
|
-
"name": "setFees",
|
540
|
-
"outputs": [],
|
541
|
-
"stateMutability": "nonpayable",
|
542
|
-
"type": "function"
|
543
|
-
},
|
544
|
-
{
|
545
|
-
"inputs": [
|
546
|
-
{
|
547
|
-
"internalType": "bytes4",
|
548
|
-
"name": "interfaceId",
|
549
|
-
"type": "bytes4"
|
550
|
-
}
|
551
|
-
],
|
552
|
-
"name": "supportsInterface",
|
553
|
-
"outputs": [
|
554
|
-
{
|
555
|
-
"internalType": "bool",
|
556
|
-
"name": "",
|
557
|
-
"type": "bool"
|
558
|
-
}
|
559
|
-
],
|
560
|
-
"stateMutability": "view",
|
561
|
-
"type": "function"
|
562
|
-
},
|
563
|
-
{
|
564
|
-
"inputs": [
|
565
|
-
{
|
566
|
-
"internalType": "NftId",
|
567
|
-
"name": "nftId",
|
568
|
-
"type": "uint96"
|
569
|
-
},
|
570
|
-
{
|
571
|
-
"internalType": "bool",
|
572
|
-
"name": "requirePremiumPayment",
|
573
|
-
"type": "bool"
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"internalType": "Timestamp",
|
577
|
-
"name": "activateAt",
|
578
|
-
"type": "uint40"
|
579
|
-
}
|
580
|
-
],
|
581
|
-
"name": "underwrite",
|
582
|
-
"outputs": [],
|
583
|
-
"stateMutability": "nonpayable",
|
584
|
-
"type": "function"
|
585
|
-
},
|
586
|
-
{
|
587
|
-
"inputs": [],
|
588
|
-
"name": "unlock",
|
589
|
-
"outputs": [],
|
590
|
-
"stateMutability": "nonpayable",
|
591
|
-
"type": "function"
|
592
|
-
}
|
593
|
-
],
|
594
|
-
"bytecode": "0x60806040523480156200001157600080fd5b50604051620028c3380380620028c38339810160408190526200003491620008ae565b888888888888888888888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905589856040805160208101909152600081526200009f87878686868662000574565b6000620000c2600080516020620028a3833981519152546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000112573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200013c919081019062000a18565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ca919062000afe565b620001f65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000270919062000b23565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050505050505050600560009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000368919062000b23565b600680546001600160a01b03199081166001600160a01b0393841617909155600780548216888416179055600880549091168683161790558351600955602080850151600a558351600b55830151600c55600080516020620028a38339815191525416600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200043b919062000b43565b600d80546001600160601b0319166001600160601b03929092169190911790556200047c600080516020620028a3833981519152546001600160a01b031690565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ec919062000b43565b600d80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505050505050505050505062000cbc565b6001600160a01b038616620005cc5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001ed565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000640919062000afe565b6200068e5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001ed565b6001600160a01b03818116600160a01b6001600160601b038916810291909117600080516020620028a38339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200074d848262000bf0565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620007aa57600080fd5b50565b8051620007ba8162000794565b919050565b80516001600160601b0381168114620007ba57600080fd5b80518015158114620007ba57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620008235762000823620007e8565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008545762000854620007e8565b604052919050565b6000604082840312156200086f57600080fd5b604080519081016001600160401b0381118282101715620008945762000894620007e8565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008ce57600080fd5b8951620008db8162000794565b9850620008eb60208b01620007bf565b975060408a0151620008fd8162000794565b96506200090d60608b01620007d7565b955060808a01516200091f8162000794565b60a08b0151909550620009328162000794565b9350620009438b60c08c016200085c565b9250620009558b6101008c016200085c565b91506101408a0151620009688162000794565b809150509295985092959850929598565b805160ff81168114620007ba57600080fd5b600082601f8301126200099d57600080fd5b81516001600160401b03811115620009b957620009b9620007e8565b6020620009cf601f8301601f1916820162000829565b8281528582848701011115620009e457600080fd5b60005b8381101562000a04578581018301518282018401528201620009e7565b506000928101909101919091529392505050565b60006020828403121562000a2b57600080fd5b81516001600160401b038082111562000a4357600080fd5b9083019060e0828603121562000a5857600080fd5b62000a62620007fe565b62000a6d83620007bf565b815262000a7d60208401620007bf565b602082015262000a906040840162000979565b604082015262000aa360608401620007d7565b606082015262000ab660808401620007ad565b608082015262000ac960a08401620007ad565b60a082015260c08301518281111562000ae157600080fd5b62000aef878286016200098b565b60c08301525095945050505050565b60006020828403121562000b1157600080fd5b62000b1c82620007d7565b9392505050565b60006020828403121562000b3657600080fd5b815162000b1c8162000794565b60006020828403121562000b5657600080fd5b62000b1c82620007bf565b600181811c9082168062000b7657607f821691505b60208210810362000b9757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000beb57600081815260208120601f850160051c8101602086101562000bc65750805b601f850160051c820191505b8181101562000be75782815560010162000bd2565b5050505b505050565b81516001600160401b0381111562000c0c5762000c0c620007e8565b62000c248162000c1d845462000b61565b8462000b9d565b602080601f83116001811462000c5c576000841562000c435750858301515b600019600386901b1c1916600185901b17855562000be7565b600085815260208120601f198616915b8281101562000c8d5788860151825594840194600190910190840162000c6c565b508582101562000cac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611bd78062000ccc6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba146102ff578063bbfbbfba14610312578063daafed4014610325578063db6dcc951461032d578063de7b5d1414610335578063f83d08ba1461034657600080fd5b8063630361f614610279578063644c45e01461028e578063893d20e814610296578063955fd7821461029e578063a69df4b5146102bf578063abd732ef146102c757600080fd5b80631bdd6b76116101155780631bdd6b76146102055780631eff4b221461022557806321df0da71461023a5780633f28c2ec1461024b5780635ab1bd531461025e5780635e78426b1461026657600080fd5b806301ffc9a7146101525780630fec111c1461019457806312abb9b3146101aa57806313299604146101cb5780631380bf23146101f0575b600080fd5b61017f61016036600461101c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c61034e565b60405161018b92919061109d565b6101bd6101b836600461129e565b610578565b60405190815260200161018b565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6101f8610604565b60405161018b9190611327565b61020d610739565b6040516001600160601b03909116815260200161018b565b6101bd600080516020611b8283398151915281565b6004546001600160a01b03166101d8565b61020d61025936600461133e565b6107b6565b6101d861082c565b6101bd610274366004611388565b610848565b61028c610287366004611413565b61085e565b005b61020d6108a1565b6101d86108df565b6102a661095a565b6040516001600160c01b0319909116815260200161018b565b61028c610989565b6102f26040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b60405161018b919061145a565b61028c61030d36600461149d565b610a2a565b61028c6103203660046114d2565b610aca565b6101f8610ad8565b61020d610c0d565b6005546001600160a01b03166101d8565b61028c610c48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610392610cb0565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104149190810190611592565b9150915060008060008380602001905181019061043191906116bb565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af4158015610517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053b9190611760565b905260035460405161055a92916001600160a01b03169060200161177c565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105b39089908b908a908a9089908b90600401611872565b60a060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906118c9565b50929a9950505050505050505050565b604080518082019091526000808252602082015260006106226108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190611909565b1561071d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190611926565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b600061074361082c565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b191906119e5565b905090565b6000806107c161095a565b604080516020810190915260008152600d5491925090600160c01b900460ff16610812576107fe8260405180602001604052806000815250610e17565b600d805460ff60c01b1916600160c01b1790555b61082133838989858a8a610e49565b979650505050505050565b600080516020611b82833981519152546001600160a01b031690565b6000610855600a86611a02565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161089c838383610ed5565b505050565b600080516020611b8283398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e90602401610770565b6000600080516020611b8283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b19190611a24565b60006107b16040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f55565b6109916108df565b6001600160a01b0316336001600160a01b0316146109ca5760405162461bcd60e51b81526004016109c190611a41565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610a1057600080fd5b505af1158015610a24573d6000803e3d6000fd5b50505050565b610a326108df565b6001600160a01b0316336001600160a01b031614610a625760405162461bcd60e51b81526004016109c190611a41565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a949085908590600401611a78565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505050565b610ad48282610fd6565b5050565b60408051808201909152600080825260208201526000610af66108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190611909565b15610bf15760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190611926565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610c1761082c565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610770565b610c506108df565b6001600160a01b0316336001600160a01b031614610c805760405162461bcd60e51b81526004016109c190611a41565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611b8283398151915290506040518060e00160405280610d13600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610d7d90611a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990611a9e565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6006546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610a949085908590600401611ad8565b60065460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e86908b908b908b908b908b908b908b90600401611afe565b6020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906119e5565b98975050505050505050565b600654604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b50505050505050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f8f90859060040161145a565b602060405180830381865af4158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190611b64565b92915050565b600654604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610a94565b60006020828403121561102e57600080fd5b81356001600160e01b03198116811461104657600080fd5b9392505050565b60005b83811015611068578181015183820152602001611050565b50506000910152565b6000815180845261108981602086016020860161104d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110e160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611127610120840182611071565b905082810360208401526108558185611071565b6001600160c01b03198116811461115157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561118d5761118d611154565b60405290565b60405160e0810167ffffffffffffffff8111828210171561118d5761118d611154565b604051610120810167ffffffffffffffff8111828210171561118d5761118d611154565b604051601f8201601f1916810167ffffffffffffffff8111828210171561120357611203611154565b604052919050565b600067ffffffffffffffff82111561122557611225611154565b50601f01601f191660200190565b600082601f83011261124457600080fd5b81356112576112528261120b565b6111da565b81815284602083860101111561126c57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461115157600080fd5b60008060008060008060c087890312156112b757600080fd5b8635955060208701356112c98161113b565b945060408701359350606087013567ffffffffffffffff8111156112ec57600080fd5b6112f889828a01611233565b93505060808701356113098161113b565b915060a087013561131981611289565b809150509295509295509295565b815181526020808301519082015260408101610fd0565b6000806000806080858703121561135457600080fd5b8435935060208501359250604085013561136d81611289565b9150606085013561137d8161113b565b939692955090935050565b6000806000806080858703121561139e57600080fd5b8435935060208501356113b08161113b565b925060408501359150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611233565b91505092959194509250565b801515811461115157600080fd5b803564ffffffffff8116811461140e57600080fd5b919050565b60008060006060848603121561142857600080fd5b833561143381611289565b92506020840135611443816113eb565b9150611451604085016113f9565b90509250925092565b6020815260006110466020830184611071565b60006040828403121561147f57600080fd5b61148761116a565b9050813581526020820135602082015292915050565b600080608083850312156114b057600080fd5b6114ba848461146d565b91506114c9846040850161146d565b90509250929050565b600080604083850312156114e557600080fd5b82356114f081611289565b91506114c9602084016113f9565b805161140e81611289565b805160ff8116811461140e57600080fd5b805161140e816113eb565b6001600160a01b038116811461115157600080fd5b805161140e81611525565b600082601f83011261155657600080fd5b81516115646112528261120b565b81815284602083860101111561157957600080fd5b61158a82602083016020870161104d565b949350505050565b600080604083850312156115a557600080fd5b825167ffffffffffffffff808211156115bd57600080fd5b9084019060e082870312156115d157600080fd5b6115d9611193565b6115e2836114fe565b81526115f0602084016114fe565b602082015261160160408401611509565b60408201526116126060840161151a565b60608201526116236080840161153a565b608082015261163460a0840161153a565b60a082015260c08301518281111561164b57600080fd5b61165788828601611545565b60c083015250602086015190945091508082111561167457600080fd5b5061168185828601611545565b9150509250929050565b60006040828403121561169d57600080fd5b6116a561116a565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156116d657600080fd5b60408112156116e457600080fd5b506116ed61116a565b87516116f8816113eb565b815260208881015190820152604088015190965061171581611525565b606088015190955061172681611525565b9350611735886080890161168b565b92506117448860c0890161168b565b915061175488610100890161168b565b90509295509295509295565b60006040828403121561177257600080fd5b611046838361168b565b82516001600160601b031681526020808401516102008301916117a9908401826001600160601b03169052565b5060408401516117c460408401826001600160a01b03169052565b5060608401516117e1606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611046565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526118a560c0840187611071565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118e157600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561191b57600080fd5b8151611046816113eb565b60006101e0828403121561193957600080fd5b6119416111b6565b61194a836114fe565b8152611958602084016114fe565b60208201526119696040840161153a565b604082015261197b846060850161168b565b606082015261198d8460a0850161168b565b608082015261199f8460e0850161168b565b60a08201526119b284610120850161168b565b60c08201526119c584610160850161168b565b60e08201526119d8846101a0850161168b565b6101008201529392505050565b6000602082840312156119f757600080fd5b815161104681611289565b600082611a1f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a3657600080fd5b815161104681611525565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101611046565b600181811c90821680611ab257607f821691505b602082108103611ad257634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b8316815260406020820152600061158a6040830184611071565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611b3f60e0840187611071565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611b7657600080fd5b81516110468161113b56fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220158dd00892c70a25eec16e2d10910238dbdbb0f5bc2df4c67a8c8dc59afdde6064736f6c634300081400336548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300",
|
595
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba146102ff578063bbfbbfba14610312578063daafed4014610325578063db6dcc951461032d578063de7b5d1414610335578063f83d08ba1461034657600080fd5b8063630361f614610279578063644c45e01461028e578063893d20e814610296578063955fd7821461029e578063a69df4b5146102bf578063abd732ef146102c757600080fd5b80631bdd6b76116101155780631bdd6b76146102055780631eff4b221461022557806321df0da71461023a5780633f28c2ec1461024b5780635ab1bd531461025e5780635e78426b1461026657600080fd5b806301ffc9a7146101525780630fec111c1461019457806312abb9b3146101aa57806313299604146101cb5780631380bf23146101f0575b600080fd5b61017f61016036600461101c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c61034e565b60405161018b92919061109d565b6101bd6101b836600461129e565b610578565b60405190815260200161018b565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6101f8610604565b60405161018b9190611327565b61020d610739565b6040516001600160601b03909116815260200161018b565b6101bd600080516020611b8283398151915281565b6004546001600160a01b03166101d8565b61020d61025936600461133e565b6107b6565b6101d861082c565b6101bd610274366004611388565b610848565b61028c610287366004611413565b61085e565b005b61020d6108a1565b6101d86108df565b6102a661095a565b6040516001600160c01b0319909116815260200161018b565b61028c610989565b6102f26040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b60405161018b919061145a565b61028c61030d36600461149d565b610a2a565b61028c6103203660046114d2565b610aca565b6101f8610ad8565b61020d610c0d565b6005546001600160a01b03166101d8565b61028c610c48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610392610cb0565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104149190810190611592565b9150915060008060008380602001905181019061043191906116bb565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af4158015610517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053b9190611760565b905260035460405161055a92916001600160a01b03169060200161177c565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105b39089908b908a908a9089908b90600401611872565b60a060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906118c9565b50929a9950505050505050505050565b604080518082019091526000808252602082015260006106226108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190611909565b1561071d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190611926565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b600061074361082c565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b191906119e5565b905090565b6000806107c161095a565b604080516020810190915260008152600d5491925090600160c01b900460ff16610812576107fe8260405180602001604052806000815250610e17565b600d805460ff60c01b1916600160c01b1790555b61082133838989858a8a610e49565b979650505050505050565b600080516020611b82833981519152546001600160a01b031690565b6000610855600a86611a02565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161089c838383610ed5565b505050565b600080516020611b8283398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e90602401610770565b6000600080516020611b8283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b19190611a24565b60006107b16040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f55565b6109916108df565b6001600160a01b0316336001600160a01b0316146109ca5760405162461bcd60e51b81526004016109c190611a41565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610a1057600080fd5b505af1158015610a24573d6000803e3d6000fd5b50505050565b610a326108df565b6001600160a01b0316336001600160a01b031614610a625760405162461bcd60e51b81526004016109c190611a41565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a949085908590600401611a78565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505050565b610ad48282610fd6565b5050565b60408051808201909152600080825260208201526000610af66108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190611909565b15610bf15760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190611926565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610c1761082c565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610770565b610c506108df565b6001600160a01b0316336001600160a01b031614610c805760405162461bcd60e51b81526004016109c190611a41565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611b8283398151915290506040518060e00160405280610d13600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610d7d90611a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990611a9e565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6006546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610a949085908590600401611ad8565b60065460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e86908b908b908b908b908b908b908b90600401611afe565b6020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906119e5565b98975050505050505050565b600654604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b50505050505050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f8f90859060040161145a565b602060405180830381865af4158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190611b64565b92915050565b600654604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610a94565b60006020828403121561102e57600080fd5b81356001600160e01b03198116811461104657600080fd5b9392505050565b60005b83811015611068578181015183820152602001611050565b50506000910152565b6000815180845261108981602086016020860161104d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110e160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611127610120840182611071565b905082810360208401526108558185611071565b6001600160c01b03198116811461115157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561118d5761118d611154565b60405290565b60405160e0810167ffffffffffffffff8111828210171561118d5761118d611154565b604051610120810167ffffffffffffffff8111828210171561118d5761118d611154565b604051601f8201601f1916810167ffffffffffffffff8111828210171561120357611203611154565b604052919050565b600067ffffffffffffffff82111561122557611225611154565b50601f01601f191660200190565b600082601f83011261124457600080fd5b81356112576112528261120b565b6111da565b81815284602083860101111561126c57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461115157600080fd5b60008060008060008060c087890312156112b757600080fd5b8635955060208701356112c98161113b565b945060408701359350606087013567ffffffffffffffff8111156112ec57600080fd5b6112f889828a01611233565b93505060808701356113098161113b565b915060a087013561131981611289565b809150509295509295509295565b815181526020808301519082015260408101610fd0565b6000806000806080858703121561135457600080fd5b8435935060208501359250604085013561136d81611289565b9150606085013561137d8161113b565b939692955090935050565b6000806000806080858703121561139e57600080fd5b8435935060208501356113b08161113b565b925060408501359150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611233565b91505092959194509250565b801515811461115157600080fd5b803564ffffffffff8116811461140e57600080fd5b919050565b60008060006060848603121561142857600080fd5b833561143381611289565b92506020840135611443816113eb565b9150611451604085016113f9565b90509250925092565b6020815260006110466020830184611071565b60006040828403121561147f57600080fd5b61148761116a565b9050813581526020820135602082015292915050565b600080608083850312156114b057600080fd5b6114ba848461146d565b91506114c9846040850161146d565b90509250929050565b600080604083850312156114e557600080fd5b82356114f081611289565b91506114c9602084016113f9565b805161140e81611289565b805160ff8116811461140e57600080fd5b805161140e816113eb565b6001600160a01b038116811461115157600080fd5b805161140e81611525565b600082601f83011261155657600080fd5b81516115646112528261120b565b81815284602083860101111561157957600080fd5b61158a82602083016020870161104d565b949350505050565b600080604083850312156115a557600080fd5b825167ffffffffffffffff808211156115bd57600080fd5b9084019060e082870312156115d157600080fd5b6115d9611193565b6115e2836114fe565b81526115f0602084016114fe565b602082015261160160408401611509565b60408201526116126060840161151a565b60608201526116236080840161153a565b608082015261163460a0840161153a565b60a082015260c08301518281111561164b57600080fd5b61165788828601611545565b60c083015250602086015190945091508082111561167457600080fd5b5061168185828601611545565b9150509250929050565b60006040828403121561169d57600080fd5b6116a561116a565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156116d657600080fd5b60408112156116e457600080fd5b506116ed61116a565b87516116f8816113eb565b815260208881015190820152604088015190965061171581611525565b606088015190955061172681611525565b9350611735886080890161168b565b92506117448860c0890161168b565b915061175488610100890161168b565b90509295509295509295565b60006040828403121561177257600080fd5b611046838361168b565b82516001600160601b031681526020808401516102008301916117a9908401826001600160601b03169052565b5060408401516117c460408401826001600160a01b03169052565b5060608401516117e1606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611046565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526118a560c0840187611071565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118e157600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561191b57600080fd5b8151611046816113eb565b60006101e0828403121561193957600080fd5b6119416111b6565b61194a836114fe565b8152611958602084016114fe565b60208201526119696040840161153a565b604082015261197b846060850161168b565b606082015261198d8460a0850161168b565b608082015261199f8460e0850161168b565b60a08201526119b284610120850161168b565b60c08201526119c584610160850161168b565b60e08201526119d8846101a0850161168b565b6101008201529392505050565b6000602082840312156119f757600080fd5b815161104681611289565b600082611a1f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a3657600080fd5b815161104681611525565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101611046565b600181811c90821680611ab257607f821691505b602082108103611ad257634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b8316815260406020820152600061158a6040830184611071565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611b3f60e0840187611071565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611b7657600080fd5b81516110468161113b56fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220158dd00892c70a25eec16e2d10910238dbdbb0f5bc2df4c67a8c8dc59afdde6064736f6c63430008140033",
|
596
|
-
"linkReferences": {
|
597
|
-
"contracts/types/Fee.sol": {
|
598
|
-
"FeeLib": [
|
599
|
-
{
|
600
|
-
"length": 20,
|
601
|
-
"start": 4523
|
602
|
-
}
|
603
|
-
]
|
604
|
-
},
|
605
|
-
"contracts/types/RiskId.sol": {
|
606
|
-
"RiskIdLib": [
|
607
|
-
{
|
608
|
-
"length": 20,
|
609
|
-
"start": 7219
|
610
|
-
}
|
611
|
-
]
|
612
|
-
}
|
613
|
-
},
|
614
|
-
"deployedLinkReferences": {
|
615
|
-
"contracts/types/Fee.sol": {
|
616
|
-
"FeeLib": [
|
617
|
-
{
|
618
|
-
"length": 20,
|
619
|
-
"start": 1247
|
620
|
-
}
|
621
|
-
]
|
622
|
-
},
|
623
|
-
"contracts/types/RiskId.sol": {
|
624
|
-
"RiskIdLib": [
|
625
|
-
{
|
626
|
-
"length": 20,
|
627
|
-
"start": 3943
|
628
|
-
}
|
629
|
-
]
|
630
|
-
}
|
631
|
-
}
|
632
|
-
}
|