@etherisc/gif-next 0.0.2-d3543ee-345 → 0.0.2-d679de9-140
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +76 -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/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +719 -332
- 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/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +962 -531
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +133 -132
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{product/ProductService.sol/ProductModule.json → base/IInstanceBase.sol/IInstanceBase.json} +18 -30
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -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/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IService.sol/IService.json +300 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +326 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +300 -0
- 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 +296 -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 +296 -0
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -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/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/risk/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +10 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.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 -57
- 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 -57
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +491 -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/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +673 -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 +119 -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 +379 -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 +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +206 -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/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- 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 +88 -62
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -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 +88 -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 +38 -11
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/Instance.sol +44 -48
- package/contracts/instance/base/ComponentServiceBase.sol +42 -0
- package/contracts/instance/base/IInstanceBase.sol +14 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/{lifecycle → base}/ILifecycle.sol +4 -21
- package/contracts/instance/base/IService.sol +15 -0
- package/contracts/instance/base/InstanceBase.sol +80 -0
- package/contracts/instance/base/KeyValueStore.sol +156 -0
- package/contracts/instance/{lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -29
- package/contracts/instance/base/ModuleBase.sol +52 -0
- package/contracts/instance/base/ServiceBase.sol +37 -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 +136 -0
- package/contracts/instance/module/bundle/IBundle.sol +58 -0
- package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
- package/contracts/instance/module/compensation/ICompensation.sol +10 -0
- package/contracts/instance/module/component/ComponentModule.sol +95 -0
- package/contracts/instance/module/component/IComponent.sol +53 -0
- package/contracts/instance/module/policy/IPolicy.sol +60 -0
- package/contracts/instance/module/policy/PolicyModule.sol +76 -0
- package/contracts/instance/module/pool/IPoolModule.sol +41 -0
- package/contracts/instance/module/pool/PoolModule.sol +87 -0
- package/contracts/instance/module/risk/IRisk.sol +10 -0
- package/contracts/instance/module/risk/RiskModule.sol +8 -0
- package/contracts/instance/{treasury → module/treasury}/ITreasury.sol +27 -15
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol +43 -59
- package/contracts/instance/service/ComponentOwnerService.sol +170 -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/PoolService.sol +123 -0
- package/contracts/instance/service/ProductService.sol +354 -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 +89 -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 +32 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Fee.sol +39 -20
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +22 -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 +13 -3
- package/contracts/types/Timestamp.sol +22 -1
- package/contracts/types/UFixed.sol +29 -25
- package/contracts/types/Version.sol +95 -0
- package/package.json +8 -3
- 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/IAccessComponentTypeRoles.json +0 -50
- 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/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/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/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
@@ -83,10 +83,71 @@
|
|
83
83
|
],
|
84
84
|
"stateMutability": "pure",
|
85
85
|
"type": "function"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"internalType": "NftId",
|
91
|
+
"name": "id",
|
92
|
+
"type": "uint96"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"internalType": "ObjectType",
|
96
|
+
"name": "objectType",
|
97
|
+
"type": "uint8"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"name": "toKey32",
|
101
|
+
"outputs": [
|
102
|
+
{
|
103
|
+
"internalType": "Key32",
|
104
|
+
"name": "key",
|
105
|
+
"type": "bytes32"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"stateMutability": "pure",
|
109
|
+
"type": "function"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"inputs": [
|
113
|
+
{
|
114
|
+
"internalType": "NftId",
|
115
|
+
"name": "id",
|
116
|
+
"type": "uint96"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"name": "toKeyId",
|
120
|
+
"outputs": [
|
121
|
+
{
|
122
|
+
"internalType": "KeyId",
|
123
|
+
"name": "keyId",
|
124
|
+
"type": "bytes31"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"stateMutability": "pure",
|
128
|
+
"type": "function"
|
86
129
|
}
|
87
130
|
],
|
88
|
-
"bytecode": "
|
89
|
-
"deployedBytecode": "
|
90
|
-
"linkReferences": {
|
91
|
-
|
131
|
+
"bytecode": "0x6105e3610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806308dc895e1461007157806330b8415f146100a15780633889a4c8146100d157806340a8cd9e1461010157806352694ee814610131578063c4cade9d14610161575b600080fd5b61008b600480360381019061008691906102fc565b610191565b6040516100989190610338565b60405180910390f35b6100bb60048036038101906100b691906102fc565b61019b565b6040516100c8919061036e565b60405180910390f35b6100eb60048036038101906100e691906103c2565b6101b5565b6040516100f8919061042d565b60405180910390f35b61011b600480360381019061011691906102fc565b610241565b6040516101289190610495565b60405180910390f35b61014b600480360381019061014691906102fc565b61025c565b604051610158919061036e565b60405180910390f35b61017b600480360381019061017691906104b0565b610276565b604051610188919061036e565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce836101db86610241565b6040518363ffffffff1660e01b81526004016101f892919061052b565b602060405180830381865af4158015610215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102399190610580565b905092915050565b6000816bffffffffffffffffffffffff1660081b9050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610282838361028a565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6102d9816102b8565b81146102e457600080fd5b50565b6000813590506102f6816102d0565b92915050565b600060208284031215610312576103116102b3565b5b6000610320848285016102e7565b91505092915050565b610332816102b8565b82525050565b600060208201905061034d6000830184610329565b92915050565b60008115159050919050565b61036881610353565b82525050565b6000602082019050610383600083018461035f565b92915050565b600060ff82169050919050565b61039f81610389565b81146103aa57600080fd5b50565b6000813590506103bc81610396565b92915050565b600080604083850312156103d9576103d86102b3565b5b60006103e7858286016102e7565b92505060206103f8858286016103ad565b9150509250929050565b6000819050919050565b600061041782610402565b9050919050565b6104278161040c565b82525050565b6000602082019050610442600083018461041e565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b600061047f82610448565b9050919050565b61048f81610474565b82525050565b60006020820190506104aa6000830184610486565b92915050565b600080604083850312156104c7576104c66102b3565b5b60006104d5858286016102e7565b92505060206104e6858286016102e7565b9150509250929050565b6000819050919050565b600061051561051061050b84610389565b6104f0565b610389565b9050919050565b610525816104fa565b82525050565b6000604082019050610540600083018561051c565b61054d6020830184610486565b9392505050565b61055d81610402565b811461056857600080fd5b50565b60008151905061057a81610554565b92915050565b600060208284031215610596576105956102b3565b5b60006105a48482850161056b565b9150509291505056fea26469706673582212207d716f98f6a7f53a1e3b3b9186369103d05a2c3783045946ebebf5361ea67d0564736f6c63430008140033",
|
132
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c806308dc895e1461007157806330b8415f146100a15780633889a4c8146100d157806340a8cd9e1461010157806352694ee814610131578063c4cade9d14610161575b600080fd5b61008b600480360381019061008691906102fc565b610191565b6040516100989190610338565b60405180910390f35b6100bb60048036038101906100b691906102fc565b61019b565b6040516100c8919061036e565b60405180910390f35b6100eb60048036038101906100e691906103c2565b6101b5565b6040516100f8919061042d565b60405180910390f35b61011b600480360381019061011691906102fc565b610241565b6040516101289190610495565b60405180910390f35b61014b600480360381019061014691906102fc565b61025c565b604051610158919061036e565b60405180910390f35b61017b600480360381019061017691906104b0565b610276565b604051610188919061036e565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce836101db86610241565b6040518363ffffffff1660e01b81526004016101f892919061052b565b602060405180830381865af4158015610215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102399190610580565b905092915050565b6000816bffffffffffffffffffffffff1660081b9050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610282838361028a565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6102d9816102b8565b81146102e457600080fd5b50565b6000813590506102f6816102d0565b92915050565b600060208284031215610312576103116102b3565b5b6000610320848285016102e7565b91505092915050565b610332816102b8565b82525050565b600060208201905061034d6000830184610329565b92915050565b60008115159050919050565b61036881610353565b82525050565b6000602082019050610383600083018461035f565b92915050565b600060ff82169050919050565b61039f81610389565b81146103aa57600080fd5b50565b6000813590506103bc81610396565b92915050565b600080604083850312156103d9576103d86102b3565b5b60006103e7858286016102e7565b92505060206103f8858286016103ad565b9150509250929050565b6000819050919050565b600061041782610402565b9050919050565b6104278161040c565b82525050565b6000602082019050610442600083018461041e565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b600061047f82610448565b9050919050565b61048f81610474565b82525050565b60006020820190506104aa6000830184610486565b92915050565b600080604083850312156104c7576104c66102b3565b5b60006104d5858286016102e7565b92505060206104e6858286016102e7565b9150509250929050565b6000819050919050565b600061051561051061050b84610389565b6104f0565b610389565b9050919050565b610525816104fa565b82525050565b6000604082019050610540600083018561051c565b61054d6020830184610486565b9392505050565b61055d81610402565b811461056857600080fd5b50565b60008151905061057a81610554565b92915050565b600060208284031215610596576105956102b3565b5b60006105a48482850161056b565b9150509291505056fea26469706673582212207d716f98f6a7f53a1e3b3b9186369103d05a2c3783045946ebebf5361ea67d0564736f6c63430008140033",
|
133
|
+
"linkReferences": {
|
134
|
+
"contracts/types/Key32.sol": {
|
135
|
+
"Key32Lib": [
|
136
|
+
{
|
137
|
+
"length": 20,
|
138
|
+
"start": 524
|
139
|
+
}
|
140
|
+
]
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"deployedLinkReferences": {
|
144
|
+
"contracts/types/Key32.sol": {
|
145
|
+
"Key32Lib": [
|
146
|
+
{
|
147
|
+
"length": 20,
|
148
|
+
"start": 441
|
149
|
+
}
|
150
|
+
]
|
151
|
+
}
|
152
|
+
}
|
92
153
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "LibNftIdSet",
|
4
|
+
"sourceName": "contracts/types/NftIdSet.sol",
|
5
|
+
"abi": [],
|
6
|
+
"bytecode": "0x610838610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80632bfdd6b91461007157806331a97de2146100a1578063a3082a18146100d1578063a73d57561461010e578063d2fa1e361461014b578063e797d8991461017b575b600080fd5b61008b600480360381019061008691906105a8565b6101ab565b6040516100989190610603565b60405180910390f35b6100bb60048036038101906100b6919061061e565b6101e9565b6040516100c89190610603565b60405180910390f35b8180156100dd57600080fd5b506100f860048036038101906100f391906105a8565b6101fc565b6040516101059190610603565b60405180910390f35b81801561011a57600080fd5b50610135600480360381019061013091906105a8565b6102e7565b6040516101429190610603565b60405180910390f35b6101656004803603810190610160919061061e565b6104ca565b6040516101729190610664565b60405180910390f35b610195600480360381019061019091906106ab565b6104db565b6040516101a29190610726565b60405180910390f35b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000205411905092915050565b6000808260000180549050149050919050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054036102dc5782600001829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055508260000180549050836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550600190506102e1565b600090505b92915050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054905060008111156104be5760006001826103369190610770565b905060006001866000018054905061034e9190610770565b905081811461043157600086600001828154811061036f5761036e6107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff169050808760000184815481106103b6576103b56107a4565b5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555083876001016000836bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550505b85600001805480610445576104446107d3565b5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055856001016000866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060009055600193505050506104c4565b60009150505b92915050565b600081600001805490509050919050565b60008260000182815481106104f3576104f26107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff16905092915050565b600080fd5b6000819050919050565b6105418161052e565b811461054c57600080fd5b50565b60008135905061055e81610538565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61058581610564565b811461059057600080fd5b50565b6000813590506105a28161057c565b92915050565b600080604083850312156105bf576105be610529565b5b60006105cd8582860161054f565b92505060206105de85828601610593565b9150509250929050565b60008115159050919050565b6105fd816105e8565b82525050565b600060208201905061061860008301846105f4565b92915050565b60006020828403121561063457610633610529565b5b60006106428482850161054f565b91505092915050565b6000819050919050565b61065e8161064b565b82525050565b60006020820190506106796000830184610655565b92915050565b6106888161064b565b811461069357600080fd5b50565b6000813590506106a58161067f565b92915050565b600080604083850312156106c2576106c1610529565b5b60006106d08582860161054f565b92505060206106e185828601610696565b9150509250929050565b6000819050919050565b600061071061070b61070684610564565b6106eb565b610564565b9050919050565b610720816106f5565b82525050565b600060208201905061073b6000830184610717565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061077b8261064b565b91506107868361064b565b925082820390508181111561079e5761079d610741565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b9807fed6dad0bfe1b1e1c6ca92c60c83c9238d756782f500fcc32d3bffd456d64736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80632bfdd6b91461007157806331a97de2146100a1578063a3082a18146100d1578063a73d57561461010e578063d2fa1e361461014b578063e797d8991461017b575b600080fd5b61008b600480360381019061008691906105a8565b6101ab565b6040516100989190610603565b60405180910390f35b6100bb60048036038101906100b6919061061e565b6101e9565b6040516100c89190610603565b60405180910390f35b8180156100dd57600080fd5b506100f860048036038101906100f391906105a8565b6101fc565b6040516101059190610603565b60405180910390f35b81801561011a57600080fd5b50610135600480360381019061013091906105a8565b6102e7565b6040516101429190610603565b60405180910390f35b6101656004803603810190610160919061061e565b6104ca565b6040516101729190610664565b60405180910390f35b610195600480360381019061019091906106ab565b6104db565b6040516101a29190610726565b60405180910390f35b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000205411905092915050565b6000808260000180549050149050919050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054036102dc5782600001829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055508260000180549050836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550600190506102e1565b600090505b92915050565b600080836001016000846bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002054905060008111156104be5760006001826103369190610770565b905060006001866000018054905061034e9190610770565b905081811461043157600086600001828154811061036f5761036e6107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff169050808760000184815481106103b6576103b56107a4565b5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555083876001016000836bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002081905550505b85600001805480610445576104446107d3565b5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055856001016000866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060009055600193505050506104c4565b60009150505b92915050565b600081600001805490509050919050565b60008260000182815481106104f3576104f26107a4565b5b9060005260206000209060029182820401919006600c029054906101000a90046bffffffffffffffffffffffff16905092915050565b600080fd5b6000819050919050565b6105418161052e565b811461054c57600080fd5b50565b60008135905061055e81610538565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61058581610564565b811461059057600080fd5b50565b6000813590506105a28161057c565b92915050565b600080604083850312156105bf576105be610529565b5b60006105cd8582860161054f565b92505060206105de85828601610593565b9150509250929050565b60008115159050919050565b6105fd816105e8565b82525050565b600060208201905061061860008301846105f4565b92915050565b60006020828403121561063457610633610529565b5b60006106428482850161054f565b91505092915050565b6000819050919050565b61065e8161064b565b82525050565b60006020820190506106796000830184610655565b92915050565b6106888161064b565b811461069357600080fd5b50565b6000813590506106a58161067f565b92915050565b600080604083850312156106c2576106c1610529565b5b60006106d08582860161054f565b92505060206106e185828601610696565b9150509250929050565b6000819050919050565b600061071061070b61070684610564565b6106eb565b610564565b9050919050565b610720816106f5565b82525050565b600060208201905061073b6000830184610717565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061077b8261064b565b91506107868361064b565b925082820390508181111561079e5761079d610741565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b9807fed6dad0bfe1b1e1c6ca92c60c83c9238d756782f500fcc32d3bffd456d64736f6c63430008140033",
|
8
|
+
"linkReferences": {},
|
9
|
+
"deployedLinkReferences": {}
|
10
|
+
}
|
@@ -85,8 +85,8 @@
|
|
85
85
|
"type": "function"
|
86
86
|
}
|
87
87
|
],
|
88
|
-
"bytecode": "
|
89
|
-
"deployedBytecode": "
|
88
|
+
"bytecode": "0x6102c6610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea264697066735822122052cc6ad67bf4a6cb971b7b44f7561859da74722168fa5d78f849d4135189e83d64736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea264697066735822122052cc6ad67bf4a6cb971b7b44f7561859da74722168fa5d78f849d4135189e83d64736f6c63430008140033",
|
90
90
|
"linkReferences": {},
|
91
91
|
"deployedLinkReferences": {}
|
92
92
|
}
|
@@ -85,8 +85,8 @@
|
|
85
85
|
"type": "function"
|
86
86
|
}
|
87
87
|
],
|
88
|
-
"bytecode": "
|
89
|
-
"deployedBytecode": "
|
88
|
+
"bytecode": "0x6102c6610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea26469706673582212202d010a9f19ce99c696fbc98cbcbd9006dae1fd1468643e2c9eba71c179cafce064736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea26469706673582212202d010a9f19ce99c696fbc98cbcbd9006dae1fd1468643e2c9eba71c179cafce064736f6c63430008140033",
|
90
90
|
"linkReferences": {},
|
91
91
|
"deployedLinkReferences": {}
|
92
92
|
}
|
@@ -3,6 +3,30 @@
|
|
3
3
|
"contractName": "TimestampLib",
|
4
4
|
"sourceName": "contracts/types/Timestamp.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "Timestamp",
|
10
|
+
"name": "timestamp",
|
11
|
+
"type": "uint40"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "uint256",
|
15
|
+
"name": "timeDelta",
|
16
|
+
"type": "uint256"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "addSeconds",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "Timestamp",
|
23
|
+
"name": "",
|
24
|
+
"type": "uint40"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
6
30
|
{
|
7
31
|
"inputs": [
|
8
32
|
{
|
@@ -27,6 +51,25 @@
|
|
27
51
|
"stateMutability": "pure",
|
28
52
|
"type": "function"
|
29
53
|
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "Timestamp",
|
58
|
+
"name": "timestamp",
|
59
|
+
"type": "uint40"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "eqz",
|
63
|
+
"outputs": [
|
64
|
+
{
|
65
|
+
"internalType": "bool",
|
66
|
+
"name": "",
|
67
|
+
"type": "bool"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
"stateMutability": "pure",
|
71
|
+
"type": "function"
|
72
|
+
},
|
30
73
|
{
|
31
74
|
"inputs": [
|
32
75
|
{
|
@@ -75,6 +118,25 @@
|
|
75
118
|
"stateMutability": "pure",
|
76
119
|
"type": "function"
|
77
120
|
},
|
121
|
+
{
|
122
|
+
"inputs": [
|
123
|
+
{
|
124
|
+
"internalType": "Timestamp",
|
125
|
+
"name": "timestamp",
|
126
|
+
"type": "uint40"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"name": "gtz",
|
130
|
+
"outputs": [
|
131
|
+
{
|
132
|
+
"internalType": "bool",
|
133
|
+
"name": "",
|
134
|
+
"type": "bool"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"stateMutability": "pure",
|
138
|
+
"type": "function"
|
139
|
+
},
|
78
140
|
{
|
79
141
|
"inputs": [
|
80
142
|
{
|
@@ -167,8 +229,8 @@
|
|
167
229
|
"type": "function"
|
168
230
|
}
|
169
231
|
],
|
170
|
-
"bytecode": "
|
171
|
-
"deployedBytecode": "
|
232
|
+
"bytecode": "0x610689610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063add9ce9911610070578063add9ce991461019d578063c24922ce146101cd578063da09d484146101fd578063ddf3d6311461022d578063ef6c0d781461025d576100a8565b8063790a38ad146100ad57806383ffcdef146100dd5780638d38cd4b1461010d57806394335b1a1461013d5780639df876391461016d575b600080fd5b6100c760048036038101906100c29190610452565b61028d565b6040516100d4919061049a565b60405180910390f35b6100f760048036038101906100f291906104b5565b6102a0565b604051610104919061049a565b60405180910390f35b61012760048036038101906101229190610452565b6102b4565b604051610134919061049a565b60405180910390f35b610157600480360381019061015291906104b5565b6102c7565b604051610164919061049a565b60405180910390f35b610187600480360381019061018291906104b5565b6102db565b604051610194919061049a565b60405180910390f35b6101b760048036038101906101b291906104b5565b6102ef565b6040516101c4919061049a565b60405180910390f35b6101e760048036038101906101e291906104b5565b610303565b6040516101f4919061049a565b60405180910390f35b61021760048036038101906102129190610452565b610317565b604051610224919061050e565b60405180910390f35b610247600480360381019061024291906104b5565b610328565b604051610254919061049a565b60405180910390f35b61027760048036038101906102729190610555565b61033c565b60405161028491906105d0565b60405180910390f35b6000808264ffffffffff16149050919050565b60006102ac8383610361565b905092915050565b6000808264ffffffffff16119050919050565b60006102d3838361037c565b905092915050565b60006102e78383610398565b905092915050565b60006102fb83836103b3565b905092915050565b600061030f83836103ce565b905092915050565b60008164ffffffffff169050919050565b600061033483836103ea565b905092915050565b6000610359828461034d919061061a565b64ffffffffff16610406565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b6000819050919050565b600080fd5b600064ffffffffff82169050919050565b61042f81610415565b811461043a57600080fd5b50565b60008135905061044c81610426565b92915050565b60006020828403121561046857610467610410565b5b60006104768482850161043d565b91505092915050565b60008115159050919050565b6104948161047f565b82525050565b60006020820190506104af600083018461048b565b92915050565b600080604083850312156104cc576104cb610410565b5b60006104da8582860161043d565b92505060206104eb8582860161043d565b9150509250929050565b6000819050919050565b610508816104f5565b82525050565b600060208201905061052360008301846104ff565b92915050565b610532816104f5565b811461053d57600080fd5b50565b60008135905061054f81610529565b92915050565b6000806040838503121561056c5761056b610410565b5b600061057a8582860161043d565b925050602061058b85828601610540565b9150509250929050565b6000819050919050565b60006105ba6105b56105b084610415565b610595565b610415565b9050919050565b6105ca8161059f565b82525050565b60006020820190506105e560008301846105c1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061062582610415565b915061063083610415565b9250828201905064ffffffffff81111561064d5761064c6105eb565b5b9291505056fea264697066735822122020e016c69cc0f8c1f54710eb33c019cf57aa46ee749ba0f3aa6b4e9a820037c664736f6c63430008140033",
|
233
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100a85760003560e01c8063add9ce9911610070578063add9ce991461019d578063c24922ce146101cd578063da09d484146101fd578063ddf3d6311461022d578063ef6c0d781461025d576100a8565b8063790a38ad146100ad57806383ffcdef146100dd5780638d38cd4b1461010d57806394335b1a1461013d5780639df876391461016d575b600080fd5b6100c760048036038101906100c29190610452565b61028d565b6040516100d4919061049a565b60405180910390f35b6100f760048036038101906100f291906104b5565b6102a0565b604051610104919061049a565b60405180910390f35b61012760048036038101906101229190610452565b6102b4565b604051610134919061049a565b60405180910390f35b610157600480360381019061015291906104b5565b6102c7565b604051610164919061049a565b60405180910390f35b610187600480360381019061018291906104b5565b6102db565b604051610194919061049a565b60405180910390f35b6101b760048036038101906101b291906104b5565b6102ef565b6040516101c4919061049a565b60405180910390f35b6101e760048036038101906101e291906104b5565b610303565b6040516101f4919061049a565b60405180910390f35b61021760048036038101906102129190610452565b610317565b604051610224919061050e565b60405180910390f35b610247600480360381019061024291906104b5565b610328565b604051610254919061049a565b60405180910390f35b61027760048036038101906102729190610555565b61033c565b60405161028491906105d0565b60405180910390f35b6000808264ffffffffff16149050919050565b60006102ac8383610361565b905092915050565b6000808264ffffffffff16119050919050565b60006102d3838361037c565b905092915050565b60006102e78383610398565b905092915050565b60006102fb83836103b3565b905092915050565b600061030f83836103ce565b905092915050565b60008164ffffffffff169050919050565b600061033483836103ea565b905092915050565b6000610359828461034d919061061a565b64ffffffffff16610406565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b6000819050919050565b600080fd5b600064ffffffffff82169050919050565b61042f81610415565b811461043a57600080fd5b50565b60008135905061044c81610426565b92915050565b60006020828403121561046857610467610410565b5b60006104768482850161043d565b91505092915050565b60008115159050919050565b6104948161047f565b82525050565b60006020820190506104af600083018461048b565b92915050565b600080604083850312156104cc576104cb610410565b5b60006104da8582860161043d565b92505060206104eb8582860161043d565b9150509250929050565b6000819050919050565b610508816104f5565b82525050565b600060208201905061052360008301846104ff565b92915050565b610532816104f5565b811461053d57600080fd5b50565b60008135905061054f81610529565b92915050565b6000806040838503121561056c5761056b610410565b5b600061057a8582860161043d565b925050602061058b85828601610540565b9150509250929050565b6000819050919050565b60006105ba6105b56105b084610415565b610595565b610415565b9050919050565b6105ca8161059f565b82525050565b60006020820190506105e560008301846105c1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061062582610415565b915061063083610415565b9250828201905064ffffffffff81111561064d5761064c6105eb565b5b9291505056fea264697066735822122020e016c69cc0f8c1f54710eb33c019cf57aa46ee749ba0f3aa6b4e9a820037c664736f6c63430008140033",
|
172
234
|
"linkReferences": {},
|
173
235
|
"deployedLinkReferences": {}
|
174
236
|
}
|