@etherisc/gif-next 0.0.2-f080b71-868 → 0.0.2-f08528a-758
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +20 -3
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1248 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/{instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json → authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json} +4 -4
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1505 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1191 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +184 -253
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +81 -109
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +37 -112
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +160 -81
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +184 -81
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +153 -168
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1621 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +821 -385
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +273 -177
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +126 -65
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1471 -557
- 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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +160 -218
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +254 -153
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +71 -48
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +191 -296
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +294 -60
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1269 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → product/BasicProduct.sol/BasicProduct.json} +370 -400
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +58 -21
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +336 -39
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +178 -106
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPricingService.sol/IPricingService.json +50 -19
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +966 -0
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +11 -61
- 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/{components → product}/Product.sol/Product.json +338 -248
- 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 +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +135 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -53
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +371 -43
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1741 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +367 -73
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +697 -97
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/Component.sol/Component.json +139 -85
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +27 -127
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +110 -84
- 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 +718 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +17 -6
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -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 +15 -22
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +17 -6
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
- 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/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/{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/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
- 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/{types → type}/Key32.sol/Key32Lib.json +3 -3
- 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/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/{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 +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{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/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
- package/contracts/authorization/AccessAdmin.sol +588 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +218 -0
- package/contracts/authorization/IAccess.sol +48 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +54 -0
- package/contracts/authorization/IModuleAuthorization.sol +21 -0
- package/contracts/authorization/IServiceAuthorization.sol +38 -0
- package/contracts/authorization/ModuleAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +90 -0
- package/contracts/distribution/BasicDistribution.sol +149 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
- package/contracts/{components → distribution}/Distribution.sol +162 -159
- package/contracts/distribution/DistributionService.sol +302 -0
- package/contracts/distribution/DistributionServiceManager.sol +42 -0
- package/contracts/distribution/IDistributionComponent.sol +48 -0
- package/contracts/{instance/service → distribution}/IDistributionService.sol +24 -24
- package/contracts/instance/BundleManager.sol +8 -9
- package/contracts/instance/IInstance.sol +48 -22
- package/contracts/instance/IInstanceService.sol +44 -36
- package/contracts/instance/Instance.sol +134 -107
- package/contracts/instance/InstanceAdmin.sol +266 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
- package/contracts/instance/InstanceReader.sol +164 -58
- package/contracts/instance/InstanceService.sol +279 -156
- package/contracts/instance/InstanceServiceManager.sol +11 -21
- package/contracts/instance/InstanceStore.sol +154 -97
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +106 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +13 -16
- package/contracts/instance/module/IAccess.sol +4 -12
- package/contracts/instance/module/IBundle.sol +6 -9
- package/contracts/instance/module/IComponents.sol +21 -10
- package/contracts/instance/module/IDistribution.sol +7 -6
- package/contracts/instance/module/IPolicy.sol +28 -16
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
- package/contracts/oracle/BasicOracle.sol +48 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +157 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BasicPool.sol +164 -0
- package/contracts/pool/BasicPoolAuthorization.sol +49 -0
- package/contracts/pool/BundleService.sol +296 -0
- package/contracts/pool/BundleServiceManager.sol +42 -0
- package/contracts/{instance/service → pool}/IBundleService.sol +35 -23
- package/contracts/pool/IPoolComponent.sol +52 -0
- package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
- package/contracts/pool/Pool.sol +311 -0
- package/contracts/pool/PoolService.sol +452 -0
- package/contracts/pool/PoolServiceManager.sol +42 -0
- package/contracts/product/ApplicationService.sol +254 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
- package/contracts/product/BasicProduct.sol +82 -0
- package/contracts/product/BasicProductAuthorization.sol +40 -0
- package/contracts/product/ClaimService.sol +442 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
- package/contracts/{instance/service → product}/IApplicationService.sol +15 -17
- package/contracts/product/IClaimService.sol +99 -0
- package/contracts/{instance/service → product}/IPolicyService.sol +37 -33
- package/contracts/{instance/service → product}/IPricingService.sol +14 -11
- package/contracts/product/IProductComponent.sol +39 -0
- package/contracts/product/IProductService.sol +33 -0
- package/contracts/product/PolicyService.sol +475 -0
- package/contracts/product/PolicyServiceManager.sol +42 -0
- package/contracts/{instance/service → product}/PricingService.sol +110 -85
- package/contracts/product/PricingServiceManager.sol +42 -0
- package/contracts/{components → product}/Product.sol +210 -114
- package/contracts/product/ProductService.sol +124 -0
- package/contracts/product/ProductServiceManager.sol +42 -0
- package/contracts/registry/ChainNft.sol +8 -1
- package/contracts/registry/IRegistry.sol +41 -21
- package/contracts/registry/IRegistryService.sol +37 -36
- package/contracts/registry/Registry.sol +194 -83
- package/contracts/registry/RegistryAdmin.sol +365 -0
- package/contracts/registry/RegistryService.sol +71 -91
- package/contracts/registry/RegistryServiceManager.sol +21 -30
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseManager.sol +356 -193
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +281 -0
- package/contracts/shared/ComponentService.sol +581 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/{components → shared}/IComponent.sol +23 -29
- package/contracts/shared/IComponentService.sol +102 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
- package/contracts/shared/INftOwnable.sol +2 -2
- package/contracts/shared/IPolicyHolder.sol +29 -10
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +11 -2
- package/contracts/shared/IVersionable.sol +1 -1
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +151 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +77 -0
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +3 -16
- package/contracts/shared/PolicyHolder.sol +40 -19
- package/contracts/shared/ProxyManager.sol +34 -4
- package/contracts/shared/Registerable.sol +13 -12
- package/contracts/shared/RegistryLinked.sol +0 -5
- package/contracts/shared/Service.sol +32 -21
- package/contracts/shared/TokenHandler.sol +27 -2
- package/contracts/shared/Versionable.sol +1 -1
- 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/StakingLifecycle.sol +23 -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 +615 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +128 -0
- package/contracts/{types → type}/Blocknumber.sol +20 -3
- package/contracts/{types → type}/ClaimId.sol +25 -2
- package/contracts/{types → type}/Fee.sol +24 -22
- package/contracts/{types → type}/NftId.sol +14 -16
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +275 -0
- package/contracts/{types → type}/PayoutId.sol +33 -5
- package/contracts/{types → type}/Referral.sol +1 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +174 -0
- package/contracts/{types → type}/Seconds.sol +27 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +33 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +10 -1
- package/contracts/{types → type}/UFixed.sol +6 -0
- package/contracts/{types → type}/Version.sol +1 -1
- package/package.json +6 -3
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- 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/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -860
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -641
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1276
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -849
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1539
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -769
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1166
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1269
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +0 -988
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +0 -689
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -872
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- 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/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- 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 -596
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- 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 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- 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/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
- 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 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- 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/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/contracts/components/Component.sol +0 -253
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -303
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -540
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -299
- package/contracts/instance/base/ComponentService.sol +0 -147
- package/contracts/instance/base/KeyValueStore.sol +0 -180
- package/contracts/instance/base/Lifecycle.sol +0 -109
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -183
- package/contracts/instance/service/BundleService.sol +0 -431
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -145
- package/contracts/instance/service/DistributionService.sol +0 -346
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -376
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -303
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/PricingServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -210
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/test/Usdc.sol +0 -26
- package/contracts/types/Amount.sol +0 -60
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -161
- package/contracts/types/RoleId.sol +0 -97
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,418 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "BasicOracleAuthorization",
|
4
|
+
"sourceName": "contracts/oracle/BasicOracleAuthorization.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "string",
|
10
|
+
"name": "componentName",
|
11
|
+
"type": "string"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"stateMutability": "nonpayable",
|
15
|
+
"type": "constructor"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [],
|
19
|
+
"name": "GIF_VERSION",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "",
|
24
|
+
"type": "uint256"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "view",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [],
|
32
|
+
"name": "ROLE_NAME_SUFFIX",
|
33
|
+
"outputs": [
|
34
|
+
{
|
35
|
+
"internalType": "string",
|
36
|
+
"name": "",
|
37
|
+
"type": "string"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"stateMutability": "view",
|
41
|
+
"type": "function"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [],
|
45
|
+
"name": "SERVICE_ROLE_NAME_SUFFIX",
|
46
|
+
"outputs": [
|
47
|
+
{
|
48
|
+
"internalType": "string",
|
49
|
+
"name": "",
|
50
|
+
"type": "string"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"stateMutability": "view",
|
54
|
+
"type": "function"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"inputs": [
|
58
|
+
{
|
59
|
+
"internalType": "Str",
|
60
|
+
"name": "target",
|
61
|
+
"type": "bytes32"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"internalType": "RoleId",
|
65
|
+
"name": "roleId",
|
66
|
+
"type": "uint64"
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"name": "getAuthorizedFunctions",
|
70
|
+
"outputs": [
|
71
|
+
{
|
72
|
+
"components": [
|
73
|
+
{
|
74
|
+
"internalType": "Str",
|
75
|
+
"name": "name",
|
76
|
+
"type": "bytes32"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"internalType": "Selector",
|
80
|
+
"name": "selector",
|
81
|
+
"type": "bytes4"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "Timestamp",
|
85
|
+
"name": "createdAt",
|
86
|
+
"type": "uint40"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"internalType": "struct IAccess.FunctionInfo[]",
|
90
|
+
"name": "authorizatedFunctions",
|
91
|
+
"type": "tuple[]"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"stateMutability": "view",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "Str",
|
101
|
+
"name": "target",
|
102
|
+
"type": "bytes32"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "getAuthorizedRoles",
|
106
|
+
"outputs": [
|
107
|
+
{
|
108
|
+
"internalType": "RoleId[]",
|
109
|
+
"name": "roleIds",
|
110
|
+
"type": "uint64[]"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"stateMutability": "view",
|
114
|
+
"type": "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"inputs": [],
|
118
|
+
"name": "getRelease",
|
119
|
+
"outputs": [
|
120
|
+
{
|
121
|
+
"internalType": "VersionPart",
|
122
|
+
"name": "release",
|
123
|
+
"type": "uint8"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"stateMutability": "pure",
|
127
|
+
"type": "function"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"inputs": [
|
131
|
+
{
|
132
|
+
"internalType": "RoleId",
|
133
|
+
"name": "roleId",
|
134
|
+
"type": "uint64"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "getRoleInfo",
|
138
|
+
"outputs": [
|
139
|
+
{
|
140
|
+
"components": [
|
141
|
+
{
|
142
|
+
"internalType": "RoleId",
|
143
|
+
"name": "adminRoleId",
|
144
|
+
"type": "uint64"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"internalType": "enum IAccess.RoleType",
|
148
|
+
"name": "roleType",
|
149
|
+
"type": "uint8"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"internalType": "uint32",
|
153
|
+
"name": "maxMemberCount",
|
154
|
+
"type": "uint32"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"internalType": "Str",
|
158
|
+
"name": "name",
|
159
|
+
"type": "bytes32"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"internalType": "Timestamp",
|
163
|
+
"name": "createdAt",
|
164
|
+
"type": "uint40"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"internalType": "struct IAccess.RoleInfo",
|
168
|
+
"name": "info",
|
169
|
+
"type": "tuple"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"stateMutability": "view",
|
173
|
+
"type": "function"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"inputs": [],
|
177
|
+
"name": "getRoles",
|
178
|
+
"outputs": [
|
179
|
+
{
|
180
|
+
"internalType": "RoleId[]",
|
181
|
+
"name": "roles",
|
182
|
+
"type": "uint64[]"
|
183
|
+
}
|
184
|
+
],
|
185
|
+
"stateMutability": "view",
|
186
|
+
"type": "function"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"inputs": [
|
190
|
+
{
|
191
|
+
"internalType": "ObjectType",
|
192
|
+
"name": "serviceDomain",
|
193
|
+
"type": "uint8"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "getServiceRole",
|
197
|
+
"outputs": [
|
198
|
+
{
|
199
|
+
"internalType": "RoleId",
|
200
|
+
"name": "serviceRoleId",
|
201
|
+
"type": "uint64"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"stateMutability": "pure",
|
205
|
+
"type": "function"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"inputs": [],
|
209
|
+
"name": "getTarget",
|
210
|
+
"outputs": [
|
211
|
+
{
|
212
|
+
"internalType": "Str",
|
213
|
+
"name": "",
|
214
|
+
"type": "bytes32"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
"stateMutability": "view",
|
218
|
+
"type": "function"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"inputs": [],
|
222
|
+
"name": "getTargetName",
|
223
|
+
"outputs": [
|
224
|
+
{
|
225
|
+
"internalType": "string",
|
226
|
+
"name": "name",
|
227
|
+
"type": "string"
|
228
|
+
}
|
229
|
+
],
|
230
|
+
"stateMutability": "view",
|
231
|
+
"type": "function"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"inputs": [
|
235
|
+
{
|
236
|
+
"internalType": "Str",
|
237
|
+
"name": "target",
|
238
|
+
"type": "bytes32"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"name": "getTargetRole",
|
242
|
+
"outputs": [
|
243
|
+
{
|
244
|
+
"internalType": "RoleId",
|
245
|
+
"name": "roleId",
|
246
|
+
"type": "uint64"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"stateMutability": "view",
|
250
|
+
"type": "function"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"inputs": [],
|
254
|
+
"name": "getTargets",
|
255
|
+
"outputs": [
|
256
|
+
{
|
257
|
+
"internalType": "Str[]",
|
258
|
+
"name": "targets",
|
259
|
+
"type": "bytes32[]"
|
260
|
+
}
|
261
|
+
],
|
262
|
+
"stateMutability": "view",
|
263
|
+
"type": "function"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"inputs": [
|
267
|
+
{
|
268
|
+
"internalType": "RoleId",
|
269
|
+
"name": "roleId",
|
270
|
+
"type": "uint64"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"name": "roleExists",
|
274
|
+
"outputs": [
|
275
|
+
{
|
276
|
+
"internalType": "bool",
|
277
|
+
"name": "exists",
|
278
|
+
"type": "bool"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"stateMutability": "view",
|
282
|
+
"type": "function"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"inputs": [
|
286
|
+
{
|
287
|
+
"internalType": "Str",
|
288
|
+
"name": "target",
|
289
|
+
"type": "bytes32"
|
290
|
+
}
|
291
|
+
],
|
292
|
+
"name": "targetExists",
|
293
|
+
"outputs": [
|
294
|
+
{
|
295
|
+
"internalType": "bool",
|
296
|
+
"name": "exists",
|
297
|
+
"type": "bool"
|
298
|
+
}
|
299
|
+
],
|
300
|
+
"stateMutability": "view",
|
301
|
+
"type": "function"
|
302
|
+
}
|
303
|
+
],
|
304
|
+
"bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526000906200002a908262000cf5565b503480156200003857600080fd5b5060405162001b6938038062001b698339810160408190526200005b9162000de7565b8060006200006a828262000cf5565b506200007562000089565b6200007f62000095565b505062000fe3565b565b62000087600d6200017b565b6000620000b7620000a562000223565b620000b1600d620002bd565b62000356565b9050620000f281630b29e28e60e01b604051806040016040528060078152602001661c995c5d595cdd60ca1b8152506200043c60201b60201c565b60408051808201909152600681526518d85b98d95b60d21b602082015262000125908290634c125e7960e01b906200043c565b6200013d6200013362000223565b620000b16200062b565b9050620001788163cf4ee77a60e01b604051806040016040528060078152602001661c995cdc1bdb9960ca1b8152506200043c60201b60201c565b50565b620001786200018962000223565b6040516311da4a5b60e31b815260ff841660048201526000602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af4158015620001e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000209919062000e9f565b6200021d6200021762000223565b620006b1565b620006fa565b606060008054620002349062000c66565b80601f0160208091040260200160405190810160405280929190818152602001828054620002629062000c66565b8015620002b35780601f106200028757610100808354040283529160200191620002b3565b820191906000526020600020905b8154815290600101906020018083116200029557829003601f168201915b5050505050905090565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383620002e4620008a3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156200032a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000350919062000e9f565b92915050565b60008073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040162000392919062000ed1565b602060405180830381865af4158015620003b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d6919062000f06565b60008181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696200047f866064850162000ed1565b602060405180830381865af41580156200049d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004c3919062000f06565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801562000525573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200054b919062000f20565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015620005a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ca919062000f4c565b64ffffffffff908116909152825460018181018555600094855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b604051637c3940bf60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801562000686573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ac919062000e9f565b905090565b60608160405180604001604052806004815260200163526f6c6560e01b815250604051602001620006e492919062000f75565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b815260009073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906200073690879060040162000ed1565b602060405180830381865af415801562000754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200077a919062000f06565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601829055600082815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b815290519293506200085392869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156200081b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000841919062000e9f565b6001600160401b039081169116141590565b156200089d5762000864836200091d565b620008755762000875838362000964565b600081815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015620008f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ac919062000fa8565b6000806001600160401b03831660009081526005602052604090205468010000000000000000900460ff1660038111156200095c576200095c62000fcd565b141592915050565b620009878262000981620009776200098b565b60018086620009c7565b62000b36565b5050565b604051637c3940bf60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240162000668565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111562000a215762000a2162000fcd565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040162000a6b919062000ed1565b602060405180830381865af415801562000a89573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aaf919062000f06565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562000afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b24919062000f4c565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a818102908302199093169290921790925560009081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b031990921617906801000000000000000090849081111562000bee5762000bee62000fcd565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000c7b57607f821691505b60208210810362000c9c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000cf057600081815260208120601f850160051c8101602086101562000ccb5750805b601f850160051c820191505b8181101562000cec5782815560010162000cd7565b5050505b505050565b81516001600160401b0381111562000d115762000d1162000c50565b62000d298162000d22845462000c66565b8462000ca2565b602080601f83116001811462000d61576000841562000d485750858301515b600019600386901b1c1916600185901b17855562000cec565b600085815260208120601f198616915b8281101562000d925788860151825594840194600190910190840162000d71565b508582101562000db15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b8381101562000dde57818101518382015260200162000dc4565b50506000910152565b60006020828403121562000dfa57600080fd5b81516001600160401b038082111562000e1257600080fd5b818401915084601f83011262000e2757600080fd5b81518181111562000e3c5762000e3c62000c50565b604051601f8201601f19908116603f0116810190838211818310171562000e675762000e6762000c50565b8160405282815287602084870101111562000e8157600080fd5b62000e9483602083016020880162000dc1565b979650505050505050565b60006020828403121562000eb257600080fd5b81516001600160401b038116811462000eca57600080fd5b9392505050565b602081526000825180602084015262000ef281604085016020870162000dc1565b601f01601f19169190910160400192915050565b60006020828403121562000f1957600080fd5b5051919050565b60006020828403121562000f3357600080fd5b81516001600160e01b03198116811462000eca57600080fd5b60006020828403121562000f5f57600080fd5b815164ffffffffff8116811462000eca57600080fd5b6000835162000f8981846020880162000dc1565b83519083019062000f9f81836020880162000dc1565b01949350505050565b60006020828403121562000fbb57600080fd5b815160ff8116811462000eca57600080fd5b634e487b7160e01b600052602160045260246000fd5b610b768062000ff36000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806376b707b711610097578063c5f3484411610066578063c5f3484414610261578063c6a0017914610284578063e8eba43514610297578063f00e6a2a146102aa57600080fd5b806376b707b7146101c7578063775f14b1146101e15780638c5397b014610224578063c143892b1461023757600080fd5b80635bfa5027116100d35780635bfa50271461014a5780635c935ce01461016a57806363fe3b561461019d57806371061398146101b257600080fd5b806318029ab4146100fa5780631e4afbbf14610115578063433f95d614610135575b600080fd5b610102600381565b6040519081526020015b60405180910390f35b610128610123366004610842565b6102b2565b60405161010c9190610872565b61013d610362565b60405161010c91906108dc565b61015d61015836600461092a565b6103f4565b60405161010c9190610964565b61018d6101783660046109d2565b60009081526003602052604090205460ff1690565b604051901515815260200161010c565b6101a56104b7565b60405161010c91906109eb565b6101ba61050e565b60405161010c9190610a2f565b6101cf610599565b60405160ff909116815260200161010c565b61020b6101ef3660046109d2565b60009081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff909116815260200161010c565b6101ba6102323660046109d2565b610615565b61013d6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013d60405180604001604052806004815260200163526f6c6560e01b81525081565b61018d61029236600461092a565b6106ab565b61020b6102a5366004610a80565b6106eb565b61010261077f565b600082815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561035657600084815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102f2565b50505050905092915050565b60606000805461037190610a9d565b80601f016020809104026020016040519081016040528092919081815260200182805461039d90610a9d565b80156103ea5780601f106103bf576101008083540402835291602001916103ea565b820191906000526020600020905b8154815290600101906020018083116103cd57829003601f168201915b5050505050905090565b6040805160a0808201835260008083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104675761046761094e565b60038111156104785761047861094e565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020905b8154815260200190600101908083116104f1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161054b5790505050505050905090565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610ad7565b905090565b60008181526006602090815260409182902080548351818402810184019094528084526060939283018282801561069f57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161065a5790505b50505050509050919050565b60008067ffffffffffffffff8316600090815260056020526040902054600160401b900460ff1660038111156106e3576106e361094e565b141592915050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610710610599565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190610af4565b92915050565b600154600090156107ae57600160008154811061079e5761079e610b11565b9060005260206000200154905090565b60405163cdc23e6960e01b8152602060048201526000602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610b27565b67ffffffffffffffff8116811461083f57600080fd5b50565b6000806040838503121561085557600080fd5b82359150602083013561086781610829565b809150509250929050565b602080825282518282018190526000919060409081850190868401855b828110156108cf57815180518552868101516001600160e01b0319168786015285015164ffffffffff16858501526060909301929085019060010161088f565b5091979650505050505050565b600060208083528351808285015260005b81811015610909578581018301518582016040015282016108ed565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561093c57600080fd5b813561094781610829565b9392505050565b634e487b7160e01b600052602160045260246000fd5b815167ffffffffffffffff168152602082015160a08201906004811061099a57634e487b7160e01b600052602160045260246000fd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b6000602082840312156109e457600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835183529284019291840191600101610a07565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835167ffffffffffffffff1683529284019291840191600101610a4b565b60ff8116811461083f57600080fd5b600060208284031215610a9257600080fd5b813561094781610a71565b600181811c90821680610ab157607f821691505b602082108103610ad157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ae957600080fd5b815161094781610a71565b600060208284031215610b0657600080fd5b815161094781610829565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610b3957600080fd5b505191905056fea264697066735822122042bfee52fcc93fdf6574d4cbe9d9039590a2a6188318cba5d67096e625b87ed564736f6c63430008140033",
|
305
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806376b707b711610097578063c5f3484411610066578063c5f3484414610261578063c6a0017914610284578063e8eba43514610297578063f00e6a2a146102aa57600080fd5b806376b707b7146101c7578063775f14b1146101e15780638c5397b014610224578063c143892b1461023757600080fd5b80635bfa5027116100d35780635bfa50271461014a5780635c935ce01461016a57806363fe3b561461019d57806371061398146101b257600080fd5b806318029ab4146100fa5780631e4afbbf14610115578063433f95d614610135575b600080fd5b610102600381565b6040519081526020015b60405180910390f35b610128610123366004610842565b6102b2565b60405161010c9190610872565b61013d610362565b60405161010c91906108dc565b61015d61015836600461092a565b6103f4565b60405161010c9190610964565b61018d6101783660046109d2565b60009081526003602052604090205460ff1690565b604051901515815260200161010c565b6101a56104b7565b60405161010c91906109eb565b6101ba61050e565b60405161010c9190610a2f565b6101cf610599565b60405160ff909116815260200161010c565b61020b6101ef3660046109d2565b60009081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff909116815260200161010c565b6101ba6102323660046109d2565b610615565b61013d6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013d60405180604001604052806004815260200163526f6c6560e01b81525081565b61018d61029236600461092a565b6106ab565b61020b6102a5366004610a80565b6106eb565b61010261077f565b600082815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561035657600084815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102f2565b50505050905092915050565b60606000805461037190610a9d565b80601f016020809104026020016040519081016040528092919081815260200182805461039d90610a9d565b80156103ea5780601f106103bf576101008083540402835291602001916103ea565b820191906000526020600020905b8154815290600101906020018083116103cd57829003601f168201915b5050505050905090565b6040805160a0808201835260008083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104675761046761094e565b60038111156104785761047861094e565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020905b8154815260200190600101908083116104f1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161054b5790505050505050905090565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610ad7565b905090565b60008181526006602090815260409182902080548351818402810184019094528084526060939283018282801561069f57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161065a5790505b50505050509050919050565b60008067ffffffffffffffff8316600090815260056020526040902054600160401b900460ff1660038111156106e3576106e361094e565b141592915050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610710610599565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190610af4565b92915050565b600154600090156107ae57600160008154811061079e5761079e610b11565b9060005260206000200154905090565b60405163cdc23e6960e01b8152602060048201526000602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610b27565b67ffffffffffffffff8116811461083f57600080fd5b50565b6000806040838503121561085557600080fd5b82359150602083013561086781610829565b809150509250929050565b602080825282518282018190526000919060409081850190868401855b828110156108cf57815180518552868101516001600160e01b0319168786015285015164ffffffffff16858501526060909301929085019060010161088f565b5091979650505050505050565b600060208083528351808285015260005b81811015610909578581018301518582016040015282016108ed565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561093c57600080fd5b813561094781610829565b9392505050565b634e487b7160e01b600052602160045260246000fd5b815167ffffffffffffffff168152602082015160a08201906004811061099a57634e487b7160e01b600052602160045260246000fd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b6000602082840312156109e457600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835183529284019291840191600101610a07565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835167ffffffffffffffff1683529284019291840191600101610a4b565b60ff8116811461083f57600080fd5b600060208284031215610a9257600080fd5b813561094781610a71565b600181811c90821680610ab157607f821691505b602082108103610ad157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ae957600080fd5b815161094781610a71565b600060208284031215610b0657600080fd5b815161094781610829565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610b3957600080fd5b505191905056fea264697066735822122042bfee52fcc93fdf6574d4cbe9d9039590a2a6188318cba5d67096e625b87ed564736f6c63430008140033",
|
306
|
+
"linkReferences": {
|
307
|
+
"contracts/type/RoleId.sol": {
|
308
|
+
"RoleIdLib": [
|
309
|
+
{
|
310
|
+
"length": 20,
|
311
|
+
"start": 424
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"length": 20,
|
315
|
+
"start": 705
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"length": 20,
|
319
|
+
"start": 1610
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"length": 20,
|
323
|
+
"start": 2016
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"length": 20,
|
327
|
+
"start": 2468
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"length": 20,
|
331
|
+
"start": 5858
|
332
|
+
}
|
333
|
+
]
|
334
|
+
},
|
335
|
+
"contracts/type/Selector.sol": {
|
336
|
+
"SelectorLib": [
|
337
|
+
{
|
338
|
+
"length": 20,
|
339
|
+
"start": 1258
|
340
|
+
}
|
341
|
+
]
|
342
|
+
},
|
343
|
+
"contracts/type/String.sol": {
|
344
|
+
"StrLib": [
|
345
|
+
{
|
346
|
+
"length": 20,
|
347
|
+
"start": 859
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"length": 20,
|
351
|
+
"start": 1112
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"length": 20,
|
355
|
+
"start": 1804
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"length": 20,
|
359
|
+
"start": 2612
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"length": 20,
|
363
|
+
"start": 6078
|
364
|
+
}
|
365
|
+
]
|
366
|
+
},
|
367
|
+
"contracts/type/Timestamp.sol": {
|
368
|
+
"TimestampLib": [
|
369
|
+
{
|
370
|
+
"length": 20,
|
371
|
+
"start": 1372
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"length": 20,
|
375
|
+
"start": 2742
|
376
|
+
}
|
377
|
+
]
|
378
|
+
},
|
379
|
+
"contracts/type/Version.sol": {
|
380
|
+
"VersionPartLib": [
|
381
|
+
{
|
382
|
+
"length": 20,
|
383
|
+
"start": 2236
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"length": 20,
|
387
|
+
"start": 5541
|
388
|
+
}
|
389
|
+
]
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"deployedLinkReferences": {
|
393
|
+
"contracts/type/RoleId.sol": {
|
394
|
+
"RoleIdLib": [
|
395
|
+
{
|
396
|
+
"length": 20,
|
397
|
+
"start": 1775
|
398
|
+
}
|
399
|
+
]
|
400
|
+
},
|
401
|
+
"contracts/type/String.sol": {
|
402
|
+
"StrLib": [
|
403
|
+
{
|
404
|
+
"length": 20,
|
405
|
+
"start": 1995
|
406
|
+
}
|
407
|
+
]
|
408
|
+
},
|
409
|
+
"contracts/type/Version.sol": {
|
410
|
+
"VersionPartLib": [
|
411
|
+
{
|
412
|
+
"length": 20,
|
413
|
+
"start": 1458
|
414
|
+
}
|
415
|
+
]
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IOracle",
|
4
|
+
"sourceName": "contracts/oracle/IOracle.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "RequestId",
|
10
|
+
"name": "requestId",
|
11
|
+
"type": "uint64"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "cancel",
|
15
|
+
"outputs": [],
|
16
|
+
"stateMutability": "nonpayable",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [
|
21
|
+
{
|
22
|
+
"internalType": "RequestId",
|
23
|
+
"name": "requestId",
|
24
|
+
"type": "uint64"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"internalType": "NftId",
|
28
|
+
"name": "requesterId",
|
29
|
+
"type": "uint96"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"internalType": "bytes",
|
33
|
+
"name": "requestData",
|
34
|
+
"type": "bytes"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"internalType": "Timestamp",
|
38
|
+
"name": "expiryAt",
|
39
|
+
"type": "uint40"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"name": "request",
|
43
|
+
"outputs": [],
|
44
|
+
"stateMutability": "nonpayable",
|
45
|
+
"type": "function"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"bytecode": "0x",
|
49
|
+
"deployedBytecode": "0x",
|
50
|
+
"linkReferences": {},
|
51
|
+
"deployedLinkReferences": {}
|
52
|
+
}
|