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