@etherisc/gif-next 0.0.2-bb1081a-994 → 0.0.2-bc0a9a8-101
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +10 -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 +1349 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +398 -276
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +814 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +268 -1576
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +296 -211
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +455 -2542
- 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 +204 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +609 -425
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +464 -375
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +368 -107
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
- 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/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +256 -346
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +448 -290
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -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 +1432 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +203 -235
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +244 -303
- 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} +263 -221
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +370 -281
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IProductService.sol/IProductService.json} +116 -170
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → product/Product.sol/Product.json} +822 -220
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +203 -21
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +349 -220
- 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 +440 -36
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +480 -265
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -95
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +834 -89
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +349 -82
- 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 +1715 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +361 -271
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{components/IComponent.sol/IComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +209 -185
- 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/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/{components/Component.sol/Component.json → shared/IComponent.sol/IComponent.json} +205 -187
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +221 -211
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
- 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 +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
- 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 +15 -30
- 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 +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +75 -158
- 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 +108 -35
- 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 +330 -75
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +131 -60
- 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 +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +178 -160
- 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/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 +993 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -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 +1324 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -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/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
- 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/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/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
- 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/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
- 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/{types → type}/UFixed.sol/UFixedLib.json +3 -3
- 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/distribution/Distribution.sol +261 -0
- package/contracts/distribution/DistributionService.sol +298 -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 +15 -14
- package/contracts/instance/IInstance.sol +53 -46
- package/contracts/instance/IInstanceService.sol +58 -17
- package/contracts/instance/Instance.sol +145 -179
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
- package/contracts/instance/InstanceReader.sol +135 -63
- package/contracts/instance/InstanceService.sol +250 -250
- package/contracts/instance/InstanceServiceManager.sol +12 -22
- package/contracts/instance/InstanceStore.sol +260 -0
- package/contracts/instance/base/BalanceStore.sol +118 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
- package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
- package/contracts/instance/module/IAccess.sol +19 -21
- package/contracts/instance/module/IBundle.sol +8 -8
- package/contracts/instance/module/IComponents.sol +52 -0
- package/contracts/instance/module/IDistribution.sol +7 -4
- package/contracts/instance/module/IPolicy.sol +56 -17
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
- 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 +453 -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 +93 -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 +301 -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 +16 -1
- package/contracts/registry/IRegistry.sol +47 -21
- package/contracts/registry/IRegistryService.sol +42 -38
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +220 -96
- package/contracts/registry/RegistryAdmin.sol +237 -0
- package/contracts/registry/RegistryService.sol +108 -104
- package/contracts/registry/RegistryServiceManager.sol +22 -26
- package/contracts/registry/ReleaseManager.sol +458 -191
- package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
- package/contracts/registry/TokenRegistry.sol +263 -60
- package/contracts/shared/AccessManagerCustom.sol +736 -0
- package/contracts/shared/AccessManagerExtended.sol +470 -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 +278 -0
- package/contracts/shared/ComponentService.sol +596 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +111 -0
- package/contracts/shared/ERC165.sol +15 -13
- 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 +91 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
- package/contracts/shared/INftOwnable.sol +13 -12
- package/contracts/shared/IPolicyHolder.sol +45 -0
- package/contracts/shared/IRegisterable.sol +3 -3
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +7 -5
- 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 +28 -7
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +59 -91
- package/contracts/shared/PolicyHolder.sol +102 -0
- package/contracts/shared/ProxyManager.sol +131 -26
- package/contracts/shared/Registerable.sol +19 -30
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +38 -21
- package/contracts/shared/TokenHandler.sol +37 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +149 -0
- package/contracts/staking/StakeManagerLib.sol +179 -0
- package/contracts/staking/Staking.sol +551 -0
- package/contracts/staking/StakingManager.sol +54 -0
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +406 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +572 -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/{types → type}/DistributorType.sol +2 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/{types → type}/ObjectType.sol +26 -9
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +5 -1
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +143 -0
- package/contracts/type/Seconds.sol +81 -0
- package/contracts/{types → type}/StateId.sol +24 -6
- package/contracts/{types → type}/Timestamp.sol +18 -13
- package/contracts/{types → type}/UFixed.sol +1 -0
- package/contracts/{types → type}/Version.sol +2 -1
- package/package.json +5 -5
- 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/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- 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/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 -1034
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +0 -603
- 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 -502
- 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/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/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1167
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -449
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -772
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -437
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.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/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 -1227
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -505
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -806
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -437
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -856
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -437
- 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 -313
- 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 -608
- 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 -286
- 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/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/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 -257
- 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 -153
- 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/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- 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/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/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/contracts/components/Component.sol +0 -247
- package/contracts/components/Distribution.sol +0 -143
- package/contracts/components/IComponent.sol +0 -50
- package/contracts/components/IDistributionComponent.sol +0 -47
- package/contracts/components/IPoolComponent.sol +0 -77
- package/contracts/components/IProductComponent.sol +0 -39
- package/contracts/components/Pool.sol +0 -257
- package/contracts/components/Product.sol +0 -263
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- 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/InstanceAccessManager.sol +0 -298
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/module/ISetup.sol +0 -46
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/BundleService.sol +0 -299
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/DistributionService.sol +0 -106
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPolicyService.sol +0 -94
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -519
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -232
- 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/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,44 +1,33 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "Component",
|
4
|
+
"sourceName": "contracts/shared/Component.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
12
|
}
|
13
13
|
],
|
14
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
15
|
"type": "error"
|
16
16
|
},
|
17
17
|
{
|
18
18
|
"inputs": [
|
19
19
|
{
|
20
20
|
"internalType": "address",
|
21
|
-
"name": "
|
22
|
-
"type": "address"
|
23
|
-
}
|
24
|
-
],
|
25
|
-
"name": "AddressInsufficientBalance",
|
26
|
-
"type": "error"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"inputs": [
|
30
|
-
{
|
31
|
-
"internalType": "address",
|
32
|
-
"name": "registry",
|
21
|
+
"name": "caller",
|
33
22
|
"type": "address"
|
34
23
|
},
|
35
24
|
{
|
36
|
-
"internalType": "
|
37
|
-
"name": "
|
38
|
-
"type": "
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
39
28
|
}
|
40
29
|
],
|
41
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
42
31
|
"type": "error"
|
43
32
|
},
|
44
33
|
{
|
@@ -49,39 +38,34 @@
|
|
49
38
|
"type": "address"
|
50
39
|
}
|
51
40
|
],
|
52
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
53
42
|
"type": "error"
|
54
43
|
},
|
55
44
|
{
|
56
45
|
"inputs": [
|
57
|
-
{
|
58
|
-
"internalType": "NftId",
|
59
|
-
"name": "instanceNftId",
|
60
|
-
"type": "uint96"
|
61
|
-
},
|
62
46
|
{
|
63
47
|
"internalType": "address",
|
64
|
-
"name": "
|
48
|
+
"name": "target",
|
65
49
|
"type": "address"
|
66
50
|
}
|
67
51
|
],
|
68
|
-
"name": "
|
52
|
+
"name": "AddressEmptyCode",
|
69
53
|
"type": "error"
|
70
54
|
},
|
71
55
|
{
|
72
56
|
"inputs": [
|
73
57
|
{
|
74
58
|
"internalType": "address",
|
75
|
-
"name": "
|
59
|
+
"name": "account",
|
76
60
|
"type": "address"
|
77
61
|
}
|
78
62
|
],
|
79
|
-
"name": "
|
63
|
+
"name": "AddressInsufficientBalance",
|
80
64
|
"type": "error"
|
81
65
|
},
|
82
66
|
{
|
83
67
|
"inputs": [],
|
84
|
-
"name": "
|
68
|
+
"name": "ErrorComponentNameLengthZero",
|
85
69
|
"type": "error"
|
86
70
|
},
|
87
71
|
{
|
@@ -90,24 +74,18 @@
|
|
90
74
|
"internalType": "address",
|
91
75
|
"name": "caller",
|
92
76
|
"type": "address"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"internalType": "uint64",
|
96
|
-
"name": "requiredRoleIdNum",
|
97
|
-
"type": "uint64"
|
98
77
|
}
|
99
78
|
],
|
100
|
-
"name": "
|
79
|
+
"name": "ErrorComponentNotChainNft",
|
101
80
|
"type": "error"
|
102
81
|
},
|
103
82
|
{
|
104
|
-
"inputs": [
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
],
|
83
|
+
"inputs": [],
|
84
|
+
"name": "ErrorComponentTokenAddressZero",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
111
89
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
112
90
|
"type": "error"
|
113
91
|
},
|
@@ -143,68 +121,57 @@
|
|
143
121
|
"type": "error"
|
144
122
|
},
|
145
123
|
{
|
146
|
-
"inputs": [
|
147
|
-
|
148
|
-
"internalType": "address",
|
149
|
-
"name": "contractAddress",
|
150
|
-
"type": "address"
|
151
|
-
}
|
152
|
-
],
|
153
|
-
"name": "ErrorContractNotRegistered",
|
124
|
+
"inputs": [],
|
125
|
+
"name": "ErrorComponentWalletNotComponent",
|
154
126
|
"type": "error"
|
155
127
|
},
|
156
128
|
{
|
157
129
|
"inputs": [
|
158
130
|
{
|
159
|
-
"internalType": "
|
160
|
-
"name": "
|
161
|
-
"type": "
|
131
|
+
"internalType": "NftId",
|
132
|
+
"name": "nftId",
|
133
|
+
"type": "uint96"
|
162
134
|
}
|
163
135
|
],
|
164
|
-
"name": "
|
136
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
165
137
|
"type": "error"
|
166
138
|
},
|
167
139
|
{
|
168
140
|
"inputs": [
|
169
141
|
{
|
170
142
|
"internalType": "address",
|
171
|
-
"name": "
|
143
|
+
"name": "contractAddress",
|
172
144
|
"type": "address"
|
173
145
|
}
|
174
146
|
],
|
175
|
-
"name": "
|
147
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
148
|
+
"type": "error"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [],
|
152
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
176
153
|
"type": "error"
|
177
154
|
},
|
178
155
|
{
|
179
156
|
"inputs": [
|
180
157
|
{
|
181
158
|
"internalType": "address",
|
182
|
-
"name": "
|
159
|
+
"name": "account",
|
183
160
|
"type": "address"
|
184
161
|
}
|
185
162
|
],
|
186
|
-
"name": "
|
187
|
-
"type": "error"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"inputs": [],
|
191
|
-
"name": "ErrorRegistryAddressZero",
|
163
|
+
"name": "ErrorNftOwnableNotOwner",
|
192
164
|
"type": "error"
|
193
165
|
},
|
194
166
|
{
|
195
167
|
"inputs": [
|
196
168
|
{
|
197
169
|
"internalType": "address",
|
198
|
-
"name": "
|
170
|
+
"name": "registryAddress",
|
199
171
|
"type": "address"
|
200
172
|
}
|
201
173
|
],
|
202
|
-
"name": "
|
203
|
-
"type": "error"
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"inputs": [],
|
207
|
-
"name": "ErrorRegistryNotInitialized",
|
174
|
+
"name": "ErrorNotRegistry",
|
208
175
|
"type": "error"
|
209
176
|
},
|
210
177
|
{
|
@@ -233,6 +200,19 @@
|
|
233
200
|
"name": "SafeERC20FailedOperation",
|
234
201
|
"type": "error"
|
235
202
|
},
|
203
|
+
{
|
204
|
+
"anonymous": false,
|
205
|
+
"inputs": [
|
206
|
+
{
|
207
|
+
"indexed": false,
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "authority",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "AuthorityUpdated",
|
214
|
+
"type": "event"
|
215
|
+
},
|
236
216
|
{
|
237
217
|
"anonymous": false,
|
238
218
|
"inputs": [
|
@@ -249,6 +229,31 @@
|
|
249
229
|
{
|
250
230
|
"anonymous": false,
|
251
231
|
"inputs": [
|
232
|
+
{
|
233
|
+
"indexed": false,
|
234
|
+
"internalType": "address",
|
235
|
+
"name": "token",
|
236
|
+
"type": "address"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"indexed": false,
|
240
|
+
"internalType": "Amount",
|
241
|
+
"name": "limit",
|
242
|
+
"type": "uint96"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"name": "LogComponentTokenHandlerApproved",
|
246
|
+
"type": "event"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"anonymous": false,
|
250
|
+
"inputs": [
|
251
|
+
{
|
252
|
+
"indexed": false,
|
253
|
+
"internalType": "address",
|
254
|
+
"name": "oldWallet",
|
255
|
+
"type": "address"
|
256
|
+
},
|
252
257
|
{
|
253
258
|
"indexed": false,
|
254
259
|
"internalType": "address",
|
@@ -286,7 +291,20 @@
|
|
286
291
|
},
|
287
292
|
{
|
288
293
|
"inputs": [],
|
289
|
-
"name": "
|
294
|
+
"name": "COMPONENT_LOCATION_V1",
|
295
|
+
"outputs": [
|
296
|
+
{
|
297
|
+
"internalType": "bytes32",
|
298
|
+
"name": "",
|
299
|
+
"type": "bytes32"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"stateMutability": "view",
|
303
|
+
"type": "function"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"inputs": [],
|
307
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
290
308
|
"outputs": [
|
291
309
|
{
|
292
310
|
"internalType": "bytes32",
|
@@ -313,46 +331,132 @@
|
|
313
331
|
{
|
314
332
|
"inputs": [
|
315
333
|
{
|
316
|
-
"internalType": "
|
317
|
-
"name": "
|
318
|
-
"type": "
|
334
|
+
"internalType": "address",
|
335
|
+
"name": "token",
|
336
|
+
"type": "address"
|
319
337
|
},
|
320
338
|
{
|
321
|
-
"internalType": "
|
322
|
-
"name": "
|
323
|
-
"type": "
|
339
|
+
"internalType": "Amount",
|
340
|
+
"name": "spendingLimitAmount",
|
341
|
+
"type": "uint96"
|
324
342
|
}
|
325
343
|
],
|
326
|
-
"name": "
|
344
|
+
"name": "approveTokenHandler",
|
345
|
+
"outputs": [],
|
346
|
+
"stateMutability": "nonpayable",
|
347
|
+
"type": "function"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"inputs": [
|
351
|
+
{
|
352
|
+
"internalType": "Amount",
|
353
|
+
"name": "spendingLimitAmount",
|
354
|
+
"type": "uint96"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"name": "approveTokenHandler",
|
358
|
+
"outputs": [],
|
359
|
+
"stateMutability": "nonpayable",
|
360
|
+
"type": "function"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"inputs": [],
|
364
|
+
"name": "authority",
|
327
365
|
"outputs": [
|
328
366
|
{
|
329
|
-
"internalType": "
|
330
|
-
"name": "
|
331
|
-
"type": "
|
367
|
+
"internalType": "address",
|
368
|
+
"name": "",
|
369
|
+
"type": "address"
|
332
370
|
}
|
333
371
|
],
|
334
372
|
"stateMutability": "view",
|
335
373
|
"type": "function"
|
336
374
|
},
|
337
375
|
{
|
338
|
-
"inputs": [
|
339
|
-
|
340
|
-
|
341
|
-
"name": "referralId",
|
342
|
-
"type": "bytes8"
|
343
|
-
},
|
376
|
+
"inputs": [],
|
377
|
+
"name": "getComponentInfo",
|
378
|
+
"outputs": [
|
344
379
|
{
|
345
|
-
"
|
346
|
-
|
347
|
-
|
380
|
+
"components": [
|
381
|
+
{
|
382
|
+
"internalType": "string",
|
383
|
+
"name": "name",
|
384
|
+
"type": "string"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"internalType": "NftId",
|
388
|
+
"name": "productNftId",
|
389
|
+
"type": "uint96"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"internalType": "contract IERC20Metadata",
|
393
|
+
"name": "token",
|
394
|
+
"type": "address"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "contract TokenHandler",
|
398
|
+
"name": "tokenHandler",
|
399
|
+
"type": "address"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"internalType": "address",
|
403
|
+
"name": "wallet",
|
404
|
+
"type": "address"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"internalType": "bytes",
|
408
|
+
"name": "data",
|
409
|
+
"type": "bytes"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"internalType": "struct IComponents.ComponentInfo",
|
413
|
+
"name": "info",
|
414
|
+
"type": "tuple"
|
348
415
|
}
|
349
416
|
],
|
350
|
-
"
|
417
|
+
"stateMutability": "view",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [],
|
422
|
+
"name": "getInitialComponentInfo",
|
351
423
|
"outputs": [
|
352
424
|
{
|
353
|
-
"
|
354
|
-
|
355
|
-
|
425
|
+
"components": [
|
426
|
+
{
|
427
|
+
"internalType": "string",
|
428
|
+
"name": "name",
|
429
|
+
"type": "string"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "NftId",
|
433
|
+
"name": "productNftId",
|
434
|
+
"type": "uint96"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "contract IERC20Metadata",
|
438
|
+
"name": "token",
|
439
|
+
"type": "address"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "contract TokenHandler",
|
443
|
+
"name": "tokenHandler",
|
444
|
+
"type": "address"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "address",
|
448
|
+
"name": "wallet",
|
449
|
+
"type": "address"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "bytes",
|
453
|
+
"name": "data",
|
454
|
+
"type": "bytes"
|
455
|
+
}
|
456
|
+
],
|
457
|
+
"internalType": "struct IComponents.ComponentInfo",
|
458
|
+
"name": "info",
|
459
|
+
"type": "tuple"
|
356
460
|
}
|
357
461
|
],
|
358
462
|
"stateMutability": "view",
|
@@ -410,12 +514,12 @@
|
|
410
514
|
},
|
411
515
|
{
|
412
516
|
"inputs": [],
|
413
|
-
"name": "
|
517
|
+
"name": "getName",
|
414
518
|
"outputs": [
|
415
519
|
{
|
416
|
-
"internalType": "
|
417
|
-
"name": "",
|
418
|
-
"type": "
|
520
|
+
"internalType": "string",
|
521
|
+
"name": "name",
|
522
|
+
"type": "string"
|
419
523
|
}
|
420
524
|
],
|
421
525
|
"stateMutability": "view",
|
@@ -423,12 +527,12 @@
|
|
423
527
|
},
|
424
528
|
{
|
425
529
|
"inputs": [],
|
426
|
-
"name": "
|
530
|
+
"name": "getNftId",
|
427
531
|
"outputs": [
|
428
532
|
{
|
429
|
-
"internalType": "
|
430
|
-
"name": "
|
431
|
-
"type": "
|
533
|
+
"internalType": "NftId",
|
534
|
+
"name": "",
|
535
|
+
"type": "uint96"
|
432
536
|
}
|
433
537
|
],
|
434
538
|
"stateMutability": "view",
|
@@ -436,10 +540,10 @@
|
|
436
540
|
},
|
437
541
|
{
|
438
542
|
"inputs": [],
|
439
|
-
"name": "
|
543
|
+
"name": "getOwner",
|
440
544
|
"outputs": [
|
441
545
|
{
|
442
|
-
"internalType": "
|
546
|
+
"internalType": "address",
|
443
547
|
"name": "",
|
444
548
|
"type": "address"
|
445
549
|
}
|
@@ -449,12 +553,12 @@
|
|
449
553
|
},
|
450
554
|
{
|
451
555
|
"inputs": [],
|
452
|
-
"name": "
|
556
|
+
"name": "getRegistry",
|
453
557
|
"outputs": [
|
454
558
|
{
|
455
|
-
"internalType": "
|
456
|
-
"name": "
|
457
|
-
"type": "
|
559
|
+
"internalType": "contract IRegistry",
|
560
|
+
"name": "",
|
561
|
+
"type": "address"
|
458
562
|
}
|
459
563
|
],
|
460
564
|
"stateMutability": "view",
|
@@ -462,12 +566,12 @@
|
|
462
566
|
},
|
463
567
|
{
|
464
568
|
"inputs": [],
|
465
|
-
"name": "
|
569
|
+
"name": "getToken",
|
466
570
|
"outputs": [
|
467
571
|
{
|
468
|
-
"internalType": "
|
469
|
-
"name": "",
|
470
|
-
"type": "
|
572
|
+
"internalType": "contract IERC20Metadata",
|
573
|
+
"name": "token",
|
574
|
+
"type": "address"
|
471
575
|
}
|
472
576
|
],
|
473
577
|
"stateMutability": "view",
|
@@ -475,11 +579,11 @@
|
|
475
579
|
},
|
476
580
|
{
|
477
581
|
"inputs": [],
|
478
|
-
"name": "
|
582
|
+
"name": "getTokenHandler",
|
479
583
|
"outputs": [
|
480
584
|
{
|
481
|
-
"internalType": "
|
482
|
-
"name": "",
|
585
|
+
"internalType": "contract TokenHandler",
|
586
|
+
"name": "tokenHandler",
|
483
587
|
"type": "address"
|
484
588
|
}
|
485
589
|
],
|
@@ -488,116 +592,159 @@
|
|
488
592
|
},
|
489
593
|
{
|
490
594
|
"inputs": [],
|
491
|
-
"name": "
|
595
|
+
"name": "getWallet",
|
492
596
|
"outputs": [
|
493
597
|
{
|
494
|
-
"internalType": "
|
495
|
-
"name": "
|
496
|
-
"type": "
|
598
|
+
"internalType": "address",
|
599
|
+
"name": "walletAddress",
|
600
|
+
"type": "address"
|
497
601
|
}
|
498
602
|
],
|
499
603
|
"stateMutability": "view",
|
500
604
|
"type": "function"
|
501
605
|
},
|
502
606
|
{
|
503
|
-
"inputs": [
|
504
|
-
"name": "getProductService",
|
505
|
-
"outputs": [
|
607
|
+
"inputs": [
|
506
608
|
{
|
507
|
-
"internalType": "
|
508
|
-
"name": "",
|
609
|
+
"internalType": "address",
|
610
|
+
"name": "authority",
|
611
|
+
"type": "address"
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"internalType": "address",
|
615
|
+
"name": "registry",
|
616
|
+
"type": "address"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"internalType": "NftId",
|
620
|
+
"name": "parentNftId",
|
621
|
+
"type": "uint96"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"internalType": "string",
|
625
|
+
"name": "name",
|
626
|
+
"type": "string"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"internalType": "address",
|
630
|
+
"name": "token",
|
631
|
+
"type": "address"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"internalType": "ObjectType",
|
635
|
+
"name": "componentType",
|
636
|
+
"type": "uint8"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"internalType": "bool",
|
640
|
+
"name": "isInterceptor",
|
641
|
+
"type": "bool"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"internalType": "address",
|
645
|
+
"name": "initialOwner",
|
509
646
|
"type": "address"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"internalType": "bytes",
|
650
|
+
"name": "registryData",
|
651
|
+
"type": "bytes"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"internalType": "bytes",
|
655
|
+
"name": "componentData",
|
656
|
+
"type": "bytes"
|
510
657
|
}
|
511
658
|
],
|
512
|
-
"
|
659
|
+
"name": "initializeComponent",
|
660
|
+
"outputs": [],
|
661
|
+
"stateMutability": "nonpayable",
|
513
662
|
"type": "function"
|
514
663
|
},
|
515
664
|
{
|
516
665
|
"inputs": [],
|
517
|
-
"name": "
|
518
|
-
"outputs": [
|
666
|
+
"name": "initializeERC165",
|
667
|
+
"outputs": [],
|
668
|
+
"stateMutability": "nonpayable",
|
669
|
+
"type": "function"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"inputs": [
|
519
673
|
{
|
520
|
-
"internalType": "
|
521
|
-
"name": "",
|
674
|
+
"internalType": "address",
|
675
|
+
"name": "initialOwner",
|
676
|
+
"type": "address"
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"internalType": "address",
|
680
|
+
"name": "registryAddress",
|
522
681
|
"type": "address"
|
523
682
|
}
|
524
683
|
],
|
525
|
-
"
|
684
|
+
"name": "initializeNftOwnable",
|
685
|
+
"outputs": [],
|
686
|
+
"stateMutability": "nonpayable",
|
526
687
|
"type": "function"
|
527
688
|
},
|
528
689
|
{
|
529
|
-
"inputs": [
|
530
|
-
"name": "getSetupInfo",
|
531
|
-
"outputs": [
|
690
|
+
"inputs": [
|
532
691
|
{
|
533
|
-
"
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
{
|
562
|
-
"internalType": "bool",
|
563
|
-
"name": "isIntercepting",
|
564
|
-
"type": "bool"
|
565
|
-
},
|
566
|
-
{
|
567
|
-
"internalType": "address",
|
568
|
-
"name": "wallet",
|
569
|
-
"type": "address"
|
570
|
-
}
|
571
|
-
],
|
572
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
573
|
-
"name": "setupInfo",
|
574
|
-
"type": "tuple"
|
692
|
+
"internalType": "address",
|
693
|
+
"name": "registryAddress",
|
694
|
+
"type": "address"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"internalType": "NftId",
|
698
|
+
"name": "parentNftId",
|
699
|
+
"type": "uint96"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "ObjectType",
|
703
|
+
"name": "objectType",
|
704
|
+
"type": "uint8"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"internalType": "bool",
|
708
|
+
"name": "isInterceptor",
|
709
|
+
"type": "bool"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"internalType": "address",
|
713
|
+
"name": "initialOwner",
|
714
|
+
"type": "address"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"internalType": "bytes",
|
718
|
+
"name": "registryData",
|
719
|
+
"type": "bytes"
|
575
720
|
}
|
576
721
|
],
|
577
|
-
"
|
722
|
+
"name": "initializeRegisterable",
|
723
|
+
"outputs": [],
|
724
|
+
"stateMutability": "nonpayable",
|
578
725
|
"type": "function"
|
579
726
|
},
|
580
727
|
{
|
581
|
-
"inputs": [
|
582
|
-
"name": "getToken",
|
583
|
-
"outputs": [
|
728
|
+
"inputs": [
|
584
729
|
{
|
585
|
-
"internalType": "
|
586
|
-
"name": "
|
730
|
+
"internalType": "address",
|
731
|
+
"name": "registryAddress",
|
587
732
|
"type": "address"
|
588
733
|
}
|
589
734
|
],
|
590
|
-
"
|
735
|
+
"name": "initializeRegistryLinked",
|
736
|
+
"outputs": [],
|
737
|
+
"stateMutability": "nonpayable",
|
591
738
|
"type": "function"
|
592
739
|
},
|
593
740
|
{
|
594
741
|
"inputs": [],
|
595
|
-
"name": "
|
742
|
+
"name": "isConsumingScheduledOp",
|
596
743
|
"outputs": [
|
597
744
|
{
|
598
|
-
"internalType": "
|
599
|
-
"name": "
|
600
|
-
"type": "
|
745
|
+
"internalType": "bytes4",
|
746
|
+
"name": "",
|
747
|
+
"type": "bytes4"
|
601
748
|
}
|
602
749
|
],
|
603
750
|
"stateMutability": "view",
|
@@ -618,11 +765,11 @@
|
|
618
765
|
},
|
619
766
|
{
|
620
767
|
"inputs": [],
|
621
|
-
"name": "
|
768
|
+
"name": "isRegistered",
|
622
769
|
"outputs": [
|
623
770
|
{
|
624
771
|
"internalType": "bool",
|
625
|
-
"name": "
|
772
|
+
"name": "",
|
626
773
|
"type": "bool"
|
627
774
|
}
|
628
775
|
],
|
@@ -632,24 +779,18 @@
|
|
632
779
|
{
|
633
780
|
"inputs": [],
|
634
781
|
"name": "linkToRegisteredNftId",
|
635
|
-
"outputs": [
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
"outputs": [],
|
782
|
+
"outputs": [
|
783
|
+
{
|
784
|
+
"internalType": "NftId",
|
785
|
+
"name": "nftId",
|
786
|
+
"type": "uint96"
|
787
|
+
}
|
788
|
+
],
|
643
789
|
"stateMutability": "nonpayable",
|
644
790
|
"type": "function"
|
645
791
|
},
|
646
792
|
{
|
647
793
|
"inputs": [
|
648
|
-
{
|
649
|
-
"internalType": "address",
|
650
|
-
"name": "from",
|
651
|
-
"type": "address"
|
652
|
-
},
|
653
794
|
{
|
654
795
|
"internalType": "address",
|
655
796
|
"name": "to",
|
@@ -661,7 +802,7 @@
|
|
661
802
|
"type": "uint256"
|
662
803
|
}
|
663
804
|
],
|
664
|
-
"name": "
|
805
|
+
"name": "nftMint",
|
665
806
|
"outputs": [],
|
666
807
|
"stateMutability": "nonpayable",
|
667
808
|
"type": "function"
|
@@ -669,35 +810,22 @@
|
|
669
810
|
{
|
670
811
|
"inputs": [
|
671
812
|
{
|
672
|
-
"internalType": "
|
673
|
-
"name": "
|
674
|
-
"type": "
|
813
|
+
"internalType": "address",
|
814
|
+
"name": "from",
|
815
|
+
"type": "address"
|
675
816
|
},
|
676
817
|
{
|
677
|
-
"internalType": "
|
678
|
-
"name": "
|
679
|
-
"type": "
|
680
|
-
}
|
681
|
-
],
|
682
|
-
"name": "processRenewal",
|
683
|
-
"outputs": [],
|
684
|
-
"stateMutability": "nonpayable",
|
685
|
-
"type": "function"
|
686
|
-
},
|
687
|
-
{
|
688
|
-
"inputs": [
|
689
|
-
{
|
690
|
-
"internalType": "ReferralId",
|
691
|
-
"name": "referralId",
|
692
|
-
"type": "bytes8"
|
818
|
+
"internalType": "address",
|
819
|
+
"name": "to",
|
820
|
+
"type": "address"
|
693
821
|
},
|
694
822
|
{
|
695
823
|
"internalType": "uint256",
|
696
|
-
"name": "
|
824
|
+
"name": "tokenId",
|
697
825
|
"type": "uint256"
|
698
826
|
}
|
699
827
|
],
|
700
|
-
"name": "
|
828
|
+
"name": "nftTransferFrom",
|
701
829
|
"outputs": [],
|
702
830
|
"stateMutability": "nonpayable",
|
703
831
|
"type": "function"
|
@@ -705,43 +833,12 @@
|
|
705
833
|
{
|
706
834
|
"inputs": [
|
707
835
|
{
|
708
|
-
"internalType": "
|
709
|
-
"name": "
|
710
|
-
"type": "
|
711
|
-
}
|
712
|
-
],
|
713
|
-
"name": "referralIsValid",
|
714
|
-
"outputs": [
|
715
|
-
{
|
716
|
-
"internalType": "bool",
|
717
|
-
"name": "isValid",
|
718
|
-
"type": "bool"
|
719
|
-
}
|
720
|
-
],
|
721
|
-
"stateMutability": "view",
|
722
|
-
"type": "function"
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"inputs": [
|
726
|
-
{
|
727
|
-
"components": [
|
728
|
-
{
|
729
|
-
"internalType": "UFixed",
|
730
|
-
"name": "fractionalFee",
|
731
|
-
"type": "uint256"
|
732
|
-
},
|
733
|
-
{
|
734
|
-
"internalType": "uint256",
|
735
|
-
"name": "fixedFee",
|
736
|
-
"type": "uint256"
|
737
|
-
}
|
738
|
-
],
|
739
|
-
"internalType": "struct Fee",
|
740
|
-
"name": "distributionFee",
|
741
|
-
"type": "tuple"
|
836
|
+
"internalType": "bytes4",
|
837
|
+
"name": "interfaceId",
|
838
|
+
"type": "bytes4"
|
742
839
|
}
|
743
840
|
],
|
744
|
-
"name": "
|
841
|
+
"name": "registerInterface",
|
745
842
|
"outputs": [],
|
746
843
|
"stateMutability": "nonpayable",
|
747
844
|
"type": "function"
|
@@ -749,12 +846,12 @@
|
|
749
846
|
{
|
750
847
|
"inputs": [
|
751
848
|
{
|
752
|
-
"internalType": "
|
753
|
-
"name": "
|
754
|
-
"type": "
|
849
|
+
"internalType": "address",
|
850
|
+
"name": "newAuthority",
|
851
|
+
"type": "address"
|
755
852
|
}
|
756
853
|
],
|
757
|
-
"name": "
|
854
|
+
"name": "setAuthority",
|
758
855
|
"outputs": [],
|
759
856
|
"stateMutability": "nonpayable",
|
760
857
|
"type": "function"
|
@@ -790,13 +887,6 @@
|
|
790
887
|
],
|
791
888
|
"stateMutability": "view",
|
792
889
|
"type": "function"
|
793
|
-
},
|
794
|
-
{
|
795
|
-
"inputs": [],
|
796
|
-
"name": "unlock",
|
797
|
-
"outputs": [],
|
798
|
-
"stateMutability": "nonpayable",
|
799
|
-
"type": "function"
|
800
890
|
}
|
801
891
|
],
|
802
892
|
"bytecode": "0x",
|