@etherisc/gif-next 0.0.2-f824182-503 → 0.0.2-f831797-539
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +411 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +644 -35
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1301 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +271 -236
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +851 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +936 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +712 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1143 -133
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +950 -157
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +783 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1599 -798
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2341 -875
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1284 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1724 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +801 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +428 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +816 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +653 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +269 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +425 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +521 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/Component.sol +215 -51
- package/contracts/components/Distribution.sol +280 -0
- package/contracts/components/IComponent.sol +74 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +113 -0
- package/contracts/components/IProductComponent.sol +40 -0
- package/contracts/components/Pool.sol +277 -30
- package/contracts/components/Product.sol +252 -48
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +92 -24
- package/contracts/instance/IInstanceService.sol +60 -0
- package/contracts/instance/Instance.sol +274 -51
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +294 -0
- package/contracts/instance/InstanceService.sol +489 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +175 -0
- package/contracts/instance/base/Lifecycle.sol +109 -0
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +21 -0
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +72 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +33 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +336 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +450 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +62 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +98 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +35 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +403 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +163 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +129 -62
- package/contracts/registry/IRegistry.sol +73 -41
- package/contracts/registry/IRegistryService.sol +67 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +408 -126
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +283 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +27 -0
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +53 -0
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +74 -0
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +33 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +59 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +25 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +45 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +30 -1
- package/contracts/types/NftIdSet.sol +62 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +65 -15
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +95 -0
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +19 -4
- package/contracts/types/Timestamp.sol +31 -6
- package/contracts/types/UFixed.sol +151 -31
- package/contracts/types/Version.sol +108 -0
- package/package.json +14 -5
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/registry/IChainNft.sol +0 -21
@@ -7,103 +7,986 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
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": "target",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "AddressEmptyCode",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "account",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "caller",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
79
|
+
{
|
80
|
+
"internalType": "NftId",
|
81
|
+
"name": "instanceNftId",
|
82
|
+
"type": "uint96"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"name": "ErrorComponentNotInstance",
|
86
|
+
"type": "error"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"inputs": [
|
90
|
+
{
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "caller",
|
93
|
+
"type": "address"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "ErrorComponentNotProductService",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentWalletAddressZero",
|
112
|
+
"type": "error"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [
|
116
|
+
{
|
117
|
+
"internalType": "address",
|
118
|
+
"name": "oldWallet",
|
119
|
+
"type": "address"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "newWallet",
|
124
|
+
"type": "address"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "uint256",
|
128
|
+
"name": "allowance",
|
129
|
+
"type": "uint256"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"internalType": "uint256",
|
133
|
+
"name": "balance",
|
134
|
+
"type": "uint256"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
149
|
+
"type": "error"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [
|
153
|
+
{
|
154
|
+
"internalType": "address",
|
155
|
+
"name": "contractAddress",
|
156
|
+
"type": "address"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
160
|
+
"type": "error"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"inputs": [],
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
165
|
+
"type": "error"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [
|
169
|
+
{
|
170
|
+
"internalType": "address",
|
171
|
+
"name": "account",
|
172
|
+
"type": "address"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
176
|
+
"type": "error"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"internalType": "address",
|
182
|
+
"name": "registryAddress",
|
183
|
+
"type": "address"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"name": "ErrorNotRegistry",
|
187
|
+
"type": "error"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"inputs": [
|
191
|
+
{
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "applicationNftId",
|
194
|
+
"type": "uint96"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"name": "ErrorPoolApplicationBundleMismatch",
|
198
|
+
"type": "error"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"inputs": [
|
202
|
+
{
|
203
|
+
"internalType": "NftId",
|
204
|
+
"name": "bundleNftId",
|
205
|
+
"type": "uint96"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "caller",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "ErrorPoolNotBundleOwner",
|
214
|
+
"type": "error"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"internalType": "address",
|
220
|
+
"name": "caller",
|
221
|
+
"type": "address"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"name": "ErrorPoolNotPoolService",
|
225
|
+
"type": "error"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [],
|
229
|
+
"name": "FailedInnerCall",
|
230
|
+
"type": "error"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [],
|
234
|
+
"name": "InvalidInitialization",
|
235
|
+
"type": "error"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [],
|
239
|
+
"name": "NotInitializing",
|
240
|
+
"type": "error"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"inputs": [
|
244
|
+
{
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "token",
|
247
|
+
"type": "address"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"name": "SafeERC20FailedOperation",
|
251
|
+
"type": "error"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"anonymous": false,
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "authority",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"name": "AuthorityUpdated",
|
264
|
+
"type": "event"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"anonymous": false,
|
268
|
+
"inputs": [
|
269
|
+
{
|
270
|
+
"indexed": false,
|
271
|
+
"internalType": "uint64",
|
272
|
+
"name": "version",
|
273
|
+
"type": "uint64"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"name": "Initialized",
|
277
|
+
"type": "event"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"anonymous": false,
|
281
|
+
"inputs": [
|
282
|
+
{
|
283
|
+
"indexed": false,
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "oldWallet",
|
11
286
|
"type": "address"
|
12
287
|
},
|
13
288
|
{
|
14
|
-
"
|
289
|
+
"indexed": false,
|
290
|
+
"internalType": "address",
|
291
|
+
"name": "newWallet",
|
292
|
+
"type": "address"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"name": "LogComponentWalletAddressChanged",
|
296
|
+
"type": "event"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"anonymous": false,
|
300
|
+
"inputs": [
|
301
|
+
{
|
302
|
+
"indexed": false,
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "from",
|
305
|
+
"type": "address"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"indexed": false,
|
309
|
+
"internalType": "address",
|
310
|
+
"name": "to",
|
311
|
+
"type": "address"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"indexed": false,
|
315
|
+
"internalType": "uint256",
|
316
|
+
"name": "amount",
|
317
|
+
"type": "uint256"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"name": "LogComponentWalletTokensTransferred",
|
321
|
+
"type": "event"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"anonymous": false,
|
325
|
+
"inputs": [
|
326
|
+
{
|
327
|
+
"indexed": false,
|
328
|
+
"internalType": "address",
|
329
|
+
"name": "pool",
|
330
|
+
"type": "address"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "NftId",
|
335
|
+
"name": "applicationNftId",
|
336
|
+
"type": "uint96"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"indexed": false,
|
340
|
+
"internalType": "uint256",
|
341
|
+
"name": "collateralizationAmount",
|
342
|
+
"type": "uint256"
|
343
|
+
}
|
344
|
+
],
|
345
|
+
"name": "LogPoolVerifiedByPool",
|
346
|
+
"type": "event"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"inputs": [],
|
350
|
+
"name": "COMPONENT_LOCATION_V1",
|
351
|
+
"outputs": [
|
352
|
+
{
|
353
|
+
"internalType": "bytes32",
|
354
|
+
"name": "",
|
355
|
+
"type": "bytes32"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"stateMutability": "view",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [],
|
363
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
364
|
+
"outputs": [
|
365
|
+
{
|
366
|
+
"internalType": "bytes32",
|
367
|
+
"name": "",
|
368
|
+
"type": "bytes32"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"stateMutability": "view",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [],
|
376
|
+
"name": "POOL_STORAGE_LOCATION_V1",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "bytes32",
|
380
|
+
"name": "",
|
381
|
+
"type": "bytes32"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"inputs": [],
|
389
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
390
|
+
"outputs": [
|
391
|
+
{
|
392
|
+
"internalType": "bytes32",
|
393
|
+
"name": "",
|
394
|
+
"type": "bytes32"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"stateMutability": "view",
|
398
|
+
"type": "function"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"inputs": [
|
402
|
+
{
|
403
|
+
"internalType": "NftId",
|
404
|
+
"name": "applicationNftId",
|
405
|
+
"type": "uint96"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"internalType": "bytes",
|
409
|
+
"name": "applicationData",
|
410
|
+
"type": "bytes"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"internalType": "NftId",
|
414
|
+
"name": "bundleNftId",
|
415
|
+
"type": "uint96"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"internalType": "bytes",
|
419
|
+
"name": "bundleFilter",
|
420
|
+
"type": "bytes"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"internalType": "uint256",
|
424
|
+
"name": "collateralizationAmount",
|
425
|
+
"type": "uint256"
|
426
|
+
}
|
427
|
+
],
|
428
|
+
"name": "applicationMatchesBundle",
|
429
|
+
"outputs": [
|
430
|
+
{
|
431
|
+
"internalType": "bool",
|
432
|
+
"name": "isMatching",
|
433
|
+
"type": "bool"
|
434
|
+
}
|
435
|
+
],
|
436
|
+
"stateMutability": "view",
|
437
|
+
"type": "function"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"inputs": [],
|
441
|
+
"name": "authority",
|
442
|
+
"outputs": [
|
443
|
+
{
|
444
|
+
"internalType": "address",
|
445
|
+
"name": "",
|
446
|
+
"type": "address"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"stateMutability": "view",
|
450
|
+
"type": "function"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"inputs": [
|
454
|
+
{
|
455
|
+
"internalType": "NftId",
|
456
|
+
"name": "bundleNftId",
|
457
|
+
"type": "uint96"
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"name": "close",
|
461
|
+
"outputs": [],
|
462
|
+
"stateMutability": "nonpayable",
|
463
|
+
"type": "function"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"inputs": [
|
467
|
+
{
|
468
|
+
"internalType": "NftId",
|
469
|
+
"name": "bundleNftId",
|
470
|
+
"type": "uint96"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"internalType": "Seconds",
|
474
|
+
"name": "lifetimeExtension",
|
475
|
+
"type": "uint40"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"name": "extend",
|
479
|
+
"outputs": [],
|
480
|
+
"stateMutability": "nonpayable",
|
481
|
+
"type": "function"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"inputs": [],
|
485
|
+
"name": "getComponentInfo",
|
486
|
+
"outputs": [
|
487
|
+
{
|
488
|
+
"components": [
|
489
|
+
{
|
490
|
+
"internalType": "string",
|
491
|
+
"name": "name",
|
492
|
+
"type": "string"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"internalType": "contract IERC20Metadata",
|
496
|
+
"name": "token",
|
497
|
+
"type": "address"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"internalType": "contract TokenHandler",
|
501
|
+
"name": "tokenHandler",
|
502
|
+
"type": "address"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"internalType": "address",
|
506
|
+
"name": "wallet",
|
507
|
+
"type": "address"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"internalType": "bytes",
|
511
|
+
"name": "data",
|
512
|
+
"type": "bytes"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"internalType": "struct IComponents.ComponentInfo",
|
516
|
+
"name": "info",
|
517
|
+
"type": "tuple"
|
518
|
+
}
|
519
|
+
],
|
520
|
+
"stateMutability": "view",
|
521
|
+
"type": "function"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"inputs": [
|
525
|
+
{
|
526
|
+
"internalType": "bytes",
|
527
|
+
"name": "name",
|
528
|
+
"type": "bytes"
|
529
|
+
}
|
530
|
+
],
|
531
|
+
"name": "getContractLocation",
|
532
|
+
"outputs": [
|
533
|
+
{
|
534
|
+
"internalType": "bytes32",
|
535
|
+
"name": "hash",
|
536
|
+
"type": "bytes32"
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"stateMutability": "pure",
|
540
|
+
"type": "function"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"inputs": [],
|
544
|
+
"name": "getInitialInfo",
|
545
|
+
"outputs": [
|
546
|
+
{
|
547
|
+
"components": [
|
548
|
+
{
|
549
|
+
"internalType": "NftId",
|
550
|
+
"name": "nftId",
|
551
|
+
"type": "uint96"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"internalType": "NftId",
|
555
|
+
"name": "parentNftId",
|
556
|
+
"type": "uint96"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "ObjectType",
|
560
|
+
"name": "objectType",
|
561
|
+
"type": "uint8"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"internalType": "bool",
|
565
|
+
"name": "isInterceptor",
|
566
|
+
"type": "bool"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"internalType": "address",
|
570
|
+
"name": "objectAddress",
|
571
|
+
"type": "address"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"internalType": "address",
|
575
|
+
"name": "initialOwner",
|
576
|
+
"type": "address"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"internalType": "bytes",
|
580
|
+
"name": "data",
|
581
|
+
"type": "bytes"
|
582
|
+
}
|
583
|
+
],
|
584
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
585
|
+
"name": "info",
|
586
|
+
"type": "tuple"
|
587
|
+
}
|
588
|
+
],
|
589
|
+
"stateMutability": "view",
|
590
|
+
"type": "function"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"inputs": [],
|
594
|
+
"name": "getInstance",
|
595
|
+
"outputs": [
|
596
|
+
{
|
597
|
+
"internalType": "contract IInstance",
|
15
598
|
"name": "instance",
|
16
599
|
"type": "address"
|
17
|
-
}
|
600
|
+
}
|
601
|
+
],
|
602
|
+
"stateMutability": "view",
|
603
|
+
"type": "function"
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"inputs": [],
|
607
|
+
"name": "getName",
|
608
|
+
"outputs": [
|
609
|
+
{
|
610
|
+
"internalType": "string",
|
611
|
+
"name": "name",
|
612
|
+
"type": "string"
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"stateMutability": "view",
|
616
|
+
"type": "function"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"inputs": [],
|
620
|
+
"name": "getNftId",
|
621
|
+
"outputs": [
|
622
|
+
{
|
623
|
+
"internalType": "NftId",
|
624
|
+
"name": "",
|
625
|
+
"type": "uint96"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
"stateMutability": "view",
|
629
|
+
"type": "function"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"inputs": [],
|
633
|
+
"name": "getOwner",
|
634
|
+
"outputs": [
|
18
635
|
{
|
19
636
|
"internalType": "address",
|
20
|
-
"name": "
|
637
|
+
"name": "",
|
21
638
|
"type": "address"
|
22
|
-
}
|
639
|
+
}
|
640
|
+
],
|
641
|
+
"stateMutability": "view",
|
642
|
+
"type": "function"
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"inputs": [],
|
646
|
+
"name": "getPoolInfo",
|
647
|
+
"outputs": [
|
23
648
|
{
|
24
649
|
"components": [
|
25
650
|
{
|
26
|
-
"internalType": "
|
27
|
-
"name": "
|
28
|
-
"type": "
|
651
|
+
"internalType": "NftId",
|
652
|
+
"name": "productNftId",
|
653
|
+
"type": "uint96"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"internalType": "RoleId",
|
657
|
+
"name": "bundleOwnerRole",
|
658
|
+
"type": "uint64"
|
29
659
|
},
|
30
660
|
{
|
31
661
|
"internalType": "uint256",
|
32
|
-
"name": "
|
662
|
+
"name": "maxCapitalAmount",
|
33
663
|
"type": "uint256"
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"internalType": "bool",
|
667
|
+
"name": "isInterceptingBundleTransfers",
|
668
|
+
"type": "bool"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"internalType": "bool",
|
672
|
+
"name": "isExternallyManaged",
|
673
|
+
"type": "bool"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"internalType": "bool",
|
677
|
+
"name": "isVerifyingApplications",
|
678
|
+
"type": "bool"
|
679
|
+
},
|
42
680
|
{
|
43
681
|
"internalType": "UFixed",
|
44
|
-
"name": "
|
682
|
+
"name": "collateralizationLevel",
|
45
683
|
"type": "uint256"
|
46
684
|
},
|
47
685
|
{
|
48
|
-
"internalType": "
|
49
|
-
"name": "
|
686
|
+
"internalType": "UFixed",
|
687
|
+
"name": "retentionLevel",
|
50
688
|
"type": "uint256"
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"components": [
|
692
|
+
{
|
693
|
+
"internalType": "UFixed",
|
694
|
+
"name": "fractionalFee",
|
695
|
+
"type": "uint256"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"internalType": "uint256",
|
699
|
+
"name": "fixedFee",
|
700
|
+
"type": "uint256"
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"internalType": "struct Fee",
|
704
|
+
"name": "poolFee",
|
705
|
+
"type": "tuple"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"components": [
|
709
|
+
{
|
710
|
+
"internalType": "UFixed",
|
711
|
+
"name": "fractionalFee",
|
712
|
+
"type": "uint256"
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"internalType": "uint256",
|
716
|
+
"name": "fixedFee",
|
717
|
+
"type": "uint256"
|
718
|
+
}
|
719
|
+
],
|
720
|
+
"internalType": "struct Fee",
|
721
|
+
"name": "stakingFee",
|
722
|
+
"type": "tuple"
|
723
|
+
},
|
724
|
+
{
|
725
|
+
"components": [
|
726
|
+
{
|
727
|
+
"internalType": "UFixed",
|
728
|
+
"name": "fractionalFee",
|
729
|
+
"type": "uint256"
|
730
|
+
},
|
731
|
+
{
|
732
|
+
"internalType": "uint256",
|
733
|
+
"name": "fixedFee",
|
734
|
+
"type": "uint256"
|
735
|
+
}
|
736
|
+
],
|
737
|
+
"internalType": "struct Fee",
|
738
|
+
"name": "performanceFee",
|
739
|
+
"type": "tuple"
|
51
740
|
}
|
52
741
|
],
|
53
|
-
"internalType": "struct
|
54
|
-
"name": "
|
742
|
+
"internalType": "struct IComponents.PoolInfo",
|
743
|
+
"name": "poolInfo",
|
55
744
|
"type": "tuple"
|
56
745
|
}
|
57
746
|
],
|
747
|
+
"stateMutability": "view",
|
748
|
+
"type": "function"
|
749
|
+
},
|
750
|
+
{
|
751
|
+
"inputs": [],
|
752
|
+
"name": "getProductNftId",
|
753
|
+
"outputs": [
|
754
|
+
{
|
755
|
+
"internalType": "NftId",
|
756
|
+
"name": "productNftId",
|
757
|
+
"type": "uint96"
|
758
|
+
}
|
759
|
+
],
|
760
|
+
"stateMutability": "view",
|
761
|
+
"type": "function"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"inputs": [],
|
765
|
+
"name": "getRegistry",
|
766
|
+
"outputs": [
|
767
|
+
{
|
768
|
+
"internalType": "contract IRegistry",
|
769
|
+
"name": "",
|
770
|
+
"type": "address"
|
771
|
+
}
|
772
|
+
],
|
773
|
+
"stateMutability": "view",
|
774
|
+
"type": "function"
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"inputs": [],
|
778
|
+
"name": "getRegistryAddress",
|
779
|
+
"outputs": [
|
780
|
+
{
|
781
|
+
"internalType": "address",
|
782
|
+
"name": "",
|
783
|
+
"type": "address"
|
784
|
+
}
|
785
|
+
],
|
786
|
+
"stateMutability": "view",
|
787
|
+
"type": "function"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"inputs": [],
|
791
|
+
"name": "getToken",
|
792
|
+
"outputs": [
|
793
|
+
{
|
794
|
+
"internalType": "contract IERC20Metadata",
|
795
|
+
"name": "token",
|
796
|
+
"type": "address"
|
797
|
+
}
|
798
|
+
],
|
799
|
+
"stateMutability": "view",
|
800
|
+
"type": "function"
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"inputs": [],
|
804
|
+
"name": "getWallet",
|
805
|
+
"outputs": [
|
806
|
+
{
|
807
|
+
"internalType": "address",
|
808
|
+
"name": "walletAddress",
|
809
|
+
"type": "address"
|
810
|
+
}
|
811
|
+
],
|
812
|
+
"stateMutability": "view",
|
813
|
+
"type": "function"
|
814
|
+
},
|
815
|
+
{
|
816
|
+
"inputs": [
|
817
|
+
{
|
818
|
+
"internalType": "address",
|
819
|
+
"name": "registry",
|
820
|
+
"type": "address"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"internalType": "NftId",
|
824
|
+
"name": "instanceNftId",
|
825
|
+
"type": "uint96"
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"internalType": "string",
|
829
|
+
"name": "name",
|
830
|
+
"type": "string"
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"internalType": "address",
|
834
|
+
"name": "token",
|
835
|
+
"type": "address"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"internalType": "ObjectType",
|
839
|
+
"name": "componentType",
|
840
|
+
"type": "uint8"
|
841
|
+
},
|
842
|
+
{
|
843
|
+
"internalType": "bool",
|
844
|
+
"name": "isInterceptor",
|
845
|
+
"type": "bool"
|
846
|
+
},
|
847
|
+
{
|
848
|
+
"internalType": "address",
|
849
|
+
"name": "initialOwner",
|
850
|
+
"type": "address"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"internalType": "bytes",
|
854
|
+
"name": "registryData",
|
855
|
+
"type": "bytes"
|
856
|
+
}
|
857
|
+
],
|
858
|
+
"name": "initializeComponent",
|
859
|
+
"outputs": [],
|
860
|
+
"stateMutability": "nonpayable",
|
861
|
+
"type": "function"
|
862
|
+
},
|
863
|
+
{
|
864
|
+
"inputs": [],
|
865
|
+
"name": "initializeERC165",
|
866
|
+
"outputs": [],
|
867
|
+
"stateMutability": "nonpayable",
|
868
|
+
"type": "function"
|
869
|
+
},
|
870
|
+
{
|
871
|
+
"inputs": [
|
872
|
+
{
|
873
|
+
"internalType": "address",
|
874
|
+
"name": "initialOwner",
|
875
|
+
"type": "address"
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"internalType": "address",
|
879
|
+
"name": "registryAddress",
|
880
|
+
"type": "address"
|
881
|
+
}
|
882
|
+
],
|
883
|
+
"name": "initializeNftOwnable",
|
884
|
+
"outputs": [],
|
885
|
+
"stateMutability": "nonpayable",
|
886
|
+
"type": "function"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"inputs": [
|
890
|
+
{
|
891
|
+
"internalType": "address",
|
892
|
+
"name": "registry",
|
893
|
+
"type": "address"
|
894
|
+
},
|
895
|
+
{
|
896
|
+
"internalType": "NftId",
|
897
|
+
"name": "instanceNftId",
|
898
|
+
"type": "uint96"
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"internalType": "string",
|
902
|
+
"name": "name",
|
903
|
+
"type": "string"
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"internalType": "address",
|
907
|
+
"name": "token",
|
908
|
+
"type": "address"
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"internalType": "bool",
|
912
|
+
"name": "isInterceptingNftTransfers",
|
913
|
+
"type": "bool"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"internalType": "address",
|
917
|
+
"name": "initialOwner",
|
918
|
+
"type": "address"
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"internalType": "bytes",
|
922
|
+
"name": "registryData",
|
923
|
+
"type": "bytes"
|
924
|
+
}
|
925
|
+
],
|
926
|
+
"name": "initializePool",
|
927
|
+
"outputs": [],
|
58
928
|
"stateMutability": "nonpayable",
|
59
|
-
"type": "
|
929
|
+
"type": "function"
|
60
930
|
},
|
61
931
|
{
|
62
|
-
"anonymous": false,
|
63
932
|
"inputs": [
|
64
933
|
{
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
68
|
-
|
934
|
+
"internalType": "address",
|
935
|
+
"name": "registryAddress",
|
936
|
+
"type": "address"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"internalType": "NftId",
|
940
|
+
"name": "parentNftId",
|
941
|
+
"type": "uint96"
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"internalType": "ObjectType",
|
945
|
+
"name": "objectType",
|
946
|
+
"type": "uint8"
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"internalType": "bool",
|
950
|
+
"name": "isInterceptor",
|
951
|
+
"type": "bool"
|
69
952
|
},
|
70
953
|
{
|
71
|
-
"indexed": false,
|
72
954
|
"internalType": "address",
|
73
|
-
"name": "
|
955
|
+
"name": "initialOwner",
|
74
956
|
"type": "address"
|
75
957
|
},
|
76
958
|
{
|
77
|
-
"
|
78
|
-
"
|
79
|
-
"
|
80
|
-
"type": "string"
|
959
|
+
"internalType": "bytes",
|
960
|
+
"name": "registryData",
|
961
|
+
"type": "bytes"
|
81
962
|
}
|
82
963
|
],
|
83
|
-
"name": "
|
84
|
-
"
|
964
|
+
"name": "initializeRegisterable",
|
965
|
+
"outputs": [],
|
966
|
+
"stateMutability": "nonpayable",
|
967
|
+
"type": "function"
|
85
968
|
},
|
86
969
|
{
|
87
|
-
"inputs": [
|
88
|
-
"name": "getData",
|
89
|
-
"outputs": [
|
970
|
+
"inputs": [
|
90
971
|
{
|
91
|
-
"internalType": "
|
92
|
-
"name": "
|
93
|
-
"type": "
|
972
|
+
"internalType": "address",
|
973
|
+
"name": "registryAddress",
|
974
|
+
"type": "address"
|
94
975
|
}
|
95
976
|
],
|
96
|
-
"
|
977
|
+
"name": "initializeRegistryLinked",
|
978
|
+
"outputs": [],
|
979
|
+
"stateMutability": "nonpayable",
|
97
980
|
"type": "function"
|
98
981
|
},
|
99
982
|
{
|
100
983
|
"inputs": [],
|
101
|
-
"name": "
|
984
|
+
"name": "isConsumingScheduledOp",
|
102
985
|
"outputs": [
|
103
986
|
{
|
104
|
-
"internalType": "
|
105
|
-
"name": "
|
106
|
-
"type": "
|
987
|
+
"internalType": "bytes4",
|
988
|
+
"name": "",
|
989
|
+
"type": "bytes4"
|
107
990
|
}
|
108
991
|
],
|
109
992
|
"stateMutability": "view",
|
@@ -111,12 +994,12 @@
|
|
111
994
|
},
|
112
995
|
{
|
113
996
|
"inputs": [],
|
114
|
-
"name": "
|
997
|
+
"name": "isNftInterceptor",
|
115
998
|
"outputs": [
|
116
999
|
{
|
117
|
-
"internalType": "
|
118
|
-
"name": "
|
119
|
-
"type": "
|
1000
|
+
"internalType": "bool",
|
1001
|
+
"name": "isInterceptor",
|
1002
|
+
"type": "bool"
|
120
1003
|
}
|
121
1004
|
],
|
122
1005
|
"stateMutability": "view",
|
@@ -124,47 +1007,87 @@
|
|
124
1007
|
},
|
125
1008
|
{
|
126
1009
|
"inputs": [],
|
127
|
-
"name": "
|
128
|
-
"outputs": [
|
1010
|
+
"name": "linkToRegisteredNftId",
|
1011
|
+
"outputs": [],
|
1012
|
+
"stateMutability": "nonpayable",
|
1013
|
+
"type": "function"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"inputs": [],
|
1017
|
+
"name": "lock",
|
1018
|
+
"outputs": [],
|
1019
|
+
"stateMutability": "nonpayable",
|
1020
|
+
"type": "function"
|
1021
|
+
},
|
1022
|
+
{
|
1023
|
+
"inputs": [
|
129
1024
|
{
|
130
1025
|
"internalType": "NftId",
|
131
|
-
"name": "
|
1026
|
+
"name": "bundleNftId",
|
132
1027
|
"type": "uint96"
|
133
1028
|
}
|
134
1029
|
],
|
135
|
-
"
|
1030
|
+
"name": "lockBundle",
|
1031
|
+
"outputs": [],
|
1032
|
+
"stateMutability": "nonpayable",
|
136
1033
|
"type": "function"
|
137
1034
|
},
|
138
1035
|
{
|
139
|
-
"inputs": [
|
140
|
-
|
141
|
-
|
1036
|
+
"inputs": [
|
1037
|
+
{
|
1038
|
+
"internalType": "address",
|
1039
|
+
"name": "from",
|
1040
|
+
"type": "address"
|
1041
|
+
},
|
142
1042
|
{
|
143
1043
|
"internalType": "address",
|
144
|
-
"name": "
|
1044
|
+
"name": "to",
|
145
1045
|
"type": "address"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"internalType": "uint256",
|
1049
|
+
"name": "tokenId",
|
1050
|
+
"type": "uint256"
|
146
1051
|
}
|
147
1052
|
],
|
148
|
-
"
|
1053
|
+
"name": "nftTransferFrom",
|
1054
|
+
"outputs": [],
|
1055
|
+
"stateMutability": "nonpayable",
|
149
1056
|
"type": "function"
|
150
1057
|
},
|
151
1058
|
{
|
152
|
-
"inputs": [
|
153
|
-
"name": "getParentNftId",
|
154
|
-
"outputs": [
|
1059
|
+
"inputs": [
|
155
1060
|
{
|
156
|
-
"internalType": "
|
157
|
-
"name": "",
|
158
|
-
"type": "
|
1061
|
+
"internalType": "bytes4",
|
1062
|
+
"name": "interfaceId",
|
1063
|
+
"type": "bytes4"
|
159
1064
|
}
|
160
1065
|
],
|
161
|
-
"
|
1066
|
+
"name": "registerInterface",
|
1067
|
+
"outputs": [],
|
1068
|
+
"stateMutability": "nonpayable",
|
162
1069
|
"type": "function"
|
163
1070
|
},
|
164
1071
|
{
|
165
|
-
"inputs": [
|
166
|
-
|
167
|
-
|
1072
|
+
"inputs": [
|
1073
|
+
{
|
1074
|
+
"internalType": "address",
|
1075
|
+
"name": "newAuthority",
|
1076
|
+
"type": "address"
|
1077
|
+
}
|
1078
|
+
],
|
1079
|
+
"name": "setAuthority",
|
1080
|
+
"outputs": [],
|
1081
|
+
"stateMutability": "nonpayable",
|
1082
|
+
"type": "function"
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"inputs": [
|
1086
|
+
{
|
1087
|
+
"internalType": "NftId",
|
1088
|
+
"name": "bundleNftId",
|
1089
|
+
"type": "uint96"
|
1090
|
+
},
|
168
1091
|
{
|
169
1092
|
"components": [
|
170
1093
|
{
|
@@ -179,30 +1102,47 @@
|
|
179
1102
|
}
|
180
1103
|
],
|
181
1104
|
"internalType": "struct Fee",
|
182
|
-
"name": "
|
1105
|
+
"name": "fee",
|
183
1106
|
"type": "tuple"
|
184
1107
|
}
|
185
1108
|
],
|
186
|
-
"
|
1109
|
+
"name": "setBundleFee",
|
1110
|
+
"outputs": [],
|
1111
|
+
"stateMutability": "nonpayable",
|
187
1112
|
"type": "function"
|
188
1113
|
},
|
189
1114
|
{
|
190
|
-
"inputs": [
|
191
|
-
"name": "getRegistry",
|
192
|
-
"outputs": [
|
1115
|
+
"inputs": [
|
193
1116
|
{
|
194
|
-
"internalType": "
|
195
|
-
"name": "
|
196
|
-
"type": "
|
1117
|
+
"internalType": "RoleId",
|
1118
|
+
"name": "bundleOwnerRole",
|
1119
|
+
"type": "uint64"
|
197
1120
|
}
|
198
1121
|
],
|
199
|
-
"
|
1122
|
+
"name": "setBundleOwnerRole",
|
1123
|
+
"outputs": [],
|
1124
|
+
"stateMutability": "nonpayable",
|
200
1125
|
"type": "function"
|
201
1126
|
},
|
202
1127
|
{
|
203
|
-
"inputs": [
|
204
|
-
|
205
|
-
|
1128
|
+
"inputs": [
|
1129
|
+
{
|
1130
|
+
"components": [
|
1131
|
+
{
|
1132
|
+
"internalType": "UFixed",
|
1133
|
+
"name": "fractionalFee",
|
1134
|
+
"type": "uint256"
|
1135
|
+
},
|
1136
|
+
{
|
1137
|
+
"internalType": "uint256",
|
1138
|
+
"name": "fixedFee",
|
1139
|
+
"type": "uint256"
|
1140
|
+
}
|
1141
|
+
],
|
1142
|
+
"internalType": "struct Fee",
|
1143
|
+
"name": "poolFee",
|
1144
|
+
"type": "tuple"
|
1145
|
+
},
|
206
1146
|
{
|
207
1147
|
"components": [
|
208
1148
|
{
|
@@ -219,66 +1159,96 @@
|
|
219
1159
|
"internalType": "struct Fee",
|
220
1160
|
"name": "stakingFee",
|
221
1161
|
"type": "tuple"
|
1162
|
+
},
|
1163
|
+
{
|
1164
|
+
"components": [
|
1165
|
+
{
|
1166
|
+
"internalType": "UFixed",
|
1167
|
+
"name": "fractionalFee",
|
1168
|
+
"type": "uint256"
|
1169
|
+
},
|
1170
|
+
{
|
1171
|
+
"internalType": "uint256",
|
1172
|
+
"name": "fixedFee",
|
1173
|
+
"type": "uint256"
|
1174
|
+
}
|
1175
|
+
],
|
1176
|
+
"internalType": "struct Fee",
|
1177
|
+
"name": "performanceFee",
|
1178
|
+
"type": "tuple"
|
222
1179
|
}
|
223
1180
|
],
|
224
|
-
"
|
1181
|
+
"name": "setFees",
|
1182
|
+
"outputs": [],
|
1183
|
+
"stateMutability": "nonpayable",
|
225
1184
|
"type": "function"
|
226
1185
|
},
|
227
1186
|
{
|
228
|
-
"inputs": [
|
229
|
-
"name": "getToken",
|
230
|
-
"outputs": [
|
1187
|
+
"inputs": [
|
231
1188
|
{
|
232
|
-
"internalType": "
|
233
|
-
"name": "
|
234
|
-
"type": "
|
1189
|
+
"internalType": "uint256",
|
1190
|
+
"name": "maxCapitalAmount",
|
1191
|
+
"type": "uint256"
|
235
1192
|
}
|
236
1193
|
],
|
237
|
-
"
|
1194
|
+
"name": "setMaxCapitalAmount",
|
1195
|
+
"outputs": [],
|
1196
|
+
"stateMutability": "nonpayable",
|
238
1197
|
"type": "function"
|
239
1198
|
},
|
240
1199
|
{
|
241
|
-
"inputs": [
|
242
|
-
"name": "getType",
|
243
|
-
"outputs": [
|
1200
|
+
"inputs": [
|
244
1201
|
{
|
245
|
-
"internalType": "
|
246
|
-
"name": "",
|
247
|
-
"type": "
|
1202
|
+
"internalType": "NftId",
|
1203
|
+
"name": "productNftId",
|
1204
|
+
"type": "uint96"
|
248
1205
|
}
|
249
1206
|
],
|
250
|
-
"
|
1207
|
+
"name": "setProductNftId",
|
1208
|
+
"outputs": [],
|
1209
|
+
"stateMutability": "nonpayable",
|
251
1210
|
"type": "function"
|
252
1211
|
},
|
253
1212
|
{
|
254
|
-
"inputs": [
|
255
|
-
"name": "getWallet",
|
256
|
-
"outputs": [
|
1213
|
+
"inputs": [
|
257
1214
|
{
|
258
1215
|
"internalType": "address",
|
259
|
-
"name": "
|
1216
|
+
"name": "newWallet",
|
260
1217
|
"type": "address"
|
261
1218
|
}
|
262
1219
|
],
|
263
|
-
"
|
1220
|
+
"name": "setWallet",
|
1221
|
+
"outputs": [],
|
1222
|
+
"stateMutability": "nonpayable",
|
264
1223
|
"type": "function"
|
265
1224
|
},
|
266
1225
|
{
|
267
|
-
"inputs": [
|
268
|
-
"name": "isRegisterable",
|
269
|
-
"outputs": [
|
1226
|
+
"inputs": [
|
270
1227
|
{
|
271
|
-
"internalType": "
|
272
|
-
"name": "",
|
273
|
-
"type": "
|
1228
|
+
"internalType": "NftId",
|
1229
|
+
"name": "bundleNftId",
|
1230
|
+
"type": "uint96"
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"internalType": "uint256",
|
1234
|
+
"name": "amount",
|
1235
|
+
"type": "uint256"
|
274
1236
|
}
|
275
1237
|
],
|
276
|
-
"
|
1238
|
+
"name": "stake",
|
1239
|
+
"outputs": [],
|
1240
|
+
"stateMutability": "nonpayable",
|
277
1241
|
"type": "function"
|
278
1242
|
},
|
279
1243
|
{
|
280
|
-
"inputs": [
|
281
|
-
|
1244
|
+
"inputs": [
|
1245
|
+
{
|
1246
|
+
"internalType": "bytes4",
|
1247
|
+
"name": "interfaceId",
|
1248
|
+
"type": "bytes4"
|
1249
|
+
}
|
1250
|
+
],
|
1251
|
+
"name": "supportsInterface",
|
282
1252
|
"outputs": [
|
283
1253
|
{
|
284
1254
|
"internalType": "bool",
|
@@ -291,38 +1261,78 @@
|
|
291
1261
|
},
|
292
1262
|
{
|
293
1263
|
"inputs": [],
|
294
|
-
"name": "
|
295
|
-
"outputs": [
|
1264
|
+
"name": "unlock",
|
1265
|
+
"outputs": [],
|
1266
|
+
"stateMutability": "nonpayable",
|
1267
|
+
"type": "function"
|
1268
|
+
},
|
1269
|
+
{
|
1270
|
+
"inputs": [
|
296
1271
|
{
|
297
1272
|
"internalType": "NftId",
|
298
|
-
"name": "
|
1273
|
+
"name": "bundleNftId",
|
299
1274
|
"type": "uint96"
|
300
1275
|
}
|
301
1276
|
],
|
1277
|
+
"name": "unlockBundle",
|
1278
|
+
"outputs": [],
|
302
1279
|
"stateMutability": "nonpayable",
|
303
1280
|
"type": "function"
|
304
|
-
}
|
305
|
-
|
306
|
-
"bytecode": "0x60806040523480156200001157600080fd5b50604051620016f9380380620016f9833981810160405281019062000037919062000399565b848484818380806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505030600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505081600660008201518160000155602082015181600101559050508060086000820151816000015560208201518160010155905050505050505062000421565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200020282620001d5565b9050919050565b6200021481620001f5565b81146200022057600080fd5b50565b600081519050620002348162000209565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200028a826200023f565b810181811067ffffffffffffffff82111715620002ac57620002ab62000250565b5b80604052505050565b6000620002c1620001c6565b9050620002cf82826200027f565b919050565b6000819050919050565b620002e981620002d4565b8114620002f557600080fd5b50565b6000815190506200030981620002de565b92915050565b6200031a81620002d4565b81146200032657600080fd5b50565b6000815190506200033a816200030f565b92915050565b6000604082840312156200035957620003586200023a565b5b620003656040620002b5565b905060006200037784828501620002f8565b60008301525060206200038d8482850162000329565b60208301525092915050565b600080600080600060e08688031215620003b857620003b7620001d0565b5b6000620003c88882890162000223565b9550506020620003db8882890162000223565b9450506040620003ee8882890162000223565b9350506060620004018882890162000340565b92505060a0620004148882890162000340565b9150509295509295909350565b6112c880620004316000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80633bc5de301161009757806379e829d01161006657806379e829d014610244578063893d20e814610262578063de7b5d1414610280578063fb2cb1011461029e576100f5565b80633bc5de30146101cc5780634b270a46146101ea5780635ab1bd5314610208578063644c45e014610226576100f5565b806321df0da7116100d357806321df0da7146101545780632236684414610172578063235c36031461019057806331b62a3b146101ae576100f5565b806313299604146100fa57806315dae03e146101185780631aa3a00814610136575b600080fd5b6101026102bc565b60405161010f9190610c16565b60405180910390f35b6101206102e6565b60405161012d9190610c79565b60405180910390f35b61013e6102f5565b60405161014b9190610cdd565b60405180910390f35b61015c61060d565b6040516101699190610d4d565b60405180910390f35b61017a610637565b6040516101879190610d83565b60405180910390f35b610198610764565b6040516101a59190610e17565b60405180910390f35b6101b6610792565b6040516101c39190610cdd565b60405180910390f35b6101d461080f565b6040516101e19190610ec2565b60405180910390f35b6101f26108ab565b6040516101ff9190610e17565b60405180910390f35b6102106108d9565b60405161021d9190610f05565b60405180910390f35b61022e610902565b60405161023b9190610cdd565b60405180910390f35b61024c6109a4565b6040516102599190610d83565b60405180910390f35b61026a6109ad565b6040516102779190610c16565b60405180910390f35b610288610b4c565b6040516102959190610f41565b60405180910390f35b6102a6610b76565b6040516102b39190610c16565b60405180910390f35b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006102f0610ba0565b905090565b60006102ff610b76565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461036c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036390610f93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036103fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f290610fff565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016104769190610c16565b602060405180830381865afa158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611050565b6104f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ed906110ef565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610589919061114d565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105c4919061119b565b6020604051808303816000875af11580156105e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060791906111e2565b91505090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016106939190610c16565b602060405180830381865afa1580156106b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d491906111e2565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161071d919061121e565b602060405180830381865af415801561073a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075e9190611050565b91505090565b61076c610bbb565b600860405180604001604052908160008201548152602001600182015481525050905090565b600061079c610b4c565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080a91906111e2565b905090565b6060610819610b4c565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088791906111e2565b6040516020016108979190610cdd565b604051602081830303815290604052905090565b6108b3610bbb565b600660405180604001604052908160008201548152602001600182015481525050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095e9190610c16565b602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906111e2565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a099190610c16565b602060405180830381865afa158015610a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4a91906111e2565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610aa59190610cdd565b602060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190611265565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b46565b815b91505090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610bac6050610bb1565b905090565b6000819050919050565b604051806040016040528060008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c0082610bd5565b9050919050565b610c1081610bf5565b82525050565b6000602082019050610c2b6000830184610c07565b92915050565b600060ff82169050919050565b6000819050919050565b6000610c63610c5e610c5984610c31565b610c3e565b610c31565b9050919050565b610c7381610c48565b82525050565b6000602082019050610c8e6000830184610c6a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000610cc7610cc2610cbd84610c94565b610c3e565b610c94565b9050919050565b610cd781610cac565b82525050565b6000602082019050610cf26000830184610cce565b92915050565b6000610d13610d0e610d0984610bd5565b610c3e565b610bd5565b9050919050565b6000610d2582610cf8565b9050919050565b6000610d3782610d1a565b9050919050565b610d4781610d2c565b82525050565b6000602082019050610d626000830184610d3e565b92915050565b60008115159050919050565b610d7d81610d68565b82525050565b6000602082019050610d986000830184610d74565b92915050565b6000819050919050565b6000610dc3610dbe610db984610d9e565b610c3e565b610d9e565b9050919050565b610dd381610da8565b82525050565b610de281610d9e565b82525050565b604082016000820151610dfe6000850182610dca565b506020820151610e116020850182610dd9565b50505050565b6000604082019050610e2c6000830184610de8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e6c578082015181840152602081019050610e51565b60008484015250505050565b6000601f19601f8301169050919050565b6000610e9482610e32565b610e9e8185610e3d565b9350610eae818560208601610e4e565b610eb781610e78565b840191505092915050565b60006020820190508181036000830152610edc8184610e89565b905092915050565b6000610eef82610d1a565b9050919050565b610eff81610ee4565b82525050565b6000602082019050610f1a6000830184610ef6565b92915050565b6000610f2b82610d1a565b9050919050565b610f3b81610f20565b82525050565b6000602082019050610f566000830184610f32565b92915050565b600082825260208201905092915050565b50565b6000610f7d600083610f5c565b9150610f8882610f6d565b600082019050919050565b60006020820190508181036000830152610fac81610f70565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b6000610fe9601b83610f5c565b9150610ff482610fb3565b602082019050919050565b6000602082019050818103600083015261101881610fdc565b9050919050565b600080fd5b61102d81610d68565b811461103857600080fd5b50565b60008151905061104a81611024565b92915050565b6000602082840312156110665761106561101f565b5b60006110748482850161103b565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b60006110d9602583610f5c565b91506110e48261107d565b604082019050919050565b60006020820190508181036000830152611108816110cc565b9050919050565b600061111a82610bf5565b9050919050565b61112a8161110f565b811461113557600080fd5b50565b60008151905061114781611121565b92915050565b6000602082840312156111635761116261101f565b5b600061117184828501611138565b91505092915050565b600061118582610d1a565b9050919050565b6111958161117a565b82525050565b60006020820190506111b0600083018461118c565b92915050565b6111bf81610c94565b81146111ca57600080fd5b50565b6000815190506111dc816111b6565b92915050565b6000602082840312156111f8576111f761101f565b5b6000611206848285016111cd565b91505092915050565b61121881610cac565b82525050565b6000602082019050611233600083018461120f565b92915050565b61124281610bf5565b811461124d57600080fd5b50565b60008151905061125f81611239565b92915050565b60006020828403121561127b5761127a61101f565b5b600061128984828501611250565b9150509291505056fea2646970667358221220a13a9c031223dca79fb61cabd02dcd75ce7d80dd1981c810eee9973d36c8e08c64736f6c63430008140033",
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"inputs": [
|
1284
|
+
{
|
1285
|
+
"internalType": "NftId",
|
1286
|
+
"name": "bundleNftId",
|
1287
|
+
"type": "uint96"
|
1288
|
+
},
|
311
1289
|
{
|
312
|
-
"
|
313
|
-
"
|
1290
|
+
"internalType": "uint256",
|
1291
|
+
"name": "amount",
|
1292
|
+
"type": "uint256"
|
314
1293
|
}
|
315
|
-
]
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
1294
|
+
],
|
1295
|
+
"name": "unstake",
|
1296
|
+
"outputs": [],
|
1297
|
+
"stateMutability": "nonpayable",
|
1298
|
+
"type": "function"
|
1299
|
+
},
|
1300
|
+
{
|
1301
|
+
"inputs": [
|
1302
|
+
{
|
1303
|
+
"internalType": "NftId",
|
1304
|
+
"name": "applicationNftId",
|
1305
|
+
"type": "uint96"
|
1306
|
+
},
|
1307
|
+
{
|
1308
|
+
"internalType": "bytes",
|
1309
|
+
"name": "applicationData",
|
1310
|
+
"type": "bytes"
|
1311
|
+
},
|
1312
|
+
{
|
1313
|
+
"internalType": "NftId",
|
1314
|
+
"name": "bundleNftId",
|
1315
|
+
"type": "uint96"
|
1316
|
+
},
|
1317
|
+
{
|
1318
|
+
"internalType": "bytes",
|
1319
|
+
"name": "bundleFilter",
|
1320
|
+
"type": "bytes"
|
1321
|
+
},
|
321
1322
|
{
|
322
|
-
"
|
323
|
-
"
|
1323
|
+
"internalType": "uint256",
|
1324
|
+
"name": "collateralizationAmount",
|
1325
|
+
"type": "uint256"
|
324
1326
|
}
|
325
|
-
]
|
1327
|
+
],
|
1328
|
+
"name": "verifyApplication",
|
1329
|
+
"outputs": [],
|
1330
|
+
"stateMutability": "nonpayable",
|
1331
|
+
"type": "function"
|
326
1332
|
}
|
327
|
-
|
1333
|
+
],
|
1334
|
+
"bytecode": "0x",
|
1335
|
+
"deployedBytecode": "0x",
|
1336
|
+
"linkReferences": {},
|
1337
|
+
"deployedLinkReferences": {}
|
328
1338
|
}
|