@etherisc/gif-next 0.0.2-f824182-503 → 0.0.2-f831797-539
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +411 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +644 -35
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1301 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +271 -236
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +851 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +936 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +712 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1143 -133
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +950 -157
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +783 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1599 -798
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2341 -875
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1284 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -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/{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 +254 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module}/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 +968 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1724 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +801 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +428 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +816 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +653 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
- 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 +1177 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -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 +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +269 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +425 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -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 +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +521 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -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/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -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 +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
- 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 +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
- 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 +100 -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 +97 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/Component.sol +215 -51
- package/contracts/components/Distribution.sol +280 -0
- package/contracts/components/IComponent.sol +74 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +113 -0
- package/contracts/components/IProductComponent.sol +40 -0
- package/contracts/components/Pool.sol +277 -30
- package/contracts/components/Product.sol +252 -48
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +92 -24
- package/contracts/instance/IInstanceService.sol +60 -0
- package/contracts/instance/Instance.sol +274 -51
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +294 -0
- package/contracts/instance/InstanceService.sol +489 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +175 -0
- package/contracts/instance/base/Lifecycle.sol +109 -0
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +21 -0
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +72 -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 +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +336 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +450 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +62 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +98 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +35 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +403 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +163 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +129 -62
- package/contracts/registry/IRegistry.sol +73 -41
- package/contracts/registry/IRegistryService.sol +67 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +408 -126
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +283 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +27 -0
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +53 -0
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +74 -0
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +33 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +59 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +25 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +45 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +30 -1
- package/contracts/types/NftIdSet.sol +62 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +65 -15
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +95 -0
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +19 -4
- package/contracts/types/Timestamp.sol +31 -6
- package/contracts/types/UFixed.sol +151 -31
- package/contracts/types/Version.sol +108 -0
- package/package.json +14 -5
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- 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/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- 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/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/registry/IChainNft.sol +0 -21
@@ -6,10 +6,43 @@
|
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
|
-
"internalType": "
|
10
|
-
"name": "
|
11
|
-
"type": "
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
12
23
|
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
13
46
|
{
|
14
47
|
"internalType": "ObjectType",
|
15
48
|
"name": "objectType",
|
@@ -35,50 +68,81 @@
|
|
35
68
|
"internalType": "NftId",
|
36
69
|
"name": "nftId",
|
37
70
|
"type": "uint96"
|
38
|
-
}
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
39
78
|
{
|
40
|
-
"internalType": "
|
41
|
-
"name": "
|
42
|
-
"type": "
|
79
|
+
"internalType": "address",
|
80
|
+
"name": "contractAddress",
|
81
|
+
"type": "address"
|
43
82
|
}
|
44
83
|
],
|
45
|
-
"name": "
|
84
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"internalType": "address",
|
96
|
+
"name": "account",
|
97
|
+
"type": "address"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"name": "ErrorNftOwnableNotOwner",
|
46
101
|
"type": "error"
|
47
102
|
},
|
48
103
|
{
|
49
|
-
"anonymous": false,
|
50
104
|
"inputs": [
|
51
105
|
{
|
52
|
-
"indexed": false,
|
53
106
|
"internalType": "NftId",
|
54
107
|
"name": "nftId",
|
55
108
|
"type": "uint96"
|
56
109
|
},
|
57
110
|
{
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"name": "fromStateId",
|
111
|
+
"internalType": "ObjectType",
|
112
|
+
"name": "objectType",
|
61
113
|
"type": "uint8"
|
62
|
-
}
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"name": "ErrorNoLifecycle",
|
117
|
+
"type": "error"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [
|
63
121
|
{
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"type": "uint8"
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "registryAddress",
|
124
|
+
"type": "address"
|
68
125
|
}
|
69
126
|
],
|
70
|
-
"name": "
|
71
|
-
"type": "
|
127
|
+
"name": "ErrorNotRegistry",
|
128
|
+
"type": "error"
|
72
129
|
},
|
73
130
|
{
|
74
131
|
"anonymous": false,
|
75
132
|
"inputs": [
|
76
133
|
{
|
77
134
|
"indexed": false,
|
78
|
-
"internalType": "
|
79
|
-
"name": "
|
80
|
-
"type": "
|
81
|
-
}
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "authority",
|
137
|
+
"type": "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "AuthorityUpdated",
|
141
|
+
"type": "event"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"anonymous": false,
|
145
|
+
"inputs": [
|
82
146
|
{
|
83
147
|
"indexed": false,
|
84
148
|
"internalType": "ObjectType",
|
@@ -87,18 +151,30 @@
|
|
87
151
|
},
|
88
152
|
{
|
89
153
|
"indexed": false,
|
90
|
-
"internalType": "
|
91
|
-
"name": "
|
92
|
-
"type": "
|
154
|
+
"internalType": "KeyId",
|
155
|
+
"name": "keyId",
|
156
|
+
"type": "bytes31"
|
93
157
|
},
|
94
158
|
{
|
95
159
|
"indexed": false,
|
96
160
|
"internalType": "StateId",
|
97
|
-
"name": "
|
161
|
+
"name": "state",
|
98
162
|
"type": "uint8"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"indexed": false,
|
166
|
+
"internalType": "address",
|
167
|
+
"name": "createdBy",
|
168
|
+
"type": "address"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"indexed": false,
|
172
|
+
"internalType": "address",
|
173
|
+
"name": "txOrigin",
|
174
|
+
"type": "address"
|
99
175
|
}
|
100
176
|
],
|
101
|
-
"name": "
|
177
|
+
"name": "LogInfoCreated",
|
102
178
|
"type": "event"
|
103
179
|
},
|
104
180
|
{
|
@@ -106,24 +182,42 @@
|
|
106
182
|
"inputs": [
|
107
183
|
{
|
108
184
|
"indexed": false,
|
109
|
-
"internalType": "
|
110
|
-
"name": "
|
111
|
-
"type": "
|
185
|
+
"internalType": "ObjectType",
|
186
|
+
"name": "objectType",
|
187
|
+
"type": "uint8"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"indexed": false,
|
191
|
+
"internalType": "KeyId",
|
192
|
+
"name": "keyId",
|
193
|
+
"type": "bytes31"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"indexed": false,
|
197
|
+
"internalType": "StateId",
|
198
|
+
"name": "state",
|
199
|
+
"type": "uint8"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"indexed": false,
|
203
|
+
"internalType": "address",
|
204
|
+
"name": "updatedBy",
|
205
|
+
"type": "address"
|
112
206
|
},
|
113
207
|
{
|
114
208
|
"indexed": false,
|
115
209
|
"internalType": "address",
|
116
|
-
"name": "
|
210
|
+
"name": "txOrigin",
|
117
211
|
"type": "address"
|
118
212
|
},
|
119
213
|
{
|
120
214
|
"indexed": false,
|
121
|
-
"internalType": "
|
122
|
-
"name": "
|
123
|
-
"type": "
|
215
|
+
"internalType": "Blocknumber",
|
216
|
+
"name": "lastUpdatedIn",
|
217
|
+
"type": "uint32"
|
124
218
|
}
|
125
219
|
],
|
126
|
-
"name": "
|
220
|
+
"name": "LogInfoUpdated",
|
127
221
|
"type": "event"
|
128
222
|
},
|
129
223
|
{
|
@@ -131,60 +225,58 @@
|
|
131
225
|
"inputs": [
|
132
226
|
{
|
133
227
|
"indexed": false,
|
134
|
-
"internalType": "
|
135
|
-
"name": "
|
136
|
-
"type": "
|
228
|
+
"internalType": "ObjectType",
|
229
|
+
"name": "objectType",
|
230
|
+
"type": "uint8"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"indexed": false,
|
234
|
+
"internalType": "KeyId",
|
235
|
+
"name": "keyId",
|
236
|
+
"type": "bytes31"
|
137
237
|
},
|
138
238
|
{
|
139
239
|
"indexed": false,
|
140
240
|
"internalType": "StateId",
|
141
|
-
"name": "
|
241
|
+
"name": "stateOld",
|
142
242
|
"type": "uint8"
|
143
243
|
},
|
144
244
|
{
|
145
245
|
"indexed": false,
|
146
246
|
"internalType": "StateId",
|
147
|
-
"name": "
|
247
|
+
"name": "stateNew",
|
148
248
|
"type": "uint8"
|
149
|
-
}
|
150
|
-
],
|
151
|
-
"name": "LogPolicyStateChanged",
|
152
|
-
"type": "event"
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"inputs": [],
|
156
|
-
"name": "ORACLE_OWNER_ROLE",
|
157
|
-
"outputs": [
|
249
|
+
},
|
158
250
|
{
|
159
|
-
"
|
160
|
-
"
|
161
|
-
"
|
162
|
-
|
163
|
-
|
164
|
-
"stateMutability": "view",
|
165
|
-
"type": "function"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"inputs": [],
|
169
|
-
"name": "POOL_OWNER_ROLE",
|
170
|
-
"outputs": [
|
251
|
+
"indexed": false,
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "updatedBy",
|
254
|
+
"type": "address"
|
255
|
+
},
|
171
256
|
{
|
172
|
-
"
|
173
|
-
"
|
174
|
-
"
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "txOrigin",
|
260
|
+
"type": "address"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"indexed": false,
|
264
|
+
"internalType": "Blocknumber",
|
265
|
+
"name": "lastUpdatedIn",
|
266
|
+
"type": "uint32"
|
175
267
|
}
|
176
268
|
],
|
177
|
-
"
|
178
|
-
"type": "
|
269
|
+
"name": "LogStateUpdated",
|
270
|
+
"type": "event"
|
179
271
|
},
|
180
272
|
{
|
181
273
|
"inputs": [],
|
182
|
-
"name": "
|
274
|
+
"name": "authority",
|
183
275
|
"outputs": [
|
184
276
|
{
|
185
|
-
"internalType": "
|
186
|
-
"name": "
|
187
|
-
"type": "
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "",
|
279
|
+
"type": "address"
|
188
280
|
}
|
189
281
|
],
|
190
282
|
"stateMutability": "view",
|
@@ -194,81 +286,726 @@
|
|
194
286
|
"inputs": [
|
195
287
|
{
|
196
288
|
"internalType": "NftId",
|
197
|
-
"name": "
|
289
|
+
"name": "applicationNftId",
|
198
290
|
"type": "uint96"
|
199
|
-
}
|
200
|
-
],
|
201
|
-
"name": "activate",
|
202
|
-
"outputs": [],
|
203
|
-
"stateMutability": "nonpayable",
|
204
|
-
"type": "function"
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"inputs": [
|
208
|
-
{
|
209
|
-
"internalType": "uint256",
|
210
|
-
"name": "amount",
|
211
|
-
"type": "uint256"
|
212
291
|
},
|
213
292
|
{
|
214
293
|
"components": [
|
215
294
|
{
|
216
|
-
"internalType": "
|
217
|
-
"name": "
|
295
|
+
"internalType": "NftId",
|
296
|
+
"name": "productNftId",
|
297
|
+
"type": "uint96"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"internalType": "NftId",
|
301
|
+
"name": "bundleNftId",
|
302
|
+
"type": "uint96"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"internalType": "ReferralId",
|
306
|
+
"name": "referralId",
|
307
|
+
"type": "bytes8"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"internalType": "RiskId",
|
311
|
+
"name": "riskId",
|
312
|
+
"type": "bytes8"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"internalType": "uint256",
|
316
|
+
"name": "sumInsuredAmount",
|
317
|
+
"type": "uint256"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"internalType": "uint256",
|
321
|
+
"name": "premiumAmount",
|
322
|
+
"type": "uint256"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "uint256",
|
326
|
+
"name": "premiumPaidAmount",
|
218
327
|
"type": "uint256"
|
219
328
|
},
|
329
|
+
{
|
330
|
+
"internalType": "Seconds",
|
331
|
+
"name": "lifetime",
|
332
|
+
"type": "uint40"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"internalType": "bytes",
|
336
|
+
"name": "applicationData",
|
337
|
+
"type": "bytes"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"internalType": "bytes",
|
341
|
+
"name": "policyData",
|
342
|
+
"type": "bytes"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"internalType": "uint16",
|
346
|
+
"name": "claimsCount",
|
347
|
+
"type": "uint16"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"internalType": "uint16",
|
351
|
+
"name": "openClaimsCount",
|
352
|
+
"type": "uint16"
|
353
|
+
},
|
220
354
|
{
|
221
355
|
"internalType": "uint256",
|
222
|
-
"name": "
|
356
|
+
"name": "payoutAmount",
|
223
357
|
"type": "uint256"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"internalType": "Timestamp",
|
361
|
+
"name": "activatedAt",
|
362
|
+
"type": "uint40"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"internalType": "Timestamp",
|
366
|
+
"name": "expiredAt",
|
367
|
+
"type": "uint40"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"internalType": "Timestamp",
|
371
|
+
"name": "closedAt",
|
372
|
+
"type": "uint40"
|
224
373
|
}
|
225
374
|
],
|
226
|
-
"internalType": "struct
|
227
|
-
"name": "
|
375
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
376
|
+
"name": "policy",
|
228
377
|
"type": "tuple"
|
229
378
|
}
|
230
379
|
],
|
231
|
-
"name": "
|
232
|
-
"outputs": [
|
233
|
-
|
234
|
-
"internalType": "uint256",
|
235
|
-
"name": "feeAmount",
|
236
|
-
"type": "uint256"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"internalType": "uint256",
|
240
|
-
"name": "netAmount",
|
241
|
-
"type": "uint256"
|
242
|
-
}
|
243
|
-
],
|
244
|
-
"stateMutability": "pure",
|
245
|
-
"type": "function"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"inputs": [],
|
249
|
-
"name": "components",
|
250
|
-
"outputs": [
|
251
|
-
{
|
252
|
-
"internalType": "uint256",
|
253
|
-
"name": "numberOfCompnents",
|
254
|
-
"type": "uint256"
|
255
|
-
}
|
256
|
-
],
|
257
|
-
"stateMutability": "view",
|
380
|
+
"name": "createApplication",
|
381
|
+
"outputs": [],
|
382
|
+
"stateMutability": "nonpayable",
|
258
383
|
"type": "function"
|
259
384
|
},
|
260
385
|
{
|
261
386
|
"inputs": [
|
387
|
+
{
|
388
|
+
"internalType": "NftId",
|
389
|
+
"name": "bundleNftId",
|
390
|
+
"type": "uint96"
|
391
|
+
},
|
262
392
|
{
|
263
393
|
"components": [
|
264
394
|
{
|
265
395
|
"internalType": "NftId",
|
266
|
-
"name": "
|
267
|
-
"type": "uint96"
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"
|
271
|
-
|
396
|
+
"name": "poolNftId",
|
397
|
+
"type": "uint96"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"components": [
|
401
|
+
{
|
402
|
+
"internalType": "UFixed",
|
403
|
+
"name": "fractionalFee",
|
404
|
+
"type": "uint256"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"internalType": "uint256",
|
408
|
+
"name": "fixedFee",
|
409
|
+
"type": "uint256"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"internalType": "struct Fee",
|
413
|
+
"name": "fee",
|
414
|
+
"type": "tuple"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"internalType": "bytes",
|
418
|
+
"name": "filter",
|
419
|
+
"type": "bytes"
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"internalType": "uint256",
|
423
|
+
"name": "capitalAmount",
|
424
|
+
"type": "uint256"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "uint256",
|
428
|
+
"name": "lockedAmount",
|
429
|
+
"type": "uint256"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "uint256",
|
433
|
+
"name": "balanceAmount",
|
434
|
+
"type": "uint256"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "Seconds",
|
438
|
+
"name": "lifetime",
|
439
|
+
"type": "uint40"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "Timestamp",
|
443
|
+
"name": "expiredAt",
|
444
|
+
"type": "uint40"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "Timestamp",
|
448
|
+
"name": "closedAt",
|
449
|
+
"type": "uint40"
|
450
|
+
}
|
451
|
+
],
|
452
|
+
"internalType": "struct IBundle.BundleInfo",
|
453
|
+
"name": "bundle",
|
454
|
+
"type": "tuple"
|
455
|
+
}
|
456
|
+
],
|
457
|
+
"name": "createBundle",
|
458
|
+
"outputs": [],
|
459
|
+
"stateMutability": "nonpayable",
|
460
|
+
"type": "function"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"inputs": [
|
464
|
+
{
|
465
|
+
"internalType": "NftId",
|
466
|
+
"name": "distributionNftId",
|
467
|
+
"type": "uint96"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"components": [
|
471
|
+
{
|
472
|
+
"internalType": "NftId",
|
473
|
+
"name": "productNftId",
|
474
|
+
"type": "uint96"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"internalType": "contract TokenHandler",
|
478
|
+
"name": "tokenHandler",
|
479
|
+
"type": "address"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"components": [
|
483
|
+
{
|
484
|
+
"internalType": "UFixed",
|
485
|
+
"name": "fractionalFee",
|
486
|
+
"type": "uint256"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"internalType": "uint256",
|
490
|
+
"name": "fixedFee",
|
491
|
+
"type": "uint256"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"internalType": "struct Fee",
|
495
|
+
"name": "minDistributionOwnerFee",
|
496
|
+
"type": "tuple"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"components": [
|
500
|
+
{
|
501
|
+
"internalType": "UFixed",
|
502
|
+
"name": "fractionalFee",
|
503
|
+
"type": "uint256"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"internalType": "uint256",
|
507
|
+
"name": "fixedFee",
|
508
|
+
"type": "uint256"
|
509
|
+
}
|
510
|
+
],
|
511
|
+
"internalType": "struct Fee",
|
512
|
+
"name": "distributionFee",
|
513
|
+
"type": "tuple"
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"internalType": "address",
|
517
|
+
"name": "wallet",
|
518
|
+
"type": "address"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"internalType": "uint256",
|
522
|
+
"name": "sumDistributionOwnerFees",
|
523
|
+
"type": "uint256"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
527
|
+
"name": "setup",
|
528
|
+
"type": "tuple"
|
529
|
+
}
|
530
|
+
],
|
531
|
+
"name": "createDistributionSetup",
|
532
|
+
"outputs": [],
|
533
|
+
"stateMutability": "nonpayable",
|
534
|
+
"type": "function"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"inputs": [
|
538
|
+
{
|
539
|
+
"internalType": "NftId",
|
540
|
+
"name": "nftId",
|
541
|
+
"type": "uint96"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"components": [
|
545
|
+
{
|
546
|
+
"internalType": "DistributorType",
|
547
|
+
"name": "distributorType",
|
548
|
+
"type": "bytes8"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"internalType": "bool",
|
552
|
+
"name": "active",
|
553
|
+
"type": "bool"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"internalType": "bytes",
|
557
|
+
"name": "data",
|
558
|
+
"type": "bytes"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"internalType": "uint256",
|
562
|
+
"name": "sumCommisions",
|
563
|
+
"type": "uint256"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"internalType": "uint256",
|
567
|
+
"name": "numPoliciesSold",
|
568
|
+
"type": "uint256"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
572
|
+
"name": "info",
|
573
|
+
"type": "tuple"
|
574
|
+
}
|
575
|
+
],
|
576
|
+
"name": "createDistributor",
|
577
|
+
"outputs": [],
|
578
|
+
"stateMutability": "nonpayable",
|
579
|
+
"type": "function"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"inputs": [
|
583
|
+
{
|
584
|
+
"internalType": "Key32",
|
585
|
+
"name": "distributorKey",
|
586
|
+
"type": "bytes32"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"components": [
|
590
|
+
{
|
591
|
+
"internalType": "string",
|
592
|
+
"name": "name",
|
593
|
+
"type": "string"
|
594
|
+
},
|
595
|
+
{
|
596
|
+
"internalType": "UFixed",
|
597
|
+
"name": "minDiscountPercentage",
|
598
|
+
"type": "uint256"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"internalType": "UFixed",
|
602
|
+
"name": "maxDiscountPercentage",
|
603
|
+
"type": "uint256"
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"internalType": "UFixed",
|
607
|
+
"name": "commissionPercentage",
|
608
|
+
"type": "uint256"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"internalType": "uint32",
|
612
|
+
"name": "maxReferralCount",
|
613
|
+
"type": "uint32"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"internalType": "uint32",
|
617
|
+
"name": "maxReferralLifetime",
|
618
|
+
"type": "uint32"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"internalType": "bool",
|
622
|
+
"name": "allowSelfReferrals",
|
623
|
+
"type": "bool"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"internalType": "bool",
|
627
|
+
"name": "allowRenewals",
|
628
|
+
"type": "bool"
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"internalType": "bytes",
|
632
|
+
"name": "data",
|
633
|
+
"type": "bytes"
|
634
|
+
}
|
635
|
+
],
|
636
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
637
|
+
"name": "info",
|
638
|
+
"type": "tuple"
|
639
|
+
}
|
640
|
+
],
|
641
|
+
"name": "createDistributorType",
|
642
|
+
"outputs": [],
|
643
|
+
"stateMutability": "nonpayable",
|
644
|
+
"type": "function"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"inputs": [
|
648
|
+
{
|
649
|
+
"internalType": "NftId",
|
650
|
+
"name": "poolNftId",
|
651
|
+
"type": "uint96"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"components": [
|
655
|
+
{
|
656
|
+
"internalType": "string",
|
657
|
+
"name": "name",
|
658
|
+
"type": "string"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "contract IERC20Metadata",
|
662
|
+
"name": "token",
|
663
|
+
"type": "address"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"internalType": "contract TokenHandler",
|
667
|
+
"name": "tokenHandler",
|
668
|
+
"type": "address"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"internalType": "address",
|
672
|
+
"name": "wallet",
|
673
|
+
"type": "address"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"internalType": "bytes",
|
677
|
+
"name": "data",
|
678
|
+
"type": "bytes"
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"internalType": "struct IComponents.ComponentInfo",
|
682
|
+
"name": "info",
|
683
|
+
"type": "tuple"
|
684
|
+
}
|
685
|
+
],
|
686
|
+
"name": "createPoolSetup",
|
687
|
+
"outputs": [],
|
688
|
+
"stateMutability": "nonpayable",
|
689
|
+
"type": "function"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"inputs": [
|
693
|
+
{
|
694
|
+
"internalType": "NftId",
|
695
|
+
"name": "productNftId",
|
696
|
+
"type": "uint96"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"components": [
|
700
|
+
{
|
701
|
+
"internalType": "contract IERC20Metadata",
|
702
|
+
"name": "token",
|
703
|
+
"type": "address"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"internalType": "contract TokenHandler",
|
707
|
+
"name": "tokenHandler",
|
708
|
+
"type": "address"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"internalType": "NftId",
|
712
|
+
"name": "distributionNftId",
|
713
|
+
"type": "uint96"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"internalType": "NftId",
|
717
|
+
"name": "poolNftId",
|
718
|
+
"type": "uint96"
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"components": [
|
722
|
+
{
|
723
|
+
"internalType": "UFixed",
|
724
|
+
"name": "fractionalFee",
|
725
|
+
"type": "uint256"
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"internalType": "uint256",
|
729
|
+
"name": "fixedFee",
|
730
|
+
"type": "uint256"
|
731
|
+
}
|
732
|
+
],
|
733
|
+
"internalType": "struct Fee",
|
734
|
+
"name": "productFee",
|
735
|
+
"type": "tuple"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"components": [
|
739
|
+
{
|
740
|
+
"internalType": "UFixed",
|
741
|
+
"name": "fractionalFee",
|
742
|
+
"type": "uint256"
|
743
|
+
},
|
744
|
+
{
|
745
|
+
"internalType": "uint256",
|
746
|
+
"name": "fixedFee",
|
747
|
+
"type": "uint256"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"internalType": "struct Fee",
|
751
|
+
"name": "processingFee",
|
752
|
+
"type": "tuple"
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"internalType": "bool",
|
756
|
+
"name": "isIntercepting",
|
757
|
+
"type": "bool"
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"internalType": "address",
|
761
|
+
"name": "wallet",
|
762
|
+
"type": "address"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
766
|
+
"name": "setup",
|
767
|
+
"type": "tuple"
|
768
|
+
}
|
769
|
+
],
|
770
|
+
"name": "createProductSetup",
|
771
|
+
"outputs": [],
|
772
|
+
"stateMutability": "nonpayable",
|
773
|
+
"type": "function"
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"inputs": [
|
777
|
+
{
|
778
|
+
"internalType": "Key32",
|
779
|
+
"name": "referralKey",
|
780
|
+
"type": "bytes32"
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"components": [
|
784
|
+
{
|
785
|
+
"internalType": "NftId",
|
786
|
+
"name": "distributorNftId",
|
787
|
+
"type": "uint96"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"internalType": "string",
|
791
|
+
"name": "referralCode",
|
792
|
+
"type": "string"
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"internalType": "UFixed",
|
796
|
+
"name": "discountPercentage",
|
797
|
+
"type": "uint256"
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"internalType": "uint32",
|
801
|
+
"name": "maxReferrals",
|
802
|
+
"type": "uint32"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"internalType": "uint32",
|
806
|
+
"name": "usedReferrals",
|
807
|
+
"type": "uint32"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"internalType": "Timestamp",
|
811
|
+
"name": "expiryAt",
|
812
|
+
"type": "uint40"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"internalType": "bytes",
|
816
|
+
"name": "data",
|
817
|
+
"type": "bytes"
|
818
|
+
}
|
819
|
+
],
|
820
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
821
|
+
"name": "referralInfo",
|
822
|
+
"type": "tuple"
|
823
|
+
}
|
824
|
+
],
|
825
|
+
"name": "createReferral",
|
826
|
+
"outputs": [],
|
827
|
+
"stateMutability": "nonpayable",
|
828
|
+
"type": "function"
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"inputs": [
|
832
|
+
{
|
833
|
+
"internalType": "RiskId",
|
834
|
+
"name": "riskId",
|
835
|
+
"type": "bytes8"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"components": [
|
839
|
+
{
|
840
|
+
"internalType": "NftId",
|
841
|
+
"name": "productNftId",
|
842
|
+
"type": "uint96"
|
843
|
+
},
|
844
|
+
{
|
845
|
+
"internalType": "bytes",
|
846
|
+
"name": "data",
|
847
|
+
"type": "bytes"
|
848
|
+
}
|
849
|
+
],
|
850
|
+
"internalType": "struct IRisk.RiskInfo",
|
851
|
+
"name": "risk",
|
852
|
+
"type": "tuple"
|
853
|
+
}
|
854
|
+
],
|
855
|
+
"name": "createRisk",
|
856
|
+
"outputs": [],
|
857
|
+
"stateMutability": "nonpayable",
|
858
|
+
"type": "function"
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"inputs": [
|
862
|
+
{
|
863
|
+
"internalType": "Key32",
|
864
|
+
"name": "key",
|
865
|
+
"type": "bytes32"
|
866
|
+
}
|
867
|
+
],
|
868
|
+
"name": "exists",
|
869
|
+
"outputs": [
|
870
|
+
{
|
871
|
+
"internalType": "bool",
|
872
|
+
"name": "",
|
873
|
+
"type": "bool"
|
874
|
+
}
|
875
|
+
],
|
876
|
+
"stateMutability": "view",
|
877
|
+
"type": "function"
|
878
|
+
},
|
879
|
+
{
|
880
|
+
"inputs": [
|
881
|
+
{
|
882
|
+
"internalType": "Key32",
|
883
|
+
"name": "key",
|
884
|
+
"type": "bytes32"
|
885
|
+
}
|
886
|
+
],
|
887
|
+
"name": "get",
|
888
|
+
"outputs": [
|
889
|
+
{
|
890
|
+
"components": [
|
891
|
+
{
|
892
|
+
"components": [
|
893
|
+
{
|
894
|
+
"internalType": "ObjectType",
|
895
|
+
"name": "objectType",
|
896
|
+
"type": "uint8"
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"internalType": "StateId",
|
900
|
+
"name": "state",
|
901
|
+
"type": "uint8"
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"internalType": "address",
|
905
|
+
"name": "updatedBy",
|
906
|
+
"type": "address"
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"internalType": "Blocknumber",
|
910
|
+
"name": "updatedIn",
|
911
|
+
"type": "uint32"
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"internalType": "Blocknumber",
|
915
|
+
"name": "createdIn",
|
916
|
+
"type": "uint32"
|
917
|
+
}
|
918
|
+
],
|
919
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
920
|
+
"name": "metadata",
|
921
|
+
"type": "tuple"
|
922
|
+
},
|
923
|
+
{
|
924
|
+
"internalType": "bytes",
|
925
|
+
"name": "data",
|
926
|
+
"type": "bytes"
|
927
|
+
}
|
928
|
+
],
|
929
|
+
"internalType": "struct IKeyValueStore.Value",
|
930
|
+
"name": "value",
|
931
|
+
"type": "tuple"
|
932
|
+
}
|
933
|
+
],
|
934
|
+
"stateMutability": "view",
|
935
|
+
"type": "function"
|
936
|
+
},
|
937
|
+
{
|
938
|
+
"inputs": [],
|
939
|
+
"name": "getBundleManager",
|
940
|
+
"outputs": [
|
941
|
+
{
|
942
|
+
"internalType": "contract BundleManager",
|
943
|
+
"name": "",
|
944
|
+
"type": "address"
|
945
|
+
}
|
946
|
+
],
|
947
|
+
"stateMutability": "view",
|
948
|
+
"type": "function"
|
949
|
+
},
|
950
|
+
{
|
951
|
+
"inputs": [],
|
952
|
+
"name": "getBundleService",
|
953
|
+
"outputs": [
|
954
|
+
{
|
955
|
+
"internalType": "contract IBundleService",
|
956
|
+
"name": "",
|
957
|
+
"type": "address"
|
958
|
+
}
|
959
|
+
],
|
960
|
+
"stateMutability": "view",
|
961
|
+
"type": "function"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"inputs": [
|
965
|
+
{
|
966
|
+
"internalType": "Key32",
|
967
|
+
"name": "key",
|
968
|
+
"type": "bytes32"
|
969
|
+
}
|
970
|
+
],
|
971
|
+
"name": "getData",
|
972
|
+
"outputs": [
|
973
|
+
{
|
974
|
+
"internalType": "bytes",
|
975
|
+
"name": "data",
|
976
|
+
"type": "bytes"
|
977
|
+
}
|
978
|
+
],
|
979
|
+
"stateMutability": "view",
|
980
|
+
"type": "function"
|
981
|
+
},
|
982
|
+
{
|
983
|
+
"inputs": [],
|
984
|
+
"name": "getDistributionService",
|
985
|
+
"outputs": [
|
986
|
+
{
|
987
|
+
"internalType": "contract IDistributionService",
|
988
|
+
"name": "",
|
989
|
+
"type": "address"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"stateMutability": "view",
|
993
|
+
"type": "function"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"inputs": [],
|
997
|
+
"name": "getInitialInfo",
|
998
|
+
"outputs": [
|
999
|
+
{
|
1000
|
+
"components": [
|
1001
|
+
{
|
1002
|
+
"internalType": "NftId",
|
1003
|
+
"name": "nftId",
|
1004
|
+
"type": "uint96"
|
1005
|
+
},
|
1006
|
+
{
|
1007
|
+
"internalType": "NftId",
|
1008
|
+
"name": "parentNftId",
|
272
1009
|
"type": "uint96"
|
273
1010
|
},
|
274
1011
|
{
|
@@ -276,6 +1013,11 @@
|
|
276
1013
|
"name": "objectType",
|
277
1014
|
"type": "uint8"
|
278
1015
|
},
|
1016
|
+
{
|
1017
|
+
"internalType": "bool",
|
1018
|
+
"name": "isInterceptor",
|
1019
|
+
"type": "bool"
|
1020
|
+
},
|
279
1021
|
{
|
280
1022
|
"internalType": "address",
|
281
1023
|
"name": "objectAddress",
|
@@ -285,126 +1027,119 @@
|
|
285
1027
|
"internalType": "address",
|
286
1028
|
"name": "initialOwner",
|
287
1029
|
"type": "address"
|
1030
|
+
},
|
1031
|
+
{
|
1032
|
+
"internalType": "bytes",
|
1033
|
+
"name": "data",
|
1034
|
+
"type": "bytes"
|
288
1035
|
}
|
289
1036
|
],
|
290
|
-
"internalType": "struct IRegistry.
|
291
|
-
"name": "
|
1037
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
1038
|
+
"name": "",
|
292
1039
|
"type": "tuple"
|
293
|
-
},
|
294
|
-
{
|
295
|
-
"internalType": "address",
|
296
|
-
"name": "applicationOwner",
|
297
|
-
"type": "address"
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"internalType": "uint256",
|
301
|
-
"name": "sumInsuredAmount",
|
302
|
-
"type": "uint256"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"internalType": "uint256",
|
306
|
-
"name": "premiumAmount",
|
307
|
-
"type": "uint256"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"internalType": "uint256",
|
311
|
-
"name": "lifetime",
|
312
|
-
"type": "uint256"
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"internalType": "NftId",
|
316
|
-
"name": "bundleNftId",
|
317
|
-
"type": "uint96"
|
318
|
-
}
|
319
|
-
],
|
320
|
-
"name": "createApplication",
|
321
|
-
"outputs": [
|
322
|
-
{
|
323
|
-
"internalType": "NftId",
|
324
|
-
"name": "nftId",
|
325
|
-
"type": "uint96"
|
326
1040
|
}
|
327
1041
|
],
|
328
|
-
"stateMutability": "
|
1042
|
+
"stateMutability": "view",
|
329
1043
|
"type": "function"
|
330
1044
|
},
|
331
1045
|
{
|
332
1046
|
"inputs": [
|
333
1047
|
{
|
334
|
-
"internalType": "
|
335
|
-
"name": "
|
336
|
-
"type": "
|
1048
|
+
"internalType": "ObjectType",
|
1049
|
+
"name": "objectType",
|
1050
|
+
"type": "uint8"
|
337
1051
|
}
|
338
1052
|
],
|
339
|
-
"name": "
|
1053
|
+
"name": "getInitialState",
|
340
1054
|
"outputs": [
|
341
1055
|
{
|
342
|
-
"internalType": "
|
343
|
-
"name": "
|
344
|
-
"type": "
|
1056
|
+
"internalType": "StateId",
|
1057
|
+
"name": "",
|
1058
|
+
"type": "uint8"
|
345
1059
|
}
|
346
1060
|
],
|
347
|
-
"stateMutability": "
|
1061
|
+
"stateMutability": "view",
|
348
1062
|
"type": "function"
|
349
1063
|
},
|
350
1064
|
{
|
351
|
-
"inputs": [
|
1065
|
+
"inputs": [],
|
1066
|
+
"name": "getInstanceReader",
|
1067
|
+
"outputs": [
|
352
1068
|
{
|
353
|
-
"internalType": "
|
354
|
-
"name": "
|
355
|
-
"type": "
|
1069
|
+
"internalType": "contract InstanceReader",
|
1070
|
+
"name": "",
|
1071
|
+
"type": "address"
|
356
1072
|
}
|
357
1073
|
],
|
358
|
-
"
|
359
|
-
"outputs": [],
|
360
|
-
"stateMutability": "nonpayable",
|
1074
|
+
"stateMutability": "view",
|
361
1075
|
"type": "function"
|
362
1076
|
},
|
363
1077
|
{
|
364
|
-
"inputs": [
|
1078
|
+
"inputs": [],
|
1079
|
+
"name": "getMajorVersion",
|
1080
|
+
"outputs": [
|
365
1081
|
{
|
366
|
-
"internalType": "
|
367
|
-
"name": "
|
368
|
-
"type": "
|
1082
|
+
"internalType": "VersionPart",
|
1083
|
+
"name": "majorVersion",
|
1084
|
+
"type": "uint8"
|
369
1085
|
}
|
370
1086
|
],
|
371
|
-
"
|
372
|
-
"outputs": [],
|
373
|
-
"stateMutability": "nonpayable",
|
1087
|
+
"stateMutability": "pure",
|
374
1088
|
"type": "function"
|
375
1089
|
},
|
376
1090
|
{
|
377
1091
|
"inputs": [
|
378
1092
|
{
|
379
|
-
"internalType": "
|
380
|
-
"name": "
|
381
|
-
"type": "
|
1093
|
+
"internalType": "Key32",
|
1094
|
+
"name": "key",
|
1095
|
+
"type": "bytes32"
|
382
1096
|
}
|
383
1097
|
],
|
384
|
-
"name": "
|
1098
|
+
"name": "getMetadata",
|
385
1099
|
"outputs": [
|
386
1100
|
{
|
387
|
-
"
|
388
|
-
|
389
|
-
|
1101
|
+
"components": [
|
1102
|
+
{
|
1103
|
+
"internalType": "ObjectType",
|
1104
|
+
"name": "objectType",
|
1105
|
+
"type": "uint8"
|
1106
|
+
},
|
1107
|
+
{
|
1108
|
+
"internalType": "StateId",
|
1109
|
+
"name": "state",
|
1110
|
+
"type": "uint8"
|
1111
|
+
},
|
1112
|
+
{
|
1113
|
+
"internalType": "address",
|
1114
|
+
"name": "updatedBy",
|
1115
|
+
"type": "address"
|
1116
|
+
},
|
1117
|
+
{
|
1118
|
+
"internalType": "Blocknumber",
|
1119
|
+
"name": "updatedIn",
|
1120
|
+
"type": "uint32"
|
1121
|
+
},
|
1122
|
+
{
|
1123
|
+
"internalType": "Blocknumber",
|
1124
|
+
"name": "createdIn",
|
1125
|
+
"type": "uint32"
|
1126
|
+
}
|
1127
|
+
],
|
1128
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
1129
|
+
"name": "metadata",
|
1130
|
+
"type": "tuple"
|
390
1131
|
}
|
391
1132
|
],
|
392
1133
|
"stateMutability": "view",
|
393
1134
|
"type": "function"
|
394
1135
|
},
|
395
1136
|
{
|
396
|
-
"inputs": [
|
397
|
-
|
398
|
-
"internalType": "address",
|
399
|
-
"name": "componentAddress",
|
400
|
-
"type": "address"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"name": "getComponentId",
|
1137
|
+
"inputs": [],
|
1138
|
+
"name": "getNftId",
|
404
1139
|
"outputs": [
|
405
1140
|
{
|
406
1141
|
"internalType": "NftId",
|
407
|
-
"name": "
|
1142
|
+
"name": "",
|
408
1143
|
"type": "uint96"
|
409
1144
|
}
|
410
1145
|
],
|
@@ -412,55 +1147,39 @@
|
|
412
1147
|
"type": "function"
|
413
1148
|
},
|
414
1149
|
{
|
415
|
-
"inputs": [
|
416
|
-
|
417
|
-
"internalType": "uint256",
|
418
|
-
"name": "idx",
|
419
|
-
"type": "uint256"
|
420
|
-
}
|
421
|
-
],
|
422
|
-
"name": "getComponentId",
|
1150
|
+
"inputs": [],
|
1151
|
+
"name": "getOwner",
|
423
1152
|
"outputs": [
|
424
1153
|
{
|
425
|
-
"internalType": "
|
426
|
-
"name": "
|
427
|
-
"type": "
|
1154
|
+
"internalType": "address",
|
1155
|
+
"name": "",
|
1156
|
+
"type": "address"
|
428
1157
|
}
|
429
1158
|
],
|
430
1159
|
"stateMutability": "view",
|
431
1160
|
"type": "function"
|
432
1161
|
},
|
433
1162
|
{
|
434
|
-
"inputs": [
|
1163
|
+
"inputs": [],
|
1164
|
+
"name": "getPolicyService",
|
1165
|
+
"outputs": [
|
435
1166
|
{
|
436
|
-
"internalType": "
|
437
|
-
"name": "
|
438
|
-
"type": "
|
1167
|
+
"internalType": "contract IPolicyService",
|
1168
|
+
"name": "",
|
1169
|
+
"type": "address"
|
439
1170
|
}
|
440
1171
|
],
|
441
|
-
"
|
1172
|
+
"stateMutability": "view",
|
1173
|
+
"type": "function"
|
1174
|
+
},
|
1175
|
+
{
|
1176
|
+
"inputs": [],
|
1177
|
+
"name": "getPoolService",
|
442
1178
|
"outputs": [
|
443
1179
|
{
|
444
|
-
"
|
445
|
-
|
446
|
-
|
447
|
-
"name": "nftId",
|
448
|
-
"type": "uint96"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "StateId",
|
452
|
-
"name": "state",
|
453
|
-
"type": "uint8"
|
454
|
-
},
|
455
|
-
{
|
456
|
-
"internalType": "contract IERC20Metadata",
|
457
|
-
"name": "token",
|
458
|
-
"type": "address"
|
459
|
-
}
|
460
|
-
],
|
461
|
-
"internalType": "struct IComponent.ComponentInfo",
|
462
|
-
"name": "info",
|
463
|
-
"type": "tuple"
|
1180
|
+
"internalType": "contract IPoolService",
|
1181
|
+
"name": "",
|
1182
|
+
"type": "address"
|
464
1183
|
}
|
465
1184
|
],
|
466
1185
|
"stateMutability": "view",
|
@@ -468,10 +1187,10 @@
|
|
468
1187
|
},
|
469
1188
|
{
|
470
1189
|
"inputs": [],
|
471
|
-
"name": "
|
1190
|
+
"name": "getProductService",
|
472
1191
|
"outputs": [
|
473
1192
|
{
|
474
|
-
"internalType": "contract
|
1193
|
+
"internalType": "contract IProductService",
|
475
1194
|
"name": "",
|
476
1195
|
"type": "address"
|
477
1196
|
}
|
@@ -481,12 +1200,12 @@
|
|
481
1200
|
},
|
482
1201
|
{
|
483
1202
|
"inputs": [],
|
484
|
-
"name": "
|
1203
|
+
"name": "getRegistry",
|
485
1204
|
"outputs": [
|
486
1205
|
{
|
487
|
-
"internalType": "
|
488
|
-
"name": "
|
489
|
-
"type": "
|
1206
|
+
"internalType": "contract IRegistry",
|
1207
|
+
"name": "",
|
1208
|
+
"type": "address"
|
490
1209
|
}
|
491
1210
|
],
|
492
1211
|
"stateMutability": "view",
|
@@ -494,17 +1213,36 @@
|
|
494
1213
|
},
|
495
1214
|
{
|
496
1215
|
"inputs": [],
|
497
|
-
"name": "
|
1216
|
+
"name": "getRegistryAddress",
|
498
1217
|
"outputs": [
|
499
1218
|
{
|
500
1219
|
"internalType": "address",
|
501
|
-
"name": "
|
1220
|
+
"name": "",
|
502
1221
|
"type": "address"
|
503
1222
|
}
|
504
1223
|
],
|
505
1224
|
"stateMutability": "view",
|
506
1225
|
"type": "function"
|
507
1226
|
},
|
1227
|
+
{
|
1228
|
+
"inputs": [
|
1229
|
+
{
|
1230
|
+
"internalType": "Key32",
|
1231
|
+
"name": "key",
|
1232
|
+
"type": "bytes32"
|
1233
|
+
}
|
1234
|
+
],
|
1235
|
+
"name": "getState",
|
1236
|
+
"outputs": [
|
1237
|
+
{
|
1238
|
+
"internalType": "StateId",
|
1239
|
+
"name": "state",
|
1240
|
+
"type": "uint8"
|
1241
|
+
}
|
1242
|
+
],
|
1243
|
+
"stateMutability": "view",
|
1244
|
+
"type": "function"
|
1245
|
+
},
|
508
1246
|
{
|
509
1247
|
"inputs": [
|
510
1248
|
{
|
@@ -513,12 +1251,12 @@
|
|
513
1251
|
"type": "uint8"
|
514
1252
|
}
|
515
1253
|
],
|
516
|
-
"name": "
|
1254
|
+
"name": "hasLifecycle",
|
517
1255
|
"outputs": [
|
518
1256
|
{
|
519
|
-
"internalType": "
|
1257
|
+
"internalType": "bool",
|
520
1258
|
"name": "",
|
521
|
-
"type": "
|
1259
|
+
"type": "bool"
|
522
1260
|
}
|
523
1261
|
],
|
524
1262
|
"stateMutability": "view",
|
@@ -526,25 +1264,41 @@
|
|
526
1264
|
},
|
527
1265
|
{
|
528
1266
|
"inputs": [],
|
529
|
-
"name": "
|
1267
|
+
"name": "isConsumingScheduledOp",
|
530
1268
|
"outputs": [
|
531
1269
|
{
|
532
|
-
"internalType": "
|
533
|
-
"name": "
|
534
|
-
"type": "
|
1270
|
+
"internalType": "bytes4",
|
1271
|
+
"name": "",
|
1272
|
+
"type": "bytes4"
|
535
1273
|
}
|
536
1274
|
],
|
537
1275
|
"stateMutability": "view",
|
538
1276
|
"type": "function"
|
539
1277
|
},
|
540
1278
|
{
|
541
|
-
"inputs": [
|
542
|
-
|
1279
|
+
"inputs": [
|
1280
|
+
{
|
1281
|
+
"internalType": "ObjectType",
|
1282
|
+
"name": "objectType",
|
1283
|
+
"type": "uint8"
|
1284
|
+
},
|
1285
|
+
{
|
1286
|
+
"internalType": "StateId",
|
1287
|
+
"name": "fromId",
|
1288
|
+
"type": "uint8"
|
1289
|
+
},
|
1290
|
+
{
|
1291
|
+
"internalType": "StateId",
|
1292
|
+
"name": "toId",
|
1293
|
+
"type": "uint8"
|
1294
|
+
}
|
1295
|
+
],
|
1296
|
+
"name": "isValidTransition",
|
543
1297
|
"outputs": [
|
544
1298
|
{
|
545
|
-
"internalType": "
|
546
|
-
"name": "
|
547
|
-
"type": "
|
1299
|
+
"internalType": "bool",
|
1300
|
+
"name": "",
|
1301
|
+
"type": "bool"
|
548
1302
|
}
|
549
1303
|
],
|
550
1304
|
"stateMutability": "view",
|
@@ -552,38 +1306,95 @@
|
|
552
1306
|
},
|
553
1307
|
{
|
554
1308
|
"inputs": [],
|
555
|
-
"name": "
|
1309
|
+
"name": "linkToRegisteredNftId",
|
1310
|
+
"outputs": [],
|
1311
|
+
"stateMutability": "nonpayable",
|
1312
|
+
"type": "function"
|
1313
|
+
},
|
1314
|
+
{
|
1315
|
+
"inputs": [
|
1316
|
+
{
|
1317
|
+
"internalType": "address",
|
1318
|
+
"name": "",
|
1319
|
+
"type": "address"
|
1320
|
+
}
|
1321
|
+
],
|
1322
|
+
"name": "setAuthority",
|
1323
|
+
"outputs": [],
|
1324
|
+
"stateMutability": "nonpayable",
|
1325
|
+
"type": "function"
|
1326
|
+
},
|
1327
|
+
{
|
1328
|
+
"inputs": [
|
1329
|
+
{
|
1330
|
+
"internalType": "bytes4",
|
1331
|
+
"name": "interfaceId",
|
1332
|
+
"type": "bytes4"
|
1333
|
+
}
|
1334
|
+
],
|
1335
|
+
"name": "supportsInterface",
|
556
1336
|
"outputs": [
|
557
1337
|
{
|
558
|
-
"internalType": "
|
559
|
-
"name": "
|
560
|
-
"type": "
|
1338
|
+
"internalType": "bool",
|
1339
|
+
"name": "",
|
1340
|
+
"type": "bool"
|
1341
|
+
}
|
1342
|
+
],
|
1343
|
+
"stateMutability": "view",
|
1344
|
+
"type": "function"
|
1345
|
+
},
|
1346
|
+
{
|
1347
|
+
"inputs": [
|
1348
|
+
{
|
1349
|
+
"internalType": "ObjectType",
|
1350
|
+
"name": "objectType",
|
1351
|
+
"type": "uint8"
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
"internalType": "KeyId",
|
1355
|
+
"name": "id",
|
1356
|
+
"type": "bytes31"
|
1357
|
+
}
|
1358
|
+
],
|
1359
|
+
"name": "toKey32",
|
1360
|
+
"outputs": [
|
1361
|
+
{
|
1362
|
+
"internalType": "Key32",
|
1363
|
+
"name": "",
|
1364
|
+
"type": "bytes32"
|
561
1365
|
}
|
562
1366
|
],
|
563
|
-
"stateMutability": "
|
1367
|
+
"stateMutability": "pure",
|
564
1368
|
"type": "function"
|
565
1369
|
},
|
566
1370
|
{
|
567
1371
|
"inputs": [
|
568
1372
|
{
|
569
1373
|
"internalType": "NftId",
|
570
|
-
"name": "
|
1374
|
+
"name": "applicationNftId",
|
571
1375
|
"type": "uint96"
|
572
|
-
}
|
573
|
-
],
|
574
|
-
"name": "getPolicyInfo",
|
575
|
-
"outputs": [
|
1376
|
+
},
|
576
1377
|
{
|
577
1378
|
"components": [
|
578
1379
|
{
|
579
1380
|
"internalType": "NftId",
|
580
|
-
"name": "
|
1381
|
+
"name": "productNftId",
|
581
1382
|
"type": "uint96"
|
582
1383
|
},
|
583
1384
|
{
|
584
|
-
"internalType": "
|
585
|
-
"name": "
|
586
|
-
"type": "
|
1385
|
+
"internalType": "NftId",
|
1386
|
+
"name": "bundleNftId",
|
1387
|
+
"type": "uint96"
|
1388
|
+
},
|
1389
|
+
{
|
1390
|
+
"internalType": "ReferralId",
|
1391
|
+
"name": "referralId",
|
1392
|
+
"type": "bytes8"
|
1393
|
+
},
|
1394
|
+
{
|
1395
|
+
"internalType": "RiskId",
|
1396
|
+
"name": "riskId",
|
1397
|
+
"type": "bytes8"
|
587
1398
|
},
|
588
1399
|
{
|
589
1400
|
"internalType": "uint256",
|
@@ -601,90 +1412,91 @@
|
|
601
1412
|
"type": "uint256"
|
602
1413
|
},
|
603
1414
|
{
|
604
|
-
"internalType": "
|
1415
|
+
"internalType": "Seconds",
|
605
1416
|
"name": "lifetime",
|
606
|
-
"type": "
|
1417
|
+
"type": "uint40"
|
607
1418
|
},
|
608
1419
|
{
|
609
|
-
"internalType": "
|
610
|
-
"name": "
|
611
|
-
"type": "
|
1420
|
+
"internalType": "bytes",
|
1421
|
+
"name": "applicationData",
|
1422
|
+
"type": "bytes"
|
1423
|
+
},
|
1424
|
+
{
|
1425
|
+
"internalType": "bytes",
|
1426
|
+
"name": "policyData",
|
1427
|
+
"type": "bytes"
|
1428
|
+
},
|
1429
|
+
{
|
1430
|
+
"internalType": "uint16",
|
1431
|
+
"name": "claimsCount",
|
1432
|
+
"type": "uint16"
|
1433
|
+
},
|
1434
|
+
{
|
1435
|
+
"internalType": "uint16",
|
1436
|
+
"name": "openClaimsCount",
|
1437
|
+
"type": "uint16"
|
612
1438
|
},
|
613
1439
|
{
|
614
1440
|
"internalType": "uint256",
|
615
|
-
"name": "
|
1441
|
+
"name": "payoutAmount",
|
616
1442
|
"type": "uint256"
|
617
1443
|
},
|
618
1444
|
{
|
619
|
-
"internalType": "
|
1445
|
+
"internalType": "Timestamp",
|
620
1446
|
"name": "activatedAt",
|
621
|
-
"type": "
|
1447
|
+
"type": "uint40"
|
622
1448
|
},
|
623
1449
|
{
|
624
|
-
"internalType": "
|
1450
|
+
"internalType": "Timestamp",
|
625
1451
|
"name": "expiredAt",
|
626
|
-
"type": "
|
1452
|
+
"type": "uint40"
|
627
1453
|
},
|
628
1454
|
{
|
629
|
-
"internalType": "
|
1455
|
+
"internalType": "Timestamp",
|
630
1456
|
"name": "closedAt",
|
631
|
-
"type": "
|
1457
|
+
"type": "uint40"
|
632
1458
|
}
|
633
1459
|
],
|
634
1460
|
"internalType": "struct IPolicy.PolicyInfo",
|
635
|
-
"name": "
|
1461
|
+
"name": "policy",
|
636
1462
|
"type": "tuple"
|
1463
|
+
},
|
1464
|
+
{
|
1465
|
+
"internalType": "StateId",
|
1466
|
+
"name": "newState",
|
1467
|
+
"type": "uint8"
|
637
1468
|
}
|
638
1469
|
],
|
639
|
-
"
|
1470
|
+
"name": "updateApplication",
|
1471
|
+
"outputs": [],
|
1472
|
+
"stateMutability": "nonpayable",
|
640
1473
|
"type": "function"
|
641
1474
|
},
|
642
1475
|
{
|
643
1476
|
"inputs": [
|
644
1477
|
{
|
645
1478
|
"internalType": "NftId",
|
646
|
-
"name": "
|
1479
|
+
"name": "applicationNftId",
|
647
1480
|
"type": "uint96"
|
648
|
-
}
|
649
|
-
],
|
650
|
-
"name": "getPoolInfo",
|
651
|
-
"outputs": [
|
1481
|
+
},
|
652
1482
|
{
|
653
|
-
"
|
654
|
-
|
655
|
-
|
656
|
-
"name": "nftId",
|
657
|
-
"type": "uint96"
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"internalType": "uint256",
|
661
|
-
"name": "capital",
|
662
|
-
"type": "uint256"
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"internalType": "uint256",
|
666
|
-
"name": "lockedCapital",
|
667
|
-
"type": "uint256"
|
668
|
-
}
|
669
|
-
],
|
670
|
-
"internalType": "struct IPool.PoolInfo",
|
671
|
-
"name": "info",
|
672
|
-
"type": "tuple"
|
1483
|
+
"internalType": "StateId",
|
1484
|
+
"name": "newState",
|
1485
|
+
"type": "uint8"
|
673
1486
|
}
|
674
1487
|
],
|
675
|
-
"
|
1488
|
+
"name": "updateApplicationState",
|
1489
|
+
"outputs": [],
|
1490
|
+
"stateMutability": "nonpayable",
|
676
1491
|
"type": "function"
|
677
1492
|
},
|
678
1493
|
{
|
679
1494
|
"inputs": [
|
680
1495
|
{
|
681
1496
|
"internalType": "NftId",
|
682
|
-
"name": "
|
1497
|
+
"name": "bundleNftId",
|
683
1498
|
"type": "uint96"
|
684
|
-
}
|
685
|
-
],
|
686
|
-
"name": "getPoolSetup",
|
687
|
-
"outputs": [
|
1499
|
+
},
|
688
1500
|
{
|
689
1501
|
"components": [
|
690
1502
|
{
|
@@ -692,11 +1504,6 @@
|
|
692
1504
|
"name": "poolNftId",
|
693
1505
|
"type": "uint96"
|
694
1506
|
},
|
695
|
-
{
|
696
|
-
"internalType": "address",
|
697
|
-
"name": "wallet",
|
698
|
-
"type": "address"
|
699
|
-
},
|
700
1507
|
{
|
701
1508
|
"components": [
|
702
1509
|
{
|
@@ -711,58 +1518,85 @@
|
|
711
1518
|
}
|
712
1519
|
],
|
713
1520
|
"internalType": "struct Fee",
|
714
|
-
"name": "
|
1521
|
+
"name": "fee",
|
715
1522
|
"type": "tuple"
|
716
1523
|
},
|
717
1524
|
{
|
718
|
-
"
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
"
|
731
|
-
|
732
|
-
|
1525
|
+
"internalType": "bytes",
|
1526
|
+
"name": "filter",
|
1527
|
+
"type": "bytes"
|
1528
|
+
},
|
1529
|
+
{
|
1530
|
+
"internalType": "uint256",
|
1531
|
+
"name": "capitalAmount",
|
1532
|
+
"type": "uint256"
|
1533
|
+
},
|
1534
|
+
{
|
1535
|
+
"internalType": "uint256",
|
1536
|
+
"name": "lockedAmount",
|
1537
|
+
"type": "uint256"
|
1538
|
+
},
|
1539
|
+
{
|
1540
|
+
"internalType": "uint256",
|
1541
|
+
"name": "balanceAmount",
|
1542
|
+
"type": "uint256"
|
1543
|
+
},
|
1544
|
+
{
|
1545
|
+
"internalType": "Seconds",
|
1546
|
+
"name": "lifetime",
|
1547
|
+
"type": "uint40"
|
1548
|
+
},
|
1549
|
+
{
|
1550
|
+
"internalType": "Timestamp",
|
1551
|
+
"name": "expiredAt",
|
1552
|
+
"type": "uint40"
|
1553
|
+
},
|
1554
|
+
{
|
1555
|
+
"internalType": "Timestamp",
|
1556
|
+
"name": "closedAt",
|
1557
|
+
"type": "uint40"
|
733
1558
|
}
|
734
1559
|
],
|
735
|
-
"internalType": "struct
|
736
|
-
"name": "
|
1560
|
+
"internalType": "struct IBundle.BundleInfo",
|
1561
|
+
"name": "bundle",
|
737
1562
|
"type": "tuple"
|
1563
|
+
},
|
1564
|
+
{
|
1565
|
+
"internalType": "StateId",
|
1566
|
+
"name": "newState",
|
1567
|
+
"type": "uint8"
|
738
1568
|
}
|
739
1569
|
],
|
740
|
-
"
|
1570
|
+
"name": "updateBundle",
|
1571
|
+
"outputs": [],
|
1572
|
+
"stateMutability": "nonpayable",
|
741
1573
|
"type": "function"
|
742
1574
|
},
|
743
1575
|
{
|
744
|
-
"inputs": [
|
745
|
-
"name": "getProductService",
|
746
|
-
"outputs": [
|
1576
|
+
"inputs": [
|
747
1577
|
{
|
748
|
-
"internalType": "
|
749
|
-
"name": "",
|
750
|
-
"type": "
|
1578
|
+
"internalType": "NftId",
|
1579
|
+
"name": "bundleNftId",
|
1580
|
+
"type": "uint96"
|
1581
|
+
},
|
1582
|
+
{
|
1583
|
+
"internalType": "StateId",
|
1584
|
+
"name": "newState",
|
1585
|
+
"type": "uint8"
|
751
1586
|
}
|
752
1587
|
],
|
753
|
-
"
|
1588
|
+
"name": "updateBundleState",
|
1589
|
+
"outputs": [],
|
1590
|
+
"stateMutability": "nonpayable",
|
754
1591
|
"type": "function"
|
755
1592
|
},
|
756
1593
|
{
|
757
1594
|
"inputs": [
|
758
1595
|
{
|
759
1596
|
"internalType": "NftId",
|
760
|
-
"name": "
|
1597
|
+
"name": "distributionNftId",
|
761
1598
|
"type": "uint96"
|
762
|
-
}
|
763
|
-
],
|
764
|
-
"name": "getProductSetup",
|
765
|
-
"outputs": [
|
1599
|
+
},
|
766
1600
|
{
|
767
1601
|
"components": [
|
768
1602
|
{
|
@@ -770,31 +1604,11 @@
|
|
770
1604
|
"name": "productNftId",
|
771
1605
|
"type": "uint96"
|
772
1606
|
},
|
773
|
-
{
|
774
|
-
"internalType": "NftId",
|
775
|
-
"name": "distributorNftId",
|
776
|
-
"type": "uint96"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"internalType": "NftId",
|
780
|
-
"name": "poolNftId",
|
781
|
-
"type": "uint96"
|
782
|
-
},
|
783
|
-
{
|
784
|
-
"internalType": "contract IERC20",
|
785
|
-
"name": "token",
|
786
|
-
"type": "address"
|
787
|
-
},
|
788
1607
|
{
|
789
1608
|
"internalType": "contract TokenHandler",
|
790
1609
|
"name": "tokenHandler",
|
791
1610
|
"type": "address"
|
792
1611
|
},
|
793
|
-
{
|
794
|
-
"internalType": "address",
|
795
|
-
"name": "wallet",
|
796
|
-
"type": "address"
|
797
|
-
},
|
798
1612
|
{
|
799
1613
|
"components": [
|
800
1614
|
{
|
@@ -809,7 +1623,7 @@
|
|
809
1623
|
}
|
810
1624
|
],
|
811
1625
|
"internalType": "struct Fee",
|
812
|
-
"name": "
|
1626
|
+
"name": "minDistributionOwnerFee",
|
813
1627
|
"type": "tuple"
|
814
1628
|
},
|
815
1629
|
{
|
@@ -826,207 +1640,117 @@
|
|
826
1640
|
}
|
827
1641
|
],
|
828
1642
|
"internalType": "struct Fee",
|
829
|
-
"name": "
|
1643
|
+
"name": "distributionFee",
|
830
1644
|
"type": "tuple"
|
831
|
-
}
|
832
|
-
],
|
833
|
-
"internalType": "struct ITreasuryModule.ProductSetup",
|
834
|
-
"name": "setup",
|
835
|
-
"type": "tuple"
|
836
|
-
}
|
837
|
-
],
|
838
|
-
"stateMutability": "view",
|
839
|
-
"type": "function"
|
840
|
-
},
|
841
|
-
{
|
842
|
-
"inputs": [],
|
843
|
-
"name": "getRegistry",
|
844
|
-
"outputs": [
|
845
|
-
{
|
846
|
-
"internalType": "contract IRegistry",
|
847
|
-
"name": "registry",
|
848
|
-
"type": "address"
|
849
|
-
}
|
850
|
-
],
|
851
|
-
"stateMutability": "view",
|
852
|
-
"type": "function"
|
853
|
-
},
|
854
|
-
{
|
855
|
-
"inputs": [
|
856
|
-
{
|
857
|
-
"internalType": "uint256",
|
858
|
-
"name": "idx",
|
859
|
-
"type": "uint256"
|
860
|
-
}
|
861
|
-
],
|
862
|
-
"name": "getRole",
|
863
|
-
"outputs": [
|
864
|
-
{
|
865
|
-
"internalType": "bytes32",
|
866
|
-
"name": "role",
|
867
|
-
"type": "bytes32"
|
868
|
-
}
|
869
|
-
],
|
870
|
-
"stateMutability": "view",
|
871
|
-
"type": "function"
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"inputs": [],
|
875
|
-
"name": "getRoleCount",
|
876
|
-
"outputs": [
|
877
|
-
{
|
878
|
-
"internalType": "uint256",
|
879
|
-
"name": "roles",
|
880
|
-
"type": "uint256"
|
881
|
-
}
|
882
|
-
],
|
883
|
-
"stateMutability": "view",
|
884
|
-
"type": "function"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"inputs": [
|
888
|
-
{
|
889
|
-
"internalType": "string",
|
890
|
-
"name": "roleName",
|
891
|
-
"type": "string"
|
892
|
-
}
|
893
|
-
],
|
894
|
-
"name": "getRoleForName",
|
895
|
-
"outputs": [
|
896
|
-
{
|
897
|
-
"internalType": "bytes32",
|
898
|
-
"name": "role",
|
899
|
-
"type": "bytes32"
|
900
|
-
}
|
901
|
-
],
|
902
|
-
"stateMutability": "pure",
|
903
|
-
"type": "function"
|
904
|
-
},
|
905
|
-
{
|
906
|
-
"inputs": [
|
907
|
-
{
|
908
|
-
"internalType": "bytes32",
|
909
|
-
"name": "role",
|
910
|
-
"type": "bytes32"
|
911
|
-
}
|
912
|
-
],
|
913
|
-
"name": "getRoleInfo",
|
914
|
-
"outputs": [
|
915
|
-
{
|
916
|
-
"components": [
|
917
|
-
{
|
918
|
-
"internalType": "bytes32",
|
919
|
-
"name": "id",
|
920
|
-
"type": "bytes32"
|
921
1645
|
},
|
922
1646
|
{
|
923
|
-
"internalType": "
|
924
|
-
"name": "
|
925
|
-
"type": "
|
1647
|
+
"internalType": "address",
|
1648
|
+
"name": "wallet",
|
1649
|
+
"type": "address"
|
926
1650
|
},
|
927
1651
|
{
|
928
|
-
"internalType": "
|
929
|
-
"name": "
|
930
|
-
"type": "
|
1652
|
+
"internalType": "uint256",
|
1653
|
+
"name": "sumDistributionOwnerFees",
|
1654
|
+
"type": "uint256"
|
931
1655
|
}
|
932
|
-
],
|
933
|
-
"internalType": "struct
|
934
|
-
"name": "
|
935
|
-
"type": "tuple"
|
936
|
-
}
|
937
|
-
],
|
938
|
-
"stateMutability": "view",
|
939
|
-
"type": "function"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
"inputs": [
|
943
|
-
{
|
944
|
-
"internalType": "bytes32",
|
945
|
-
"name": "role",
|
946
|
-
"type": "bytes32"
|
1656
|
+
],
|
1657
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
1658
|
+
"name": "setup",
|
1659
|
+
"type": "tuple"
|
947
1660
|
},
|
948
1661
|
{
|
949
|
-
"internalType": "
|
950
|
-
"name": "
|
951
|
-
"type": "
|
952
|
-
}
|
953
|
-
],
|
954
|
-
"name": "getRoleMember",
|
955
|
-
"outputs": [
|
956
|
-
{
|
957
|
-
"internalType": "address",
|
958
|
-
"name": "roleMembers",
|
959
|
-
"type": "address"
|
1662
|
+
"internalType": "StateId",
|
1663
|
+
"name": "newState",
|
1664
|
+
"type": "uint8"
|
960
1665
|
}
|
961
1666
|
],
|
962
|
-
"
|
1667
|
+
"name": "updateDistributionSetup",
|
1668
|
+
"outputs": [],
|
1669
|
+
"stateMutability": "nonpayable",
|
963
1670
|
"type": "function"
|
964
1671
|
},
|
965
1672
|
{
|
966
1673
|
"inputs": [
|
967
1674
|
{
|
968
|
-
"internalType": "
|
969
|
-
"name": "
|
970
|
-
"type": "
|
971
|
-
}
|
972
|
-
],
|
973
|
-
"name": "getRoleMemberCount",
|
974
|
-
"outputs": [
|
1675
|
+
"internalType": "NftId",
|
1676
|
+
"name": "distributionNftId",
|
1677
|
+
"type": "uint96"
|
1678
|
+
},
|
975
1679
|
{
|
976
|
-
"internalType": "
|
977
|
-
"name": "
|
978
|
-
"type": "
|
1680
|
+
"internalType": "StateId",
|
1681
|
+
"name": "newState",
|
1682
|
+
"type": "uint8"
|
979
1683
|
}
|
980
1684
|
],
|
981
|
-
"
|
1685
|
+
"name": "updateDistributionSetupState",
|
1686
|
+
"outputs": [],
|
1687
|
+
"stateMutability": "nonpayable",
|
982
1688
|
"type": "function"
|
983
1689
|
},
|
984
1690
|
{
|
985
1691
|
"inputs": [
|
986
1692
|
{
|
987
1693
|
"internalType": "NftId",
|
988
|
-
"name": "
|
1694
|
+
"name": "nftId",
|
989
1695
|
"type": "uint96"
|
990
|
-
}
|
991
|
-
],
|
992
|
-
"name": "getTokenHandler",
|
993
|
-
"outputs": [
|
1696
|
+
},
|
994
1697
|
{
|
995
|
-
"
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1698
|
+
"components": [
|
1699
|
+
{
|
1700
|
+
"internalType": "DistributorType",
|
1701
|
+
"name": "distributorType",
|
1702
|
+
"type": "bytes8"
|
1703
|
+
},
|
1704
|
+
{
|
1705
|
+
"internalType": "bool",
|
1706
|
+
"name": "active",
|
1707
|
+
"type": "bool"
|
1708
|
+
},
|
1709
|
+
{
|
1710
|
+
"internalType": "bytes",
|
1711
|
+
"name": "data",
|
1712
|
+
"type": "bytes"
|
1713
|
+
},
|
1714
|
+
{
|
1715
|
+
"internalType": "uint256",
|
1716
|
+
"name": "sumCommisions",
|
1717
|
+
"type": "uint256"
|
1718
|
+
},
|
1719
|
+
{
|
1720
|
+
"internalType": "uint256",
|
1721
|
+
"name": "numPoliciesSold",
|
1722
|
+
"type": "uint256"
|
1723
|
+
}
|
1724
|
+
],
|
1725
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
1726
|
+
"name": "info",
|
1727
|
+
"type": "tuple"
|
1728
|
+
},
|
1007
1729
|
{
|
1008
|
-
"internalType": "
|
1009
|
-
"name": "
|
1730
|
+
"internalType": "StateId",
|
1731
|
+
"name": "newState",
|
1010
1732
|
"type": "uint8"
|
1011
1733
|
}
|
1012
1734
|
],
|
1013
|
-
"
|
1735
|
+
"name": "updateDistributor",
|
1736
|
+
"outputs": [],
|
1737
|
+
"stateMutability": "nonpayable",
|
1014
1738
|
"type": "function"
|
1015
1739
|
},
|
1016
1740
|
{
|
1017
1741
|
"inputs": [
|
1018
1742
|
{
|
1019
|
-
"internalType": "
|
1020
|
-
"name": "
|
1021
|
-
"type": "
|
1743
|
+
"internalType": "NftId",
|
1744
|
+
"name": "nftId",
|
1745
|
+
"type": "uint96"
|
1022
1746
|
},
|
1023
1747
|
{
|
1024
|
-
"internalType": "
|
1025
|
-
"name": "
|
1026
|
-
"type": "
|
1748
|
+
"internalType": "StateId",
|
1749
|
+
"name": "newState",
|
1750
|
+
"type": "uint8"
|
1027
1751
|
}
|
1028
1752
|
],
|
1029
|
-
"name": "
|
1753
|
+
"name": "updateDistributorState",
|
1030
1754
|
"outputs": [],
|
1031
1755
|
"stateMutability": "nonpayable",
|
1032
1756
|
"type": "function"
|
@@ -1034,91 +1758,69 @@
|
|
1034
1758
|
{
|
1035
1759
|
"inputs": [
|
1036
1760
|
{
|
1037
|
-
"internalType": "
|
1038
|
-
"name": "
|
1761
|
+
"internalType": "Key32",
|
1762
|
+
"name": "distributorKey",
|
1039
1763
|
"type": "bytes32"
|
1040
1764
|
},
|
1041
1765
|
{
|
1042
|
-
"
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
"
|
1090
|
-
|
1091
|
-
|
1092
|
-
"internalType": "StateId",
|
1093
|
-
"name": "fromId",
|
1094
|
-
"type": "uint8"
|
1766
|
+
"components": [
|
1767
|
+
{
|
1768
|
+
"internalType": "string",
|
1769
|
+
"name": "name",
|
1770
|
+
"type": "string"
|
1771
|
+
},
|
1772
|
+
{
|
1773
|
+
"internalType": "UFixed",
|
1774
|
+
"name": "minDiscountPercentage",
|
1775
|
+
"type": "uint256"
|
1776
|
+
},
|
1777
|
+
{
|
1778
|
+
"internalType": "UFixed",
|
1779
|
+
"name": "maxDiscountPercentage",
|
1780
|
+
"type": "uint256"
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"internalType": "UFixed",
|
1784
|
+
"name": "commissionPercentage",
|
1785
|
+
"type": "uint256"
|
1786
|
+
},
|
1787
|
+
{
|
1788
|
+
"internalType": "uint32",
|
1789
|
+
"name": "maxReferralCount",
|
1790
|
+
"type": "uint32"
|
1791
|
+
},
|
1792
|
+
{
|
1793
|
+
"internalType": "uint32",
|
1794
|
+
"name": "maxReferralLifetime",
|
1795
|
+
"type": "uint32"
|
1796
|
+
},
|
1797
|
+
{
|
1798
|
+
"internalType": "bool",
|
1799
|
+
"name": "allowSelfReferrals",
|
1800
|
+
"type": "bool"
|
1801
|
+
},
|
1802
|
+
{
|
1803
|
+
"internalType": "bool",
|
1804
|
+
"name": "allowRenewals",
|
1805
|
+
"type": "bool"
|
1806
|
+
},
|
1807
|
+
{
|
1808
|
+
"internalType": "bytes",
|
1809
|
+
"name": "data",
|
1810
|
+
"type": "bytes"
|
1811
|
+
}
|
1812
|
+
],
|
1813
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
1814
|
+
"name": "info",
|
1815
|
+
"type": "tuple"
|
1095
1816
|
},
|
1096
1817
|
{
|
1097
1818
|
"internalType": "StateId",
|
1098
|
-
"name": "
|
1819
|
+
"name": "newState",
|
1099
1820
|
"type": "uint8"
|
1100
1821
|
}
|
1101
1822
|
],
|
1102
|
-
"name": "
|
1103
|
-
"outputs": [
|
1104
|
-
{
|
1105
|
-
"internalType": "bool",
|
1106
|
-
"name": "",
|
1107
|
-
"type": "bool"
|
1108
|
-
}
|
1109
|
-
],
|
1110
|
-
"stateMutability": "view",
|
1111
|
-
"type": "function"
|
1112
|
-
},
|
1113
|
-
{
|
1114
|
-
"inputs": [
|
1115
|
-
{
|
1116
|
-
"internalType": "NftId",
|
1117
|
-
"name": "nftId",
|
1118
|
-
"type": "uint96"
|
1119
|
-
}
|
1120
|
-
],
|
1121
|
-
"name": "processPremium",
|
1823
|
+
"name": "updateDistributorType",
|
1122
1824
|
"outputs": [],
|
1123
1825
|
"stateMutability": "nonpayable",
|
1124
1826
|
"type": "function"
|
@@ -1126,50 +1828,123 @@
|
|
1126
1828
|
{
|
1127
1829
|
"inputs": [
|
1128
1830
|
{
|
1129
|
-
"internalType": "
|
1130
|
-
"name": "
|
1131
|
-
"type": "
|
1831
|
+
"internalType": "Key32",
|
1832
|
+
"name": "distributorKey",
|
1833
|
+
"type": "bytes32"
|
1132
1834
|
},
|
1133
1835
|
{
|
1134
|
-
"internalType": "
|
1135
|
-
"name": "
|
1136
|
-
"type": "
|
1836
|
+
"internalType": "StateId",
|
1837
|
+
"name": "newState",
|
1838
|
+
"type": "uint8"
|
1137
1839
|
}
|
1138
1840
|
],
|
1139
|
-
"name": "
|
1841
|
+
"name": "updateDistributorTypeState",
|
1140
1842
|
"outputs": [],
|
1141
1843
|
"stateMutability": "nonpayable",
|
1142
1844
|
"type": "function"
|
1143
1845
|
},
|
1144
1846
|
{
|
1145
|
-
"inputs": [
|
1146
|
-
"name": "register",
|
1147
|
-
"outputs": [
|
1847
|
+
"inputs": [
|
1148
1848
|
{
|
1149
1849
|
"internalType": "NftId",
|
1150
|
-
"name": "
|
1850
|
+
"name": "policyNftId",
|
1151
1851
|
"type": "uint96"
|
1152
|
-
}
|
1153
|
-
],
|
1154
|
-
"stateMutability": "nonpayable",
|
1155
|
-
"type": "function"
|
1156
|
-
},
|
1157
|
-
{
|
1158
|
-
"inputs": [
|
1852
|
+
},
|
1159
1853
|
{
|
1160
|
-
"
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1854
|
+
"components": [
|
1855
|
+
{
|
1856
|
+
"internalType": "NftId",
|
1857
|
+
"name": "productNftId",
|
1858
|
+
"type": "uint96"
|
1859
|
+
},
|
1860
|
+
{
|
1861
|
+
"internalType": "NftId",
|
1862
|
+
"name": "bundleNftId",
|
1863
|
+
"type": "uint96"
|
1864
|
+
},
|
1865
|
+
{
|
1866
|
+
"internalType": "ReferralId",
|
1867
|
+
"name": "referralId",
|
1868
|
+
"type": "bytes8"
|
1869
|
+
},
|
1870
|
+
{
|
1871
|
+
"internalType": "RiskId",
|
1872
|
+
"name": "riskId",
|
1873
|
+
"type": "bytes8"
|
1874
|
+
},
|
1875
|
+
{
|
1876
|
+
"internalType": "uint256",
|
1877
|
+
"name": "sumInsuredAmount",
|
1878
|
+
"type": "uint256"
|
1879
|
+
},
|
1880
|
+
{
|
1881
|
+
"internalType": "uint256",
|
1882
|
+
"name": "premiumAmount",
|
1883
|
+
"type": "uint256"
|
1884
|
+
},
|
1885
|
+
{
|
1886
|
+
"internalType": "uint256",
|
1887
|
+
"name": "premiumPaidAmount",
|
1888
|
+
"type": "uint256"
|
1889
|
+
},
|
1890
|
+
{
|
1891
|
+
"internalType": "Seconds",
|
1892
|
+
"name": "lifetime",
|
1893
|
+
"type": "uint40"
|
1894
|
+
},
|
1895
|
+
{
|
1896
|
+
"internalType": "bytes",
|
1897
|
+
"name": "applicationData",
|
1898
|
+
"type": "bytes"
|
1899
|
+
},
|
1900
|
+
{
|
1901
|
+
"internalType": "bytes",
|
1902
|
+
"name": "policyData",
|
1903
|
+
"type": "bytes"
|
1904
|
+
},
|
1905
|
+
{
|
1906
|
+
"internalType": "uint16",
|
1907
|
+
"name": "claimsCount",
|
1908
|
+
"type": "uint16"
|
1909
|
+
},
|
1910
|
+
{
|
1911
|
+
"internalType": "uint16",
|
1912
|
+
"name": "openClaimsCount",
|
1913
|
+
"type": "uint16"
|
1914
|
+
},
|
1915
|
+
{
|
1916
|
+
"internalType": "uint256",
|
1917
|
+
"name": "payoutAmount",
|
1918
|
+
"type": "uint256"
|
1919
|
+
},
|
1920
|
+
{
|
1921
|
+
"internalType": "Timestamp",
|
1922
|
+
"name": "activatedAt",
|
1923
|
+
"type": "uint40"
|
1924
|
+
},
|
1925
|
+
{
|
1926
|
+
"internalType": "Timestamp",
|
1927
|
+
"name": "expiredAt",
|
1928
|
+
"type": "uint40"
|
1929
|
+
},
|
1930
|
+
{
|
1931
|
+
"internalType": "Timestamp",
|
1932
|
+
"name": "closedAt",
|
1933
|
+
"type": "uint40"
|
1934
|
+
}
|
1935
|
+
],
|
1936
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1937
|
+
"name": "policy",
|
1938
|
+
"type": "tuple"
|
1939
|
+
},
|
1167
1940
|
{
|
1168
|
-
"internalType": "
|
1169
|
-
"name": "
|
1170
|
-
"type": "
|
1941
|
+
"internalType": "StateId",
|
1942
|
+
"name": "newState",
|
1943
|
+
"type": "uint8"
|
1171
1944
|
}
|
1172
1945
|
],
|
1946
|
+
"name": "updatePolicy",
|
1947
|
+
"outputs": [],
|
1173
1948
|
"stateMutability": "nonpayable",
|
1174
1949
|
"type": "function"
|
1175
1950
|
},
|
@@ -1177,11 +1952,16 @@
|
|
1177
1952
|
"inputs": [
|
1178
1953
|
{
|
1179
1954
|
"internalType": "NftId",
|
1180
|
-
"name": "
|
1955
|
+
"name": "policyNftId",
|
1181
1956
|
"type": "uint96"
|
1957
|
+
},
|
1958
|
+
{
|
1959
|
+
"internalType": "StateId",
|
1960
|
+
"name": "newState",
|
1961
|
+
"type": "uint8"
|
1182
1962
|
}
|
1183
1963
|
],
|
1184
|
-
"name": "
|
1964
|
+
"name": "updatePolicyState",
|
1185
1965
|
"outputs": [],
|
1186
1966
|
"stateMutability": "nonpayable",
|
1187
1967
|
"type": "function"
|
@@ -1193,47 +1973,45 @@
|
|
1193
1973
|
"name": "poolNftId",
|
1194
1974
|
"type": "uint96"
|
1195
1975
|
},
|
1196
|
-
{
|
1197
|
-
"internalType": "address",
|
1198
|
-
"name": "wallet",
|
1199
|
-
"type": "address"
|
1200
|
-
},
|
1201
1976
|
{
|
1202
1977
|
"components": [
|
1203
1978
|
{
|
1204
|
-
"internalType": "
|
1205
|
-
"name": "
|
1206
|
-
"type": "
|
1979
|
+
"internalType": "string",
|
1980
|
+
"name": "name",
|
1981
|
+
"type": "string"
|
1207
1982
|
},
|
1208
1983
|
{
|
1209
|
-
"internalType": "
|
1210
|
-
"name": "
|
1211
|
-
"type": "
|
1212
|
-
}
|
1213
|
-
],
|
1214
|
-
"internalType": "struct Fee",
|
1215
|
-
"name": "stakingFee",
|
1216
|
-
"type": "tuple"
|
1217
|
-
},
|
1218
|
-
{
|
1219
|
-
"components": [
|
1984
|
+
"internalType": "contract IERC20Metadata",
|
1985
|
+
"name": "token",
|
1986
|
+
"type": "address"
|
1987
|
+
},
|
1220
1988
|
{
|
1221
|
-
"internalType": "
|
1222
|
-
"name": "
|
1223
|
-
"type": "
|
1989
|
+
"internalType": "contract TokenHandler",
|
1990
|
+
"name": "tokenHandler",
|
1991
|
+
"type": "address"
|
1224
1992
|
},
|
1225
1993
|
{
|
1226
|
-
"internalType": "
|
1227
|
-
"name": "
|
1228
|
-
"type": "
|
1994
|
+
"internalType": "address",
|
1995
|
+
"name": "wallet",
|
1996
|
+
"type": "address"
|
1997
|
+
},
|
1998
|
+
{
|
1999
|
+
"internalType": "bytes",
|
2000
|
+
"name": "data",
|
2001
|
+
"type": "bytes"
|
1229
2002
|
}
|
1230
2003
|
],
|
1231
|
-
"internalType": "struct
|
1232
|
-
"name": "
|
2004
|
+
"internalType": "struct IComponents.ComponentInfo",
|
2005
|
+
"name": "info",
|
1233
2006
|
"type": "tuple"
|
2007
|
+
},
|
2008
|
+
{
|
2009
|
+
"internalType": "StateId",
|
2010
|
+
"name": "newState",
|
2011
|
+
"type": "uint8"
|
1234
2012
|
}
|
1235
2013
|
],
|
1236
|
-
"name": "
|
2014
|
+
"name": "updatePoolSetup",
|
1237
2015
|
"outputs": [],
|
1238
2016
|
"stateMutability": "nonpayable",
|
1239
2017
|
"type": "function"
|
@@ -1242,65 +2020,105 @@
|
|
1242
2020
|
"inputs": [
|
1243
2021
|
{
|
1244
2022
|
"internalType": "NftId",
|
1245
|
-
"name": "
|
2023
|
+
"name": "poolNftId",
|
1246
2024
|
"type": "uint96"
|
1247
2025
|
},
|
1248
2026
|
{
|
1249
|
-
"internalType": "
|
1250
|
-
"name": "
|
1251
|
-
"type": "
|
1252
|
-
}
|
2027
|
+
"internalType": "StateId",
|
2028
|
+
"name": "newState",
|
2029
|
+
"type": "uint8"
|
2030
|
+
}
|
2031
|
+
],
|
2032
|
+
"name": "updatePoolSetupState",
|
2033
|
+
"outputs": [],
|
2034
|
+
"stateMutability": "nonpayable",
|
2035
|
+
"type": "function"
|
2036
|
+
},
|
2037
|
+
{
|
2038
|
+
"inputs": [
|
1253
2039
|
{
|
1254
2040
|
"internalType": "NftId",
|
1255
|
-
"name": "
|
2041
|
+
"name": "productNftId",
|
1256
2042
|
"type": "uint96"
|
1257
2043
|
},
|
1258
|
-
{
|
1259
|
-
"internalType": "contract IERC20",
|
1260
|
-
"name": "token",
|
1261
|
-
"type": "address"
|
1262
|
-
},
|
1263
|
-
{
|
1264
|
-
"internalType": "address",
|
1265
|
-
"name": "wallet",
|
1266
|
-
"type": "address"
|
1267
|
-
},
|
1268
2044
|
{
|
1269
2045
|
"components": [
|
1270
2046
|
{
|
1271
|
-
"internalType": "
|
1272
|
-
"name": "
|
1273
|
-
"type": "
|
2047
|
+
"internalType": "contract IERC20Metadata",
|
2048
|
+
"name": "token",
|
2049
|
+
"type": "address"
|
1274
2050
|
},
|
1275
2051
|
{
|
1276
|
-
"internalType": "
|
1277
|
-
"name": "
|
1278
|
-
"type": "
|
1279
|
-
}
|
1280
|
-
],
|
1281
|
-
"internalType": "struct Fee",
|
1282
|
-
"name": "policyFee",
|
1283
|
-
"type": "tuple"
|
1284
|
-
},
|
1285
|
-
{
|
1286
|
-
"components": [
|
2052
|
+
"internalType": "contract TokenHandler",
|
2053
|
+
"name": "tokenHandler",
|
2054
|
+
"type": "address"
|
2055
|
+
},
|
1287
2056
|
{
|
1288
|
-
"internalType": "
|
1289
|
-
"name": "
|
1290
|
-
"type": "
|
2057
|
+
"internalType": "NftId",
|
2058
|
+
"name": "distributionNftId",
|
2059
|
+
"type": "uint96"
|
1291
2060
|
},
|
1292
2061
|
{
|
1293
|
-
"internalType": "
|
1294
|
-
"name": "
|
1295
|
-
"type": "
|
2062
|
+
"internalType": "NftId",
|
2063
|
+
"name": "poolNftId",
|
2064
|
+
"type": "uint96"
|
2065
|
+
},
|
2066
|
+
{
|
2067
|
+
"components": [
|
2068
|
+
{
|
2069
|
+
"internalType": "UFixed",
|
2070
|
+
"name": "fractionalFee",
|
2071
|
+
"type": "uint256"
|
2072
|
+
},
|
2073
|
+
{
|
2074
|
+
"internalType": "uint256",
|
2075
|
+
"name": "fixedFee",
|
2076
|
+
"type": "uint256"
|
2077
|
+
}
|
2078
|
+
],
|
2079
|
+
"internalType": "struct Fee",
|
2080
|
+
"name": "productFee",
|
2081
|
+
"type": "tuple"
|
2082
|
+
},
|
2083
|
+
{
|
2084
|
+
"components": [
|
2085
|
+
{
|
2086
|
+
"internalType": "UFixed",
|
2087
|
+
"name": "fractionalFee",
|
2088
|
+
"type": "uint256"
|
2089
|
+
},
|
2090
|
+
{
|
2091
|
+
"internalType": "uint256",
|
2092
|
+
"name": "fixedFee",
|
2093
|
+
"type": "uint256"
|
2094
|
+
}
|
2095
|
+
],
|
2096
|
+
"internalType": "struct Fee",
|
2097
|
+
"name": "processingFee",
|
2098
|
+
"type": "tuple"
|
2099
|
+
},
|
2100
|
+
{
|
2101
|
+
"internalType": "bool",
|
2102
|
+
"name": "isIntercepting",
|
2103
|
+
"type": "bool"
|
2104
|
+
},
|
2105
|
+
{
|
2106
|
+
"internalType": "address",
|
2107
|
+
"name": "wallet",
|
2108
|
+
"type": "address"
|
1296
2109
|
}
|
1297
2110
|
],
|
1298
|
-
"internalType": "struct
|
1299
|
-
"name": "
|
2111
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
2112
|
+
"name": "setup",
|
1300
2113
|
"type": "tuple"
|
2114
|
+
},
|
2115
|
+
{
|
2116
|
+
"internalType": "StateId",
|
2117
|
+
"name": "newState",
|
2118
|
+
"type": "uint8"
|
1301
2119
|
}
|
1302
2120
|
],
|
1303
|
-
"name": "
|
2121
|
+
"name": "updateProductSetup",
|
1304
2122
|
"outputs": [],
|
1305
2123
|
"stateMutability": "nonpayable",
|
1306
2124
|
"type": "function"
|
@@ -1308,100 +2126,95 @@
|
|
1308
2126
|
{
|
1309
2127
|
"inputs": [
|
1310
2128
|
{
|
1311
|
-
"internalType": "
|
1312
|
-
"name": "
|
1313
|
-
"type": "
|
2129
|
+
"internalType": "NftId",
|
2130
|
+
"name": "productNftId",
|
2131
|
+
"type": "uint96"
|
1314
2132
|
},
|
1315
2133
|
{
|
1316
|
-
"internalType": "
|
1317
|
-
"name": "
|
1318
|
-
"type": "
|
2134
|
+
"internalType": "StateId",
|
2135
|
+
"name": "newState",
|
2136
|
+
"type": "uint8"
|
1319
2137
|
}
|
1320
2138
|
],
|
1321
|
-
"name": "
|
2139
|
+
"name": "updateProductSetupState",
|
1322
2140
|
"outputs": [],
|
1323
2141
|
"stateMutability": "nonpayable",
|
1324
2142
|
"type": "function"
|
1325
2143
|
},
|
1326
2144
|
{
|
1327
2145
|
"inputs": [
|
2146
|
+
{
|
2147
|
+
"internalType": "Key32",
|
2148
|
+
"name": "referralKey",
|
2149
|
+
"type": "bytes32"
|
2150
|
+
},
|
1328
2151
|
{
|
1329
2152
|
"components": [
|
1330
2153
|
{
|
1331
2154
|
"internalType": "NftId",
|
1332
|
-
"name": "
|
2155
|
+
"name": "distributorNftId",
|
1333
2156
|
"type": "uint96"
|
1334
2157
|
},
|
1335
2158
|
{
|
1336
|
-
"internalType": "
|
1337
|
-
"name": "
|
1338
|
-
"type": "
|
2159
|
+
"internalType": "string",
|
2160
|
+
"name": "referralCode",
|
2161
|
+
"type": "string"
|
1339
2162
|
},
|
1340
2163
|
{
|
1341
|
-
"internalType": "
|
1342
|
-
"name": "
|
1343
|
-
"type": "
|
2164
|
+
"internalType": "UFixed",
|
2165
|
+
"name": "discountPercentage",
|
2166
|
+
"type": "uint256"
|
2167
|
+
},
|
2168
|
+
{
|
2169
|
+
"internalType": "uint32",
|
2170
|
+
"name": "maxReferrals",
|
2171
|
+
"type": "uint32"
|
2172
|
+
},
|
2173
|
+
{
|
2174
|
+
"internalType": "uint32",
|
2175
|
+
"name": "usedReferrals",
|
2176
|
+
"type": "uint32"
|
2177
|
+
},
|
2178
|
+
{
|
2179
|
+
"internalType": "Timestamp",
|
2180
|
+
"name": "expiryAt",
|
2181
|
+
"type": "uint40"
|
2182
|
+
},
|
2183
|
+
{
|
2184
|
+
"internalType": "bytes",
|
2185
|
+
"name": "data",
|
2186
|
+
"type": "bytes"
|
1344
2187
|
}
|
1345
2188
|
],
|
1346
|
-
"internalType": "struct
|
1347
|
-
"name": "
|
2189
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
2190
|
+
"name": "referralInfo",
|
1348
2191
|
"type": "tuple"
|
1349
|
-
}
|
1350
|
-
],
|
1351
|
-
"name": "setComponentInfo",
|
1352
|
-
"outputs": [
|
2192
|
+
},
|
1353
2193
|
{
|
1354
|
-
"internalType": "
|
1355
|
-
"name": "
|
1356
|
-
"type": "
|
2194
|
+
"internalType": "StateId",
|
2195
|
+
"name": "newState",
|
2196
|
+
"type": "uint8"
|
1357
2197
|
}
|
1358
2198
|
],
|
2199
|
+
"name": "updateReferral",
|
2200
|
+
"outputs": [],
|
1359
2201
|
"stateMutability": "nonpayable",
|
1360
2202
|
"type": "function"
|
1361
2203
|
},
|
1362
2204
|
{
|
1363
2205
|
"inputs": [
|
1364
2206
|
{
|
1365
|
-
"internalType": "
|
1366
|
-
"name": "
|
1367
|
-
"type": "
|
1368
|
-
},
|
1369
|
-
{
|
1370
|
-
"components": [
|
1371
|
-
{
|
1372
|
-
"internalType": "UFixed",
|
1373
|
-
"name": "fractionalFee",
|
1374
|
-
"type": "uint256"
|
1375
|
-
},
|
1376
|
-
{
|
1377
|
-
"internalType": "uint256",
|
1378
|
-
"name": "fixedFee",
|
1379
|
-
"type": "uint256"
|
1380
|
-
}
|
1381
|
-
],
|
1382
|
-
"internalType": "struct Fee",
|
1383
|
-
"name": "stakingFee",
|
1384
|
-
"type": "tuple"
|
2207
|
+
"internalType": "Key32",
|
2208
|
+
"name": "referralKey",
|
2209
|
+
"type": "bytes32"
|
1385
2210
|
},
|
1386
2211
|
{
|
1387
|
-
"
|
1388
|
-
|
1389
|
-
|
1390
|
-
"name": "fractionalFee",
|
1391
|
-
"type": "uint256"
|
1392
|
-
},
|
1393
|
-
{
|
1394
|
-
"internalType": "uint256",
|
1395
|
-
"name": "fixedFee",
|
1396
|
-
"type": "uint256"
|
1397
|
-
}
|
1398
|
-
],
|
1399
|
-
"internalType": "struct Fee",
|
1400
|
-
"name": "performanceFee",
|
1401
|
-
"type": "tuple"
|
2212
|
+
"internalType": "StateId",
|
2213
|
+
"name": "newState",
|
2214
|
+
"type": "uint8"
|
1402
2215
|
}
|
1403
2216
|
],
|
1404
|
-
"name": "
|
2217
|
+
"name": "updateReferralState",
|
1405
2218
|
"outputs": [],
|
1406
2219
|
"stateMutability": "nonpayable",
|
1407
2220
|
"type": "function"
|
@@ -1409,46 +2222,34 @@
|
|
1409
2222
|
{
|
1410
2223
|
"inputs": [
|
1411
2224
|
{
|
1412
|
-
"internalType": "
|
1413
|
-
"name": "
|
1414
|
-
"type": "
|
2225
|
+
"internalType": "RiskId",
|
2226
|
+
"name": "riskId",
|
2227
|
+
"type": "bytes8"
|
1415
2228
|
},
|
1416
2229
|
{
|
1417
2230
|
"components": [
|
1418
2231
|
{
|
1419
|
-
"internalType": "
|
1420
|
-
"name": "
|
1421
|
-
"type": "
|
2232
|
+
"internalType": "NftId",
|
2233
|
+
"name": "productNftId",
|
2234
|
+
"type": "uint96"
|
1422
2235
|
},
|
1423
2236
|
{
|
1424
|
-
"internalType": "
|
1425
|
-
"name": "
|
1426
|
-
"type": "
|
2237
|
+
"internalType": "bytes",
|
2238
|
+
"name": "data",
|
2239
|
+
"type": "bytes"
|
1427
2240
|
}
|
1428
2241
|
],
|
1429
|
-
"internalType": "struct
|
1430
|
-
"name": "
|
2242
|
+
"internalType": "struct IRisk.RiskInfo",
|
2243
|
+
"name": "risk",
|
1431
2244
|
"type": "tuple"
|
1432
2245
|
},
|
1433
2246
|
{
|
1434
|
-
"
|
1435
|
-
|
1436
|
-
|
1437
|
-
"name": "fractionalFee",
|
1438
|
-
"type": "uint256"
|
1439
|
-
},
|
1440
|
-
{
|
1441
|
-
"internalType": "uint256",
|
1442
|
-
"name": "fixedFee",
|
1443
|
-
"type": "uint256"
|
1444
|
-
}
|
1445
|
-
],
|
1446
|
-
"internalType": "struct Fee",
|
1447
|
-
"name": "processingFee",
|
1448
|
-
"type": "tuple"
|
2247
|
+
"internalType": "StateId",
|
2248
|
+
"name": "newState",
|
2249
|
+
"type": "uint8"
|
1449
2250
|
}
|
1450
2251
|
],
|
1451
|
-
"name": "
|
2252
|
+
"name": "updateRisk",
|
1452
2253
|
"outputs": [],
|
1453
2254
|
"stateMutability": "nonpayable",
|
1454
2255
|
"type": "function"
|
@@ -1456,17 +2257,17 @@
|
|
1456
2257
|
{
|
1457
2258
|
"inputs": [
|
1458
2259
|
{
|
1459
|
-
"internalType": "
|
1460
|
-
"name": "
|
1461
|
-
"type": "
|
2260
|
+
"internalType": "RiskId",
|
2261
|
+
"name": "riskId",
|
2262
|
+
"type": "bytes8"
|
1462
2263
|
},
|
1463
2264
|
{
|
1464
|
-
"internalType": "
|
1465
|
-
"name": "
|
1466
|
-
"type": "
|
2265
|
+
"internalType": "StateId",
|
2266
|
+
"name": "newState",
|
2267
|
+
"type": "uint8"
|
1467
2268
|
}
|
1468
2269
|
],
|
1469
|
-
"name": "
|
2270
|
+
"name": "updateRiskState",
|
1470
2271
|
"outputs": [],
|
1471
2272
|
"stateMutability": "nonpayable",
|
1472
2273
|
"type": "function"
|