@etherisc/gif-next 0.0.2-d2fd9d7-008 → 0.0.2-d30275e-758
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +28 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +806 -243
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +632 -194
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +303 -1340
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +337 -168
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +439 -3102
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +609 -178
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +251 -270
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +457 -402
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +292 -131
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2663 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +277 -178
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +902 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1326 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1072 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1022 -223
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +392 -79
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +235 -200
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +714 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +536 -304
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPricingService.sol/IPricingService.json} +248 -172
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1575 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +832 -400
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +338 -93
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +289 -564
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
- 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 +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +204 -83
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +88 -41
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +217 -182
- package/contracts/components/Product.sol +248 -163
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +17 -20
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +57 -33
- package/contracts/instance/IInstanceService.sol +56 -9
- package/contracts/instance/Instance.sol +150 -367
- package/contracts/instance/InstanceAccessManager.sol +430 -177
- package/contracts/instance/InstanceAuthorizationsLib.sol +300 -0
- package/contracts/instance/InstanceReader.sol +44 -39
- package/contracts/instance/InstanceService.sol +243 -166
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/InstanceStore.sol +208 -0
- package/contracts/instance/ObjectManager.sol +11 -24
- package/contracts/instance/base/ComponentService.sol +148 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +23 -6
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +41 -9
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +185 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +440 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +239 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +287 -33
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +61 -0
- package/contracts/instance/service/IBundleService.sol +102 -0
- package/contracts/instance/service/IClaimService.sol +92 -0
- package/contracts/instance/service/IDistributionService.sol +74 -1
- package/contracts/instance/service/IPolicyService.sol +139 -0
- package/contracts/instance/service/IPoolService.sol +76 -25
- package/contracts/instance/service/IPricingService.sol +36 -0
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +577 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +232 -183
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +109 -469
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +31 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +101 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +5 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +41 -24
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Amount.sol +70 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +16 -7
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,782 +6,197 @@
|
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
|
-
"internalType": "
|
10
|
-
"name": "
|
11
|
-
"type": "
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "StateId",
|
15
|
-
"name": "fromStateId",
|
16
|
-
"type": "uint8"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "StateId",
|
20
|
-
"name": "toStateId",
|
21
|
-
"type": "uint8"
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
22
12
|
}
|
23
13
|
],
|
24
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
25
15
|
"type": "error"
|
26
16
|
},
|
27
17
|
{
|
28
18
|
"inputs": [
|
29
19
|
{
|
30
|
-
"internalType": "
|
31
|
-
"name": "
|
32
|
-
"type": "
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
33
23
|
},
|
34
24
|
{
|
35
|
-
"internalType": "
|
36
|
-
"name": "
|
37
|
-
"type": "
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
38
28
|
}
|
39
29
|
],
|
40
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
41
31
|
"type": "error"
|
42
32
|
},
|
43
33
|
{
|
44
|
-
"anonymous": false,
|
45
34
|
"inputs": [
|
46
35
|
{
|
47
|
-
"indexed": false,
|
48
|
-
"internalType": "ObjectType",
|
49
|
-
"name": "objectType",
|
50
|
-
"type": "uint8"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"indexed": false,
|
54
|
-
"internalType": "KeyId",
|
55
|
-
"name": "keyId",
|
56
|
-
"type": "bytes31"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"indexed": false,
|
60
|
-
"internalType": "StateId",
|
61
|
-
"name": "state",
|
62
|
-
"type": "uint8"
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"indexed": false,
|
66
36
|
"internalType": "address",
|
67
|
-
"name": "
|
68
|
-
"type": "address"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"indexed": false,
|
72
|
-
"internalType": "address",
|
73
|
-
"name": "txOrigin",
|
37
|
+
"name": "caller",
|
74
38
|
"type": "address"
|
75
39
|
}
|
76
40
|
],
|
77
|
-
"name": "
|
78
|
-
"type": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
79
43
|
},
|
80
44
|
{
|
81
|
-
"anonymous": false,
|
82
45
|
"inputs": [
|
83
46
|
{
|
84
|
-
"indexed": false,
|
85
|
-
"internalType": "ObjectType",
|
86
|
-
"name": "objectType",
|
87
|
-
"type": "uint8"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"indexed": false,
|
91
|
-
"internalType": "KeyId",
|
92
|
-
"name": "keyId",
|
93
|
-
"type": "bytes31"
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"indexed": false,
|
97
|
-
"internalType": "StateId",
|
98
|
-
"name": "state",
|
99
|
-
"type": "uint8"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"indexed": false,
|
103
47
|
"internalType": "address",
|
104
|
-
"name": "
|
48
|
+
"name": "instanceBundleManager",
|
105
49
|
"type": "address"
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"indexed": false,
|
109
|
-
"internalType": "address",
|
110
|
-
"name": "txOrigin",
|
111
|
-
"type": "address"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"indexed": false,
|
115
|
-
"internalType": "Blocknumber",
|
116
|
-
"name": "lastUpdatedIn",
|
117
|
-
"type": "uint32"
|
118
50
|
}
|
119
51
|
],
|
120
|
-
"name": "
|
121
|
-
"type": "
|
52
|
+
"name": "ErrorInstanceBundleManagerAlreadySet",
|
53
|
+
"type": "error"
|
122
54
|
},
|
123
55
|
{
|
124
|
-
"anonymous": false,
|
125
56
|
"inputs": [
|
126
57
|
{
|
127
|
-
"indexed": false,
|
128
|
-
"internalType": "ObjectType",
|
129
|
-
"name": "objectType",
|
130
|
-
"type": "uint8"
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"indexed": false,
|
134
|
-
"internalType": "KeyId",
|
135
|
-
"name": "keyId",
|
136
|
-
"type": "bytes31"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"indexed": false,
|
140
|
-
"internalType": "StateId",
|
141
|
-
"name": "stateOld",
|
142
|
-
"type": "uint8"
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"indexed": false,
|
146
|
-
"internalType": "StateId",
|
147
|
-
"name": "stateNew",
|
148
|
-
"type": "uint8"
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"indexed": false,
|
152
|
-
"internalType": "address",
|
153
|
-
"name": "updatedBy",
|
154
|
-
"type": "address"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"indexed": false,
|
158
58
|
"internalType": "address",
|
159
|
-
"name": "
|
59
|
+
"name": "instanceAuthority",
|
160
60
|
"type": "address"
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"indexed": false,
|
164
|
-
"internalType": "Blocknumber",
|
165
|
-
"name": "lastUpdatedIn",
|
166
|
-
"type": "uint32"
|
167
|
-
}
|
168
|
-
],
|
169
|
-
"name": "LogStateUpdated",
|
170
|
-
"type": "event"
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"inputs": [
|
174
|
-
{
|
175
|
-
"internalType": "NftId",
|
176
|
-
"name": "bundleNftId",
|
177
|
-
"type": "uint96"
|
178
|
-
},
|
179
|
-
{
|
180
|
-
"components": [
|
181
|
-
{
|
182
|
-
"internalType": "NftId",
|
183
|
-
"name": "poolNftId",
|
184
|
-
"type": "uint96"
|
185
|
-
},
|
186
|
-
{
|
187
|
-
"components": [
|
188
|
-
{
|
189
|
-
"internalType": "UFixed",
|
190
|
-
"name": "fractionalFee",
|
191
|
-
"type": "uint256"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"internalType": "uint256",
|
195
|
-
"name": "fixedFee",
|
196
|
-
"type": "uint256"
|
197
|
-
}
|
198
|
-
],
|
199
|
-
"internalType": "struct Fee",
|
200
|
-
"name": "fee",
|
201
|
-
"type": "tuple"
|
202
|
-
},
|
203
|
-
{
|
204
|
-
"internalType": "bytes",
|
205
|
-
"name": "filter",
|
206
|
-
"type": "bytes"
|
207
|
-
},
|
208
|
-
{
|
209
|
-
"internalType": "uint256",
|
210
|
-
"name": "capitalAmount",
|
211
|
-
"type": "uint256"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"internalType": "uint256",
|
215
|
-
"name": "lockedAmount",
|
216
|
-
"type": "uint256"
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"internalType": "uint256",
|
220
|
-
"name": "balanceAmount",
|
221
|
-
"type": "uint256"
|
222
|
-
},
|
223
|
-
{
|
224
|
-
"internalType": "uint256",
|
225
|
-
"name": "lifetime",
|
226
|
-
"type": "uint256"
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"internalType": "Timestamp",
|
230
|
-
"name": "expiredAt",
|
231
|
-
"type": "uint40"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"internalType": "Timestamp",
|
235
|
-
"name": "closedAt",
|
236
|
-
"type": "uint40"
|
237
|
-
}
|
238
|
-
],
|
239
|
-
"internalType": "struct IBundle.BundleInfo",
|
240
|
-
"name": "bundle",
|
241
|
-
"type": "tuple"
|
242
|
-
}
|
243
|
-
],
|
244
|
-
"name": "createBundle",
|
245
|
-
"outputs": [],
|
246
|
-
"stateMutability": "nonpayable",
|
247
|
-
"type": "function"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"inputs": [
|
251
|
-
{
|
252
|
-
"internalType": "NftId",
|
253
|
-
"name": "distributionNftId",
|
254
|
-
"type": "uint96"
|
255
|
-
},
|
256
|
-
{
|
257
|
-
"components": [
|
258
|
-
{
|
259
|
-
"internalType": "NftId",
|
260
|
-
"name": "productNftId",
|
261
|
-
"type": "uint96"
|
262
|
-
},
|
263
|
-
{
|
264
|
-
"internalType": "contract TokenHandler",
|
265
|
-
"name": "tokenHandler",
|
266
|
-
"type": "address"
|
267
|
-
},
|
268
|
-
{
|
269
|
-
"components": [
|
270
|
-
{
|
271
|
-
"internalType": "UFixed",
|
272
|
-
"name": "fractionalFee",
|
273
|
-
"type": "uint256"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"internalType": "uint256",
|
277
|
-
"name": "fixedFee",
|
278
|
-
"type": "uint256"
|
279
|
-
}
|
280
|
-
],
|
281
|
-
"internalType": "struct Fee",
|
282
|
-
"name": "distributionFee",
|
283
|
-
"type": "tuple"
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"internalType": "bool",
|
287
|
-
"name": "isIntercepting",
|
288
|
-
"type": "bool"
|
289
|
-
},
|
290
|
-
{
|
291
|
-
"internalType": "address",
|
292
|
-
"name": "wallet",
|
293
|
-
"type": "address"
|
294
|
-
}
|
295
|
-
],
|
296
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
297
|
-
"name": "setup",
|
298
|
-
"type": "tuple"
|
299
61
|
}
|
300
62
|
],
|
301
|
-
"name": "
|
302
|
-
"
|
303
|
-
"stateMutability": "nonpayable",
|
304
|
-
"type": "function"
|
63
|
+
"name": "ErrorInstanceBundleManagerAuthorityMismatch",
|
64
|
+
"type": "error"
|
305
65
|
},
|
306
66
|
{
|
307
67
|
"inputs": [
|
308
68
|
{
|
309
|
-
"internalType": "
|
310
|
-
"name": "
|
311
|
-
"type": "
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"components": [
|
315
|
-
{
|
316
|
-
"internalType": "NftId",
|
317
|
-
"name": "productNftId",
|
318
|
-
"type": "uint96"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"internalType": "NftId",
|
322
|
-
"name": "bundleNftId",
|
323
|
-
"type": "uint96"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"internalType": "ReferralId",
|
327
|
-
"name": "referralId",
|
328
|
-
"type": "bytes8"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"internalType": "RiskId",
|
332
|
-
"name": "riskId",
|
333
|
-
"type": "bytes8"
|
334
|
-
},
|
335
|
-
{
|
336
|
-
"internalType": "uint256",
|
337
|
-
"name": "sumInsuredAmount",
|
338
|
-
"type": "uint256"
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"internalType": "uint256",
|
342
|
-
"name": "premiumAmount",
|
343
|
-
"type": "uint256"
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"internalType": "uint256",
|
347
|
-
"name": "premiumPaidAmount",
|
348
|
-
"type": "uint256"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"internalType": "uint256",
|
352
|
-
"name": "lifetime",
|
353
|
-
"type": "uint256"
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"internalType": "bytes",
|
357
|
-
"name": "applicationData",
|
358
|
-
"type": "bytes"
|
359
|
-
},
|
360
|
-
{
|
361
|
-
"internalType": "bytes",
|
362
|
-
"name": "policyData",
|
363
|
-
"type": "bytes"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "uint16",
|
367
|
-
"name": "claimsCount",
|
368
|
-
"type": "uint16"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "uint16",
|
372
|
-
"name": "openClaimsCount",
|
373
|
-
"type": "uint16"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"internalType": "uint256",
|
377
|
-
"name": "payoutAmount",
|
378
|
-
"type": "uint256"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"internalType": "Timestamp",
|
382
|
-
"name": "activatedAt",
|
383
|
-
"type": "uint40"
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"internalType": "Timestamp",
|
387
|
-
"name": "expiredAt",
|
388
|
-
"type": "uint40"
|
389
|
-
},
|
390
|
-
{
|
391
|
-
"internalType": "Timestamp",
|
392
|
-
"name": "closedAt",
|
393
|
-
"type": "uint40"
|
394
|
-
}
|
395
|
-
],
|
396
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
397
|
-
"name": "policy",
|
398
|
-
"type": "tuple"
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "instance",
|
71
|
+
"type": "address"
|
399
72
|
}
|
400
73
|
],
|
401
|
-
"name": "
|
402
|
-
"
|
403
|
-
"stateMutability": "nonpayable",
|
404
|
-
"type": "function"
|
74
|
+
"name": "ErrorInstanceBundleManagerInstanceMismatch",
|
75
|
+
"type": "error"
|
405
76
|
},
|
406
77
|
{
|
407
78
|
"inputs": [
|
408
79
|
{
|
409
|
-
"internalType": "
|
410
|
-
"name": "
|
411
|
-
"type": "
|
412
|
-
},
|
413
|
-
{
|
414
|
-
"components": [
|
415
|
-
{
|
416
|
-
"internalType": "NftId",
|
417
|
-
"name": "productNftId",
|
418
|
-
"type": "uint96"
|
419
|
-
},
|
420
|
-
{
|
421
|
-
"internalType": "contract TokenHandler",
|
422
|
-
"name": "tokenHandler",
|
423
|
-
"type": "address"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"internalType": "UFixed",
|
427
|
-
"name": "collateralizationLevel",
|
428
|
-
"type": "uint256"
|
429
|
-
},
|
430
|
-
{
|
431
|
-
"components": [
|
432
|
-
{
|
433
|
-
"internalType": "UFixed",
|
434
|
-
"name": "fractionalFee",
|
435
|
-
"type": "uint256"
|
436
|
-
},
|
437
|
-
{
|
438
|
-
"internalType": "uint256",
|
439
|
-
"name": "fixedFee",
|
440
|
-
"type": "uint256"
|
441
|
-
}
|
442
|
-
],
|
443
|
-
"internalType": "struct Fee",
|
444
|
-
"name": "poolFee",
|
445
|
-
"type": "tuple"
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"components": [
|
449
|
-
{
|
450
|
-
"internalType": "UFixed",
|
451
|
-
"name": "fractionalFee",
|
452
|
-
"type": "uint256"
|
453
|
-
},
|
454
|
-
{
|
455
|
-
"internalType": "uint256",
|
456
|
-
"name": "fixedFee",
|
457
|
-
"type": "uint256"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"internalType": "struct Fee",
|
461
|
-
"name": "stakingFee",
|
462
|
-
"type": "tuple"
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"components": [
|
466
|
-
{
|
467
|
-
"internalType": "UFixed",
|
468
|
-
"name": "fractionalFee",
|
469
|
-
"type": "uint256"
|
470
|
-
},
|
471
|
-
{
|
472
|
-
"internalType": "uint256",
|
473
|
-
"name": "fixedFee",
|
474
|
-
"type": "uint256"
|
475
|
-
}
|
476
|
-
],
|
477
|
-
"internalType": "struct Fee",
|
478
|
-
"name": "performanceFee",
|
479
|
-
"type": "tuple"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"internalType": "bool",
|
483
|
-
"name": "isIntercepting",
|
484
|
-
"type": "bool"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"internalType": "bool",
|
488
|
-
"name": "isConfirmingApplication",
|
489
|
-
"type": "bool"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"internalType": "address",
|
493
|
-
"name": "wallet",
|
494
|
-
"type": "address"
|
495
|
-
}
|
496
|
-
],
|
497
|
-
"internalType": "struct ISetup.PoolSetupInfo",
|
498
|
-
"name": "setup",
|
499
|
-
"type": "tuple"
|
80
|
+
"internalType": "address",
|
81
|
+
"name": "instanceAccessManager",
|
82
|
+
"type": "address"
|
500
83
|
}
|
501
84
|
],
|
502
|
-
"name": "
|
503
|
-
"
|
504
|
-
"stateMutability": "nonpayable",
|
505
|
-
"type": "function"
|
85
|
+
"name": "ErrorInstanceInstanceAccessManagerAlreadySet",
|
86
|
+
"type": "error"
|
506
87
|
},
|
507
88
|
{
|
508
89
|
"inputs": [
|
509
|
-
{
|
510
|
-
"internalType": "
|
511
|
-
"name": "
|
512
|
-
"type": "
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"components": [
|
516
|
-
{
|
517
|
-
"internalType": "contract IERC20Metadata",
|
518
|
-
"name": "token",
|
519
|
-
"type": "address"
|
520
|
-
},
|
521
|
-
{
|
522
|
-
"internalType": "contract TokenHandler",
|
523
|
-
"name": "tokenHandler",
|
524
|
-
"type": "address"
|
525
|
-
},
|
526
|
-
{
|
527
|
-
"internalType": "NftId",
|
528
|
-
"name": "distributionNftId",
|
529
|
-
"type": "uint96"
|
530
|
-
},
|
531
|
-
{
|
532
|
-
"internalType": "NftId",
|
533
|
-
"name": "poolNftId",
|
534
|
-
"type": "uint96"
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"components": [
|
538
|
-
{
|
539
|
-
"internalType": "UFixed",
|
540
|
-
"name": "fractionalFee",
|
541
|
-
"type": "uint256"
|
542
|
-
},
|
543
|
-
{
|
544
|
-
"internalType": "uint256",
|
545
|
-
"name": "fixedFee",
|
546
|
-
"type": "uint256"
|
547
|
-
}
|
548
|
-
],
|
549
|
-
"internalType": "struct Fee",
|
550
|
-
"name": "distributionFee",
|
551
|
-
"type": "tuple"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"components": [
|
555
|
-
{
|
556
|
-
"internalType": "UFixed",
|
557
|
-
"name": "fractionalFee",
|
558
|
-
"type": "uint256"
|
559
|
-
},
|
560
|
-
{
|
561
|
-
"internalType": "uint256",
|
562
|
-
"name": "fixedFee",
|
563
|
-
"type": "uint256"
|
564
|
-
}
|
565
|
-
],
|
566
|
-
"internalType": "struct Fee",
|
567
|
-
"name": "productFee",
|
568
|
-
"type": "tuple"
|
569
|
-
},
|
570
|
-
{
|
571
|
-
"components": [
|
572
|
-
{
|
573
|
-
"internalType": "UFixed",
|
574
|
-
"name": "fractionalFee",
|
575
|
-
"type": "uint256"
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"internalType": "uint256",
|
579
|
-
"name": "fixedFee",
|
580
|
-
"type": "uint256"
|
581
|
-
}
|
582
|
-
],
|
583
|
-
"internalType": "struct Fee",
|
584
|
-
"name": "processingFee",
|
585
|
-
"type": "tuple"
|
586
|
-
},
|
587
|
-
{
|
588
|
-
"components": [
|
589
|
-
{
|
590
|
-
"internalType": "UFixed",
|
591
|
-
"name": "fractionalFee",
|
592
|
-
"type": "uint256"
|
593
|
-
},
|
594
|
-
{
|
595
|
-
"internalType": "uint256",
|
596
|
-
"name": "fixedFee",
|
597
|
-
"type": "uint256"
|
598
|
-
}
|
599
|
-
],
|
600
|
-
"internalType": "struct Fee",
|
601
|
-
"name": "poolFee",
|
602
|
-
"type": "tuple"
|
603
|
-
},
|
604
|
-
{
|
605
|
-
"components": [
|
606
|
-
{
|
607
|
-
"internalType": "UFixed",
|
608
|
-
"name": "fractionalFee",
|
609
|
-
"type": "uint256"
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"internalType": "uint256",
|
613
|
-
"name": "fixedFee",
|
614
|
-
"type": "uint256"
|
615
|
-
}
|
616
|
-
],
|
617
|
-
"internalType": "struct Fee",
|
618
|
-
"name": "stakingFee",
|
619
|
-
"type": "tuple"
|
620
|
-
},
|
621
|
-
{
|
622
|
-
"components": [
|
623
|
-
{
|
624
|
-
"internalType": "UFixed",
|
625
|
-
"name": "fractionalFee",
|
626
|
-
"type": "uint256"
|
627
|
-
},
|
628
|
-
{
|
629
|
-
"internalType": "uint256",
|
630
|
-
"name": "fixedFee",
|
631
|
-
"type": "uint256"
|
632
|
-
}
|
633
|
-
],
|
634
|
-
"internalType": "struct Fee",
|
635
|
-
"name": "performanceFee",
|
636
|
-
"type": "tuple"
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"internalType": "bool",
|
640
|
-
"name": "isIntercepting",
|
641
|
-
"type": "bool"
|
642
|
-
},
|
643
|
-
{
|
644
|
-
"internalType": "address",
|
645
|
-
"name": "wallet",
|
646
|
-
"type": "address"
|
647
|
-
}
|
648
|
-
],
|
649
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
650
|
-
"name": "setup",
|
651
|
-
"type": "tuple"
|
90
|
+
{
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "instanceAuthority",
|
93
|
+
"type": "address"
|
652
94
|
}
|
653
95
|
],
|
654
|
-
"name": "
|
655
|
-
"
|
656
|
-
"stateMutability": "nonpayable",
|
657
|
-
"type": "function"
|
96
|
+
"name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
|
97
|
+
"type": "error"
|
658
98
|
},
|
659
99
|
{
|
660
100
|
"inputs": [
|
661
101
|
{
|
662
|
-
"internalType": "
|
663
|
-
"name": "
|
664
|
-
"type": "
|
665
|
-
},
|
666
|
-
{
|
667
|
-
"components": [
|
668
|
-
{
|
669
|
-
"internalType": "NftId",
|
670
|
-
"name": "productNftId",
|
671
|
-
"type": "uint96"
|
672
|
-
},
|
673
|
-
{
|
674
|
-
"internalType": "bytes",
|
675
|
-
"name": "data",
|
676
|
-
"type": "bytes"
|
677
|
-
}
|
678
|
-
],
|
679
|
-
"internalType": "struct IRisk.RiskInfo",
|
680
|
-
"name": "risk",
|
681
|
-
"type": "tuple"
|
102
|
+
"internalType": "address",
|
103
|
+
"name": "instanceAuthority",
|
104
|
+
"type": "address"
|
682
105
|
}
|
683
106
|
],
|
684
|
-
"name": "
|
685
|
-
"
|
686
|
-
"stateMutability": "nonpayable",
|
687
|
-
"type": "function"
|
107
|
+
"name": "ErrorInstanceInstanceReaderInstanceMismatch",
|
108
|
+
"type": "error"
|
688
109
|
},
|
689
110
|
{
|
690
111
|
"inputs": [
|
691
112
|
{
|
692
|
-
"internalType": "
|
693
|
-
"name": "
|
694
|
-
"type": "
|
113
|
+
"internalType": "address",
|
114
|
+
"name": "instanceStore",
|
115
|
+
"type": "address"
|
695
116
|
}
|
696
117
|
],
|
697
|
-
"name": "
|
698
|
-
"
|
118
|
+
"name": "ErrorInstanceInstanceStoreAlreadySet",
|
119
|
+
"type": "error"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"inputs": [
|
699
123
|
{
|
700
|
-
"internalType": "
|
701
|
-
"name": "",
|
702
|
-
"type": "
|
124
|
+
"internalType": "address",
|
125
|
+
"name": "instanceAuthority",
|
126
|
+
"type": "address"
|
703
127
|
}
|
704
128
|
],
|
705
|
-
"
|
706
|
-
"type": "
|
129
|
+
"name": "ErrorInstanceInstanceStoreAuthorityMismatch",
|
130
|
+
"type": "error"
|
707
131
|
},
|
708
132
|
{
|
709
133
|
"inputs": [
|
710
134
|
{
|
711
|
-
"internalType": "
|
712
|
-
"name": "
|
713
|
-
"type": "
|
135
|
+
"internalType": "NftId",
|
136
|
+
"name": "nftId",
|
137
|
+
"type": "uint96"
|
714
138
|
}
|
715
139
|
],
|
716
|
-
"name": "
|
717
|
-
"
|
140
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
141
|
+
"type": "error"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"inputs": [
|
718
145
|
{
|
719
|
-
"
|
720
|
-
|
721
|
-
|
722
|
-
{
|
723
|
-
"internalType": "ObjectType",
|
724
|
-
"name": "objectType",
|
725
|
-
"type": "uint8"
|
726
|
-
},
|
727
|
-
{
|
728
|
-
"internalType": "StateId",
|
729
|
-
"name": "state",
|
730
|
-
"type": "uint8"
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"internalType": "address",
|
734
|
-
"name": "updatedBy",
|
735
|
-
"type": "address"
|
736
|
-
},
|
737
|
-
{
|
738
|
-
"internalType": "Blocknumber",
|
739
|
-
"name": "updatedIn",
|
740
|
-
"type": "uint32"
|
741
|
-
},
|
742
|
-
{
|
743
|
-
"internalType": "Blocknumber",
|
744
|
-
"name": "createdIn",
|
745
|
-
"type": "uint32"
|
746
|
-
}
|
747
|
-
],
|
748
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
749
|
-
"name": "metadata",
|
750
|
-
"type": "tuple"
|
751
|
-
},
|
752
|
-
{
|
753
|
-
"internalType": "bytes",
|
754
|
-
"name": "data",
|
755
|
-
"type": "bytes"
|
756
|
-
}
|
757
|
-
],
|
758
|
-
"internalType": "struct IKeyValueStore.Value",
|
759
|
-
"name": "value",
|
760
|
-
"type": "tuple"
|
146
|
+
"internalType": "address",
|
147
|
+
"name": "contractAddress",
|
148
|
+
"type": "address"
|
761
149
|
}
|
762
150
|
],
|
763
|
-
"
|
764
|
-
"type": "
|
151
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
152
|
+
"type": "error"
|
765
153
|
},
|
766
154
|
{
|
767
155
|
"inputs": [],
|
768
|
-
"name": "
|
769
|
-
"
|
156
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
157
|
+
"type": "error"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [
|
770
161
|
{
|
771
|
-
"internalType": "
|
772
|
-
"name": "",
|
162
|
+
"internalType": "address",
|
163
|
+
"name": "account",
|
773
164
|
"type": "address"
|
774
165
|
}
|
775
166
|
],
|
776
|
-
"
|
777
|
-
"type": "
|
167
|
+
"name": "ErrorNftOwnableNotOwner",
|
168
|
+
"type": "error"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"inputs": [
|
172
|
+
{
|
173
|
+
"internalType": "address",
|
174
|
+
"name": "registryAddress",
|
175
|
+
"type": "address"
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"name": "ErrorNotRegistry",
|
179
|
+
"type": "error"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"anonymous": false,
|
183
|
+
"inputs": [
|
184
|
+
{
|
185
|
+
"indexed": false,
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "authority",
|
188
|
+
"type": "address"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "AuthorityUpdated",
|
192
|
+
"type": "event"
|
778
193
|
},
|
779
194
|
{
|
780
195
|
"inputs": [],
|
781
|
-
"name": "
|
196
|
+
"name": "authority",
|
782
197
|
"outputs": [
|
783
198
|
{
|
784
|
-
"internalType": "
|
199
|
+
"internalType": "address",
|
785
200
|
"name": "",
|
786
201
|
"type": "address"
|
787
202
|
}
|
@@ -792,28 +207,56 @@
|
|
792
207
|
{
|
793
208
|
"inputs": [
|
794
209
|
{
|
795
|
-
"internalType": "
|
796
|
-
"name": "
|
797
|
-
"type": "
|
210
|
+
"internalType": "string",
|
211
|
+
"name": "roleName",
|
212
|
+
"type": "string"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"internalType": "string",
|
216
|
+
"name": "adminName",
|
217
|
+
"type": "string"
|
798
218
|
}
|
799
219
|
],
|
800
|
-
"name": "
|
220
|
+
"name": "createRole",
|
801
221
|
"outputs": [
|
802
222
|
{
|
803
|
-
"internalType": "
|
804
|
-
"name": "
|
805
|
-
"type": "
|
223
|
+
"internalType": "RoleId",
|
224
|
+
"name": "roleId",
|
225
|
+
"type": "uint64"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"internalType": "RoleId",
|
229
|
+
"name": "admin",
|
230
|
+
"type": "uint64"
|
806
231
|
}
|
807
232
|
],
|
808
|
-
"stateMutability": "
|
233
|
+
"stateMutability": "nonpayable",
|
234
|
+
"type": "function"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"inputs": [
|
238
|
+
{
|
239
|
+
"internalType": "address",
|
240
|
+
"name": "target",
|
241
|
+
"type": "address"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"internalType": "string",
|
245
|
+
"name": "name",
|
246
|
+
"type": "string"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"name": "createTarget",
|
250
|
+
"outputs": [],
|
251
|
+
"stateMutability": "nonpayable",
|
809
252
|
"type": "function"
|
810
253
|
},
|
811
254
|
{
|
812
255
|
"inputs": [],
|
813
|
-
"name": "
|
256
|
+
"name": "getBundleManager",
|
814
257
|
"outputs": [
|
815
258
|
{
|
816
|
-
"internalType": "contract
|
259
|
+
"internalType": "contract BundleManager",
|
817
260
|
"name": "",
|
818
261
|
"type": "address"
|
819
262
|
}
|
@@ -822,19 +265,13 @@
|
|
822
265
|
"type": "function"
|
823
266
|
},
|
824
267
|
{
|
825
|
-
"inputs": [
|
826
|
-
|
827
|
-
"internalType": "ObjectType",
|
828
|
-
"name": "objectType",
|
829
|
-
"type": "uint8"
|
830
|
-
}
|
831
|
-
],
|
832
|
-
"name": "getInitialState",
|
268
|
+
"inputs": [],
|
269
|
+
"name": "getBundleService",
|
833
270
|
"outputs": [
|
834
271
|
{
|
835
|
-
"internalType": "
|
272
|
+
"internalType": "contract IBundleService",
|
836
273
|
"name": "",
|
837
|
-
"type": "
|
274
|
+
"type": "address"
|
838
275
|
}
|
839
276
|
],
|
840
277
|
"stateMutability": "view",
|
@@ -842,10 +279,10 @@
|
|
842
279
|
},
|
843
280
|
{
|
844
281
|
"inputs": [],
|
845
|
-
"name": "
|
282
|
+
"name": "getDistributionService",
|
846
283
|
"outputs": [
|
847
284
|
{
|
848
|
-
"internalType": "contract
|
285
|
+
"internalType": "contract IDistributionService",
|
849
286
|
"name": "",
|
850
287
|
"type": "address"
|
851
288
|
}
|
@@ -854,45 +291,49 @@
|
|
854
291
|
"type": "function"
|
855
292
|
},
|
856
293
|
{
|
857
|
-
"inputs": [
|
858
|
-
|
859
|
-
"internalType": "Key32",
|
860
|
-
"name": "key",
|
861
|
-
"type": "bytes32"
|
862
|
-
}
|
863
|
-
],
|
864
|
-
"name": "getMetadata",
|
294
|
+
"inputs": [],
|
295
|
+
"name": "getInitialInfo",
|
865
296
|
"outputs": [
|
866
297
|
{
|
867
298
|
"components": [
|
299
|
+
{
|
300
|
+
"internalType": "NftId",
|
301
|
+
"name": "nftId",
|
302
|
+
"type": "uint96"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"internalType": "NftId",
|
306
|
+
"name": "parentNftId",
|
307
|
+
"type": "uint96"
|
308
|
+
},
|
868
309
|
{
|
869
310
|
"internalType": "ObjectType",
|
870
311
|
"name": "objectType",
|
871
312
|
"type": "uint8"
|
872
313
|
},
|
873
314
|
{
|
874
|
-
"internalType": "
|
875
|
-
"name": "
|
876
|
-
"type": "
|
315
|
+
"internalType": "bool",
|
316
|
+
"name": "isInterceptor",
|
317
|
+
"type": "bool"
|
877
318
|
},
|
878
319
|
{
|
879
320
|
"internalType": "address",
|
880
|
-
"name": "
|
321
|
+
"name": "objectAddress",
|
881
322
|
"type": "address"
|
882
323
|
},
|
883
324
|
{
|
884
|
-
"internalType": "
|
885
|
-
"name": "
|
886
|
-
"type": "
|
325
|
+
"internalType": "address",
|
326
|
+
"name": "initialOwner",
|
327
|
+
"type": "address"
|
887
328
|
},
|
888
329
|
{
|
889
|
-
"internalType": "
|
890
|
-
"name": "
|
891
|
-
"type": "
|
330
|
+
"internalType": "bytes",
|
331
|
+
"name": "data",
|
332
|
+
"type": "bytes"
|
892
333
|
}
|
893
334
|
],
|
894
|
-
"internalType": "struct
|
895
|
-
"name": "
|
335
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
336
|
+
"name": "",
|
896
337
|
"type": "tuple"
|
897
338
|
}
|
898
339
|
],
|
@@ -901,10 +342,10 @@
|
|
901
342
|
},
|
902
343
|
{
|
903
344
|
"inputs": [],
|
904
|
-
"name": "
|
345
|
+
"name": "getInstanceAccessManager",
|
905
346
|
"outputs": [
|
906
347
|
{
|
907
|
-
"internalType": "contract
|
348
|
+
"internalType": "contract InstanceAccessManager",
|
908
349
|
"name": "",
|
909
350
|
"type": "address"
|
910
351
|
}
|
@@ -914,10 +355,10 @@
|
|
914
355
|
},
|
915
356
|
{
|
916
357
|
"inputs": [],
|
917
|
-
"name": "
|
358
|
+
"name": "getInstanceReader",
|
918
359
|
"outputs": [
|
919
360
|
{
|
920
|
-
"internalType": "contract
|
361
|
+
"internalType": "contract InstanceReader",
|
921
362
|
"name": "",
|
922
363
|
"type": "address"
|
923
364
|
}
|
@@ -926,396 +367,156 @@
|
|
926
367
|
"type": "function"
|
927
368
|
},
|
928
369
|
{
|
929
|
-
"inputs": [
|
930
|
-
|
931
|
-
"internalType": "Key32",
|
932
|
-
"name": "key",
|
933
|
-
"type": "bytes32"
|
934
|
-
}
|
935
|
-
],
|
936
|
-
"name": "getState",
|
370
|
+
"inputs": [],
|
371
|
+
"name": "getInstanceStore",
|
937
372
|
"outputs": [
|
938
373
|
{
|
939
|
-
"internalType": "
|
940
|
-
"name": "
|
941
|
-
"type": "
|
374
|
+
"internalType": "contract InstanceStore",
|
375
|
+
"name": "",
|
376
|
+
"type": "address"
|
942
377
|
}
|
943
378
|
],
|
944
379
|
"stateMutability": "view",
|
945
380
|
"type": "function"
|
946
381
|
},
|
947
382
|
{
|
948
|
-
"inputs": [
|
383
|
+
"inputs": [],
|
384
|
+
"name": "getMajorVersion",
|
385
|
+
"outputs": [
|
949
386
|
{
|
950
|
-
"internalType": "
|
951
|
-
"name": "
|
387
|
+
"internalType": "VersionPart",
|
388
|
+
"name": "majorVersion",
|
952
389
|
"type": "uint8"
|
953
390
|
}
|
954
391
|
],
|
955
|
-
"
|
392
|
+
"stateMutability": "pure",
|
393
|
+
"type": "function"
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"inputs": [],
|
397
|
+
"name": "getNftId",
|
956
398
|
"outputs": [
|
957
399
|
{
|
958
|
-
"internalType": "
|
400
|
+
"internalType": "NftId",
|
959
401
|
"name": "",
|
960
|
-
"type": "
|
402
|
+
"type": "uint96"
|
961
403
|
}
|
962
404
|
],
|
963
405
|
"stateMutability": "view",
|
964
406
|
"type": "function"
|
965
407
|
},
|
966
408
|
{
|
967
|
-
"inputs": [
|
968
|
-
|
969
|
-
"internalType": "ObjectType",
|
970
|
-
"name": "objectType",
|
971
|
-
"type": "uint8"
|
972
|
-
},
|
973
|
-
{
|
974
|
-
"internalType": "StateId",
|
975
|
-
"name": "fromId",
|
976
|
-
"type": "uint8"
|
977
|
-
},
|
978
|
-
{
|
979
|
-
"internalType": "StateId",
|
980
|
-
"name": "toId",
|
981
|
-
"type": "uint8"
|
982
|
-
}
|
983
|
-
],
|
984
|
-
"name": "isValidTransition",
|
409
|
+
"inputs": [],
|
410
|
+
"name": "getOwner",
|
985
411
|
"outputs": [
|
986
412
|
{
|
987
|
-
"internalType": "
|
413
|
+
"internalType": "address",
|
988
414
|
"name": "",
|
989
|
-
"type": "
|
415
|
+
"type": "address"
|
990
416
|
}
|
991
417
|
],
|
992
418
|
"stateMutability": "view",
|
993
419
|
"type": "function"
|
994
420
|
},
|
995
421
|
{
|
996
|
-
"inputs": [
|
997
|
-
|
998
|
-
"internalType": "bytes4",
|
999
|
-
"name": "interfaceId",
|
1000
|
-
"type": "bytes4"
|
1001
|
-
}
|
1002
|
-
],
|
1003
|
-
"name": "supportsInterface",
|
422
|
+
"inputs": [],
|
423
|
+
"name": "getPolicyService",
|
1004
424
|
"outputs": [
|
1005
425
|
{
|
1006
|
-
"internalType": "
|
426
|
+
"internalType": "contract IPolicyService",
|
1007
427
|
"name": "",
|
1008
|
-
"type": "
|
428
|
+
"type": "address"
|
1009
429
|
}
|
1010
430
|
],
|
1011
431
|
"stateMutability": "view",
|
1012
432
|
"type": "function"
|
1013
433
|
},
|
1014
434
|
{
|
1015
|
-
"inputs": [
|
1016
|
-
|
1017
|
-
"internalType": "ObjectType",
|
1018
|
-
"name": "objectType",
|
1019
|
-
"type": "uint8"
|
1020
|
-
},
|
1021
|
-
{
|
1022
|
-
"internalType": "KeyId",
|
1023
|
-
"name": "id",
|
1024
|
-
"type": "bytes31"
|
1025
|
-
}
|
1026
|
-
],
|
1027
|
-
"name": "toKey32",
|
435
|
+
"inputs": [],
|
436
|
+
"name": "getPoolService",
|
1028
437
|
"outputs": [
|
1029
438
|
{
|
1030
|
-
"internalType": "
|
439
|
+
"internalType": "contract IPoolService",
|
1031
440
|
"name": "",
|
1032
|
-
"type": "
|
441
|
+
"type": "address"
|
1033
442
|
}
|
1034
443
|
],
|
1035
|
-
"stateMutability": "
|
444
|
+
"stateMutability": "view",
|
1036
445
|
"type": "function"
|
1037
446
|
},
|
1038
447
|
{
|
1039
|
-
"inputs": [
|
1040
|
-
|
1041
|
-
|
1042
|
-
"name": "bundleNftId",
|
1043
|
-
"type": "uint96"
|
1044
|
-
},
|
1045
|
-
{
|
1046
|
-
"components": [
|
1047
|
-
{
|
1048
|
-
"internalType": "NftId",
|
1049
|
-
"name": "poolNftId",
|
1050
|
-
"type": "uint96"
|
1051
|
-
},
|
1052
|
-
{
|
1053
|
-
"components": [
|
1054
|
-
{
|
1055
|
-
"internalType": "UFixed",
|
1056
|
-
"name": "fractionalFee",
|
1057
|
-
"type": "uint256"
|
1058
|
-
},
|
1059
|
-
{
|
1060
|
-
"internalType": "uint256",
|
1061
|
-
"name": "fixedFee",
|
1062
|
-
"type": "uint256"
|
1063
|
-
}
|
1064
|
-
],
|
1065
|
-
"internalType": "struct Fee",
|
1066
|
-
"name": "fee",
|
1067
|
-
"type": "tuple"
|
1068
|
-
},
|
1069
|
-
{
|
1070
|
-
"internalType": "bytes",
|
1071
|
-
"name": "filter",
|
1072
|
-
"type": "bytes"
|
1073
|
-
},
|
1074
|
-
{
|
1075
|
-
"internalType": "uint256",
|
1076
|
-
"name": "capitalAmount",
|
1077
|
-
"type": "uint256"
|
1078
|
-
},
|
1079
|
-
{
|
1080
|
-
"internalType": "uint256",
|
1081
|
-
"name": "lockedAmount",
|
1082
|
-
"type": "uint256"
|
1083
|
-
},
|
1084
|
-
{
|
1085
|
-
"internalType": "uint256",
|
1086
|
-
"name": "balanceAmount",
|
1087
|
-
"type": "uint256"
|
1088
|
-
},
|
1089
|
-
{
|
1090
|
-
"internalType": "uint256",
|
1091
|
-
"name": "lifetime",
|
1092
|
-
"type": "uint256"
|
1093
|
-
},
|
1094
|
-
{
|
1095
|
-
"internalType": "Timestamp",
|
1096
|
-
"name": "expiredAt",
|
1097
|
-
"type": "uint40"
|
1098
|
-
},
|
1099
|
-
{
|
1100
|
-
"internalType": "Timestamp",
|
1101
|
-
"name": "closedAt",
|
1102
|
-
"type": "uint40"
|
1103
|
-
}
|
1104
|
-
],
|
1105
|
-
"internalType": "struct IBundle.BundleInfo",
|
1106
|
-
"name": "bundle",
|
1107
|
-
"type": "tuple"
|
1108
|
-
},
|
448
|
+
"inputs": [],
|
449
|
+
"name": "getProductService",
|
450
|
+
"outputs": [
|
1109
451
|
{
|
1110
|
-
"internalType": "
|
1111
|
-
"name": "
|
1112
|
-
"type": "
|
452
|
+
"internalType": "contract IProductService",
|
453
|
+
"name": "",
|
454
|
+
"type": "address"
|
1113
455
|
}
|
1114
456
|
],
|
1115
|
-
"
|
1116
|
-
"outputs": [],
|
1117
|
-
"stateMutability": "nonpayable",
|
457
|
+
"stateMutability": "view",
|
1118
458
|
"type": "function"
|
1119
459
|
},
|
1120
460
|
{
|
1121
|
-
"inputs": [
|
1122
|
-
|
1123
|
-
|
1124
|
-
"name": "bundleNftId",
|
1125
|
-
"type": "uint96"
|
1126
|
-
},
|
461
|
+
"inputs": [],
|
462
|
+
"name": "getRegistry",
|
463
|
+
"outputs": [
|
1127
464
|
{
|
1128
|
-
"internalType": "
|
1129
|
-
"name": "
|
1130
|
-
"type": "
|
465
|
+
"internalType": "contract IRegistry",
|
466
|
+
"name": "",
|
467
|
+
"type": "address"
|
1131
468
|
}
|
1132
469
|
],
|
1133
|
-
"
|
1134
|
-
"outputs": [],
|
1135
|
-
"stateMutability": "nonpayable",
|
470
|
+
"stateMutability": "view",
|
1136
471
|
"type": "function"
|
1137
472
|
},
|
1138
473
|
{
|
1139
|
-
"inputs": [
|
1140
|
-
|
1141
|
-
|
1142
|
-
"name": "distributionNftId",
|
1143
|
-
"type": "uint96"
|
1144
|
-
},
|
1145
|
-
{
|
1146
|
-
"components": [
|
1147
|
-
{
|
1148
|
-
"internalType": "NftId",
|
1149
|
-
"name": "productNftId",
|
1150
|
-
"type": "uint96"
|
1151
|
-
},
|
1152
|
-
{
|
1153
|
-
"internalType": "contract TokenHandler",
|
1154
|
-
"name": "tokenHandler",
|
1155
|
-
"type": "address"
|
1156
|
-
},
|
1157
|
-
{
|
1158
|
-
"components": [
|
1159
|
-
{
|
1160
|
-
"internalType": "UFixed",
|
1161
|
-
"name": "fractionalFee",
|
1162
|
-
"type": "uint256"
|
1163
|
-
},
|
1164
|
-
{
|
1165
|
-
"internalType": "uint256",
|
1166
|
-
"name": "fixedFee",
|
1167
|
-
"type": "uint256"
|
1168
|
-
}
|
1169
|
-
],
|
1170
|
-
"internalType": "struct Fee",
|
1171
|
-
"name": "distributionFee",
|
1172
|
-
"type": "tuple"
|
1173
|
-
},
|
1174
|
-
{
|
1175
|
-
"internalType": "bool",
|
1176
|
-
"name": "isIntercepting",
|
1177
|
-
"type": "bool"
|
1178
|
-
},
|
1179
|
-
{
|
1180
|
-
"internalType": "address",
|
1181
|
-
"name": "wallet",
|
1182
|
-
"type": "address"
|
1183
|
-
}
|
1184
|
-
],
|
1185
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
1186
|
-
"name": "setup",
|
1187
|
-
"type": "tuple"
|
1188
|
-
},
|
474
|
+
"inputs": [],
|
475
|
+
"name": "getRegistryAddress",
|
476
|
+
"outputs": [
|
1189
477
|
{
|
1190
|
-
"internalType": "
|
1191
|
-
"name": "
|
1192
|
-
"type": "
|
478
|
+
"internalType": "address",
|
479
|
+
"name": "",
|
480
|
+
"type": "address"
|
1193
481
|
}
|
1194
482
|
],
|
1195
|
-
"
|
1196
|
-
"outputs": [],
|
1197
|
-
"stateMutability": "nonpayable",
|
483
|
+
"stateMutability": "view",
|
1198
484
|
"type": "function"
|
1199
485
|
},
|
1200
486
|
{
|
1201
487
|
"inputs": [
|
1202
488
|
{
|
1203
|
-
"internalType": "
|
1204
|
-
"name": "
|
1205
|
-
"type": "
|
489
|
+
"internalType": "RoleId",
|
490
|
+
"name": "roleId",
|
491
|
+
"type": "uint64"
|
1206
492
|
},
|
1207
493
|
{
|
1208
|
-
"internalType": "
|
1209
|
-
"name": "
|
1210
|
-
"type": "
|
494
|
+
"internalType": "address",
|
495
|
+
"name": "account",
|
496
|
+
"type": "address"
|
1211
497
|
}
|
1212
498
|
],
|
1213
|
-
"name": "
|
499
|
+
"name": "grantRole",
|
1214
500
|
"outputs": [],
|
1215
501
|
"stateMutability": "nonpayable",
|
1216
502
|
"type": "function"
|
1217
503
|
},
|
1218
504
|
{
|
1219
|
-
"inputs": [
|
1220
|
-
|
1221
|
-
|
1222
|
-
"name": "policyNftId",
|
1223
|
-
"type": "uint96"
|
1224
|
-
},
|
1225
|
-
{
|
1226
|
-
"components": [
|
1227
|
-
{
|
1228
|
-
"internalType": "NftId",
|
1229
|
-
"name": "productNftId",
|
1230
|
-
"type": "uint96"
|
1231
|
-
},
|
1232
|
-
{
|
1233
|
-
"internalType": "NftId",
|
1234
|
-
"name": "bundleNftId",
|
1235
|
-
"type": "uint96"
|
1236
|
-
},
|
1237
|
-
{
|
1238
|
-
"internalType": "ReferralId",
|
1239
|
-
"name": "referralId",
|
1240
|
-
"type": "bytes8"
|
1241
|
-
},
|
1242
|
-
{
|
1243
|
-
"internalType": "RiskId",
|
1244
|
-
"name": "riskId",
|
1245
|
-
"type": "bytes8"
|
1246
|
-
},
|
1247
|
-
{
|
1248
|
-
"internalType": "uint256",
|
1249
|
-
"name": "sumInsuredAmount",
|
1250
|
-
"type": "uint256"
|
1251
|
-
},
|
1252
|
-
{
|
1253
|
-
"internalType": "uint256",
|
1254
|
-
"name": "premiumAmount",
|
1255
|
-
"type": "uint256"
|
1256
|
-
},
|
1257
|
-
{
|
1258
|
-
"internalType": "uint256",
|
1259
|
-
"name": "premiumPaidAmount",
|
1260
|
-
"type": "uint256"
|
1261
|
-
},
|
1262
|
-
{
|
1263
|
-
"internalType": "uint256",
|
1264
|
-
"name": "lifetime",
|
1265
|
-
"type": "uint256"
|
1266
|
-
},
|
1267
|
-
{
|
1268
|
-
"internalType": "bytes",
|
1269
|
-
"name": "applicationData",
|
1270
|
-
"type": "bytes"
|
1271
|
-
},
|
1272
|
-
{
|
1273
|
-
"internalType": "bytes",
|
1274
|
-
"name": "policyData",
|
1275
|
-
"type": "bytes"
|
1276
|
-
},
|
1277
|
-
{
|
1278
|
-
"internalType": "uint16",
|
1279
|
-
"name": "claimsCount",
|
1280
|
-
"type": "uint16"
|
1281
|
-
},
|
1282
|
-
{
|
1283
|
-
"internalType": "uint16",
|
1284
|
-
"name": "openClaimsCount",
|
1285
|
-
"type": "uint16"
|
1286
|
-
},
|
1287
|
-
{
|
1288
|
-
"internalType": "uint256",
|
1289
|
-
"name": "payoutAmount",
|
1290
|
-
"type": "uint256"
|
1291
|
-
},
|
1292
|
-
{
|
1293
|
-
"internalType": "Timestamp",
|
1294
|
-
"name": "activatedAt",
|
1295
|
-
"type": "uint40"
|
1296
|
-
},
|
1297
|
-
{
|
1298
|
-
"internalType": "Timestamp",
|
1299
|
-
"name": "expiredAt",
|
1300
|
-
"type": "uint40"
|
1301
|
-
},
|
1302
|
-
{
|
1303
|
-
"internalType": "Timestamp",
|
1304
|
-
"name": "closedAt",
|
1305
|
-
"type": "uint40"
|
1306
|
-
}
|
1307
|
-
],
|
1308
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
1309
|
-
"name": "policy",
|
1310
|
-
"type": "tuple"
|
1311
|
-
},
|
505
|
+
"inputs": [],
|
506
|
+
"name": "isConsumingScheduledOp",
|
507
|
+
"outputs": [
|
1312
508
|
{
|
1313
|
-
"internalType": "
|
1314
|
-
"name": "
|
1315
|
-
"type": "
|
509
|
+
"internalType": "bytes4",
|
510
|
+
"name": "",
|
511
|
+
"type": "bytes4"
|
1316
512
|
}
|
1317
513
|
],
|
1318
|
-
"
|
514
|
+
"stateMutability": "view",
|
515
|
+
"type": "function"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"inputs": [],
|
519
|
+
"name": "linkToRegisteredNftId",
|
1319
520
|
"outputs": [],
|
1320
521
|
"stateMutability": "nonpayable",
|
1321
522
|
"type": "function"
|
@@ -1323,17 +524,17 @@
|
|
1323
524
|
{
|
1324
525
|
"inputs": [
|
1325
526
|
{
|
1326
|
-
"internalType": "
|
1327
|
-
"name": "
|
1328
|
-
"type": "
|
527
|
+
"internalType": "address",
|
528
|
+
"name": "to",
|
529
|
+
"type": "address"
|
1329
530
|
},
|
1330
531
|
{
|
1331
|
-
"internalType": "
|
1332
|
-
"name": "
|
1333
|
-
"type": "
|
532
|
+
"internalType": "uint256",
|
533
|
+
"name": "tokenId",
|
534
|
+
"type": "uint256"
|
1334
535
|
}
|
1335
536
|
],
|
1336
|
-
"name": "
|
537
|
+
"name": "nftMint",
|
1337
538
|
"outputs": [],
|
1338
539
|
"stateMutability": "nonpayable",
|
1339
540
|
"type": "function"
|
@@ -1341,105 +542,22 @@
|
|
1341
542
|
{
|
1342
543
|
"inputs": [
|
1343
544
|
{
|
1344
|
-
"internalType": "
|
1345
|
-
"name": "
|
1346
|
-
"type": "
|
545
|
+
"internalType": "address",
|
546
|
+
"name": "from",
|
547
|
+
"type": "address"
|
1347
548
|
},
|
1348
549
|
{
|
1349
|
-
"
|
1350
|
-
|
1351
|
-
|
1352
|
-
"name": "productNftId",
|
1353
|
-
"type": "uint96"
|
1354
|
-
},
|
1355
|
-
{
|
1356
|
-
"internalType": "contract TokenHandler",
|
1357
|
-
"name": "tokenHandler",
|
1358
|
-
"type": "address"
|
1359
|
-
},
|
1360
|
-
{
|
1361
|
-
"internalType": "UFixed",
|
1362
|
-
"name": "collateralizationLevel",
|
1363
|
-
"type": "uint256"
|
1364
|
-
},
|
1365
|
-
{
|
1366
|
-
"components": [
|
1367
|
-
{
|
1368
|
-
"internalType": "UFixed",
|
1369
|
-
"name": "fractionalFee",
|
1370
|
-
"type": "uint256"
|
1371
|
-
},
|
1372
|
-
{
|
1373
|
-
"internalType": "uint256",
|
1374
|
-
"name": "fixedFee",
|
1375
|
-
"type": "uint256"
|
1376
|
-
}
|
1377
|
-
],
|
1378
|
-
"internalType": "struct Fee",
|
1379
|
-
"name": "poolFee",
|
1380
|
-
"type": "tuple"
|
1381
|
-
},
|
1382
|
-
{
|
1383
|
-
"components": [
|
1384
|
-
{
|
1385
|
-
"internalType": "UFixed",
|
1386
|
-
"name": "fractionalFee",
|
1387
|
-
"type": "uint256"
|
1388
|
-
},
|
1389
|
-
{
|
1390
|
-
"internalType": "uint256",
|
1391
|
-
"name": "fixedFee",
|
1392
|
-
"type": "uint256"
|
1393
|
-
}
|
1394
|
-
],
|
1395
|
-
"internalType": "struct Fee",
|
1396
|
-
"name": "stakingFee",
|
1397
|
-
"type": "tuple"
|
1398
|
-
},
|
1399
|
-
{
|
1400
|
-
"components": [
|
1401
|
-
{
|
1402
|
-
"internalType": "UFixed",
|
1403
|
-
"name": "fractionalFee",
|
1404
|
-
"type": "uint256"
|
1405
|
-
},
|
1406
|
-
{
|
1407
|
-
"internalType": "uint256",
|
1408
|
-
"name": "fixedFee",
|
1409
|
-
"type": "uint256"
|
1410
|
-
}
|
1411
|
-
],
|
1412
|
-
"internalType": "struct Fee",
|
1413
|
-
"name": "performanceFee",
|
1414
|
-
"type": "tuple"
|
1415
|
-
},
|
1416
|
-
{
|
1417
|
-
"internalType": "bool",
|
1418
|
-
"name": "isIntercepting",
|
1419
|
-
"type": "bool"
|
1420
|
-
},
|
1421
|
-
{
|
1422
|
-
"internalType": "bool",
|
1423
|
-
"name": "isConfirmingApplication",
|
1424
|
-
"type": "bool"
|
1425
|
-
},
|
1426
|
-
{
|
1427
|
-
"internalType": "address",
|
1428
|
-
"name": "wallet",
|
1429
|
-
"type": "address"
|
1430
|
-
}
|
1431
|
-
],
|
1432
|
-
"internalType": "struct ISetup.PoolSetupInfo",
|
1433
|
-
"name": "setup",
|
1434
|
-
"type": "tuple"
|
550
|
+
"internalType": "address",
|
551
|
+
"name": "to",
|
552
|
+
"type": "address"
|
1435
553
|
},
|
1436
554
|
{
|
1437
|
-
"internalType": "
|
1438
|
-
"name": "
|
1439
|
-
"type": "
|
555
|
+
"internalType": "uint256",
|
556
|
+
"name": "tokenId",
|
557
|
+
"type": "uint256"
|
1440
558
|
}
|
1441
559
|
],
|
1442
|
-
"name": "
|
560
|
+
"name": "nftTransferFrom",
|
1443
561
|
"outputs": [],
|
1444
562
|
"stateMutability": "nonpayable",
|
1445
563
|
"type": "function"
|
@@ -1447,17 +565,17 @@
|
|
1447
565
|
{
|
1448
566
|
"inputs": [
|
1449
567
|
{
|
1450
|
-
"internalType": "
|
1451
|
-
"name": "
|
1452
|
-
"type": "
|
568
|
+
"internalType": "RoleId",
|
569
|
+
"name": "roleId",
|
570
|
+
"type": "uint64"
|
1453
571
|
},
|
1454
572
|
{
|
1455
|
-
"internalType": "
|
1456
|
-
"name": "
|
1457
|
-
"type": "
|
573
|
+
"internalType": "address",
|
574
|
+
"name": "account",
|
575
|
+
"type": "address"
|
1458
576
|
}
|
1459
577
|
],
|
1460
|
-
"name": "
|
578
|
+
"name": "revokeRole",
|
1461
579
|
"outputs": [],
|
1462
580
|
"stateMutability": "nonpayable",
|
1463
581
|
"type": "function"
|
@@ -1465,156 +583,12 @@
|
|
1465
583
|
{
|
1466
584
|
"inputs": [
|
1467
585
|
{
|
1468
|
-
"internalType": "
|
1469
|
-
"name": "
|
1470
|
-
"type": "
|
1471
|
-
},
|
1472
|
-
{
|
1473
|
-
"components": [
|
1474
|
-
{
|
1475
|
-
"internalType": "contract IERC20Metadata",
|
1476
|
-
"name": "token",
|
1477
|
-
"type": "address"
|
1478
|
-
},
|
1479
|
-
{
|
1480
|
-
"internalType": "contract TokenHandler",
|
1481
|
-
"name": "tokenHandler",
|
1482
|
-
"type": "address"
|
1483
|
-
},
|
1484
|
-
{
|
1485
|
-
"internalType": "NftId",
|
1486
|
-
"name": "distributionNftId",
|
1487
|
-
"type": "uint96"
|
1488
|
-
},
|
1489
|
-
{
|
1490
|
-
"internalType": "NftId",
|
1491
|
-
"name": "poolNftId",
|
1492
|
-
"type": "uint96"
|
1493
|
-
},
|
1494
|
-
{
|
1495
|
-
"components": [
|
1496
|
-
{
|
1497
|
-
"internalType": "UFixed",
|
1498
|
-
"name": "fractionalFee",
|
1499
|
-
"type": "uint256"
|
1500
|
-
},
|
1501
|
-
{
|
1502
|
-
"internalType": "uint256",
|
1503
|
-
"name": "fixedFee",
|
1504
|
-
"type": "uint256"
|
1505
|
-
}
|
1506
|
-
],
|
1507
|
-
"internalType": "struct Fee",
|
1508
|
-
"name": "distributionFee",
|
1509
|
-
"type": "tuple"
|
1510
|
-
},
|
1511
|
-
{
|
1512
|
-
"components": [
|
1513
|
-
{
|
1514
|
-
"internalType": "UFixed",
|
1515
|
-
"name": "fractionalFee",
|
1516
|
-
"type": "uint256"
|
1517
|
-
},
|
1518
|
-
{
|
1519
|
-
"internalType": "uint256",
|
1520
|
-
"name": "fixedFee",
|
1521
|
-
"type": "uint256"
|
1522
|
-
}
|
1523
|
-
],
|
1524
|
-
"internalType": "struct Fee",
|
1525
|
-
"name": "productFee",
|
1526
|
-
"type": "tuple"
|
1527
|
-
},
|
1528
|
-
{
|
1529
|
-
"components": [
|
1530
|
-
{
|
1531
|
-
"internalType": "UFixed",
|
1532
|
-
"name": "fractionalFee",
|
1533
|
-
"type": "uint256"
|
1534
|
-
},
|
1535
|
-
{
|
1536
|
-
"internalType": "uint256",
|
1537
|
-
"name": "fixedFee",
|
1538
|
-
"type": "uint256"
|
1539
|
-
}
|
1540
|
-
],
|
1541
|
-
"internalType": "struct Fee",
|
1542
|
-
"name": "processingFee",
|
1543
|
-
"type": "tuple"
|
1544
|
-
},
|
1545
|
-
{
|
1546
|
-
"components": [
|
1547
|
-
{
|
1548
|
-
"internalType": "UFixed",
|
1549
|
-
"name": "fractionalFee",
|
1550
|
-
"type": "uint256"
|
1551
|
-
},
|
1552
|
-
{
|
1553
|
-
"internalType": "uint256",
|
1554
|
-
"name": "fixedFee",
|
1555
|
-
"type": "uint256"
|
1556
|
-
}
|
1557
|
-
],
|
1558
|
-
"internalType": "struct Fee",
|
1559
|
-
"name": "poolFee",
|
1560
|
-
"type": "tuple"
|
1561
|
-
},
|
1562
|
-
{
|
1563
|
-
"components": [
|
1564
|
-
{
|
1565
|
-
"internalType": "UFixed",
|
1566
|
-
"name": "fractionalFee",
|
1567
|
-
"type": "uint256"
|
1568
|
-
},
|
1569
|
-
{
|
1570
|
-
"internalType": "uint256",
|
1571
|
-
"name": "fixedFee",
|
1572
|
-
"type": "uint256"
|
1573
|
-
}
|
1574
|
-
],
|
1575
|
-
"internalType": "struct Fee",
|
1576
|
-
"name": "stakingFee",
|
1577
|
-
"type": "tuple"
|
1578
|
-
},
|
1579
|
-
{
|
1580
|
-
"components": [
|
1581
|
-
{
|
1582
|
-
"internalType": "UFixed",
|
1583
|
-
"name": "fractionalFee",
|
1584
|
-
"type": "uint256"
|
1585
|
-
},
|
1586
|
-
{
|
1587
|
-
"internalType": "uint256",
|
1588
|
-
"name": "fixedFee",
|
1589
|
-
"type": "uint256"
|
1590
|
-
}
|
1591
|
-
],
|
1592
|
-
"internalType": "struct Fee",
|
1593
|
-
"name": "performanceFee",
|
1594
|
-
"type": "tuple"
|
1595
|
-
},
|
1596
|
-
{
|
1597
|
-
"internalType": "bool",
|
1598
|
-
"name": "isIntercepting",
|
1599
|
-
"type": "bool"
|
1600
|
-
},
|
1601
|
-
{
|
1602
|
-
"internalType": "address",
|
1603
|
-
"name": "wallet",
|
1604
|
-
"type": "address"
|
1605
|
-
}
|
1606
|
-
],
|
1607
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
1608
|
-
"name": "setup",
|
1609
|
-
"type": "tuple"
|
1610
|
-
},
|
1611
|
-
{
|
1612
|
-
"internalType": "StateId",
|
1613
|
-
"name": "newState",
|
1614
|
-
"type": "uint8"
|
586
|
+
"internalType": "address",
|
587
|
+
"name": "",
|
588
|
+
"type": "address"
|
1615
589
|
}
|
1616
590
|
],
|
1617
|
-
"name": "
|
591
|
+
"name": "setAuthority",
|
1618
592
|
"outputs": [],
|
1619
593
|
"stateMutability": "nonpayable",
|
1620
594
|
"type": "function"
|
@@ -1622,17 +596,22 @@
|
|
1622
596
|
{
|
1623
597
|
"inputs": [
|
1624
598
|
{
|
1625
|
-
"internalType": "
|
1626
|
-
"name": "
|
1627
|
-
"type": "
|
599
|
+
"internalType": "string",
|
600
|
+
"name": "targetName",
|
601
|
+
"type": "string"
|
1628
602
|
},
|
1629
603
|
{
|
1630
|
-
"internalType": "
|
1631
|
-
"name": "
|
1632
|
-
"type": "
|
604
|
+
"internalType": "bytes4[]",
|
605
|
+
"name": "selectors",
|
606
|
+
"type": "bytes4[]"
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"internalType": "RoleId",
|
610
|
+
"name": "roleId",
|
611
|
+
"type": "uint64"
|
1633
612
|
}
|
1634
613
|
],
|
1635
|
-
"name": "
|
614
|
+
"name": "setTargetFunctionRole",
|
1636
615
|
"outputs": [],
|
1637
616
|
"stateMutability": "nonpayable",
|
1638
617
|
"type": "function"
|
@@ -1640,34 +619,17 @@
|
|
1640
619
|
{
|
1641
620
|
"inputs": [
|
1642
621
|
{
|
1643
|
-
"internalType": "
|
1644
|
-
"name": "
|
1645
|
-
"type": "
|
1646
|
-
},
|
1647
|
-
{
|
1648
|
-
"components": [
|
1649
|
-
{
|
1650
|
-
"internalType": "NftId",
|
1651
|
-
"name": "productNftId",
|
1652
|
-
"type": "uint96"
|
1653
|
-
},
|
1654
|
-
{
|
1655
|
-
"internalType": "bytes",
|
1656
|
-
"name": "data",
|
1657
|
-
"type": "bytes"
|
1658
|
-
}
|
1659
|
-
],
|
1660
|
-
"internalType": "struct IRisk.RiskInfo",
|
1661
|
-
"name": "risk",
|
1662
|
-
"type": "tuple"
|
622
|
+
"internalType": "address",
|
623
|
+
"name": "target",
|
624
|
+
"type": "address"
|
1663
625
|
},
|
1664
626
|
{
|
1665
|
-
"internalType": "
|
1666
|
-
"name": "
|
1667
|
-
"type": "
|
627
|
+
"internalType": "bool",
|
628
|
+
"name": "locked",
|
629
|
+
"type": "bool"
|
1668
630
|
}
|
1669
631
|
],
|
1670
|
-
"name": "
|
632
|
+
"name": "setTargetLocked",
|
1671
633
|
"outputs": [],
|
1672
634
|
"stateMutability": "nonpayable",
|
1673
635
|
"type": "function"
|
@@ -1675,19 +637,20 @@
|
|
1675
637
|
{
|
1676
638
|
"inputs": [
|
1677
639
|
{
|
1678
|
-
"internalType": "
|
1679
|
-
"name": "
|
1680
|
-
"type": "
|
1681
|
-
}
|
640
|
+
"internalType": "bytes4",
|
641
|
+
"name": "interfaceId",
|
642
|
+
"type": "bytes4"
|
643
|
+
}
|
644
|
+
],
|
645
|
+
"name": "supportsInterface",
|
646
|
+
"outputs": [
|
1682
647
|
{
|
1683
|
-
"internalType": "
|
1684
|
-
"name": "
|
1685
|
-
"type": "
|
648
|
+
"internalType": "bool",
|
649
|
+
"name": "",
|
650
|
+
"type": "bool"
|
1686
651
|
}
|
1687
652
|
],
|
1688
|
-
"
|
1689
|
-
"outputs": [],
|
1690
|
-
"stateMutability": "nonpayable",
|
653
|
+
"stateMutability": "view",
|
1691
654
|
"type": "function"
|
1692
655
|
}
|
1693
656
|
],
|