@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e20063b-144
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +167 -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 +978 -190
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +284 -147
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +816 -24
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +883 -127
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +656 -33
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +925 -265
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +712 -159
- 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 +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1803 -1132
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2094 -1152
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1403 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1140 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +250 -187
- 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 +67 -245
- 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 +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{pool/IPoolModule.sol/IPool.json → IComponents.sol/IComponents.json} +2 -2
- 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/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -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 +1040 -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 +1372 -228
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +327 -191
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -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 +674 -190
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +300 -528
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
- 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 +333 -188
- 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 +227 -314
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +312 -132
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
- 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 +4 -0
- package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +102 -68
- 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 +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
- 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 +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 +14 -14
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +210 -198
- 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 -174
- 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 +185 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
- 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 +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +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/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +51 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +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 +22 -3
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +208 -79
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +43 -18
- package/contracts/components/IPoolComponent.sol +88 -39
- package/contracts/components/IProductComponent.sol +12 -9
- package/contracts/components/Pool.sol +221 -165
- package/contracts/components/Product.sol +250 -178
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +91 -41
- package/contracts/instance/IInstanceService.sol +68 -0
- package/contracts/instance/Instance.sol +293 -66
- package/contracts/instance/InstanceAccessManager.sol +527 -0
- package/contracts/instance/InstanceReader.sol +317 -0
- package/contracts/instance/InstanceService.sol +478 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +121 -0
- package/contracts/instance/base/IKeyValueStore.sol +13 -14
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +60 -41
- package/contracts/instance/base/Lifecycle.sol +24 -7
- package/contracts/instance/module/IAccess.sol +54 -0
- package/contracts/instance/module/IBundle.sol +23 -0
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +77 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +33 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +355 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +436 -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 +399 -22
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +78 -0
- package/contracts/instance/service/IBundleService.sol +96 -0
- package/contracts/instance/service/IClaimService.sol +92 -0
- package/contracts/instance/service/IDistributionService.sol +88 -1
- package/contracts/instance/service/IPolicyService.sol +137 -0
- package/contracts/instance/service/IPoolService.sol +80 -18
- package/contracts/instance/service/IProductService.sol +9 -76
- package/contracts/instance/service/PolicyService.sol +541 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +248 -94
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +133 -433
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +47 -24
- package/contracts/registry/IRegistry.sol +52 -8
- package/contracts/registry/IRegistryService.sol +53 -20
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +277 -236
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +114 -273
- package/contracts/registry/RegistryServiceManager.sol +24 -25
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +14 -8
- 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 +16 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +67 -83
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -31
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +33 -0
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/Amount.sol +65 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +41 -15
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RoleId.sol +67 -15
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +12 -3
- package/contracts/types/Timestamp.sol +22 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +5 -1
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
- 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/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/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
- 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/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/ComponentModule.sol/ComponentModule.json +0 -117
- 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/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 -271
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
- 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 -638
- 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 -638
- 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/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
- package/contracts/components/BaseComponent.sol +0 -79
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -49
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -89
- package/contracts/instance/base/ModuleBase.sol +0 -57
- package/contracts/instance/base/ServiceBase.sol +0 -44
- 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 -71
- 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 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -95
- 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 -84
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
- package/contracts/instance/service/ComponentOwnerService.sol +0 -315
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/registry/IChainNft.sol +0 -22
- package/contracts/test/TestDistribution.sol +0 -22
- package/contracts/test/TestPool.sol +0 -27
- package/contracts/test/TestProduct.sol +0 -74
- package/contracts/types/ReferralId.sol +0 -48
@@ -3,33 +3,817 @@
|
|
3
3
|
"contractName": "IPoolComponent",
|
4
4
|
"sourceName": "contracts/components/IPoolComponent.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "caller",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorComponentNotChainNft",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "NftId",
|
59
|
+
"name": "instanceNftId",
|
60
|
+
"type": "uint96"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "ErrorComponentNotInstance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "caller",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotProductService",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [],
|
79
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "ErrorComponentWalletAddressZero",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"internalType": "address",
|
96
|
+
"name": "oldWallet",
|
97
|
+
"type": "address"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "newWallet",
|
102
|
+
"type": "address"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "uint256",
|
106
|
+
"name": "allowance",
|
107
|
+
"type": "uint256"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "balance",
|
112
|
+
"type": "uint256"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
116
|
+
"type": "error"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"internalType": "NftId",
|
122
|
+
"name": "nftId",
|
123
|
+
"type": "uint96"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
127
|
+
"type": "error"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"inputs": [
|
131
|
+
{
|
132
|
+
"internalType": "address",
|
133
|
+
"name": "contractAddress",
|
134
|
+
"type": "address"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
143
|
+
"type": "error"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"inputs": [
|
147
|
+
{
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "account",
|
150
|
+
"type": "address"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"name": "ErrorNftOwnableNotOwner",
|
154
|
+
"type": "error"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [
|
158
|
+
{
|
159
|
+
"internalType": "address",
|
160
|
+
"name": "registryAddress",
|
161
|
+
"type": "address"
|
162
|
+
}
|
163
|
+
],
|
164
|
+
"name": "ErrorNotRegistry",
|
165
|
+
"type": "error"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [
|
169
|
+
{
|
170
|
+
"internalType": "NftId",
|
171
|
+
"name": "applicationNftId",
|
172
|
+
"type": "uint96"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "ErrorPoolApplicationBundleMismatch",
|
176
|
+
"type": "error"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"internalType": "NftId",
|
182
|
+
"name": "bundleNftId",
|
183
|
+
"type": "uint96"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "caller",
|
188
|
+
"type": "address"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorPoolNotBundleOwner",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "caller",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorPoolNotPoolService",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"anonymous": false,
|
207
|
+
"inputs": [
|
208
|
+
{
|
209
|
+
"indexed": false,
|
210
|
+
"internalType": "address",
|
211
|
+
"name": "authority",
|
212
|
+
"type": "address"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"name": "AuthorityUpdated",
|
216
|
+
"type": "event"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"anonymous": false,
|
220
|
+
"inputs": [
|
221
|
+
{
|
222
|
+
"indexed": false,
|
223
|
+
"internalType": "address",
|
224
|
+
"name": "oldWallet",
|
225
|
+
"type": "address"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"indexed": false,
|
229
|
+
"internalType": "address",
|
230
|
+
"name": "newWallet",
|
231
|
+
"type": "address"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"name": "LogComponentWalletAddressChanged",
|
235
|
+
"type": "event"
|
236
|
+
},
|
6
237
|
{
|
7
238
|
"anonymous": false,
|
8
239
|
"inputs": [
|
9
240
|
{
|
10
|
-
"indexed": false,
|
241
|
+
"indexed": false,
|
242
|
+
"internalType": "address",
|
243
|
+
"name": "from",
|
244
|
+
"type": "address"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"indexed": false,
|
248
|
+
"internalType": "address",
|
249
|
+
"name": "to",
|
250
|
+
"type": "address"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"indexed": false,
|
254
|
+
"internalType": "uint256",
|
255
|
+
"name": "amount",
|
256
|
+
"type": "uint256"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"name": "LogComponentWalletTokensTransferred",
|
260
|
+
"type": "event"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"anonymous": false,
|
264
|
+
"inputs": [
|
265
|
+
{
|
266
|
+
"indexed": false,
|
267
|
+
"internalType": "address",
|
268
|
+
"name": "pool",
|
269
|
+
"type": "address"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"indexed": false,
|
273
|
+
"internalType": "NftId",
|
274
|
+
"name": "applicationNftId",
|
275
|
+
"type": "uint96"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"indexed": false,
|
279
|
+
"internalType": "uint256",
|
280
|
+
"name": "collateralizationAmount",
|
281
|
+
"type": "uint256"
|
282
|
+
}
|
283
|
+
],
|
284
|
+
"name": "LogPoolVerifiedByPool",
|
285
|
+
"type": "event"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"inputs": [
|
289
|
+
{
|
290
|
+
"internalType": "NftId",
|
291
|
+
"name": "applicationNftId",
|
292
|
+
"type": "uint96"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"internalType": "bytes",
|
296
|
+
"name": "applicationData",
|
297
|
+
"type": "bytes"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"internalType": "NftId",
|
301
|
+
"name": "bundleNftId",
|
302
|
+
"type": "uint96"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"internalType": "bytes",
|
306
|
+
"name": "bundleFilter",
|
307
|
+
"type": "bytes"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"internalType": "uint256",
|
311
|
+
"name": "collateralizationAmount",
|
312
|
+
"type": "uint256"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"name": "applicationMatchesBundle",
|
316
|
+
"outputs": [
|
317
|
+
{
|
318
|
+
"internalType": "bool",
|
319
|
+
"name": "isMatching",
|
320
|
+
"type": "bool"
|
321
|
+
}
|
322
|
+
],
|
323
|
+
"stateMutability": "view",
|
324
|
+
"type": "function"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"inputs": [],
|
328
|
+
"name": "authority",
|
329
|
+
"outputs": [
|
330
|
+
{
|
331
|
+
"internalType": "address",
|
332
|
+
"name": "",
|
333
|
+
"type": "address"
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"stateMutability": "view",
|
337
|
+
"type": "function"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"inputs": [
|
341
|
+
{
|
342
|
+
"internalType": "NftId",
|
343
|
+
"name": "bundleNftId",
|
344
|
+
"type": "uint96"
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"name": "close",
|
348
|
+
"outputs": [],
|
349
|
+
"stateMutability": "nonpayable",
|
350
|
+
"type": "function"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"inputs": [
|
354
|
+
{
|
355
|
+
"internalType": "NftId",
|
356
|
+
"name": "bundleNftId",
|
357
|
+
"type": "uint96"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"internalType": "Seconds",
|
361
|
+
"name": "lifetimeExtension",
|
362
|
+
"type": "uint40"
|
363
|
+
}
|
364
|
+
],
|
365
|
+
"name": "extend",
|
366
|
+
"outputs": [],
|
367
|
+
"stateMutability": "nonpayable",
|
368
|
+
"type": "function"
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"inputs": [],
|
372
|
+
"name": "getComponentInfo",
|
373
|
+
"outputs": [
|
374
|
+
{
|
375
|
+
"components": [
|
376
|
+
{
|
377
|
+
"internalType": "string",
|
378
|
+
"name": "name",
|
379
|
+
"type": "string"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"internalType": "contract IERC20Metadata",
|
383
|
+
"name": "token",
|
384
|
+
"type": "address"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"internalType": "contract TokenHandler",
|
388
|
+
"name": "tokenHandler",
|
389
|
+
"type": "address"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"internalType": "address",
|
393
|
+
"name": "wallet",
|
394
|
+
"type": "address"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "Amount",
|
398
|
+
"name": "balanceAmount",
|
399
|
+
"type": "uint96"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"internalType": "Amount",
|
403
|
+
"name": "feeAmount",
|
404
|
+
"type": "uint96"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"internalType": "bytes",
|
408
|
+
"name": "data",
|
409
|
+
"type": "bytes"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"internalType": "struct IComponents.ComponentInfo",
|
413
|
+
"name": "info",
|
414
|
+
"type": "tuple"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"stateMutability": "view",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [],
|
422
|
+
"name": "getInitialInfo",
|
423
|
+
"outputs": [
|
424
|
+
{
|
425
|
+
"components": [
|
426
|
+
{
|
427
|
+
"internalType": "NftId",
|
428
|
+
"name": "nftId",
|
429
|
+
"type": "uint96"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "NftId",
|
433
|
+
"name": "parentNftId",
|
434
|
+
"type": "uint96"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "ObjectType",
|
438
|
+
"name": "objectType",
|
439
|
+
"type": "uint8"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "bool",
|
443
|
+
"name": "isInterceptor",
|
444
|
+
"type": "bool"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "address",
|
448
|
+
"name": "objectAddress",
|
449
|
+
"type": "address"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "address",
|
453
|
+
"name": "initialOwner",
|
454
|
+
"type": "address"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"internalType": "bytes",
|
458
|
+
"name": "data",
|
459
|
+
"type": "bytes"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
463
|
+
"name": "",
|
464
|
+
"type": "tuple"
|
465
|
+
}
|
466
|
+
],
|
467
|
+
"stateMutability": "view",
|
468
|
+
"type": "function"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"inputs": [],
|
472
|
+
"name": "getInstance",
|
473
|
+
"outputs": [
|
474
|
+
{
|
475
|
+
"internalType": "contract IInstance",
|
476
|
+
"name": "instance",
|
477
|
+
"type": "address"
|
478
|
+
}
|
479
|
+
],
|
480
|
+
"stateMutability": "view",
|
481
|
+
"type": "function"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"inputs": [],
|
485
|
+
"name": "getName",
|
486
|
+
"outputs": [
|
487
|
+
{
|
488
|
+
"internalType": "string",
|
489
|
+
"name": "name",
|
490
|
+
"type": "string"
|
491
|
+
}
|
492
|
+
],
|
493
|
+
"stateMutability": "view",
|
494
|
+
"type": "function"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"inputs": [],
|
498
|
+
"name": "getNftId",
|
499
|
+
"outputs": [
|
500
|
+
{
|
501
|
+
"internalType": "NftId",
|
502
|
+
"name": "",
|
503
|
+
"type": "uint96"
|
504
|
+
}
|
505
|
+
],
|
506
|
+
"stateMutability": "view",
|
507
|
+
"type": "function"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"inputs": [],
|
511
|
+
"name": "getOwner",
|
512
|
+
"outputs": [
|
513
|
+
{
|
514
|
+
"internalType": "address",
|
515
|
+
"name": "",
|
516
|
+
"type": "address"
|
517
|
+
}
|
518
|
+
],
|
519
|
+
"stateMutability": "view",
|
520
|
+
"type": "function"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"inputs": [],
|
524
|
+
"name": "getPoolInfo",
|
525
|
+
"outputs": [
|
526
|
+
{
|
527
|
+
"components": [
|
528
|
+
{
|
529
|
+
"internalType": "NftId",
|
530
|
+
"name": "productNftId",
|
531
|
+
"type": "uint96"
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"internalType": "RoleId",
|
535
|
+
"name": "bundleOwnerRole",
|
536
|
+
"type": "uint64"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"internalType": "uint256",
|
540
|
+
"name": "maxCapitalAmount",
|
541
|
+
"type": "uint256"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"internalType": "uint256",
|
545
|
+
"name": "balanceAmount",
|
546
|
+
"type": "uint256"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"internalType": "uint256",
|
550
|
+
"name": "feeAmount",
|
551
|
+
"type": "uint256"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"internalType": "bool",
|
555
|
+
"name": "isInterceptingBundleTransfers",
|
556
|
+
"type": "bool"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "bool",
|
560
|
+
"name": "isExternallyManaged",
|
561
|
+
"type": "bool"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"internalType": "bool",
|
565
|
+
"name": "isVerifyingApplications",
|
566
|
+
"type": "bool"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"internalType": "UFixed",
|
570
|
+
"name": "collateralizationLevel",
|
571
|
+
"type": "uint256"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"internalType": "UFixed",
|
575
|
+
"name": "retentionLevel",
|
576
|
+
"type": "uint256"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"components": [
|
580
|
+
{
|
581
|
+
"internalType": "UFixed",
|
582
|
+
"name": "fractionalFee",
|
583
|
+
"type": "uint256"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"internalType": "uint256",
|
587
|
+
"name": "fixedFee",
|
588
|
+
"type": "uint256"
|
589
|
+
}
|
590
|
+
],
|
591
|
+
"internalType": "struct Fee",
|
592
|
+
"name": "poolFee",
|
593
|
+
"type": "tuple"
|
594
|
+
},
|
595
|
+
{
|
596
|
+
"components": [
|
597
|
+
{
|
598
|
+
"internalType": "UFixed",
|
599
|
+
"name": "fractionalFee",
|
600
|
+
"type": "uint256"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"internalType": "uint256",
|
604
|
+
"name": "fixedFee",
|
605
|
+
"type": "uint256"
|
606
|
+
}
|
607
|
+
],
|
608
|
+
"internalType": "struct Fee",
|
609
|
+
"name": "stakingFee",
|
610
|
+
"type": "tuple"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"components": [
|
614
|
+
{
|
615
|
+
"internalType": "UFixed",
|
616
|
+
"name": "fractionalFee",
|
617
|
+
"type": "uint256"
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"internalType": "uint256",
|
621
|
+
"name": "fixedFee",
|
622
|
+
"type": "uint256"
|
623
|
+
}
|
624
|
+
],
|
625
|
+
"internalType": "struct Fee",
|
626
|
+
"name": "performanceFee",
|
627
|
+
"type": "tuple"
|
628
|
+
}
|
629
|
+
],
|
630
|
+
"internalType": "struct IComponents.PoolInfo",
|
631
|
+
"name": "info",
|
632
|
+
"type": "tuple"
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"stateMutability": "view",
|
636
|
+
"type": "function"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"inputs": [],
|
640
|
+
"name": "getProductNftId",
|
641
|
+
"outputs": [
|
642
|
+
{
|
643
|
+
"internalType": "NftId",
|
644
|
+
"name": "productNftId",
|
645
|
+
"type": "uint96"
|
646
|
+
}
|
647
|
+
],
|
648
|
+
"stateMutability": "view",
|
649
|
+
"type": "function"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"inputs": [],
|
653
|
+
"name": "getRegistry",
|
654
|
+
"outputs": [
|
655
|
+
{
|
656
|
+
"internalType": "contract IRegistry",
|
657
|
+
"name": "",
|
658
|
+
"type": "address"
|
659
|
+
}
|
660
|
+
],
|
661
|
+
"stateMutability": "view",
|
662
|
+
"type": "function"
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"inputs": [],
|
666
|
+
"name": "getRegistryAddress",
|
667
|
+
"outputs": [
|
668
|
+
{
|
669
|
+
"internalType": "address",
|
670
|
+
"name": "",
|
671
|
+
"type": "address"
|
672
|
+
}
|
673
|
+
],
|
674
|
+
"stateMutability": "view",
|
675
|
+
"type": "function"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"inputs": [],
|
679
|
+
"name": "getToken",
|
680
|
+
"outputs": [
|
681
|
+
{
|
682
|
+
"internalType": "contract IERC20Metadata",
|
683
|
+
"name": "token",
|
684
|
+
"type": "address"
|
685
|
+
}
|
686
|
+
],
|
687
|
+
"stateMutability": "view",
|
688
|
+
"type": "function"
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"inputs": [],
|
692
|
+
"name": "getWallet",
|
693
|
+
"outputs": [
|
694
|
+
{
|
695
|
+
"internalType": "address",
|
696
|
+
"name": "walletAddress",
|
697
|
+
"type": "address"
|
698
|
+
}
|
699
|
+
],
|
700
|
+
"stateMutability": "view",
|
701
|
+
"type": "function"
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"inputs": [],
|
705
|
+
"name": "isConsumingScheduledOp",
|
706
|
+
"outputs": [
|
707
|
+
{
|
708
|
+
"internalType": "bytes4",
|
709
|
+
"name": "",
|
710
|
+
"type": "bytes4"
|
711
|
+
}
|
712
|
+
],
|
713
|
+
"stateMutability": "view",
|
714
|
+
"type": "function"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"inputs": [],
|
718
|
+
"name": "isNftInterceptor",
|
719
|
+
"outputs": [
|
720
|
+
{
|
721
|
+
"internalType": "bool",
|
722
|
+
"name": "isInterceptor",
|
723
|
+
"type": "bool"
|
724
|
+
}
|
725
|
+
],
|
726
|
+
"stateMutability": "view",
|
727
|
+
"type": "function"
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"inputs": [],
|
731
|
+
"name": "linkToRegisteredNftId",
|
732
|
+
"outputs": [],
|
733
|
+
"stateMutability": "nonpayable",
|
734
|
+
"type": "function"
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"inputs": [],
|
738
|
+
"name": "lock",
|
739
|
+
"outputs": [],
|
740
|
+
"stateMutability": "nonpayable",
|
741
|
+
"type": "function"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"inputs": [
|
745
|
+
{
|
11
746
|
"internalType": "NftId",
|
12
|
-
"name": "
|
747
|
+
"name": "bundleNftId",
|
13
748
|
"type": "uint96"
|
749
|
+
}
|
750
|
+
],
|
751
|
+
"name": "lockBundle",
|
752
|
+
"outputs": [],
|
753
|
+
"stateMutability": "nonpayable",
|
754
|
+
"type": "function"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"inputs": [
|
758
|
+
{
|
759
|
+
"internalType": "address",
|
760
|
+
"name": "to",
|
761
|
+
"type": "address"
|
14
762
|
},
|
15
763
|
{
|
16
|
-
"indexed": false,
|
17
764
|
"internalType": "uint256",
|
18
|
-
"name": "
|
765
|
+
"name": "tokenId",
|
19
766
|
"type": "uint256"
|
767
|
+
}
|
768
|
+
],
|
769
|
+
"name": "nftMint",
|
770
|
+
"outputs": [],
|
771
|
+
"stateMutability": "nonpayable",
|
772
|
+
"type": "function"
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"inputs": [
|
776
|
+
{
|
777
|
+
"internalType": "address",
|
778
|
+
"name": "from",
|
779
|
+
"type": "address"
|
20
780
|
},
|
21
781
|
{
|
22
|
-
"indexed": false,
|
23
782
|
"internalType": "address",
|
24
|
-
"name": "
|
783
|
+
"name": "to",
|
784
|
+
"type": "address"
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"internalType": "uint256",
|
788
|
+
"name": "tokenId",
|
789
|
+
"type": "uint256"
|
790
|
+
}
|
791
|
+
],
|
792
|
+
"name": "nftTransferFrom",
|
793
|
+
"outputs": [],
|
794
|
+
"stateMutability": "nonpayable",
|
795
|
+
"type": "function"
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"inputs": [
|
799
|
+
{
|
800
|
+
"internalType": "address",
|
801
|
+
"name": "",
|
25
802
|
"type": "address"
|
26
803
|
}
|
27
804
|
],
|
28
|
-
"name": "
|
29
|
-
"
|
805
|
+
"name": "setAuthority",
|
806
|
+
"outputs": [],
|
807
|
+
"stateMutability": "nonpayable",
|
808
|
+
"type": "function"
|
30
809
|
},
|
31
810
|
{
|
32
811
|
"inputs": [
|
812
|
+
{
|
813
|
+
"internalType": "NftId",
|
814
|
+
"name": "bundleNftId",
|
815
|
+
"type": "uint96"
|
816
|
+
},
|
33
817
|
{
|
34
818
|
"components": [
|
35
819
|
{
|
@@ -46,51 +830,28 @@
|
|
46
830
|
"internalType": "struct Fee",
|
47
831
|
"name": "fee",
|
48
832
|
"type": "tuple"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"internalType": "uint256",
|
52
|
-
"name": "initialAmount",
|
53
|
-
"type": "uint256"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"internalType": "uint256",
|
57
|
-
"name": "lifetime",
|
58
|
-
"type": "uint256"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"internalType": "bytes",
|
62
|
-
"name": "filter",
|
63
|
-
"type": "bytes"
|
64
|
-
}
|
65
|
-
],
|
66
|
-
"name": "createBundle",
|
67
|
-
"outputs": [
|
68
|
-
{
|
69
|
-
"internalType": "NftId",
|
70
|
-
"name": "bundleNftId",
|
71
|
-
"type": "uint96"
|
72
833
|
}
|
73
834
|
],
|
835
|
+
"name": "setBundleFee",
|
836
|
+
"outputs": [],
|
74
837
|
"stateMutability": "nonpayable",
|
75
838
|
"type": "function"
|
76
839
|
},
|
77
840
|
{
|
78
|
-
"inputs": [
|
79
|
-
"name": "getCollateralizationLevel",
|
80
|
-
"outputs": [
|
841
|
+
"inputs": [
|
81
842
|
{
|
82
|
-
"internalType": "
|
83
|
-
"name": "
|
84
|
-
"type": "
|
843
|
+
"internalType": "RoleId",
|
844
|
+
"name": "bundleOwnerRole",
|
845
|
+
"type": "uint64"
|
85
846
|
}
|
86
847
|
],
|
87
|
-
"
|
848
|
+
"name": "setBundleOwnerRole",
|
849
|
+
"outputs": [],
|
850
|
+
"stateMutability": "nonpayable",
|
88
851
|
"type": "function"
|
89
852
|
},
|
90
853
|
{
|
91
|
-
"inputs": [
|
92
|
-
"name": "getFees",
|
93
|
-
"outputs": [
|
854
|
+
"inputs": [
|
94
855
|
{
|
95
856
|
"components": [
|
96
857
|
{
|
@@ -143,72 +904,103 @@
|
|
143
904
|
"type": "tuple"
|
144
905
|
}
|
145
906
|
],
|
146
|
-
"
|
907
|
+
"name": "setFees",
|
908
|
+
"outputs": [],
|
909
|
+
"stateMutability": "nonpayable",
|
147
910
|
"type": "function"
|
148
911
|
},
|
149
912
|
{
|
150
|
-
"inputs": [
|
151
|
-
"name": "isVerifying",
|
152
|
-
"outputs": [
|
913
|
+
"inputs": [
|
153
914
|
{
|
154
|
-
"internalType": "
|
155
|
-
"name": "
|
156
|
-
"type": "
|
915
|
+
"internalType": "uint256",
|
916
|
+
"name": "maxCapitalAmount",
|
917
|
+
"type": "uint256"
|
157
918
|
}
|
158
919
|
],
|
159
|
-
"
|
920
|
+
"name": "setMaxCapitalAmount",
|
921
|
+
"outputs": [],
|
922
|
+
"stateMutability": "nonpayable",
|
160
923
|
"type": "function"
|
161
924
|
},
|
162
925
|
{
|
163
926
|
"inputs": [
|
164
927
|
{
|
165
|
-
"internalType": "
|
166
|
-
"name": "
|
167
|
-
"type": "
|
928
|
+
"internalType": "NftId",
|
929
|
+
"name": "productNftId",
|
930
|
+
"type": "uint96"
|
931
|
+
}
|
932
|
+
],
|
933
|
+
"name": "setProductNftId",
|
934
|
+
"outputs": [],
|
935
|
+
"stateMutability": "nonpayable",
|
936
|
+
"type": "function"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"inputs": [
|
940
|
+
{
|
941
|
+
"internalType": "address",
|
942
|
+
"name": "walletAddress",
|
943
|
+
"type": "address"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"name": "setWallet",
|
947
|
+
"outputs": [],
|
948
|
+
"stateMutability": "nonpayable",
|
949
|
+
"type": "function"
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"inputs": [
|
953
|
+
{
|
954
|
+
"internalType": "NftId",
|
955
|
+
"name": "bundleNftId",
|
956
|
+
"type": "uint96"
|
168
957
|
},
|
169
958
|
{
|
170
|
-
"internalType": "
|
171
|
-
"name": "
|
172
|
-
"type": "
|
959
|
+
"internalType": "uint256",
|
960
|
+
"name": "amount",
|
961
|
+
"type": "uint256"
|
962
|
+
}
|
963
|
+
],
|
964
|
+
"name": "stake",
|
965
|
+
"outputs": [],
|
966
|
+
"stateMutability": "nonpayable",
|
967
|
+
"type": "function"
|
968
|
+
},
|
969
|
+
{
|
970
|
+
"inputs": [
|
971
|
+
{
|
972
|
+
"internalType": "bytes4",
|
973
|
+
"name": "interfaceId",
|
974
|
+
"type": "bytes4"
|
173
975
|
}
|
174
976
|
],
|
175
|
-
"name": "
|
977
|
+
"name": "supportsInterface",
|
176
978
|
"outputs": [
|
177
979
|
{
|
178
980
|
"internalType": "bool",
|
179
|
-
"name": "
|
981
|
+
"name": "",
|
180
982
|
"type": "bool"
|
181
983
|
}
|
182
984
|
],
|
183
985
|
"stateMutability": "view",
|
184
986
|
"type": "function"
|
185
987
|
},
|
988
|
+
{
|
989
|
+
"inputs": [],
|
990
|
+
"name": "unlock",
|
991
|
+
"outputs": [],
|
992
|
+
"stateMutability": "nonpayable",
|
993
|
+
"type": "function"
|
994
|
+
},
|
186
995
|
{
|
187
996
|
"inputs": [
|
188
997
|
{
|
189
998
|
"internalType": "NftId",
|
190
|
-
"name": "
|
999
|
+
"name": "bundleNftId",
|
191
1000
|
"type": "uint96"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"components": [
|
195
|
-
{
|
196
|
-
"internalType": "UFixed",
|
197
|
-
"name": "fractionalFee",
|
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"
|
209
1001
|
}
|
210
1002
|
],
|
211
|
-
"name": "
|
1003
|
+
"name": "unlockBundle",
|
212
1004
|
"outputs": [],
|
213
1005
|
"stateMutability": "nonpayable",
|
214
1006
|
"type": "function"
|
@@ -216,58 +1008,17 @@
|
|
216
1008
|
{
|
217
1009
|
"inputs": [
|
218
1010
|
{
|
219
|
-
"
|
220
|
-
|
221
|
-
|
222
|
-
"name": "fractionalFee",
|
223
|
-
"type": "uint256"
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"internalType": "uint256",
|
227
|
-
"name": "fixedFee",
|
228
|
-
"type": "uint256"
|
229
|
-
}
|
230
|
-
],
|
231
|
-
"internalType": "struct Fee",
|
232
|
-
"name": "poolFee",
|
233
|
-
"type": "tuple"
|
234
|
-
},
|
235
|
-
{
|
236
|
-
"components": [
|
237
|
-
{
|
238
|
-
"internalType": "UFixed",
|
239
|
-
"name": "fractionalFee",
|
240
|
-
"type": "uint256"
|
241
|
-
},
|
242
|
-
{
|
243
|
-
"internalType": "uint256",
|
244
|
-
"name": "fixedFee",
|
245
|
-
"type": "uint256"
|
246
|
-
}
|
247
|
-
],
|
248
|
-
"internalType": "struct Fee",
|
249
|
-
"name": "stakingFee",
|
250
|
-
"type": "tuple"
|
1011
|
+
"internalType": "NftId",
|
1012
|
+
"name": "bundleNftId",
|
1013
|
+
"type": "uint96"
|
251
1014
|
},
|
252
1015
|
{
|
253
|
-
"
|
254
|
-
|
255
|
-
|
256
|
-
"name": "fractionalFee",
|
257
|
-
"type": "uint256"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"internalType": "uint256",
|
261
|
-
"name": "fixedFee",
|
262
|
-
"type": "uint256"
|
263
|
-
}
|
264
|
-
],
|
265
|
-
"internalType": "struct Fee",
|
266
|
-
"name": "performanceFee",
|
267
|
-
"type": "tuple"
|
1016
|
+
"internalType": "uint256",
|
1017
|
+
"name": "amount",
|
1018
|
+
"type": "uint256"
|
268
1019
|
}
|
269
1020
|
],
|
270
|
-
"name": "
|
1021
|
+
"name": "unstake",
|
271
1022
|
"outputs": [],
|
272
1023
|
"stateMutability": "nonpayable",
|
273
1024
|
"type": "function"
|
@@ -276,14 +1027,19 @@
|
|
276
1027
|
"inputs": [
|
277
1028
|
{
|
278
1029
|
"internalType": "NftId",
|
279
|
-
"name": "
|
1030
|
+
"name": "applicationNftId",
|
280
1031
|
"type": "uint96"
|
281
1032
|
},
|
282
1033
|
{
|
283
1034
|
"internalType": "bytes",
|
284
|
-
"name": "
|
1035
|
+
"name": "applicationData",
|
285
1036
|
"type": "bytes"
|
286
1037
|
},
|
1038
|
+
{
|
1039
|
+
"internalType": "NftId",
|
1040
|
+
"name": "bundleNftId",
|
1041
|
+
"type": "uint96"
|
1042
|
+
},
|
287
1043
|
{
|
288
1044
|
"internalType": "bytes",
|
289
1045
|
"name": "bundleFilter",
|
@@ -295,7 +1051,7 @@
|
|
295
1051
|
"type": "uint256"
|
296
1052
|
}
|
297
1053
|
],
|
298
|
-
"name": "
|
1054
|
+
"name": "verifyApplication",
|
299
1055
|
"outputs": [],
|
300
1056
|
"stateMutability": "nonpayable",
|
301
1057
|
"type": "function"
|