@etherisc/gif-next 0.0.2-dc7e4cb-141 → 0.0.2-dd40550-413
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +249 -23
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +873 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1376 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +856 -117
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +637 -55
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1164 -144
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +998 -105
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +320 -1684
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +416 -1752
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
- 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 +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
- 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 +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → ISetup.sol/ISetup.json} +2 -2
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.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 +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
- 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 +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1556 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
- 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 +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
- 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 +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +840 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +908 -207
- 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 +186 -221
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1334 -183
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
- 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 +484 -293
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -101
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
- 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 +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- 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 +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
- 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 +91 -37
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +160 -146
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
- 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 +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +245 -27
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +261 -28
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +344 -135
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- 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 +38 -140
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- 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 +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +112 -18
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- 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 +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- 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 +51 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +272 -0
- package/contracts/components/Distribution.sol +285 -0
- package/contracts/components/IComponent.sol +90 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +100 -43
- package/contracts/components/IProductComponent.sol +31 -9
- package/contracts/components/Pool.sol +238 -110
- package/contracts/components/Product.sol +307 -49
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +63 -39
- package/contracts/instance/IInstanceService.sol +73 -0
- package/contracts/instance/Instance.sol +214 -51
- package/contracts/instance/InstanceAccessManager.sol +541 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +368 -0
- package/contracts/instance/InstanceService.sol +308 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +148 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +149 -0
- package/contracts/instance/base/Lifecycle.sol +120 -0
- package/contracts/instance/module/IAccess.sol +54 -0
- package/contracts/instance/module/IBundle.sol +23 -0
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +42 -0
- package/contracts/instance/module/IPolicy.sol +77 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +33 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +186 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +382 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +437 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +348 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +62 -0
- package/contracts/instance/service/IBundleService.sol +118 -0
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +87 -0
- package/contracts/instance/service/IPolicyService.sol +80 -0
- package/contracts/instance/service/IPoolService.sol +96 -12
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +21 -39
- package/contracts/instance/service/PolicyService.sol +376 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +342 -62
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +148 -293
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +87 -36
- package/contracts/registry/IRegistry.sol +68 -24
- package/contracts/registry/IRegistryService.sol +66 -0
- package/contracts/registry/ITransferInterceptor.sol +7 -0
- package/contracts/registry/Registry.sol +372 -286
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +286 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +14 -8
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +38 -37
- package/contracts/shared/NftOwnable.sol +118 -0
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +52 -63
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +35 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +38 -68
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/test/TestService.sol +7 -14
- 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 +55 -0
- package/contracts/types/Fee.sol +25 -11
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +24 -1
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +61 -15
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +72 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +19 -4
- package/contracts/types/Timestamp.sol +22 -13
- package/contracts/types/UFixed.sol +129 -12
- package/contracts/types/Version.sol +14 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
- 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/IA.sol/ISharedA.json +0 -37
- 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/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
- package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +0 -300
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -89
- package/contracts/components/IBaseComponent.sol +0 -19
- 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/README.md +0 -112
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/IServiceLinked.sol +0 -12
- package/contracts/instance/InstanceBase.sol +0 -71
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -228
- package/contracts/instance/module/bundle/IBundle.sol +0 -53
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -103
- package/contracts/instance/module/component/IComponent.sol +0 -53
- package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
- package/contracts/instance/module/policy/IPolicy.sol +0 -60
- package/contracts/instance/module/policy/PolicyModule.sol +0 -84
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -87
- package/contracts/instance/module/risk/IRisk.sol +0 -10
- package/contracts/instance/module/risk/RiskModule.sol +0 -8
- package/contracts/instance/module/treasury/ITreasury.sol +0 -103
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
- package/contracts/instance/service/ComponentOwnerService.sol +0 -171
- package/contracts/instance/service/ComponentServiceBase.sol +0 -41
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/instance/service/IService.sol +0 -15
- package/contracts/instance/service/ServiceBase.sol +0 -39
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestPool.sol +0 -22
- package/contracts/test/TestProduct.sol +0 -44
@@ -6,437 +6,298 @@
|
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
|
-
"internalType": "
|
10
|
-
"name": "
|
11
|
-
"type": "
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "ObjectType",
|
15
|
-
"name": "objectType",
|
16
|
-
"type": "uint8"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "StateId",
|
20
|
-
"name": "fromStateId",
|
21
|
-
"type": "uint8"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"internalType": "StateId",
|
25
|
-
"name": "toStateId",
|
26
|
-
"type": "uint8"
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
27
12
|
}
|
28
13
|
],
|
29
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
30
15
|
"type": "error"
|
31
16
|
},
|
32
17
|
{
|
33
18
|
"inputs": [
|
34
19
|
{
|
35
|
-
"internalType": "
|
36
|
-
"name": "
|
37
|
-
"type": "
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
38
23
|
},
|
39
24
|
{
|
40
|
-
"internalType": "
|
41
|
-
"name": "
|
42
|
-
"type": "
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
43
28
|
}
|
44
29
|
],
|
45
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
46
31
|
"type": "error"
|
47
32
|
},
|
48
33
|
{
|
49
|
-
"anonymous": false,
|
50
34
|
"inputs": [
|
51
35
|
{
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"type": "bytes8"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"indexed": false,
|
59
|
-
"internalType": "string",
|
60
|
-
"name": "roleName",
|
61
|
-
"type": "string"
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
62
39
|
}
|
63
40
|
],
|
64
|
-
"name": "
|
65
|
-
"type": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
66
43
|
},
|
67
44
|
{
|
68
|
-
"anonymous": false,
|
69
45
|
"inputs": [
|
70
46
|
{
|
71
|
-
"indexed": false,
|
72
|
-
"internalType": "RoleId",
|
73
|
-
"name": "role",
|
74
|
-
"type": "bytes8"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"indexed": false,
|
78
47
|
"internalType": "address",
|
79
|
-
"name": "
|
48
|
+
"name": "instanceBundleManager",
|
80
49
|
"type": "address"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"indexed": false,
|
84
|
-
"internalType": "bool",
|
85
|
-
"name": "isMember",
|
86
|
-
"type": "bool"
|
87
50
|
}
|
88
51
|
],
|
89
|
-
"name": "
|
90
|
-
"type": "
|
52
|
+
"name": "ErrorInstanceBundleManagerAlreadySet",
|
53
|
+
"type": "error"
|
91
54
|
},
|
92
55
|
{
|
93
|
-
"anonymous": false,
|
94
56
|
"inputs": [
|
95
57
|
{
|
96
|
-
"
|
97
|
-
"
|
98
|
-
"
|
99
|
-
"type": "bytes8"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"indexed": false,
|
103
|
-
"internalType": "bool",
|
104
|
-
"name": "active",
|
105
|
-
"type": "bool"
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "instanceAuthority",
|
60
|
+
"type": "address"
|
106
61
|
}
|
107
62
|
],
|
108
|
-
"name": "
|
109
|
-
"type": "
|
63
|
+
"name": "ErrorInstanceBundleManagerAuthorityMismatch",
|
64
|
+
"type": "error"
|
110
65
|
},
|
111
66
|
{
|
112
|
-
"anonymous": false,
|
113
67
|
"inputs": [
|
114
68
|
{
|
115
|
-
"
|
116
|
-
"
|
117
|
-
"
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
},
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "instance",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorInstanceBundleManagerInstanceMismatch",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
126
79
|
{
|
127
|
-
"
|
128
|
-
"
|
129
|
-
"
|
130
|
-
"type": "uint8"
|
80
|
+
"internalType": "address",
|
81
|
+
"name": "instanceAccessManager",
|
82
|
+
"type": "address"
|
131
83
|
}
|
132
84
|
],
|
133
|
-
"name": "
|
134
|
-
"type": "
|
85
|
+
"name": "ErrorInstanceInstanceAccessManagerAlreadySet",
|
86
|
+
"type": "error"
|
135
87
|
},
|
136
88
|
{
|
137
|
-
"anonymous": false,
|
138
89
|
"inputs": [
|
139
90
|
{
|
140
|
-
"
|
141
|
-
"
|
142
|
-
"
|
143
|
-
|
144
|
-
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "instanceAuthority",
|
93
|
+
"type": "address"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorInstanceInstanceAccessManagerZero",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [
|
145
106
|
{
|
146
|
-
"
|
147
|
-
"
|
148
|
-
"
|
149
|
-
|
150
|
-
|
107
|
+
"internalType": "address",
|
108
|
+
"name": "instanceAuthority",
|
109
|
+
"type": "address"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"name": "ErrorInstanceInstanceReaderInstanceMismatch",
|
113
|
+
"type": "error"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
151
117
|
{
|
152
|
-
"
|
153
|
-
"
|
154
|
-
"
|
155
|
-
|
156
|
-
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "instanceStore",
|
120
|
+
"type": "address"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"name": "ErrorInstanceInstanceStoreAlreadySet",
|
124
|
+
"type": "error"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [
|
157
128
|
{
|
158
|
-
"
|
159
|
-
"
|
160
|
-
"
|
161
|
-
"type": "uint8"
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "instanceAuthority",
|
131
|
+
"type": "address"
|
162
132
|
}
|
163
133
|
],
|
164
|
-
"name": "
|
165
|
-
"type": "
|
134
|
+
"name": "ErrorInstanceInstanceStoreAuthorityMismatch",
|
135
|
+
"type": "error"
|
166
136
|
},
|
167
137
|
{
|
168
|
-
"anonymous": false,
|
169
138
|
"inputs": [
|
170
139
|
{
|
171
|
-
"indexed": false,
|
172
140
|
"internalType": "NftId",
|
173
141
|
"name": "nftId",
|
174
142
|
"type": "uint96"
|
175
|
-
},
|
176
|
-
{
|
177
|
-
"indexed": false,
|
178
|
-
"internalType": "StateId",
|
179
|
-
"name": "fromStateId",
|
180
|
-
"type": "uint8"
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"indexed": false,
|
184
|
-
"internalType": "StateId",
|
185
|
-
"name": "toStateId",
|
186
|
-
"type": "uint8"
|
187
143
|
}
|
188
144
|
],
|
189
|
-
"name": "
|
190
|
-
"type": "
|
145
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
146
|
+
"type": "error"
|
191
147
|
},
|
192
148
|
{
|
193
|
-
"anonymous": false,
|
194
149
|
"inputs": [
|
195
150
|
{
|
196
|
-
"indexed": false,
|
197
|
-
"internalType": "Version",
|
198
|
-
"name": "version",
|
199
|
-
"type": "uint24"
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"indexed": false,
|
203
151
|
"internalType": "address",
|
204
|
-
"name": "
|
152
|
+
"name": "contractAddress",
|
205
153
|
"type": "address"
|
206
|
-
}
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
157
|
+
"type": "error"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [],
|
161
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
162
|
+
"type": "error"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"inputs": [
|
207
166
|
{
|
208
|
-
"indexed": false,
|
209
167
|
"internalType": "address",
|
210
|
-
"name": "
|
168
|
+
"name": "account",
|
211
169
|
"type": "address"
|
212
170
|
}
|
213
171
|
],
|
214
|
-
"name": "
|
215
|
-
"type": "
|
172
|
+
"name": "ErrorNftOwnableNotOwner",
|
173
|
+
"type": "error"
|
216
174
|
},
|
217
175
|
{
|
218
176
|
"inputs": [
|
219
177
|
{
|
220
178
|
"internalType": "address",
|
221
|
-
"name": "
|
179
|
+
"name": "registryAddress",
|
222
180
|
"type": "address"
|
223
|
-
}
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"name": "ErrorNotRegistry",
|
184
|
+
"type": "error"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"anonymous": false,
|
188
|
+
"inputs": [
|
224
189
|
{
|
190
|
+
"indexed": false,
|
225
191
|
"internalType": "address",
|
226
|
-
"name": "
|
192
|
+
"name": "authority",
|
227
193
|
"type": "address"
|
228
194
|
}
|
229
195
|
],
|
230
|
-
"name": "
|
231
|
-
"
|
232
|
-
"stateMutability": "nonpayable",
|
233
|
-
"type": "function"
|
196
|
+
"name": "AuthorityUpdated",
|
197
|
+
"type": "event"
|
234
198
|
},
|
235
199
|
{
|
236
|
-
"inputs": [
|
237
|
-
|
238
|
-
|
239
|
-
"name": "bundleNftId",
|
240
|
-
"type": "uint96"
|
241
|
-
},
|
242
|
-
{
|
243
|
-
"internalType": "NftId",
|
244
|
-
"name": "poolNftId",
|
245
|
-
"type": "uint96"
|
246
|
-
},
|
200
|
+
"inputs": [],
|
201
|
+
"name": "authority",
|
202
|
+
"outputs": [
|
247
203
|
{
|
248
|
-
"internalType": "
|
249
|
-
"name": "
|
250
|
-
"type": "
|
204
|
+
"internalType": "address",
|
205
|
+
"name": "",
|
206
|
+
"type": "address"
|
251
207
|
}
|
252
208
|
],
|
253
|
-
"
|
254
|
-
"outputs": [],
|
255
|
-
"stateMutability": "nonpayable",
|
209
|
+
"stateMutability": "view",
|
256
210
|
"type": "function"
|
257
211
|
},
|
258
212
|
{
|
259
213
|
"inputs": [
|
260
214
|
{
|
261
|
-
"internalType": "
|
262
|
-
"name": "
|
263
|
-
"type": "
|
215
|
+
"internalType": "string",
|
216
|
+
"name": "roleName",
|
217
|
+
"type": "string"
|
264
218
|
},
|
265
219
|
{
|
266
|
-
"
|
267
|
-
|
268
|
-
|
269
|
-
"name": "fractionalFee",
|
270
|
-
"type": "uint256"
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"internalType": "uint256",
|
274
|
-
"name": "fixedFee",
|
275
|
-
"type": "uint256"
|
276
|
-
}
|
277
|
-
],
|
278
|
-
"internalType": "struct Fee",
|
279
|
-
"name": "fee",
|
280
|
-
"type": "tuple"
|
220
|
+
"internalType": "string",
|
221
|
+
"name": "adminName",
|
222
|
+
"type": "string"
|
281
223
|
}
|
282
224
|
],
|
283
|
-
"name": "
|
225
|
+
"name": "createRole",
|
284
226
|
"outputs": [
|
285
227
|
{
|
286
|
-
"internalType": "
|
287
|
-
"name": "
|
288
|
-
"type": "
|
228
|
+
"internalType": "RoleId",
|
229
|
+
"name": "roleId",
|
230
|
+
"type": "uint64"
|
289
231
|
},
|
290
232
|
{
|
291
|
-
"internalType": "
|
292
|
-
"name": "
|
293
|
-
"type": "
|
233
|
+
"internalType": "RoleId",
|
234
|
+
"name": "admin",
|
235
|
+
"type": "uint64"
|
294
236
|
}
|
295
237
|
],
|
296
|
-
"stateMutability": "
|
238
|
+
"stateMutability": "nonpayable",
|
297
239
|
"type": "function"
|
298
240
|
},
|
299
241
|
{
|
300
242
|
"inputs": [
|
301
243
|
{
|
302
|
-
"internalType": "
|
303
|
-
"name": "
|
304
|
-
"type": "
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"internalType": "NftId",
|
308
|
-
"name": "policyNftId",
|
309
|
-
"type": "uint96"
|
244
|
+
"internalType": "address",
|
245
|
+
"name": "target",
|
246
|
+
"type": "address"
|
310
247
|
},
|
311
248
|
{
|
312
|
-
"internalType": "
|
313
|
-
"name": "
|
314
|
-
"type": "
|
249
|
+
"internalType": "string",
|
250
|
+
"name": "name",
|
251
|
+
"type": "string"
|
315
252
|
}
|
316
253
|
],
|
317
|
-
"name": "
|
254
|
+
"name": "createTarget",
|
318
255
|
"outputs": [],
|
319
256
|
"stateMutability": "nonpayable",
|
320
257
|
"type": "function"
|
321
258
|
},
|
322
259
|
{
|
323
|
-
"inputs": [
|
324
|
-
|
325
|
-
|
326
|
-
"name": "productNftId",
|
327
|
-
"type": "uint96"
|
328
|
-
},
|
329
|
-
{
|
330
|
-
"internalType": "NftId",
|
331
|
-
"name": "policyNftId",
|
332
|
-
"type": "uint96"
|
333
|
-
},
|
334
|
-
{
|
335
|
-
"internalType": "uint256",
|
336
|
-
"name": "sumInsuredAmount",
|
337
|
-
"type": "uint256"
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"internalType": "uint256",
|
341
|
-
"name": "premiumAmount",
|
342
|
-
"type": "uint256"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"internalType": "uint256",
|
346
|
-
"name": "lifetime",
|
347
|
-
"type": "uint256"
|
348
|
-
},
|
260
|
+
"inputs": [],
|
261
|
+
"name": "getBundleManager",
|
262
|
+
"outputs": [
|
349
263
|
{
|
350
|
-
"internalType": "
|
351
|
-
"name": "
|
352
|
-
"type": "
|
264
|
+
"internalType": "contract BundleManager",
|
265
|
+
"name": "",
|
266
|
+
"type": "address"
|
353
267
|
}
|
354
268
|
],
|
355
|
-
"
|
356
|
-
"outputs": [],
|
357
|
-
"stateMutability": "nonpayable",
|
269
|
+
"stateMutability": "view",
|
358
270
|
"type": "function"
|
359
271
|
},
|
360
272
|
{
|
361
|
-
"inputs": [
|
362
|
-
|
363
|
-
"internalType": "NftId",
|
364
|
-
"name": "bundleNftId",
|
365
|
-
"type": "uint96"
|
366
|
-
},
|
367
|
-
{
|
368
|
-
"internalType": "NftId",
|
369
|
-
"name": "poolNftId",
|
370
|
-
"type": "uint96"
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"internalType": "uint256",
|
374
|
-
"name": "amount",
|
375
|
-
"type": "uint256"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
"internalType": "uint256",
|
379
|
-
"name": "lifetime",
|
380
|
-
"type": "uint256"
|
381
|
-
},
|
382
|
-
{
|
383
|
-
"internalType": "bytes",
|
384
|
-
"name": "filter",
|
385
|
-
"type": "bytes"
|
386
|
-
}
|
387
|
-
],
|
388
|
-
"name": "createBundleInfo",
|
389
|
-
"outputs": [],
|
390
|
-
"stateMutability": "nonpayable",
|
391
|
-
"type": "function"
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"inputs": [
|
395
|
-
{
|
396
|
-
"internalType": "string",
|
397
|
-
"name": "roleName",
|
398
|
-
"type": "string"
|
399
|
-
}
|
400
|
-
],
|
401
|
-
"name": "createRole",
|
273
|
+
"inputs": [],
|
274
|
+
"name": "getBundleService",
|
402
275
|
"outputs": [
|
403
276
|
{
|
404
|
-
"internalType": "
|
405
|
-
"name": "
|
406
|
-
"type": "
|
277
|
+
"internalType": "contract IBundleService",
|
278
|
+
"name": "",
|
279
|
+
"type": "address"
|
407
280
|
}
|
408
281
|
],
|
409
|
-
"stateMutability": "
|
282
|
+
"stateMutability": "view",
|
410
283
|
"type": "function"
|
411
284
|
},
|
412
285
|
{
|
413
|
-
"inputs": [
|
414
|
-
|
415
|
-
"internalType": "NftId",
|
416
|
-
"name": "poolNftId",
|
417
|
-
"type": "uint96"
|
418
|
-
}
|
419
|
-
],
|
420
|
-
"name": "getBundleCount",
|
286
|
+
"inputs": [],
|
287
|
+
"name": "getDistributionService",
|
421
288
|
"outputs": [
|
422
289
|
{
|
423
|
-
"internalType": "
|
424
|
-
"name": "
|
425
|
-
"type": "
|
290
|
+
"internalType": "contract IDistributionService",
|
291
|
+
"name": "",
|
292
|
+
"type": "address"
|
426
293
|
}
|
427
294
|
],
|
428
295
|
"stateMutability": "view",
|
429
296
|
"type": "function"
|
430
297
|
},
|
431
298
|
{
|
432
|
-
"inputs": [
|
433
|
-
|
434
|
-
"internalType": "NftId",
|
435
|
-
"name": "bundleNftId",
|
436
|
-
"type": "uint96"
|
437
|
-
}
|
438
|
-
],
|
439
|
-
"name": "getBundleInfo",
|
299
|
+
"inputs": [],
|
300
|
+
"name": "getInitialInfo",
|
440
301
|
"outputs": [
|
441
302
|
{
|
442
303
|
"components": [
|
@@ -447,57 +308,37 @@
|
|
447
308
|
},
|
448
309
|
{
|
449
310
|
"internalType": "NftId",
|
450
|
-
"name": "
|
311
|
+
"name": "parentNftId",
|
451
312
|
"type": "uint96"
|
452
313
|
},
|
453
314
|
{
|
454
|
-
"internalType": "
|
455
|
-
"name": "
|
315
|
+
"internalType": "ObjectType",
|
316
|
+
"name": "objectType",
|
456
317
|
"type": "uint8"
|
457
318
|
},
|
458
319
|
{
|
459
|
-
"internalType": "
|
460
|
-
"name": "
|
461
|
-
"type": "
|
462
|
-
},
|
463
|
-
{
|
464
|
-
"internalType": "uint256",
|
465
|
-
"name": "capitalAmount",
|
466
|
-
"type": "uint256"
|
467
|
-
},
|
468
|
-
{
|
469
|
-
"internalType": "uint256",
|
470
|
-
"name": "lockedAmount",
|
471
|
-
"type": "uint256"
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"internalType": "uint256",
|
475
|
-
"name": "balanceAmount",
|
476
|
-
"type": "uint256"
|
477
|
-
},
|
478
|
-
{
|
479
|
-
"internalType": "Timestamp",
|
480
|
-
"name": "createdAt",
|
481
|
-
"type": "uint40"
|
320
|
+
"internalType": "bool",
|
321
|
+
"name": "isInterceptor",
|
322
|
+
"type": "bool"
|
482
323
|
},
|
483
324
|
{
|
484
|
-
"internalType": "
|
485
|
-
"name": "
|
486
|
-
"type": "
|
325
|
+
"internalType": "address",
|
326
|
+
"name": "objectAddress",
|
327
|
+
"type": "address"
|
487
328
|
},
|
488
329
|
{
|
489
|
-
"internalType": "
|
490
|
-
"name": "
|
491
|
-
"type": "
|
330
|
+
"internalType": "address",
|
331
|
+
"name": "initialOwner",
|
332
|
+
"type": "address"
|
492
333
|
},
|
493
334
|
{
|
494
|
-
"internalType": "
|
495
|
-
"name": "
|
496
|
-
"type": "
|
335
|
+
"internalType": "bytes",
|
336
|
+
"name": "data",
|
337
|
+
"type": "bytes"
|
497
338
|
}
|
498
339
|
],
|
499
|
-
"internalType": "struct
|
500
|
-
"name": "
|
340
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
341
|
+
"name": "",
|
501
342
|
"type": "tuple"
|
502
343
|
}
|
503
344
|
],
|
@@ -505,24 +346,26 @@
|
|
505
346
|
"type": "function"
|
506
347
|
},
|
507
348
|
{
|
508
|
-
"inputs": [
|
509
|
-
|
510
|
-
|
511
|
-
"name": "poolNftId",
|
512
|
-
"type": "uint96"
|
513
|
-
},
|
349
|
+
"inputs": [],
|
350
|
+
"name": "getInstanceAccessManager",
|
351
|
+
"outputs": [
|
514
352
|
{
|
515
|
-
"internalType": "
|
516
|
-
"name": "
|
517
|
-
"type": "
|
353
|
+
"internalType": "contract InstanceAccessManager",
|
354
|
+
"name": "",
|
355
|
+
"type": "address"
|
518
356
|
}
|
519
357
|
],
|
520
|
-
"
|
358
|
+
"stateMutability": "view",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [],
|
363
|
+
"name": "getInstanceReader",
|
521
364
|
"outputs": [
|
522
365
|
{
|
523
|
-
"internalType": "
|
524
|
-
"name": "
|
525
|
-
"type": "
|
366
|
+
"internalType": "contract InstanceReader",
|
367
|
+
"name": "",
|
368
|
+
"type": "address"
|
526
369
|
}
|
527
370
|
],
|
528
371
|
"stateMutability": "view",
|
@@ -530,30 +373,37 @@
|
|
530
373
|
},
|
531
374
|
{
|
532
375
|
"inputs": [],
|
533
|
-
"name": "
|
376
|
+
"name": "getInstanceStore",
|
534
377
|
"outputs": [
|
535
378
|
{
|
536
|
-
"internalType": "
|
537
|
-
"name": "
|
538
|
-
"type": "
|
379
|
+
"internalType": "contract InstanceStore",
|
380
|
+
"name": "",
|
381
|
+
"type": "address"
|
539
382
|
}
|
540
383
|
],
|
541
384
|
"stateMutability": "view",
|
542
385
|
"type": "function"
|
543
386
|
},
|
544
387
|
{
|
545
|
-
"inputs": [
|
388
|
+
"inputs": [],
|
389
|
+
"name": "getMajorVersion",
|
390
|
+
"outputs": [
|
546
391
|
{
|
547
|
-
"internalType": "
|
548
|
-
"name": "
|
549
|
-
"type": "
|
392
|
+
"internalType": "VersionPart",
|
393
|
+
"name": "majorVersion",
|
394
|
+
"type": "uint8"
|
550
395
|
}
|
551
396
|
],
|
552
|
-
"
|
397
|
+
"stateMutability": "pure",
|
398
|
+
"type": "function"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"inputs": [],
|
402
|
+
"name": "getNftId",
|
553
403
|
"outputs": [
|
554
404
|
{
|
555
405
|
"internalType": "NftId",
|
556
|
-
"name": "
|
406
|
+
"name": "",
|
557
407
|
"type": "uint96"
|
558
408
|
}
|
559
409
|
],
|
@@ -561,36 +411,13 @@
|
|
561
411
|
"type": "function"
|
562
412
|
},
|
563
413
|
{
|
564
|
-
"inputs": [
|
565
|
-
|
566
|
-
"internalType": "NftId",
|
567
|
-
"name": "nftId",
|
568
|
-
"type": "uint96"
|
569
|
-
}
|
570
|
-
],
|
571
|
-
"name": "getComponentInfo",
|
414
|
+
"inputs": [],
|
415
|
+
"name": "getOwner",
|
572
416
|
"outputs": [
|
573
417
|
{
|
574
|
-
"
|
575
|
-
|
576
|
-
|
577
|
-
"name": "nftId",
|
578
|
-
"type": "uint96"
|
579
|
-
},
|
580
|
-
{
|
581
|
-
"internalType": "StateId",
|
582
|
-
"name": "state",
|
583
|
-
"type": "uint8"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"internalType": "contract IERC20Metadata",
|
587
|
-
"name": "token",
|
588
|
-
"type": "address"
|
589
|
-
}
|
590
|
-
],
|
591
|
-
"internalType": "struct IComponent.ComponentInfo",
|
592
|
-
"name": "info",
|
593
|
-
"type": "tuple"
|
418
|
+
"internalType": "address",
|
419
|
+
"name": "",
|
420
|
+
"type": "address"
|
594
421
|
}
|
595
422
|
],
|
596
423
|
"stateMutability": "view",
|
@@ -598,10 +425,10 @@
|
|
598
425
|
},
|
599
426
|
{
|
600
427
|
"inputs": [],
|
601
|
-
"name": "
|
428
|
+
"name": "getPolicyService",
|
602
429
|
"outputs": [
|
603
430
|
{
|
604
|
-
"internalType": "contract
|
431
|
+
"internalType": "contract IPolicyService",
|
605
432
|
"name": "",
|
606
433
|
"type": "address"
|
607
434
|
}
|
@@ -611,67 +438,69 @@
|
|
611
438
|
},
|
612
439
|
{
|
613
440
|
"inputs": [],
|
614
|
-
"name": "
|
441
|
+
"name": "getPoolService",
|
615
442
|
"outputs": [
|
616
443
|
{
|
617
|
-
"internalType": "
|
618
|
-
"name": "
|
619
|
-
"type": "
|
444
|
+
"internalType": "contract IPoolService",
|
445
|
+
"name": "",
|
446
|
+
"type": "address"
|
620
447
|
}
|
621
448
|
],
|
622
449
|
"stateMutability": "view",
|
623
450
|
"type": "function"
|
624
451
|
},
|
625
452
|
{
|
626
|
-
"inputs": [
|
627
|
-
|
628
|
-
|
629
|
-
"name": "fractionalFee",
|
630
|
-
"type": "uint256"
|
631
|
-
},
|
453
|
+
"inputs": [],
|
454
|
+
"name": "getProductService",
|
455
|
+
"outputs": [
|
632
456
|
{
|
633
|
-
"internalType": "
|
634
|
-
"name": "
|
635
|
-
"type": "
|
457
|
+
"internalType": "contract IProductService",
|
458
|
+
"name": "",
|
459
|
+
"type": "address"
|
636
460
|
}
|
637
461
|
],
|
638
|
-
"
|
462
|
+
"stateMutability": "view",
|
463
|
+
"type": "function"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"inputs": [],
|
467
|
+
"name": "getRegistry",
|
639
468
|
"outputs": [
|
640
469
|
{
|
641
|
-
"
|
642
|
-
|
643
|
-
|
644
|
-
"name": "fractionalFee",
|
645
|
-
"type": "uint256"
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"internalType": "uint256",
|
649
|
-
"name": "fixedFee",
|
650
|
-
"type": "uint256"
|
651
|
-
}
|
652
|
-
],
|
653
|
-
"internalType": "struct Fee",
|
654
|
-
"name": "fee",
|
655
|
-
"type": "tuple"
|
470
|
+
"internalType": "contract IRegistry",
|
471
|
+
"name": "",
|
472
|
+
"type": "address"
|
656
473
|
}
|
657
474
|
],
|
658
|
-
"stateMutability": "
|
475
|
+
"stateMutability": "view",
|
659
476
|
"type": "function"
|
660
477
|
},
|
661
478
|
{
|
662
479
|
"inputs": [
|
663
480
|
{
|
664
|
-
"internalType": "
|
665
|
-
"name": "
|
666
|
-
"type": "
|
481
|
+
"internalType": "RoleId",
|
482
|
+
"name": "roleId",
|
483
|
+
"type": "uint64"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"internalType": "address",
|
487
|
+
"name": "account",
|
488
|
+
"type": "address"
|
667
489
|
}
|
668
490
|
],
|
669
|
-
"name": "
|
491
|
+
"name": "grantRole",
|
492
|
+
"outputs": [],
|
493
|
+
"stateMutability": "nonpayable",
|
494
|
+
"type": "function"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"inputs": [],
|
498
|
+
"name": "isConsumingScheduledOp",
|
670
499
|
"outputs": [
|
671
500
|
{
|
672
|
-
"internalType": "
|
501
|
+
"internalType": "bytes4",
|
673
502
|
"name": "",
|
674
|
-
"type": "
|
503
|
+
"type": "bytes4"
|
675
504
|
}
|
676
505
|
],
|
677
506
|
"stateMutability": "view",
|
@@ -679,1313 +508,120 @@
|
|
679
508
|
},
|
680
509
|
{
|
681
510
|
"inputs": [],
|
682
|
-
"name": "
|
683
|
-
"outputs": [
|
511
|
+
"name": "linkToRegisteredNftId",
|
512
|
+
"outputs": [],
|
513
|
+
"stateMutability": "nonpayable",
|
514
|
+
"type": "function"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"inputs": [
|
684
518
|
{
|
685
|
-
"internalType": "
|
686
|
-
"name": "
|
687
|
-
"type": "
|
519
|
+
"internalType": "address",
|
520
|
+
"name": "to",
|
521
|
+
"type": "address"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"internalType": "uint256",
|
525
|
+
"name": "tokenId",
|
526
|
+
"type": "uint256"
|
688
527
|
}
|
689
528
|
],
|
690
|
-
"
|
529
|
+
"name": "nftMint",
|
530
|
+
"outputs": [],
|
531
|
+
"stateMutability": "nonpayable",
|
691
532
|
"type": "function"
|
692
533
|
},
|
693
534
|
{
|
694
|
-
"inputs": [
|
695
|
-
|
696
|
-
|
535
|
+
"inputs": [
|
536
|
+
{
|
537
|
+
"internalType": "address",
|
538
|
+
"name": "from",
|
539
|
+
"type": "address"
|
540
|
+
},
|
697
541
|
{
|
698
542
|
"internalType": "address",
|
699
|
-
"name": "
|
543
|
+
"name": "to",
|
700
544
|
"type": "address"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"internalType": "uint256",
|
548
|
+
"name": "tokenId",
|
549
|
+
"type": "uint256"
|
701
550
|
}
|
702
551
|
],
|
703
|
-
"
|
552
|
+
"name": "nftTransferFrom",
|
553
|
+
"outputs": [],
|
554
|
+
"stateMutability": "nonpayable",
|
704
555
|
"type": "function"
|
705
556
|
},
|
706
557
|
{
|
707
|
-
"inputs": [
|
708
|
-
"name": "getParentNftId",
|
709
|
-
"outputs": [
|
558
|
+
"inputs": [
|
710
559
|
{
|
711
|
-
"internalType": "
|
712
|
-
"name": "
|
713
|
-
"type": "
|
560
|
+
"internalType": "RoleId",
|
561
|
+
"name": "roleId",
|
562
|
+
"type": "uint64"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"internalType": "address",
|
566
|
+
"name": "account",
|
567
|
+
"type": "address"
|
714
568
|
}
|
715
569
|
],
|
716
|
-
"
|
570
|
+
"name": "revokeRole",
|
571
|
+
"outputs": [],
|
572
|
+
"stateMutability": "nonpayable",
|
717
573
|
"type": "function"
|
718
574
|
},
|
719
575
|
{
|
720
576
|
"inputs": [
|
721
577
|
{
|
722
|
-
"internalType": "
|
723
|
-
"name": "
|
724
|
-
"type": "
|
578
|
+
"internalType": "address",
|
579
|
+
"name": "",
|
580
|
+
"type": "address"
|
725
581
|
}
|
726
582
|
],
|
727
|
-
"name": "
|
728
|
-
"outputs": [
|
583
|
+
"name": "setAuthority",
|
584
|
+
"outputs": [],
|
585
|
+
"stateMutability": "nonpayable",
|
586
|
+
"type": "function"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"inputs": [
|
729
590
|
{
|
730
|
-
"
|
731
|
-
|
732
|
-
|
733
|
-
"name": "nftId",
|
734
|
-
"type": "uint96"
|
735
|
-
},
|
736
|
-
{
|
737
|
-
"internalType": "NftId",
|
738
|
-
"name": "productNftId",
|
739
|
-
"type": "uint96"
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"internalType": "NftId",
|
743
|
-
"name": "bundleNftId",
|
744
|
-
"type": "uint96"
|
745
|
-
},
|
746
|
-
{
|
747
|
-
"internalType": "address",
|
748
|
-
"name": "beneficiary",
|
749
|
-
"type": "address"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"internalType": "StateId",
|
753
|
-
"name": "state",
|
754
|
-
"type": "uint8"
|
755
|
-
},
|
756
|
-
{
|
757
|
-
"internalType": "uint256",
|
758
|
-
"name": "sumInsuredAmount",
|
759
|
-
"type": "uint256"
|
760
|
-
},
|
761
|
-
{
|
762
|
-
"internalType": "uint256",
|
763
|
-
"name": "premiumAmount",
|
764
|
-
"type": "uint256"
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"internalType": "uint256",
|
768
|
-
"name": "premiumPaidAmount",
|
769
|
-
"type": "uint256"
|
770
|
-
},
|
771
|
-
{
|
772
|
-
"internalType": "uint256",
|
773
|
-
"name": "lifetime",
|
774
|
-
"type": "uint256"
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"internalType": "bytes",
|
778
|
-
"name": "data",
|
779
|
-
"type": "bytes"
|
780
|
-
},
|
781
|
-
{
|
782
|
-
"internalType": "Timestamp",
|
783
|
-
"name": "createdAt",
|
784
|
-
"type": "uint40"
|
785
|
-
},
|
786
|
-
{
|
787
|
-
"internalType": "Timestamp",
|
788
|
-
"name": "activatedAt",
|
789
|
-
"type": "uint40"
|
790
|
-
},
|
791
|
-
{
|
792
|
-
"internalType": "Timestamp",
|
793
|
-
"name": "expiredAt",
|
794
|
-
"type": "uint40"
|
795
|
-
},
|
796
|
-
{
|
797
|
-
"internalType": "Timestamp",
|
798
|
-
"name": "closedAt",
|
799
|
-
"type": "uint40"
|
800
|
-
},
|
801
|
-
{
|
802
|
-
"internalType": "Blocknumber",
|
803
|
-
"name": "updatedIn",
|
804
|
-
"type": "uint32"
|
805
|
-
}
|
806
|
-
],
|
807
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
808
|
-
"name": "info",
|
809
|
-
"type": "tuple"
|
810
|
-
}
|
811
|
-
],
|
812
|
-
"stateMutability": "view",
|
813
|
-
"type": "function"
|
814
|
-
},
|
815
|
-
{
|
816
|
-
"inputs": [
|
817
|
-
{
|
818
|
-
"internalType": "NftId",
|
819
|
-
"name": "nftId",
|
820
|
-
"type": "uint96"
|
821
|
-
}
|
822
|
-
],
|
823
|
-
"name": "getPoolInfo",
|
824
|
-
"outputs": [
|
825
|
-
{
|
826
|
-
"components": [
|
827
|
-
{
|
828
|
-
"internalType": "NftId",
|
829
|
-
"name": "nftId",
|
830
|
-
"type": "uint96"
|
831
|
-
},
|
832
|
-
{
|
833
|
-
"internalType": "bool",
|
834
|
-
"name": "isVerifying",
|
835
|
-
"type": "bool"
|
836
|
-
},
|
837
|
-
{
|
838
|
-
"internalType": "UFixed",
|
839
|
-
"name": "collateralizationLevel",
|
840
|
-
"type": "uint256"
|
841
|
-
}
|
842
|
-
],
|
843
|
-
"internalType": "struct IPool.PoolInfo",
|
844
|
-
"name": "info",
|
845
|
-
"type": "tuple"
|
846
|
-
}
|
847
|
-
],
|
848
|
-
"stateMutability": "view",
|
849
|
-
"type": "function"
|
850
|
-
},
|
851
|
-
{
|
852
|
-
"inputs": [],
|
853
|
-
"name": "getPoolService",
|
854
|
-
"outputs": [
|
855
|
-
{
|
856
|
-
"internalType": "contract IPoolService",
|
857
|
-
"name": "",
|
858
|
-
"type": "address"
|
859
|
-
}
|
860
|
-
],
|
861
|
-
"stateMutability": "view",
|
862
|
-
"type": "function"
|
863
|
-
},
|
864
|
-
{
|
865
|
-
"inputs": [
|
866
|
-
{
|
867
|
-
"internalType": "NftId",
|
868
|
-
"name": "poolNftId",
|
869
|
-
"type": "uint96"
|
870
|
-
}
|
871
|
-
],
|
872
|
-
"name": "getPoolSetup",
|
873
|
-
"outputs": [
|
874
|
-
{
|
875
|
-
"components": [
|
876
|
-
{
|
877
|
-
"internalType": "NftId",
|
878
|
-
"name": "poolNftId",
|
879
|
-
"type": "uint96"
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"internalType": "address",
|
883
|
-
"name": "wallet",
|
884
|
-
"type": "address"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"components": [
|
888
|
-
{
|
889
|
-
"internalType": "UFixed",
|
890
|
-
"name": "fractionalFee",
|
891
|
-
"type": "uint256"
|
892
|
-
},
|
893
|
-
{
|
894
|
-
"internalType": "uint256",
|
895
|
-
"name": "fixedFee",
|
896
|
-
"type": "uint256"
|
897
|
-
}
|
898
|
-
],
|
899
|
-
"internalType": "struct Fee",
|
900
|
-
"name": "stakingFee",
|
901
|
-
"type": "tuple"
|
902
|
-
},
|
903
|
-
{
|
904
|
-
"components": [
|
905
|
-
{
|
906
|
-
"internalType": "UFixed",
|
907
|
-
"name": "fractionalFee",
|
908
|
-
"type": "uint256"
|
909
|
-
},
|
910
|
-
{
|
911
|
-
"internalType": "uint256",
|
912
|
-
"name": "fixedFee",
|
913
|
-
"type": "uint256"
|
914
|
-
}
|
915
|
-
],
|
916
|
-
"internalType": "struct Fee",
|
917
|
-
"name": "performanceFee",
|
918
|
-
"type": "tuple"
|
919
|
-
}
|
920
|
-
],
|
921
|
-
"internalType": "struct ITreasury.PoolSetup",
|
922
|
-
"name": "setup",
|
923
|
-
"type": "tuple"
|
924
|
-
}
|
925
|
-
],
|
926
|
-
"stateMutability": "view",
|
927
|
-
"type": "function"
|
928
|
-
},
|
929
|
-
{
|
930
|
-
"inputs": [],
|
931
|
-
"name": "getProductService",
|
932
|
-
"outputs": [
|
933
|
-
{
|
934
|
-
"internalType": "contract IProductService",
|
935
|
-
"name": "",
|
936
|
-
"type": "address"
|
937
|
-
}
|
938
|
-
],
|
939
|
-
"stateMutability": "view",
|
940
|
-
"type": "function"
|
941
|
-
},
|
942
|
-
{
|
943
|
-
"inputs": [
|
944
|
-
{
|
945
|
-
"internalType": "NftId",
|
946
|
-
"name": "productNftId",
|
947
|
-
"type": "uint96"
|
948
|
-
}
|
949
|
-
],
|
950
|
-
"name": "getProductSetup",
|
951
|
-
"outputs": [
|
952
|
-
{
|
953
|
-
"components": [
|
954
|
-
{
|
955
|
-
"internalType": "NftId",
|
956
|
-
"name": "productNftId",
|
957
|
-
"type": "uint96"
|
958
|
-
},
|
959
|
-
{
|
960
|
-
"internalType": "NftId",
|
961
|
-
"name": "distributorNftId",
|
962
|
-
"type": "uint96"
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"internalType": "NftId",
|
966
|
-
"name": "poolNftId",
|
967
|
-
"type": "uint96"
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"internalType": "contract IERC20Metadata",
|
971
|
-
"name": "token",
|
972
|
-
"type": "address"
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"internalType": "address",
|
976
|
-
"name": "wallet",
|
977
|
-
"type": "address"
|
978
|
-
},
|
979
|
-
{
|
980
|
-
"components": [
|
981
|
-
{
|
982
|
-
"internalType": "UFixed",
|
983
|
-
"name": "fractionalFee",
|
984
|
-
"type": "uint256"
|
985
|
-
},
|
986
|
-
{
|
987
|
-
"internalType": "uint256",
|
988
|
-
"name": "fixedFee",
|
989
|
-
"type": "uint256"
|
990
|
-
}
|
991
|
-
],
|
992
|
-
"internalType": "struct Fee",
|
993
|
-
"name": "policyFee",
|
994
|
-
"type": "tuple"
|
995
|
-
},
|
996
|
-
{
|
997
|
-
"components": [
|
998
|
-
{
|
999
|
-
"internalType": "UFixed",
|
1000
|
-
"name": "fractionalFee",
|
1001
|
-
"type": "uint256"
|
1002
|
-
},
|
1003
|
-
{
|
1004
|
-
"internalType": "uint256",
|
1005
|
-
"name": "fixedFee",
|
1006
|
-
"type": "uint256"
|
1007
|
-
}
|
1008
|
-
],
|
1009
|
-
"internalType": "struct Fee",
|
1010
|
-
"name": "processingFee",
|
1011
|
-
"type": "tuple"
|
1012
|
-
}
|
1013
|
-
],
|
1014
|
-
"internalType": "struct ITreasury.ProductSetup",
|
1015
|
-
"name": "setup",
|
1016
|
-
"type": "tuple"
|
1017
|
-
}
|
1018
|
-
],
|
1019
|
-
"stateMutability": "view",
|
1020
|
-
"type": "function"
|
1021
|
-
},
|
1022
|
-
{
|
1023
|
-
"inputs": [],
|
1024
|
-
"name": "getRegistry",
|
1025
|
-
"outputs": [
|
1026
|
-
{
|
1027
|
-
"internalType": "contract IRegistry",
|
1028
|
-
"name": "registry",
|
1029
|
-
"type": "address"
|
1030
|
-
}
|
1031
|
-
],
|
1032
|
-
"stateMutability": "view",
|
1033
|
-
"type": "function"
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"inputs": [
|
1037
|
-
{
|
1038
|
-
"internalType": "uint256",
|
1039
|
-
"name": "idx",
|
1040
|
-
"type": "uint256"
|
1041
|
-
}
|
1042
|
-
],
|
1043
|
-
"name": "getRole",
|
1044
|
-
"outputs": [
|
1045
|
-
{
|
1046
|
-
"internalType": "RoleId",
|
1047
|
-
"name": "role",
|
1048
|
-
"type": "bytes8"
|
1049
|
-
}
|
1050
|
-
],
|
1051
|
-
"stateMutability": "view",
|
1052
|
-
"type": "function"
|
1053
|
-
},
|
1054
|
-
{
|
1055
|
-
"inputs": [],
|
1056
|
-
"name": "getRoleCount",
|
1057
|
-
"outputs": [
|
1058
|
-
{
|
1059
|
-
"internalType": "uint256",
|
1060
|
-
"name": "roles",
|
1061
|
-
"type": "uint256"
|
1062
|
-
}
|
1063
|
-
],
|
1064
|
-
"stateMutability": "view",
|
1065
|
-
"type": "function"
|
1066
|
-
},
|
1067
|
-
{
|
1068
|
-
"inputs": [
|
1069
|
-
{
|
1070
|
-
"internalType": "string",
|
1071
|
-
"name": "roleName",
|
1072
|
-
"type": "string"
|
1073
|
-
}
|
1074
|
-
],
|
1075
|
-
"name": "getRoleId",
|
1076
|
-
"outputs": [
|
1077
|
-
{
|
1078
|
-
"internalType": "RoleId",
|
1079
|
-
"name": "role",
|
1080
|
-
"type": "bytes8"
|
1081
|
-
}
|
1082
|
-
],
|
1083
|
-
"stateMutability": "pure",
|
1084
|
-
"type": "function"
|
1085
|
-
},
|
1086
|
-
{
|
1087
|
-
"inputs": [
|
1088
|
-
{
|
1089
|
-
"internalType": "RoleId",
|
1090
|
-
"name": "role",
|
1091
|
-
"type": "bytes8"
|
1092
|
-
}
|
1093
|
-
],
|
1094
|
-
"name": "getRoleInfo",
|
1095
|
-
"outputs": [
|
1096
|
-
{
|
1097
|
-
"components": [
|
1098
|
-
{
|
1099
|
-
"internalType": "RoleId",
|
1100
|
-
"name": "id",
|
1101
|
-
"type": "bytes8"
|
1102
|
-
},
|
1103
|
-
{
|
1104
|
-
"internalType": "string",
|
1105
|
-
"name": "name",
|
1106
|
-
"type": "string"
|
1107
|
-
},
|
1108
|
-
{
|
1109
|
-
"internalType": "bool",
|
1110
|
-
"name": "isActive",
|
1111
|
-
"type": "bool"
|
1112
|
-
}
|
1113
|
-
],
|
1114
|
-
"internalType": "struct IAccess.RoleInfo",
|
1115
|
-
"name": "info",
|
1116
|
-
"type": "tuple"
|
1117
|
-
}
|
1118
|
-
],
|
1119
|
-
"stateMutability": "view",
|
1120
|
-
"type": "function"
|
1121
|
-
},
|
1122
|
-
{
|
1123
|
-
"inputs": [
|
1124
|
-
{
|
1125
|
-
"internalType": "RoleId",
|
1126
|
-
"name": "role",
|
1127
|
-
"type": "bytes8"
|
1128
|
-
},
|
1129
|
-
{
|
1130
|
-
"internalType": "uint256",
|
1131
|
-
"name": "idx",
|
1132
|
-
"type": "uint256"
|
1133
|
-
}
|
1134
|
-
],
|
1135
|
-
"name": "getRoleMember",
|
1136
|
-
"outputs": [
|
1137
|
-
{
|
1138
|
-
"internalType": "address",
|
1139
|
-
"name": "roleMember",
|
1140
|
-
"type": "address"
|
1141
|
-
}
|
1142
|
-
],
|
1143
|
-
"stateMutability": "view",
|
1144
|
-
"type": "function"
|
1145
|
-
},
|
1146
|
-
{
|
1147
|
-
"inputs": [
|
1148
|
-
{
|
1149
|
-
"internalType": "RoleId",
|
1150
|
-
"name": "role",
|
1151
|
-
"type": "bytes8"
|
1152
|
-
}
|
1153
|
-
],
|
1154
|
-
"name": "getRoleMemberCount",
|
1155
|
-
"outputs": [
|
1156
|
-
{
|
1157
|
-
"internalType": "uint256",
|
1158
|
-
"name": "roleMembers",
|
1159
|
-
"type": "uint256"
|
1160
|
-
}
|
1161
|
-
],
|
1162
|
-
"stateMutability": "view",
|
1163
|
-
"type": "function"
|
1164
|
-
},
|
1165
|
-
{
|
1166
|
-
"inputs": [
|
1167
|
-
{
|
1168
|
-
"internalType": "NftId",
|
1169
|
-
"name": "componentNftId",
|
1170
|
-
"type": "uint96"
|
1171
|
-
}
|
1172
|
-
],
|
1173
|
-
"name": "getTokenHandler",
|
1174
|
-
"outputs": [
|
1175
|
-
{
|
1176
|
-
"internalType": "contract TokenHandler",
|
1177
|
-
"name": "tokenHandler",
|
1178
|
-
"type": "address"
|
1179
|
-
}
|
1180
|
-
],
|
1181
|
-
"stateMutability": "view",
|
1182
|
-
"type": "function"
|
1183
|
-
},
|
1184
|
-
{
|
1185
|
-
"inputs": [],
|
1186
|
-
"name": "getType",
|
1187
|
-
"outputs": [
|
1188
|
-
{
|
1189
|
-
"internalType": "ObjectType",
|
1190
|
-
"name": "objectType",
|
1191
|
-
"type": "uint8"
|
1192
|
-
}
|
1193
|
-
],
|
1194
|
-
"stateMutability": "pure",
|
1195
|
-
"type": "function"
|
1196
|
-
},
|
1197
|
-
{
|
1198
|
-
"inputs": [
|
1199
|
-
{
|
1200
|
-
"internalType": "uint256",
|
1201
|
-
"name": "a",
|
1202
|
-
"type": "uint256"
|
1203
|
-
},
|
1204
|
-
{
|
1205
|
-
"internalType": "int8",
|
1206
|
-
"name": "exp",
|
1207
|
-
"type": "int8"
|
1208
|
-
}
|
1209
|
-
],
|
1210
|
-
"name": "getUFixed",
|
1211
|
-
"outputs": [
|
1212
|
-
{
|
1213
|
-
"internalType": "UFixed",
|
1214
|
-
"name": "",
|
1215
|
-
"type": "uint256"
|
1216
|
-
}
|
1217
|
-
],
|
1218
|
-
"stateMutability": "pure",
|
1219
|
-
"type": "function"
|
1220
|
-
},
|
1221
|
-
{
|
1222
|
-
"inputs": [
|
1223
|
-
{
|
1224
|
-
"internalType": "uint256",
|
1225
|
-
"name": "a",
|
1226
|
-
"type": "uint256"
|
1227
|
-
}
|
1228
|
-
],
|
1229
|
-
"name": "getUFixed",
|
1230
|
-
"outputs": [
|
1231
|
-
{
|
1232
|
-
"internalType": "UFixed",
|
1233
|
-
"name": "",
|
1234
|
-
"type": "uint256"
|
1235
|
-
}
|
1236
|
-
],
|
1237
|
-
"stateMutability": "pure",
|
1238
|
-
"type": "function"
|
1239
|
-
},
|
1240
|
-
{
|
1241
|
-
"inputs": [],
|
1242
|
-
"name": "getVersion",
|
1243
|
-
"outputs": [
|
1244
|
-
{
|
1245
|
-
"internalType": "Version",
|
1246
|
-
"name": "",
|
1247
|
-
"type": "uint24"
|
1248
|
-
}
|
1249
|
-
],
|
1250
|
-
"stateMutability": "pure",
|
1251
|
-
"type": "function"
|
1252
|
-
},
|
1253
|
-
{
|
1254
|
-
"inputs": [
|
1255
|
-
{
|
1256
|
-
"internalType": "uint256",
|
1257
|
-
"name": "index",
|
1258
|
-
"type": "uint256"
|
1259
|
-
}
|
1260
|
-
],
|
1261
|
-
"name": "getVersion",
|
1262
|
-
"outputs": [
|
1263
|
-
{
|
1264
|
-
"internalType": "Version",
|
1265
|
-
"name": "version",
|
1266
|
-
"type": "uint24"
|
1267
|
-
}
|
1268
|
-
],
|
1269
|
-
"stateMutability": "view",
|
1270
|
-
"type": "function"
|
1271
|
-
},
|
1272
|
-
{
|
1273
|
-
"inputs": [],
|
1274
|
-
"name": "getVersionCount",
|
1275
|
-
"outputs": [
|
1276
|
-
{
|
1277
|
-
"internalType": "uint256",
|
1278
|
-
"name": "numberOfVersions",
|
1279
|
-
"type": "uint256"
|
1280
|
-
}
|
1281
|
-
],
|
1282
|
-
"stateMutability": "view",
|
1283
|
-
"type": "function"
|
1284
|
-
},
|
1285
|
-
{
|
1286
|
-
"inputs": [
|
1287
|
-
{
|
1288
|
-
"internalType": "Version",
|
1289
|
-
"name": "version",
|
1290
|
-
"type": "uint24"
|
1291
|
-
}
|
1292
|
-
],
|
1293
|
-
"name": "getVersionInfo",
|
1294
|
-
"outputs": [
|
1295
|
-
{
|
1296
|
-
"components": [
|
1297
|
-
{
|
1298
|
-
"internalType": "Version",
|
1299
|
-
"name": "version",
|
1300
|
-
"type": "uint24"
|
1301
|
-
},
|
1302
|
-
{
|
1303
|
-
"internalType": "address",
|
1304
|
-
"name": "implementation",
|
1305
|
-
"type": "address"
|
1306
|
-
},
|
1307
|
-
{
|
1308
|
-
"internalType": "address",
|
1309
|
-
"name": "activatedBy",
|
1310
|
-
"type": "address"
|
1311
|
-
},
|
1312
|
-
{
|
1313
|
-
"internalType": "Timestamp",
|
1314
|
-
"name": "activatedAt",
|
1315
|
-
"type": "uint40"
|
1316
|
-
},
|
1317
|
-
{
|
1318
|
-
"internalType": "Blocknumber",
|
1319
|
-
"name": "activatedIn",
|
1320
|
-
"type": "uint32"
|
1321
|
-
}
|
1322
|
-
],
|
1323
|
-
"internalType": "struct IVersionable.VersionInfo",
|
1324
|
-
"name": "versionInfo",
|
1325
|
-
"type": "tuple"
|
1326
|
-
}
|
1327
|
-
],
|
1328
|
-
"stateMutability": "view",
|
1329
|
-
"type": "function"
|
1330
|
-
},
|
1331
|
-
{
|
1332
|
-
"inputs": [],
|
1333
|
-
"name": "getZeroFee",
|
1334
|
-
"outputs": [
|
1335
|
-
{
|
1336
|
-
"components": [
|
1337
|
-
{
|
1338
|
-
"internalType": "UFixed",
|
1339
|
-
"name": "fractionalFee",
|
1340
|
-
"type": "uint256"
|
1341
|
-
},
|
1342
|
-
{
|
1343
|
-
"internalType": "uint256",
|
1344
|
-
"name": "fixedFee",
|
1345
|
-
"type": "uint256"
|
1346
|
-
}
|
1347
|
-
],
|
1348
|
-
"internalType": "struct Fee",
|
1349
|
-
"name": "fee",
|
1350
|
-
"type": "tuple"
|
1351
|
-
}
|
1352
|
-
],
|
1353
|
-
"stateMutability": "pure",
|
1354
|
-
"type": "function"
|
1355
|
-
},
|
1356
|
-
{
|
1357
|
-
"inputs": [
|
1358
|
-
{
|
1359
|
-
"internalType": "RoleId",
|
1360
|
-
"name": "role",
|
1361
|
-
"type": "bytes8"
|
1362
|
-
},
|
1363
|
-
{
|
1364
|
-
"internalType": "address",
|
1365
|
-
"name": "member",
|
1366
|
-
"type": "address"
|
1367
|
-
}
|
1368
|
-
],
|
1369
|
-
"name": "grantRole",
|
1370
|
-
"outputs": [],
|
1371
|
-
"stateMutability": "nonpayable",
|
1372
|
-
"type": "function"
|
1373
|
-
},
|
1374
|
-
{
|
1375
|
-
"inputs": [
|
1376
|
-
{
|
1377
|
-
"internalType": "RoleId",
|
1378
|
-
"name": "role",
|
1379
|
-
"type": "bytes8"
|
1380
|
-
},
|
1381
|
-
{
|
1382
|
-
"internalType": "address",
|
1383
|
-
"name": "member",
|
1384
|
-
"type": "address"
|
1385
|
-
}
|
1386
|
-
],
|
1387
|
-
"name": "hasRole",
|
1388
|
-
"outputs": [
|
1389
|
-
{
|
1390
|
-
"internalType": "bool",
|
1391
|
-
"name": "hasRole",
|
1392
|
-
"type": "bool"
|
1393
|
-
}
|
1394
|
-
],
|
1395
|
-
"stateMutability": "view",
|
1396
|
-
"type": "function"
|
1397
|
-
},
|
1398
|
-
{
|
1399
|
-
"inputs": [
|
1400
|
-
{
|
1401
|
-
"internalType": "Version",
|
1402
|
-
"name": "version",
|
1403
|
-
"type": "uint24"
|
1404
|
-
}
|
1405
|
-
],
|
1406
|
-
"name": "isActivated",
|
1407
|
-
"outputs": [
|
1408
|
-
{
|
1409
|
-
"internalType": "bool",
|
1410
|
-
"name": "",
|
1411
|
-
"type": "bool"
|
1412
|
-
}
|
1413
|
-
],
|
1414
|
-
"stateMutability": "view",
|
1415
|
-
"type": "function"
|
1416
|
-
},
|
1417
|
-
{
|
1418
|
-
"inputs": [
|
1419
|
-
{
|
1420
|
-
"internalType": "ObjectType",
|
1421
|
-
"name": "objectType",
|
1422
|
-
"type": "uint8"
|
1423
|
-
},
|
1424
|
-
{
|
1425
|
-
"internalType": "StateId",
|
1426
|
-
"name": "fromId",
|
1427
|
-
"type": "uint8"
|
1428
|
-
},
|
1429
|
-
{
|
1430
|
-
"internalType": "StateId",
|
1431
|
-
"name": "toId",
|
1432
|
-
"type": "uint8"
|
1433
|
-
}
|
1434
|
-
],
|
1435
|
-
"name": "isValidTransition",
|
1436
|
-
"outputs": [
|
1437
|
-
{
|
1438
|
-
"internalType": "bool",
|
1439
|
-
"name": "",
|
1440
|
-
"type": "bool"
|
1441
|
-
}
|
1442
|
-
],
|
1443
|
-
"stateMutability": "view",
|
1444
|
-
"type": "function"
|
1445
|
-
},
|
1446
|
-
{
|
1447
|
-
"inputs": [],
|
1448
|
-
"name": "register",
|
1449
|
-
"outputs": [
|
1450
|
-
{
|
1451
|
-
"internalType": "NftId",
|
1452
|
-
"name": "nftId",
|
1453
|
-
"type": "uint96"
|
1454
|
-
}
|
1455
|
-
],
|
1456
|
-
"stateMutability": "nonpayable",
|
1457
|
-
"type": "function"
|
1458
|
-
},
|
1459
|
-
{
|
1460
|
-
"inputs": [
|
1461
|
-
{
|
1462
|
-
"internalType": "NftId",
|
1463
|
-
"name": "nftId",
|
1464
|
-
"type": "uint96"
|
1465
|
-
},
|
1466
|
-
{
|
1467
|
-
"internalType": "ObjectType",
|
1468
|
-
"name": "objectType",
|
1469
|
-
"type": "uint8"
|
1470
|
-
},
|
1471
|
-
{
|
1472
|
-
"internalType": "contract IERC20Metadata",
|
1473
|
-
"name": "token",
|
1474
|
-
"type": "address"
|
1475
|
-
}
|
1476
|
-
],
|
1477
|
-
"name": "registerComponent",
|
1478
|
-
"outputs": [],
|
1479
|
-
"stateMutability": "nonpayable",
|
1480
|
-
"type": "function"
|
1481
|
-
},
|
1482
|
-
{
|
1483
|
-
"inputs": [
|
1484
|
-
{
|
1485
|
-
"internalType": "NftId",
|
1486
|
-
"name": "poolNftId",
|
1487
|
-
"type": "uint96"
|
1488
|
-
},
|
1489
|
-
{
|
1490
|
-
"internalType": "address",
|
1491
|
-
"name": "wallet",
|
1492
|
-
"type": "address"
|
1493
|
-
},
|
1494
|
-
{
|
1495
|
-
"components": [
|
1496
|
-
{
|
1497
|
-
"internalType": "UFixed",
|
1498
|
-
"name": "fractionalFee",
|
1499
|
-
"type": "uint256"
|
1500
|
-
},
|
1501
|
-
{
|
1502
|
-
"internalType": "uint256",
|
1503
|
-
"name": "fixedFee",
|
1504
|
-
"type": "uint256"
|
1505
|
-
}
|
1506
|
-
],
|
1507
|
-
"internalType": "struct Fee",
|
1508
|
-
"name": "stakingFee",
|
1509
|
-
"type": "tuple"
|
1510
|
-
},
|
1511
|
-
{
|
1512
|
-
"components": [
|
1513
|
-
{
|
1514
|
-
"internalType": "UFixed",
|
1515
|
-
"name": "fractionalFee",
|
1516
|
-
"type": "uint256"
|
1517
|
-
},
|
1518
|
-
{
|
1519
|
-
"internalType": "uint256",
|
1520
|
-
"name": "fixedFee",
|
1521
|
-
"type": "uint256"
|
1522
|
-
}
|
1523
|
-
],
|
1524
|
-
"internalType": "struct Fee",
|
1525
|
-
"name": "performanceFee",
|
1526
|
-
"type": "tuple"
|
1527
|
-
}
|
1528
|
-
],
|
1529
|
-
"name": "registerPool",
|
1530
|
-
"outputs": [],
|
1531
|
-
"stateMutability": "nonpayable",
|
1532
|
-
"type": "function"
|
1533
|
-
},
|
1534
|
-
{
|
1535
|
-
"inputs": [
|
1536
|
-
{
|
1537
|
-
"internalType": "NftId",
|
1538
|
-
"name": "poolNftId",
|
1539
|
-
"type": "uint96"
|
1540
|
-
},
|
1541
|
-
{
|
1542
|
-
"internalType": "bool",
|
1543
|
-
"name": "isVerifying",
|
1544
|
-
"type": "bool"
|
1545
|
-
},
|
1546
|
-
{
|
1547
|
-
"internalType": "UFixed",
|
1548
|
-
"name": "collateralizationLevel",
|
1549
|
-
"type": "uint256"
|
1550
|
-
}
|
1551
|
-
],
|
1552
|
-
"name": "registerPool",
|
1553
|
-
"outputs": [],
|
1554
|
-
"stateMutability": "nonpayable",
|
1555
|
-
"type": "function"
|
1556
|
-
},
|
1557
|
-
{
|
1558
|
-
"inputs": [
|
1559
|
-
{
|
1560
|
-
"internalType": "NftId",
|
1561
|
-
"name": "productNftId",
|
1562
|
-
"type": "uint96"
|
1563
|
-
},
|
1564
|
-
{
|
1565
|
-
"internalType": "NftId",
|
1566
|
-
"name": "distributorNftId",
|
1567
|
-
"type": "uint96"
|
1568
|
-
},
|
1569
|
-
{
|
1570
|
-
"internalType": "NftId",
|
1571
|
-
"name": "poolNftId",
|
1572
|
-
"type": "uint96"
|
1573
|
-
},
|
1574
|
-
{
|
1575
|
-
"internalType": "contract IERC20Metadata",
|
1576
|
-
"name": "token",
|
1577
|
-
"type": "address"
|
1578
|
-
},
|
1579
|
-
{
|
1580
|
-
"internalType": "address",
|
1581
|
-
"name": "wallet",
|
1582
|
-
"type": "address"
|
591
|
+
"internalType": "string",
|
592
|
+
"name": "targetName",
|
593
|
+
"type": "string"
|
1583
594
|
},
|
1584
595
|
{
|
1585
|
-
"
|
1586
|
-
|
1587
|
-
|
1588
|
-
"name": "fractionalFee",
|
1589
|
-
"type": "uint256"
|
1590
|
-
},
|
1591
|
-
{
|
1592
|
-
"internalType": "uint256",
|
1593
|
-
"name": "fixedFee",
|
1594
|
-
"type": "uint256"
|
1595
|
-
}
|
1596
|
-
],
|
1597
|
-
"internalType": "struct Fee",
|
1598
|
-
"name": "policyFee",
|
1599
|
-
"type": "tuple"
|
596
|
+
"internalType": "bytes4[]",
|
597
|
+
"name": "selectors",
|
598
|
+
"type": "bytes4[]"
|
1600
599
|
},
|
1601
600
|
{
|
1602
|
-
"
|
1603
|
-
|
1604
|
-
|
1605
|
-
"name": "fractionalFee",
|
1606
|
-
"type": "uint256"
|
1607
|
-
},
|
1608
|
-
{
|
1609
|
-
"internalType": "uint256",
|
1610
|
-
"name": "fixedFee",
|
1611
|
-
"type": "uint256"
|
1612
|
-
}
|
1613
|
-
],
|
1614
|
-
"internalType": "struct Fee",
|
1615
|
-
"name": "processingFee",
|
1616
|
-
"type": "tuple"
|
601
|
+
"internalType": "RoleId",
|
602
|
+
"name": "roleId",
|
603
|
+
"type": "uint64"
|
1617
604
|
}
|
1618
605
|
],
|
1619
|
-
"name": "
|
606
|
+
"name": "setTargetFunctionRole",
|
1620
607
|
"outputs": [],
|
1621
608
|
"stateMutability": "nonpayable",
|
1622
609
|
"type": "function"
|
1623
610
|
},
|
1624
611
|
{
|
1625
612
|
"inputs": [
|
1626
|
-
{
|
1627
|
-
"internalType": "NftId",
|
1628
|
-
"name": "bundleNftId",
|
1629
|
-
"type": "uint96"
|
1630
|
-
},
|
1631
|
-
{
|
1632
|
-
"internalType": "NftId",
|
1633
|
-
"name": "policyNftId",
|
1634
|
-
"type": "uint96"
|
1635
|
-
}
|
1636
|
-
],
|
1637
|
-
"name": "releasePolicy",
|
1638
|
-
"outputs": [
|
1639
|
-
{
|
1640
|
-
"internalType": "uint256",
|
1641
|
-
"name": "collateralAmount",
|
1642
|
-
"type": "uint256"
|
1643
|
-
}
|
1644
|
-
],
|
1645
|
-
"stateMutability": "nonpayable",
|
1646
|
-
"type": "function"
|
1647
|
-
},
|
1648
|
-
{
|
1649
|
-
"inputs": [
|
1650
|
-
{
|
1651
|
-
"internalType": "RoleId",
|
1652
|
-
"name": "role",
|
1653
|
-
"type": "bytes8"
|
1654
|
-
},
|
1655
613
|
{
|
1656
614
|
"internalType": "address",
|
1657
|
-
"name": "
|
615
|
+
"name": "target",
|
1658
616
|
"type": "address"
|
1659
|
-
}
|
1660
|
-
],
|
1661
|
-
"name": "revokeRole",
|
1662
|
-
"outputs": [],
|
1663
|
-
"stateMutability": "nonpayable",
|
1664
|
-
"type": "function"
|
1665
|
-
},
|
1666
|
-
{
|
1667
|
-
"inputs": [
|
1668
|
-
{
|
1669
|
-
"internalType": "RoleId",
|
1670
|
-
"name": "role",
|
1671
|
-
"type": "bytes8"
|
1672
|
-
}
|
1673
|
-
],
|
1674
|
-
"name": "roleExists",
|
1675
|
-
"outputs": [
|
1676
|
-
{
|
1677
|
-
"internalType": "bool",
|
1678
|
-
"name": "",
|
1679
|
-
"type": "bool"
|
1680
|
-
}
|
1681
|
-
],
|
1682
|
-
"stateMutability": "view",
|
1683
|
-
"type": "function"
|
1684
|
-
},
|
1685
|
-
{
|
1686
|
-
"inputs": [
|
1687
|
-
{
|
1688
|
-
"components": [
|
1689
|
-
{
|
1690
|
-
"internalType": "NftId",
|
1691
|
-
"name": "nftId",
|
1692
|
-
"type": "uint96"
|
1693
|
-
},
|
1694
|
-
{
|
1695
|
-
"internalType": "NftId",
|
1696
|
-
"name": "poolNftId",
|
1697
|
-
"type": "uint96"
|
1698
|
-
},
|
1699
|
-
{
|
1700
|
-
"internalType": "StateId",
|
1701
|
-
"name": "state",
|
1702
|
-
"type": "uint8"
|
1703
|
-
},
|
1704
|
-
{
|
1705
|
-
"internalType": "bytes",
|
1706
|
-
"name": "filter",
|
1707
|
-
"type": "bytes"
|
1708
|
-
},
|
1709
|
-
{
|
1710
|
-
"internalType": "uint256",
|
1711
|
-
"name": "capitalAmount",
|
1712
|
-
"type": "uint256"
|
1713
|
-
},
|
1714
|
-
{
|
1715
|
-
"internalType": "uint256",
|
1716
|
-
"name": "lockedAmount",
|
1717
|
-
"type": "uint256"
|
1718
|
-
},
|
1719
|
-
{
|
1720
|
-
"internalType": "uint256",
|
1721
|
-
"name": "balanceAmount",
|
1722
|
-
"type": "uint256"
|
1723
|
-
},
|
1724
|
-
{
|
1725
|
-
"internalType": "Timestamp",
|
1726
|
-
"name": "createdAt",
|
1727
|
-
"type": "uint40"
|
1728
|
-
},
|
1729
|
-
{
|
1730
|
-
"internalType": "Timestamp",
|
1731
|
-
"name": "expiredAt",
|
1732
|
-
"type": "uint40"
|
1733
|
-
},
|
1734
|
-
{
|
1735
|
-
"internalType": "Timestamp",
|
1736
|
-
"name": "closedAt",
|
1737
|
-
"type": "uint40"
|
1738
|
-
},
|
1739
|
-
{
|
1740
|
-
"internalType": "Blocknumber",
|
1741
|
-
"name": "updatedIn",
|
1742
|
-
"type": "uint32"
|
1743
|
-
}
|
1744
|
-
],
|
1745
|
-
"internalType": "struct IBundle.BundleInfo",
|
1746
|
-
"name": "bundleInfo",
|
1747
|
-
"type": "tuple"
|
1748
|
-
}
|
1749
|
-
],
|
1750
|
-
"name": "setBundleInfo",
|
1751
|
-
"outputs": [],
|
1752
|
-
"stateMutability": "nonpayable",
|
1753
|
-
"type": "function"
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"inputs": [
|
1757
|
-
{
|
1758
|
-
"components": [
|
1759
|
-
{
|
1760
|
-
"internalType": "NftId",
|
1761
|
-
"name": "nftId",
|
1762
|
-
"type": "uint96"
|
1763
|
-
},
|
1764
|
-
{
|
1765
|
-
"internalType": "StateId",
|
1766
|
-
"name": "state",
|
1767
|
-
"type": "uint8"
|
1768
|
-
},
|
1769
|
-
{
|
1770
|
-
"internalType": "contract IERC20Metadata",
|
1771
|
-
"name": "token",
|
1772
|
-
"type": "address"
|
1773
|
-
}
|
1774
|
-
],
|
1775
|
-
"internalType": "struct IComponent.ComponentInfo",
|
1776
|
-
"name": "info",
|
1777
|
-
"type": "tuple"
|
1778
|
-
}
|
1779
|
-
],
|
1780
|
-
"name": "setComponentInfo",
|
1781
|
-
"outputs": [
|
1782
|
-
{
|
1783
|
-
"internalType": "NftId",
|
1784
|
-
"name": "componentNftId",
|
1785
|
-
"type": "uint96"
|
1786
|
-
}
|
1787
|
-
],
|
1788
|
-
"stateMutability": "nonpayable",
|
1789
|
-
"type": "function"
|
1790
|
-
},
|
1791
|
-
{
|
1792
|
-
"inputs": [
|
1793
|
-
{
|
1794
|
-
"components": [
|
1795
|
-
{
|
1796
|
-
"internalType": "NftId",
|
1797
|
-
"name": "nftId",
|
1798
|
-
"type": "uint96"
|
1799
|
-
},
|
1800
|
-
{
|
1801
|
-
"internalType": "NftId",
|
1802
|
-
"name": "productNftId",
|
1803
|
-
"type": "uint96"
|
1804
|
-
},
|
1805
|
-
{
|
1806
|
-
"internalType": "NftId",
|
1807
|
-
"name": "bundleNftId",
|
1808
|
-
"type": "uint96"
|
1809
|
-
},
|
1810
|
-
{
|
1811
|
-
"internalType": "address",
|
1812
|
-
"name": "beneficiary",
|
1813
|
-
"type": "address"
|
1814
|
-
},
|
1815
|
-
{
|
1816
|
-
"internalType": "StateId",
|
1817
|
-
"name": "state",
|
1818
|
-
"type": "uint8"
|
1819
|
-
},
|
1820
|
-
{
|
1821
|
-
"internalType": "uint256",
|
1822
|
-
"name": "sumInsuredAmount",
|
1823
|
-
"type": "uint256"
|
1824
|
-
},
|
1825
|
-
{
|
1826
|
-
"internalType": "uint256",
|
1827
|
-
"name": "premiumAmount",
|
1828
|
-
"type": "uint256"
|
1829
|
-
},
|
1830
|
-
{
|
1831
|
-
"internalType": "uint256",
|
1832
|
-
"name": "premiumPaidAmount",
|
1833
|
-
"type": "uint256"
|
1834
|
-
},
|
1835
|
-
{
|
1836
|
-
"internalType": "uint256",
|
1837
|
-
"name": "lifetime",
|
1838
|
-
"type": "uint256"
|
1839
|
-
},
|
1840
|
-
{
|
1841
|
-
"internalType": "bytes",
|
1842
|
-
"name": "data",
|
1843
|
-
"type": "bytes"
|
1844
|
-
},
|
1845
|
-
{
|
1846
|
-
"internalType": "Timestamp",
|
1847
|
-
"name": "createdAt",
|
1848
|
-
"type": "uint40"
|
1849
|
-
},
|
1850
|
-
{
|
1851
|
-
"internalType": "Timestamp",
|
1852
|
-
"name": "activatedAt",
|
1853
|
-
"type": "uint40"
|
1854
|
-
},
|
1855
|
-
{
|
1856
|
-
"internalType": "Timestamp",
|
1857
|
-
"name": "expiredAt",
|
1858
|
-
"type": "uint40"
|
1859
|
-
},
|
1860
|
-
{
|
1861
|
-
"internalType": "Timestamp",
|
1862
|
-
"name": "closedAt",
|
1863
|
-
"type": "uint40"
|
1864
|
-
},
|
1865
|
-
{
|
1866
|
-
"internalType": "Blocknumber",
|
1867
|
-
"name": "updatedIn",
|
1868
|
-
"type": "uint32"
|
1869
|
-
}
|
1870
|
-
],
|
1871
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
1872
|
-
"name": "policyInfo",
|
1873
|
-
"type": "tuple"
|
1874
|
-
}
|
1875
|
-
],
|
1876
|
-
"name": "setPolicyInfo",
|
1877
|
-
"outputs": [],
|
1878
|
-
"stateMutability": "nonpayable",
|
1879
|
-
"type": "function"
|
1880
|
-
},
|
1881
|
-
{
|
1882
|
-
"inputs": [
|
1883
|
-
{
|
1884
|
-
"internalType": "NftId",
|
1885
|
-
"name": "poolNftId",
|
1886
|
-
"type": "uint96"
|
1887
|
-
},
|
1888
|
-
{
|
1889
|
-
"components": [
|
1890
|
-
{
|
1891
|
-
"internalType": "UFixed",
|
1892
|
-
"name": "fractionalFee",
|
1893
|
-
"type": "uint256"
|
1894
|
-
},
|
1895
|
-
{
|
1896
|
-
"internalType": "uint256",
|
1897
|
-
"name": "fixedFee",
|
1898
|
-
"type": "uint256"
|
1899
|
-
}
|
1900
|
-
],
|
1901
|
-
"internalType": "struct Fee",
|
1902
|
-
"name": "stakingFee",
|
1903
|
-
"type": "tuple"
|
1904
|
-
},
|
1905
|
-
{
|
1906
|
-
"components": [
|
1907
|
-
{
|
1908
|
-
"internalType": "UFixed",
|
1909
|
-
"name": "fractionalFee",
|
1910
|
-
"type": "uint256"
|
1911
|
-
},
|
1912
|
-
{
|
1913
|
-
"internalType": "uint256",
|
1914
|
-
"name": "fixedFee",
|
1915
|
-
"type": "uint256"
|
1916
|
-
}
|
1917
|
-
],
|
1918
|
-
"internalType": "struct Fee",
|
1919
|
-
"name": "performanceFee",
|
1920
|
-
"type": "tuple"
|
1921
|
-
}
|
1922
|
-
],
|
1923
|
-
"name": "setPoolFees",
|
1924
|
-
"outputs": [],
|
1925
|
-
"stateMutability": "nonpayable",
|
1926
|
-
"type": "function"
|
1927
|
-
},
|
1928
|
-
{
|
1929
|
-
"inputs": [
|
1930
|
-
{
|
1931
|
-
"internalType": "NftId",
|
1932
|
-
"name": "productNftId",
|
1933
|
-
"type": "uint96"
|
1934
|
-
},
|
1935
|
-
{
|
1936
|
-
"components": [
|
1937
|
-
{
|
1938
|
-
"internalType": "UFixed",
|
1939
|
-
"name": "fractionalFee",
|
1940
|
-
"type": "uint256"
|
1941
|
-
},
|
1942
|
-
{
|
1943
|
-
"internalType": "uint256",
|
1944
|
-
"name": "fixedFee",
|
1945
|
-
"type": "uint256"
|
1946
|
-
}
|
1947
|
-
],
|
1948
|
-
"internalType": "struct Fee",
|
1949
|
-
"name": "policyFee",
|
1950
|
-
"type": "tuple"
|
1951
|
-
},
|
1952
|
-
{
|
1953
|
-
"components": [
|
1954
|
-
{
|
1955
|
-
"internalType": "UFixed",
|
1956
|
-
"name": "fractionalFee",
|
1957
|
-
"type": "uint256"
|
1958
|
-
},
|
1959
|
-
{
|
1960
|
-
"internalType": "uint256",
|
1961
|
-
"name": "fixedFee",
|
1962
|
-
"type": "uint256"
|
1963
|
-
}
|
1964
|
-
],
|
1965
|
-
"internalType": "struct Fee",
|
1966
|
-
"name": "processingFee",
|
1967
|
-
"type": "tuple"
|
1968
|
-
}
|
1969
|
-
],
|
1970
|
-
"name": "setProductFees",
|
1971
|
-
"outputs": [],
|
1972
|
-
"stateMutability": "nonpayable",
|
1973
|
-
"type": "function"
|
1974
|
-
},
|
1975
|
-
{
|
1976
|
-
"inputs": [
|
1977
|
-
{
|
1978
|
-
"internalType": "RoleId",
|
1979
|
-
"name": "role",
|
1980
|
-
"type": "bytes8"
|
1981
617
|
},
|
1982
618
|
{
|
1983
619
|
"internalType": "bool",
|
1984
|
-
"name": "
|
620
|
+
"name": "locked",
|
1985
621
|
"type": "bool"
|
1986
622
|
}
|
1987
623
|
],
|
1988
|
-
"name": "
|
624
|
+
"name": "setTargetLocked",
|
1989
625
|
"outputs": [],
|
1990
626
|
"stateMutability": "nonpayable",
|
1991
627
|
"type": "function"
|