@etherisc/gif-next 0.0.2-d3543ee-217 → 0.0.2-da77c50-824
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +92 -0
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +26 -57
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/IComponent.sol/IComponentContract.json → components/IBaseComponent.sol/IBaseComponent.json} +26 -57
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +356 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IProductComponent.sol/IProductComponent.json} +89 -65
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +134 -75
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +72 -113
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +790 -247
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccessComponentTypeRoles.json → IServiceLinked.sol/IServiceLinked.json} +14 -14
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +926 -363
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → InstanceBase.sol/InstanceBase.json} +143 -129
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +276 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +276 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +188 -0
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponentModule.json +33 -62
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle → module/lifecycle}/ILifecycle.sol/ILifecycle.json +1 -1
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle → module/lifecycle}/ILifecycle.sol/ILifecycleModule.json +1 -1
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +132 -125
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +132 -125
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +67 -47
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +51 -57
- package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.json +10 -0
- package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.json +10 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasuryModule.json +100 -52
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol/TreasuryModule.json +100 -52
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +519 -0
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +300 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +477 -0
- package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IService.sol/IService.json +300 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +499 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +685 -0
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +300 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +147 -30
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +241 -25
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +16 -61
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +16 -61
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +95 -0
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +387 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +82 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +407 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +222 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +230 -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/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -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/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 +64 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +58 -58
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +78 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
- package/contracts/components/BaseComponent.sol +89 -0
- package/contracts/components/IBaseComponent.sol +19 -0
- package/contracts/components/IPoolComponent.sol +57 -0
- package/contracts/components/{IProduct.sol → IProductComponent.sol} +9 -6
- package/contracts/components/Pool.sol +140 -18
- package/contracts/components/Product.sol +53 -25
- package/contracts/instance/IInstance.sol +35 -10
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/IServiceLinked.sol +12 -0
- package/contracts/instance/Instance.sol +40 -50
- package/contracts/instance/InstanceBase.sol +74 -0
- package/contracts/instance/module/access/Access.sol +149 -0
- package/contracts/instance/module/access/IAccess.sol +53 -0
- package/contracts/instance/module/bundle/BundleModule.sol +228 -0
- package/contracts/instance/module/bundle/IBundle.sol +53 -0
- package/contracts/instance/module/component/ComponentModule.sol +104 -0
- package/contracts/instance/module/component/IComponent.sol +53 -0
- package/contracts/instance/{lifecycle → module/lifecycle}/ILifecycle.sol +3 -3
- package/contracts/instance/{lifecycle → module/lifecycle}/LifecycleModule.sol +5 -4
- package/contracts/instance/module/policy/IPolicy.sol +60 -0
- package/contracts/instance/module/policy/PolicyModule.sol +84 -0
- package/contracts/instance/module/pool/IPoolModule.sol +41 -0
- package/contracts/instance/module/pool/PoolModule.sol +87 -0
- package/contracts/instance/module/product/IProductModule.sol +6 -0
- package/contracts/instance/module/product/ProductModule.sol +8 -0
- package/contracts/instance/{treasury → module/treasury}/ITreasury.sol +25 -12
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol +33 -53
- package/contracts/instance/service/ComponentOwnerService.sol +174 -0
- package/contracts/instance/service/ComponentServiceBase.sol +41 -0
- package/contracts/instance/service/IComponentOwnerService.sol +22 -0
- package/contracts/instance/service/IPoolService.sol +30 -0
- package/contracts/instance/service/IProductService.sol +58 -0
- package/contracts/instance/service/IService.sol +15 -0
- package/contracts/instance/service/PoolService.sol +98 -0
- package/contracts/instance/service/ProductService.sol +358 -0
- package/contracts/instance/service/ServiceBase.sol +39 -0
- package/contracts/registry/ChainNft.sol +61 -37
- package/contracts/registry/IRegistry.sol +24 -34
- package/contracts/registry/IRegistryLinked.sol +8 -0
- package/contracts/registry/Registry.sol +284 -85
- package/contracts/shared/ERC165.sol +21 -0
- package/contracts/shared/IOwnable.sol +6 -0
- package/contracts/shared/IRegisterable.sol +24 -0
- package/contracts/shared/IVersionable.sol +52 -0
- package/contracts/shared/Registerable.sol +86 -0
- package/contracts/shared/Versionable.sol +92 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestPool.sol +22 -0
- package/contracts/test/TestProduct.sol +44 -0
- package/contracts/test/TestRegisterable.sol +19 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +35 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +47 -0
- package/contracts/test/TestVersionable.sol +20 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/NftId.sol +7 -1
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/ObjectType.sol +22 -14
- package/contracts/types/RoleId.sol +36 -0
- package/contracts/types/StateId.sol +6 -2
- package/contracts/types/Timestamp.sol +22 -1
- package/contracts/types/UFixed.sol +15 -15
- package/contracts/types/Version.sol +91 -0
- package/package.json +12 -4
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- 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/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- 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/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- 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/IComponentModule.dbg.json +0 -4
- 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/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- 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/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- 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/PoolModule.sol/PoolModule.dbg.json +0 -4
- 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/IProductService.sol/IProductService.json +0 -127
- 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/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/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- 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/contracts/components/Component.sol +0 -77
- package/contracts/components/IPool.sol +0 -15
- 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/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/TokenHandler.sol +0 -24
@@ -1,54 +1,59 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/instance/
|
3
|
+
"contractName": "InstanceBase",
|
4
|
+
"sourceName": "contracts/instance/InstanceBase.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"anonymous": false,
|
8
8
|
"inputs": [
|
9
9
|
{
|
10
10
|
"indexed": false,
|
11
|
-
"internalType": "
|
12
|
-
"name": "
|
13
|
-
"type": "
|
11
|
+
"internalType": "Version",
|
12
|
+
"name": "version",
|
13
|
+
"type": "uint24"
|
14
14
|
},
|
15
15
|
{
|
16
16
|
"indexed": false,
|
17
17
|
"internalType": "address",
|
18
|
-
"name": "
|
18
|
+
"name": "implementation",
|
19
19
|
"type": "address"
|
20
20
|
},
|
21
21
|
{
|
22
22
|
"indexed": false,
|
23
|
-
"internalType": "
|
24
|
-
"name": "
|
25
|
-
"type": "
|
23
|
+
"internalType": "address",
|
24
|
+
"name": "activatedBy",
|
25
|
+
"type": "address"
|
26
26
|
}
|
27
27
|
],
|
28
|
-
"name": "
|
28
|
+
"name": "LogVersionableActivated",
|
29
29
|
"type": "event"
|
30
30
|
},
|
31
31
|
{
|
32
|
-
"inputs": [
|
33
|
-
"name": "ORACLE_OWNER_ROLE",
|
34
|
-
"outputs": [
|
32
|
+
"inputs": [
|
35
33
|
{
|
36
|
-
"internalType": "
|
37
|
-
"name": "
|
38
|
-
"type": "
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "implementation",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"internalType": "address",
|
40
|
+
"name": "activatedBy",
|
41
|
+
"type": "address"
|
39
42
|
}
|
40
43
|
],
|
41
|
-
"
|
44
|
+
"name": "activate",
|
45
|
+
"outputs": [],
|
46
|
+
"stateMutability": "nonpayable",
|
42
47
|
"type": "function"
|
43
48
|
},
|
44
49
|
{
|
45
50
|
"inputs": [],
|
46
|
-
"name": "
|
51
|
+
"name": "getComponentOwnerService",
|
47
52
|
"outputs": [
|
48
53
|
{
|
49
|
-
"internalType": "
|
50
|
-
"name": "
|
51
|
-
"type": "
|
54
|
+
"internalType": "contract IComponentOwnerService",
|
55
|
+
"name": "service",
|
56
|
+
"type": "address"
|
52
57
|
}
|
53
58
|
],
|
54
59
|
"stateMutability": "view",
|
@@ -56,12 +61,12 @@
|
|
56
61
|
},
|
57
62
|
{
|
58
63
|
"inputs": [],
|
59
|
-
"name": "
|
64
|
+
"name": "getData",
|
60
65
|
"outputs": [
|
61
66
|
{
|
62
|
-
"internalType": "
|
63
|
-
"name": "
|
64
|
-
"type": "
|
67
|
+
"internalType": "bytes",
|
68
|
+
"name": "data",
|
69
|
+
"type": "bytes"
|
65
70
|
}
|
66
71
|
],
|
67
72
|
"stateMutability": "view",
|
@@ -69,30 +74,37 @@
|
|
69
74
|
},
|
70
75
|
{
|
71
76
|
"inputs": [],
|
72
|
-
"name": "
|
77
|
+
"name": "getNftId",
|
73
78
|
"outputs": [
|
74
79
|
{
|
75
|
-
"internalType": "
|
76
|
-
"name": "
|
77
|
-
"type": "
|
80
|
+
"internalType": "NftId",
|
81
|
+
"name": "nftId",
|
82
|
+
"type": "uint96"
|
78
83
|
}
|
79
84
|
],
|
80
85
|
"stateMutability": "view",
|
81
86
|
"type": "function"
|
82
87
|
},
|
83
88
|
{
|
84
|
-
"inputs": [
|
89
|
+
"inputs": [],
|
90
|
+
"name": "getOwner",
|
91
|
+
"outputs": [
|
85
92
|
{
|
86
93
|
"internalType": "address",
|
87
|
-
"name": "
|
94
|
+
"name": "owner",
|
88
95
|
"type": "address"
|
89
96
|
}
|
90
97
|
],
|
91
|
-
"
|
98
|
+
"stateMutability": "view",
|
99
|
+
"type": "function"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"inputs": [],
|
103
|
+
"name": "getParentNftId",
|
92
104
|
"outputs": [
|
93
105
|
{
|
94
106
|
"internalType": "NftId",
|
95
|
-
"name": "
|
107
|
+
"name": "nftId",
|
96
108
|
"type": "uint96"
|
97
109
|
}
|
98
110
|
],
|
@@ -100,81 +112,84 @@
|
|
100
112
|
"type": "function"
|
101
113
|
},
|
102
114
|
{
|
103
|
-
"inputs": [
|
115
|
+
"inputs": [],
|
116
|
+
"name": "getPoolService",
|
117
|
+
"outputs": [
|
104
118
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
119
|
+
"internalType": "contract IPoolService",
|
120
|
+
"name": "service",
|
121
|
+
"type": "address"
|
108
122
|
}
|
109
123
|
],
|
110
|
-
"
|
124
|
+
"stateMutability": "view",
|
125
|
+
"type": "function"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [],
|
129
|
+
"name": "getProductService",
|
111
130
|
"outputs": [
|
112
131
|
{
|
113
|
-
"internalType": "
|
114
|
-
"name": "
|
115
|
-
"type": "
|
132
|
+
"internalType": "contract IProductService",
|
133
|
+
"name": "service",
|
134
|
+
"type": "address"
|
116
135
|
}
|
117
136
|
],
|
118
137
|
"stateMutability": "view",
|
119
138
|
"type": "function"
|
120
139
|
},
|
121
140
|
{
|
122
|
-
"inputs": [
|
141
|
+
"inputs": [],
|
142
|
+
"name": "getRegistry",
|
143
|
+
"outputs": [
|
123
144
|
{
|
124
|
-
"internalType": "
|
125
|
-
"name": "
|
126
|
-
"type": "
|
145
|
+
"internalType": "contract IRegistry",
|
146
|
+
"name": "registry",
|
147
|
+
"type": "address"
|
127
148
|
}
|
128
149
|
],
|
129
|
-
"
|
150
|
+
"stateMutability": "view",
|
151
|
+
"type": "function"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"inputs": [],
|
155
|
+
"name": "getType",
|
130
156
|
"outputs": [
|
131
157
|
{
|
132
|
-
"
|
133
|
-
|
134
|
-
|
135
|
-
"name": "nftId",
|
136
|
-
"type": "uint96"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"internalType": "StateId",
|
140
|
-
"name": "state",
|
141
|
-
"type": "uint8"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"internalType": "contract IERC20Metadata",
|
145
|
-
"name": "token",
|
146
|
-
"type": "address"
|
147
|
-
}
|
148
|
-
],
|
149
|
-
"internalType": "struct IComponent.ComponentInfo",
|
150
|
-
"name": "",
|
151
|
-
"type": "tuple"
|
158
|
+
"internalType": "ObjectType",
|
159
|
+
"name": "objectType",
|
160
|
+
"type": "uint8"
|
152
161
|
}
|
153
162
|
],
|
154
|
-
"stateMutability": "
|
163
|
+
"stateMutability": "pure",
|
155
164
|
"type": "function"
|
156
165
|
},
|
157
166
|
{
|
158
167
|
"inputs": [],
|
159
|
-
"name": "
|
168
|
+
"name": "getVersion",
|
160
169
|
"outputs": [
|
161
170
|
{
|
162
|
-
"internalType": "
|
171
|
+
"internalType": "Version",
|
163
172
|
"name": "",
|
164
|
-
"type": "
|
173
|
+
"type": "uint24"
|
165
174
|
}
|
166
175
|
],
|
167
|
-
"stateMutability": "
|
176
|
+
"stateMutability": "pure",
|
168
177
|
"type": "function"
|
169
178
|
},
|
170
179
|
{
|
171
|
-
"inputs": [
|
172
|
-
|
180
|
+
"inputs": [
|
181
|
+
{
|
182
|
+
"internalType": "uint256",
|
183
|
+
"name": "idx",
|
184
|
+
"type": "uint256"
|
185
|
+
}
|
186
|
+
],
|
187
|
+
"name": "getVersion",
|
173
188
|
"outputs": [
|
174
189
|
{
|
175
|
-
"internalType": "
|
176
|
-
"name": "
|
177
|
-
"type": "
|
190
|
+
"internalType": "Version",
|
191
|
+
"name": "",
|
192
|
+
"type": "uint24"
|
178
193
|
}
|
179
194
|
],
|
180
195
|
"stateMutability": "view",
|
@@ -182,12 +197,12 @@
|
|
182
197
|
},
|
183
198
|
{
|
184
199
|
"inputs": [],
|
185
|
-
"name": "
|
200
|
+
"name": "getVersionCount",
|
186
201
|
"outputs": [
|
187
202
|
{
|
188
|
-
"internalType": "
|
189
|
-
"name": "
|
190
|
-
"type": "
|
203
|
+
"internalType": "uint256",
|
204
|
+
"name": "",
|
205
|
+
"type": "uint256"
|
191
206
|
}
|
192
207
|
],
|
193
208
|
"stateMutability": "view",
|
@@ -196,17 +211,44 @@
|
|
196
211
|
{
|
197
212
|
"inputs": [
|
198
213
|
{
|
199
|
-
"internalType": "
|
200
|
-
"name": "
|
201
|
-
"type": "
|
214
|
+
"internalType": "Version",
|
215
|
+
"name": "_version",
|
216
|
+
"type": "uint24"
|
202
217
|
}
|
203
218
|
],
|
204
|
-
"name": "
|
219
|
+
"name": "getVersionInfo",
|
205
220
|
"outputs": [
|
206
221
|
{
|
207
|
-
"
|
208
|
-
|
209
|
-
|
222
|
+
"components": [
|
223
|
+
{
|
224
|
+
"internalType": "Version",
|
225
|
+
"name": "version",
|
226
|
+
"type": "uint24"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"internalType": "address",
|
230
|
+
"name": "implementation",
|
231
|
+
"type": "address"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"internalType": "address",
|
235
|
+
"name": "activatedBy",
|
236
|
+
"type": "address"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"internalType": "Blocknumber",
|
240
|
+
"name": "activatedIn",
|
241
|
+
"type": "uint32"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"internalType": "Timestamp",
|
245
|
+
"name": "activatedAt",
|
246
|
+
"type": "uint40"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"internalType": "struct IVersionable.VersionInfo",
|
250
|
+
"name": "",
|
251
|
+
"type": "tuple"
|
210
252
|
}
|
211
253
|
],
|
212
254
|
"stateMutability": "view",
|
@@ -215,17 +257,12 @@
|
|
215
257
|
{
|
216
258
|
"inputs": [
|
217
259
|
{
|
218
|
-
"internalType": "
|
219
|
-
"name": "
|
220
|
-
"type": "
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"internalType": "address",
|
224
|
-
"name": "member",
|
225
|
-
"type": "address"
|
260
|
+
"internalType": "Version",
|
261
|
+
"name": "_version",
|
262
|
+
"type": "uint24"
|
226
263
|
}
|
227
264
|
],
|
228
|
-
"name": "
|
265
|
+
"name": "isActivated",
|
229
266
|
"outputs": [
|
230
267
|
{
|
231
268
|
"internalType": "bool",
|
@@ -237,14 +274,8 @@
|
|
237
274
|
"type": "function"
|
238
275
|
},
|
239
276
|
{
|
240
|
-
"inputs": [
|
241
|
-
|
242
|
-
"internalType": "contract IComponentContract",
|
243
|
-
"name": "component",
|
244
|
-
"type": "address"
|
245
|
-
}
|
246
|
-
],
|
247
|
-
"name": "registerComponent",
|
277
|
+
"inputs": [],
|
278
|
+
"name": "register",
|
248
279
|
"outputs": [
|
249
280
|
{
|
250
281
|
"internalType": "NftId",
|
@@ -258,37 +289,20 @@
|
|
258
289
|
{
|
259
290
|
"inputs": [
|
260
291
|
{
|
261
|
-
"
|
262
|
-
|
263
|
-
|
264
|
-
"name": "nftId",
|
265
|
-
"type": "uint96"
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"internalType": "StateId",
|
269
|
-
"name": "state",
|
270
|
-
"type": "uint8"
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"internalType": "contract IERC20Metadata",
|
274
|
-
"name": "token",
|
275
|
-
"type": "address"
|
276
|
-
}
|
277
|
-
],
|
278
|
-
"internalType": "struct IComponent.ComponentInfo",
|
279
|
-
"name": "info",
|
280
|
-
"type": "tuple"
|
292
|
+
"internalType": "bytes4",
|
293
|
+
"name": "interfaceId",
|
294
|
+
"type": "bytes4"
|
281
295
|
}
|
282
296
|
],
|
283
|
-
"name": "
|
297
|
+
"name": "supportsInterface",
|
284
298
|
"outputs": [
|
285
299
|
{
|
286
|
-
"internalType": "
|
287
|
-
"name": "
|
288
|
-
"type": "
|
300
|
+
"internalType": "bool",
|
301
|
+
"name": "",
|
302
|
+
"type": "bool"
|
289
303
|
}
|
290
304
|
],
|
291
|
-
"stateMutability": "
|
305
|
+
"stateMutability": "view",
|
292
306
|
"type": "function"
|
293
307
|
}
|
294
308
|
],
|