@etherisc/gif-next 0.0.2-da06f3b-803 → 0.0.2-da09ec0-359
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -13
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +315 -98
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +668 -141
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +241 -60
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +438 -86
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +526 -144
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +257 -144
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +676 -183
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +435 -186
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +267 -1594
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +232 -208
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +393 -2515
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +359 -92
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +424 -236
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +338 -409
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +291 -108
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +197 -169
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +51 -42
- 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/IComponents.sol/IComponents.json +10 -0
- 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/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +526 -340
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +340 -93
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1376 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +982 -198
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +430 -87
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +493 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +290 -270
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +527 -128
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +181 -296
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +705 -122
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -160
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +449 -395
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +349 -114
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1018 -202
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +360 -89
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +231 -223
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -95
- 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 +15 -2
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +70 -193
- 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 +28 -15
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +182 -232
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -94
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +128 -37
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- 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/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -29
- 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 +71 -160
- 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/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +100 -33
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -76
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +115 -58
- 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 +172 -160
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -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/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +115 -58
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +190 -210
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +134 -78
- package/contracts/components/Distribution.sol +189 -57
- package/contracts/components/IComponent.sol +62 -15
- package/contracts/components/IDistributionComponent.sol +39 -15
- package/contracts/components/IPoolComponent.sol +86 -23
- package/contracts/components/IProductComponent.sol +8 -6
- package/contracts/components/Pool.sol +230 -136
- package/contracts/components/Product.sol +227 -118
- package/contracts/instance/BundleManager.sol +10 -9
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +40 -35
- package/contracts/instance/IInstanceService.sol +44 -13
- package/contracts/instance/Instance.sol +131 -171
- package/contracts/instance/InstanceAccessManager.sol +281 -154
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +90 -15
- package/contracts/instance/InstanceService.sol +173 -338
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +53 -39
- package/contracts/instance/base/KeyValueStore.sol +13 -36
- package/contracts/instance/base/Lifecycle.sol +26 -6
- package/contracts/instance/module/IAccess.sol +18 -12
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +3 -0
- package/contracts/instance/module/IPolicy.sol +43 -11
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +186 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +225 -136
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +437 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +264 -22
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +62 -0
- package/contracts/instance/service/IBundleService.sol +96 -22
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +76 -1
- package/contracts/instance/service/IPolicyService.sol +40 -54
- package/contracts/instance/service/IPoolService.sol +97 -3
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/PolicyService.sol +200 -362
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +313 -20
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +41 -64
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +3 -2
- package/contracts/registry/IRegistryService.sol +12 -11
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +30 -20
- package/contracts/registry/RegistryService.sol +75 -51
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +32 -40
- package/contracts/registry/TokenRegistry.sol +16 -12
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +3 -3
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +6 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +64 -85
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -27
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +32 -20
- package/contracts/shared/TokenHandler.sol +14 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +109 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +17 -8
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +16 -7
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +12 -8
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
- 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/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
@@ -7,27 +7,38 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
11
22
|
"type": "address"
|
12
23
|
},
|
13
24
|
{
|
14
|
-
"internalType": "
|
15
|
-
"name": "
|
16
|
-
"type": "
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
17
28
|
}
|
18
29
|
],
|
19
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
20
31
|
"type": "error"
|
21
32
|
},
|
22
33
|
{
|
23
34
|
"inputs": [
|
24
35
|
{
|
25
36
|
"internalType": "address",
|
26
|
-
"name": "
|
37
|
+
"name": "caller",
|
27
38
|
"type": "address"
|
28
39
|
}
|
29
40
|
],
|
30
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
31
42
|
"type": "error"
|
32
43
|
},
|
33
44
|
{
|
@@ -125,37 +136,27 @@
|
|
125
136
|
"inputs": [
|
126
137
|
{
|
127
138
|
"internalType": "NftId",
|
128
|
-
"name": "
|
139
|
+
"name": "nftId",
|
129
140
|
"type": "uint96"
|
130
|
-
},
|
131
|
-
{
|
132
|
-
"internalType": "uint256",
|
133
|
-
"name": "premiumPaidAmount",
|
134
|
-
"type": "uint256"
|
135
141
|
}
|
136
142
|
],
|
137
|
-
"name": "
|
143
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
138
144
|
"type": "error"
|
139
145
|
},
|
140
146
|
{
|
141
147
|
"inputs": [
|
142
148
|
{
|
143
|
-
"internalType": "
|
144
|
-
"name": "
|
145
|
-
"type": "
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"internalType": "uint256",
|
149
|
-
"name": "premiumAmount",
|
150
|
-
"type": "uint256"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"internalType": "uint256",
|
154
|
-
"name": "premiumPaidAmount",
|
155
|
-
"type": "uint256"
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "contractAddress",
|
151
|
+
"type": "address"
|
156
152
|
}
|
157
153
|
],
|
158
|
-
"name": "
|
154
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
155
|
+
"type": "error"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [],
|
159
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
159
160
|
"type": "error"
|
160
161
|
},
|
161
162
|
{
|
@@ -166,7 +167,7 @@
|
|
166
167
|
"type": "address"
|
167
168
|
}
|
168
169
|
],
|
169
|
-
"name": "
|
170
|
+
"name": "ErrorNftOwnableNotOwner",
|
170
171
|
"type": "error"
|
171
172
|
},
|
172
173
|
{
|
@@ -181,50 +182,73 @@
|
|
181
182
|
"type": "error"
|
182
183
|
},
|
183
184
|
{
|
184
|
-
"inputs": [
|
185
|
-
|
185
|
+
"inputs": [
|
186
|
+
{
|
187
|
+
"internalType": "NftId",
|
188
|
+
"name": "applicationNftId",
|
189
|
+
"type": "uint96"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "expectedProductNftId",
|
194
|
+
"type": "uint96"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"internalType": "NftId",
|
198
|
+
"name": "actualProductNftId",
|
199
|
+
"type": "uint96"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorPolicyServicePolicyProductMismatch",
|
186
203
|
"type": "error"
|
187
204
|
},
|
188
205
|
{
|
189
206
|
"inputs": [
|
190
207
|
{
|
191
|
-
"internalType": "
|
192
|
-
"name": "
|
193
|
-
"type": "
|
208
|
+
"internalType": "NftId",
|
209
|
+
"name": "applicationNftId",
|
210
|
+
"type": "uint96"
|
194
211
|
}
|
195
212
|
],
|
196
|
-
"name": "
|
213
|
+
"name": "ErrorPolicyServicePolicyStateNotApplied",
|
197
214
|
"type": "error"
|
198
215
|
},
|
199
216
|
{
|
200
|
-
"inputs": [
|
201
|
-
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"internalType": "NftId",
|
220
|
+
"name": "policyNftId",
|
221
|
+
"type": "uint96"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"internalType": "Amount",
|
225
|
+
"name": "premiumPaidAmount",
|
226
|
+
"type": "uint96"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"name": "ErrorPolicyServicePremiumAlreadyPaid",
|
202
230
|
"type": "error"
|
203
231
|
},
|
204
232
|
{
|
205
|
-
"anonymous": false,
|
206
233
|
"inputs": [
|
207
234
|
{
|
208
|
-
"
|
209
|
-
"
|
210
|
-
"
|
211
|
-
"type": "uint24"
|
235
|
+
"internalType": "NftId",
|
236
|
+
"name": "policyNftId",
|
237
|
+
"type": "uint96"
|
212
238
|
},
|
213
239
|
{
|
214
|
-
"
|
215
|
-
"
|
216
|
-
"
|
217
|
-
"type": "address"
|
240
|
+
"internalType": "Amount",
|
241
|
+
"name": "expectedPremiumAmount",
|
242
|
+
"type": "uint96"
|
218
243
|
},
|
219
244
|
{
|
220
|
-
"
|
221
|
-
"
|
222
|
-
"
|
223
|
-
"type": "address"
|
245
|
+
"internalType": "Amount",
|
246
|
+
"name": "recalculatedPremiumAmount",
|
247
|
+
"type": "uint96"
|
224
248
|
}
|
225
249
|
],
|
226
|
-
"name": "
|
227
|
-
"type": "
|
250
|
+
"name": "ErrorPolicyServicePremiumMismatch",
|
251
|
+
"type": "error"
|
228
252
|
},
|
229
253
|
{
|
230
254
|
"inputs": [
|
@@ -234,75 +258,84 @@
|
|
234
258
|
"type": "uint96"
|
235
259
|
},
|
236
260
|
{
|
237
|
-
"internalType": "
|
238
|
-
"name": "
|
239
|
-
"type": "
|
261
|
+
"internalType": "Amount",
|
262
|
+
"name": "premiumAmount",
|
263
|
+
"type": "uint96"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"internalType": "Amount",
|
267
|
+
"name": "premiumPaidAmount",
|
268
|
+
"type": "uint96"
|
240
269
|
}
|
241
270
|
],
|
242
|
-
"name": "
|
243
|
-
"
|
244
|
-
"stateMutability": "nonpayable",
|
245
|
-
"type": "function"
|
271
|
+
"name": "ErrorPolicyServicePremiumNotFullyPaid",
|
272
|
+
"type": "error"
|
246
273
|
},
|
247
274
|
{
|
248
275
|
"inputs": [
|
249
276
|
{
|
250
|
-
"internalType": "
|
251
|
-
"name": "
|
252
|
-
"type": "
|
277
|
+
"internalType": "NftId",
|
278
|
+
"name": "policyNftId",
|
279
|
+
"type": "uint96"
|
253
280
|
},
|
254
281
|
{
|
255
|
-
"internalType": "
|
256
|
-
"name": "
|
257
|
-
"type": "
|
282
|
+
"internalType": "Amount",
|
283
|
+
"name": "expectedPremiumAmount",
|
284
|
+
"type": "uint96"
|
258
285
|
},
|
259
286
|
{
|
260
|
-
"internalType": "
|
261
|
-
"name": "
|
262
|
-
"type": "
|
263
|
-
}
|
287
|
+
"internalType": "Amount",
|
288
|
+
"name": "transferredPremiumAmount",
|
289
|
+
"type": "uint96"
|
290
|
+
}
|
291
|
+
],
|
292
|
+
"name": "ErrorPolicyServiceTransferredPremiumMismatch",
|
293
|
+
"type": "error"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"inputs": [],
|
297
|
+
"name": "ErrorServiceNotImplemented",
|
298
|
+
"type": "error"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"anonymous": false,
|
302
|
+
"inputs": [
|
264
303
|
{
|
265
|
-
"
|
266
|
-
"
|
267
|
-
"
|
268
|
-
|
304
|
+
"indexed": false,
|
305
|
+
"internalType": "address",
|
306
|
+
"name": "authority",
|
307
|
+
"type": "address"
|
308
|
+
}
|
309
|
+
],
|
310
|
+
"name": "AuthorityUpdated",
|
311
|
+
"type": "event"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"inputs": [
|
269
315
|
{
|
270
316
|
"internalType": "NftId",
|
271
|
-
"name": "
|
317
|
+
"name": "policyNftId",
|
272
318
|
"type": "uint96"
|
273
319
|
},
|
274
320
|
{
|
275
|
-
"internalType": "
|
276
|
-
"name": "
|
277
|
-
"type": "
|
321
|
+
"internalType": "Timestamp",
|
322
|
+
"name": "activateAt",
|
323
|
+
"type": "uint40"
|
278
324
|
}
|
279
325
|
],
|
280
|
-
"name": "
|
326
|
+
"name": "activate",
|
327
|
+
"outputs": [],
|
328
|
+
"stateMutability": "nonpayable",
|
329
|
+
"type": "function"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"inputs": [],
|
333
|
+
"name": "authority",
|
281
334
|
"outputs": [
|
282
335
|
{
|
283
|
-
"internalType": "
|
284
|
-
"name": "
|
285
|
-
"type": "
|
286
|
-
},
|
287
|
-
{
|
288
|
-
"internalType": "uint256",
|
289
|
-
"name": "productFeeAmount",
|
290
|
-
"type": "uint256"
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"internalType": "uint256",
|
294
|
-
"name": "poolFeeAmount",
|
295
|
-
"type": "uint256"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"internalType": "uint256",
|
299
|
-
"name": "bundleFeeAmount",
|
300
|
-
"type": "uint256"
|
301
|
-
},
|
302
|
-
{
|
303
|
-
"internalType": "uint256",
|
304
|
-
"name": "distributionFeeAmount",
|
305
|
-
"type": "uint256"
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "",
|
338
|
+
"type": "address"
|
306
339
|
}
|
307
340
|
],
|
308
341
|
"stateMutability": "view",
|
@@ -316,17 +349,17 @@
|
|
316
349
|
"type": "uint256"
|
317
350
|
},
|
318
351
|
{
|
319
|
-
"internalType": "
|
352
|
+
"internalType": "Amount",
|
320
353
|
"name": "sumInsuredAmount",
|
321
|
-
"type": "
|
354
|
+
"type": "uint96"
|
322
355
|
}
|
323
356
|
],
|
324
357
|
"name": "calculateRequiredCollateral",
|
325
358
|
"outputs": [
|
326
359
|
{
|
327
|
-
"internalType": "
|
360
|
+
"internalType": "Amount",
|
328
361
|
"name": "collateralAmount",
|
329
|
-
"type": "
|
362
|
+
"type": "uint96"
|
330
363
|
}
|
331
364
|
],
|
332
365
|
"stateMutability": "pure",
|
@@ -336,7 +369,7 @@
|
|
336
369
|
"inputs": [
|
337
370
|
{
|
338
371
|
"internalType": "NftId",
|
339
|
-
"name": "
|
372
|
+
"name": "policyNftId",
|
340
373
|
"type": "uint96"
|
341
374
|
}
|
342
375
|
],
|
@@ -352,13 +385,18 @@
|
|
352
385
|
"name": "policyNftId",
|
353
386
|
"type": "uint96"
|
354
387
|
},
|
388
|
+
{
|
389
|
+
"internalType": "bool",
|
390
|
+
"name": "requirePremiumPayment",
|
391
|
+
"type": "bool"
|
392
|
+
},
|
355
393
|
{
|
356
394
|
"internalType": "Timestamp",
|
357
395
|
"name": "activateAt",
|
358
396
|
"type": "uint40"
|
359
397
|
}
|
360
398
|
],
|
361
|
-
"name": "
|
399
|
+
"name": "collateralize",
|
362
400
|
"outputs": [],
|
363
401
|
"stateMutability": "nonpayable",
|
364
402
|
"type": "function"
|
@@ -366,49 +404,44 @@
|
|
366
404
|
{
|
367
405
|
"inputs": [
|
368
406
|
{
|
369
|
-
"internalType": "
|
370
|
-
"name": "
|
371
|
-
"type": "
|
372
|
-
},
|
373
|
-
{
|
374
|
-
"internalType": "RiskId",
|
375
|
-
"name": "riskId",
|
376
|
-
"type": "bytes8"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"internalType": "uint256",
|
380
|
-
"name": "sumInsuredAmount",
|
381
|
-
"type": "uint256"
|
382
|
-
},
|
383
|
-
{
|
384
|
-
"internalType": "uint256",
|
385
|
-
"name": "lifetime",
|
386
|
-
"type": "uint256"
|
407
|
+
"internalType": "NftId",
|
408
|
+
"name": "policyNftId",
|
409
|
+
"type": "uint96"
|
387
410
|
},
|
388
411
|
{
|
389
|
-
"internalType": "
|
390
|
-
"name": "
|
391
|
-
"type": "
|
392
|
-
}
|
412
|
+
"internalType": "Timestamp",
|
413
|
+
"name": "activateAt",
|
414
|
+
"type": "uint40"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"name": "collectPremium",
|
418
|
+
"outputs": [],
|
419
|
+
"stateMutability": "nonpayable",
|
420
|
+
"type": "function"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"inputs": [
|
393
424
|
{
|
394
425
|
"internalType": "NftId",
|
395
|
-
"name": "
|
426
|
+
"name": "policyNftId",
|
396
427
|
"type": "uint96"
|
397
|
-
},
|
398
|
-
{
|
399
|
-
"internalType": "ReferralId",
|
400
|
-
"name": "referralId",
|
401
|
-
"type": "bytes8"
|
402
428
|
}
|
403
429
|
],
|
404
|
-
"name": "
|
405
|
-
"outputs": [
|
430
|
+
"name": "decline",
|
431
|
+
"outputs": [],
|
432
|
+
"stateMutability": "nonpayable",
|
433
|
+
"type": "function"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"inputs": [
|
406
437
|
{
|
407
438
|
"internalType": "NftId",
|
408
|
-
"name": "
|
439
|
+
"name": "policyNftId",
|
409
440
|
"type": "uint96"
|
410
441
|
}
|
411
442
|
],
|
443
|
+
"name": "expire",
|
444
|
+
"outputs": [],
|
412
445
|
"stateMutability": "nonpayable",
|
413
446
|
"type": "function"
|
414
447
|
},
|
@@ -475,32 +508,6 @@
|
|
475
508
|
"stateMutability": "view",
|
476
509
|
"type": "function"
|
477
510
|
},
|
478
|
-
{
|
479
|
-
"inputs": [],
|
480
|
-
"name": "getInitializedVersion",
|
481
|
-
"outputs": [
|
482
|
-
{
|
483
|
-
"internalType": "uint64",
|
484
|
-
"name": "",
|
485
|
-
"type": "uint64"
|
486
|
-
}
|
487
|
-
],
|
488
|
-
"stateMutability": "view",
|
489
|
-
"type": "function"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"inputs": [],
|
493
|
-
"name": "getMajorVersion",
|
494
|
-
"outputs": [
|
495
|
-
{
|
496
|
-
"internalType": "VersionPart",
|
497
|
-
"name": "majorVersion",
|
498
|
-
"type": "uint8"
|
499
|
-
}
|
500
|
-
],
|
501
|
-
"stateMutability": "view",
|
502
|
-
"type": "function"
|
503
|
-
},
|
504
511
|
{
|
505
512
|
"inputs": [],
|
506
513
|
"name": "getNftId",
|
@@ -553,91 +560,8 @@
|
|
553
560
|
"stateMutability": "pure",
|
554
561
|
"type": "function"
|
555
562
|
},
|
556
|
-
{
|
557
|
-
"inputs": [
|
558
|
-
{
|
559
|
-
"internalType": "uint256",
|
560
|
-
"name": "index",
|
561
|
-
"type": "uint256"
|
562
|
-
}
|
563
|
-
],
|
564
|
-
"name": "getVersion",
|
565
|
-
"outputs": [
|
566
|
-
{
|
567
|
-
"internalType": "Version",
|
568
|
-
"name": "version",
|
569
|
-
"type": "uint24"
|
570
|
-
}
|
571
|
-
],
|
572
|
-
"stateMutability": "view",
|
573
|
-
"type": "function"
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"inputs": [],
|
577
|
-
"name": "getVersionCount",
|
578
|
-
"outputs": [
|
579
|
-
{
|
580
|
-
"internalType": "uint256",
|
581
|
-
"name": "numberOfVersions",
|
582
|
-
"type": "uint256"
|
583
|
-
}
|
584
|
-
],
|
585
|
-
"stateMutability": "view",
|
586
|
-
"type": "function"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"inputs": [
|
590
|
-
{
|
591
|
-
"internalType": "Version",
|
592
|
-
"name": "version",
|
593
|
-
"type": "uint24"
|
594
|
-
}
|
595
|
-
],
|
596
|
-
"name": "getVersionInfo",
|
597
|
-
"outputs": [
|
598
|
-
{
|
599
|
-
"components": [
|
600
|
-
{
|
601
|
-
"internalType": "Version",
|
602
|
-
"name": "version",
|
603
|
-
"type": "uint24"
|
604
|
-
},
|
605
|
-
{
|
606
|
-
"internalType": "address",
|
607
|
-
"name": "implementation",
|
608
|
-
"type": "address"
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"internalType": "address",
|
612
|
-
"name": "activatedBy",
|
613
|
-
"type": "address"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"internalType": "Timestamp",
|
617
|
-
"name": "activatedAt",
|
618
|
-
"type": "uint40"
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"internalType": "Blocknumber",
|
622
|
-
"name": "activatedIn",
|
623
|
-
"type": "uint32"
|
624
|
-
}
|
625
|
-
],
|
626
|
-
"internalType": "struct IVersionable.VersionInfo",
|
627
|
-
"name": "versionInfo",
|
628
|
-
"type": "tuple"
|
629
|
-
}
|
630
|
-
],
|
631
|
-
"stateMutability": "view",
|
632
|
-
"type": "function"
|
633
|
-
},
|
634
563
|
{
|
635
564
|
"inputs": [
|
636
|
-
{
|
637
|
-
"internalType": "address",
|
638
|
-
"name": "implementation",
|
639
|
-
"type": "address"
|
640
|
-
},
|
641
565
|
{
|
642
566
|
"internalType": "address",
|
643
567
|
"name": "activatedBy",
|
@@ -649,25 +573,19 @@
|
|
649
573
|
"type": "bytes"
|
650
574
|
}
|
651
575
|
],
|
652
|
-
"name": "
|
576
|
+
"name": "initializeVersionable",
|
653
577
|
"outputs": [],
|
654
578
|
"stateMutability": "nonpayable",
|
655
579
|
"type": "function"
|
656
580
|
},
|
657
581
|
{
|
658
|
-
"inputs": [
|
659
|
-
|
660
|
-
"internalType": "Version",
|
661
|
-
"name": "version",
|
662
|
-
"type": "uint24"
|
663
|
-
}
|
664
|
-
],
|
665
|
-
"name": "isInitialized",
|
582
|
+
"inputs": [],
|
583
|
+
"name": "isConsumingScheduledOp",
|
666
584
|
"outputs": [
|
667
585
|
{
|
668
|
-
"internalType": "
|
586
|
+
"internalType": "bytes4",
|
669
587
|
"name": "",
|
670
|
-
"type": "
|
588
|
+
"type": "bytes4"
|
671
589
|
}
|
672
590
|
],
|
673
591
|
"stateMutability": "view",
|
@@ -683,12 +601,12 @@
|
|
683
601
|
{
|
684
602
|
"inputs": [
|
685
603
|
{
|
686
|
-
"internalType": "
|
687
|
-
"name": "
|
688
|
-
"type": "
|
604
|
+
"internalType": "address",
|
605
|
+
"name": "",
|
606
|
+
"type": "address"
|
689
607
|
}
|
690
608
|
],
|
691
|
-
"name": "
|
609
|
+
"name": "setAuthority",
|
692
610
|
"outputs": [],
|
693
611
|
"stateMutability": "nonpayable",
|
694
612
|
"type": "function"
|
@@ -714,46 +632,13 @@
|
|
714
632
|
},
|
715
633
|
{
|
716
634
|
"inputs": [
|
717
|
-
{
|
718
|
-
"internalType": "NftId",
|
719
|
-
"name": "policyNftId",
|
720
|
-
"type": "uint96"
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"internalType": "bool",
|
724
|
-
"name": "requirePremiumPayment",
|
725
|
-
"type": "bool"
|
726
|
-
},
|
727
|
-
{
|
728
|
-
"internalType": "Timestamp",
|
729
|
-
"name": "activateAt",
|
730
|
-
"type": "uint40"
|
731
|
-
}
|
732
|
-
],
|
733
|
-
"name": "underwrite",
|
734
|
-
"outputs": [],
|
735
|
-
"stateMutability": "nonpayable",
|
736
|
-
"type": "function"
|
737
|
-
},
|
738
|
-
{
|
739
|
-
"inputs": [
|
740
|
-
{
|
741
|
-
"internalType": "address",
|
742
|
-
"name": "implementation",
|
743
|
-
"type": "address"
|
744
|
-
},
|
745
|
-
{
|
746
|
-
"internalType": "address",
|
747
|
-
"name": "activatedBy",
|
748
|
-
"type": "address"
|
749
|
-
},
|
750
635
|
{
|
751
636
|
"internalType": "bytes",
|
752
637
|
"name": "upgradeData",
|
753
638
|
"type": "bytes"
|
754
639
|
}
|
755
640
|
],
|
756
|
-
"name": "
|
641
|
+
"name": "upgradeVersionable",
|
757
642
|
"outputs": [],
|
758
643
|
"stateMutability": "nonpayable",
|
759
644
|
"type": "function"
|