@etherisc/gif-next 0.0.2-2ffbff6-460 → 0.0.2-3087fdd-816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +20 -130
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +293 -123
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +19 -92
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +254 -85
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +19 -92
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +19 -92
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +21 -131
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +20 -130
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +587 -111
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +77 -183
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +626 -440
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2 -2
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +127 -282
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +196 -113
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +12 -225
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +52 -311
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +43 -276
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +182 -107
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +743 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +266 -254
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +202 -99
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +15 -191
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +12 -188
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +172 -151
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +17 -229
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +4 -180
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +4 -180
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +72 -341
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +195 -120
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +36 -277
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +179 -104
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +36 -277
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +179 -104
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +63 -183
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +7 -7
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +81 -266
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +182 -113
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +34 -67
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -30
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -30
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -21
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +4 -180
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +10 -62
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -23
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +171 -88
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +10 -73
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -23
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +4 -217
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +10 -73
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +22 -271
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +6 -188
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +69 -78
- package/contracts/components/Distribution.sol +160 -8
- package/contracts/components/IComponent.sol +34 -16
- package/contracts/components/IDistributionComponent.sol +54 -1
- package/contracts/components/Product.sol +26 -12
- package/contracts/instance/IInstance.sol +21 -1
- package/contracts/instance/IInstanceService.sol +18 -0
- package/contracts/instance/Instance.sol +50 -27
- package/contracts/instance/InstanceService.sol +67 -25
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/module/IPolicy.sol +4 -2
- package/contracts/instance/service/ApplicationService.sol +18 -18
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +183 -11
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +3 -3
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +53 -0
- package/contracts/instance/service/IPolicyService.sol +36 -35
- package/contracts/instance/service/PolicyService.sol +15 -65
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/Registry.sol +3 -1
- package/contracts/registry/RegistryService.sol +63 -41
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +18 -28
- package/contracts/registry/TokenRegistry.sol +13 -10
- package/contracts/shared/ERC165.sol +2 -1
- package/contracts/shared/INftOwnable.sol +4 -9
- package/contracts/shared/IRegistryLinked.sol +0 -3
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +10 -80
- package/contracts/shared/ProxyManager.sol +98 -24
- package/contracts/shared/Registerable.sol +1 -8
- package/contracts/shared/RegistryLinked.sol +10 -26
- package/contracts/shared/Service.sol +10 -12
- package/contracts/shared/Versionable.sol +1 -90
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/ObjectType.sol +5 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/RoleId.sol +3 -3
- package/package.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
|
@@ -63,22 +63,6 @@
|
|
|
63
63
|
"name": "AddressInsufficientBalance",
|
|
64
64
|
"type": "error"
|
|
65
65
|
},
|
|
66
|
-
{
|
|
67
|
-
"inputs": [
|
|
68
|
-
{
|
|
69
|
-
"internalType": "address",
|
|
70
|
-
"name": "registry",
|
|
71
|
-
"type": "address"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"internalType": "NftId",
|
|
75
|
-
"name": "nftId",
|
|
76
|
-
"type": "uint96"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"name": "ErrorAlreadyLinked",
|
|
80
|
-
"type": "error"
|
|
81
|
-
},
|
|
82
66
|
{
|
|
83
67
|
"inputs": [
|
|
84
68
|
{
|
|
@@ -96,11 +80,6 @@
|
|
|
96
80
|
"internalType": "NftId",
|
|
97
81
|
"name": "instanceNftId",
|
|
98
82
|
"type": "uint96"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"internalType": "address",
|
|
102
|
-
"name": "instance",
|
|
103
|
-
"type": "address"
|
|
104
83
|
}
|
|
105
84
|
],
|
|
106
85
|
"name": "ErrorComponentNotInstance",
|
|
@@ -123,29 +102,7 @@
|
|
|
123
102
|
"type": "error"
|
|
124
103
|
},
|
|
125
104
|
{
|
|
126
|
-
"inputs": [
|
|
127
|
-
{
|
|
128
|
-
"internalType": "address",
|
|
129
|
-
"name": "caller",
|
|
130
|
-
"type": "address"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"internalType": "uint64",
|
|
134
|
-
"name": "requiredRoleIdNum",
|
|
135
|
-
"type": "uint64"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"name": "ErrorComponentUnauthorized",
|
|
139
|
-
"type": "error"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"inputs": [
|
|
143
|
-
{
|
|
144
|
-
"internalType": "address",
|
|
145
|
-
"name": "newWallet",
|
|
146
|
-
"type": "address"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
105
|
+
"inputs": [],
|
|
149
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
|
150
107
|
"type": "error"
|
|
151
108
|
},
|
|
@@ -183,71 +140,50 @@
|
|
|
183
140
|
{
|
|
184
141
|
"inputs": [
|
|
185
142
|
{
|
|
186
|
-
"internalType": "
|
|
187
|
-
"name": "
|
|
188
|
-
"type": "
|
|
143
|
+
"internalType": "NftId",
|
|
144
|
+
"name": "nftId",
|
|
145
|
+
"type": "uint96"
|
|
189
146
|
}
|
|
190
147
|
],
|
|
191
|
-
"name": "
|
|
192
|
-
"type": "error"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"inputs": [],
|
|
196
|
-
"name": "ErrorInitialOwnerZero",
|
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
|
197
149
|
"type": "error"
|
|
198
150
|
},
|
|
199
151
|
{
|
|
200
152
|
"inputs": [
|
|
201
153
|
{
|
|
202
154
|
"internalType": "address",
|
|
203
|
-
"name": "
|
|
155
|
+
"name": "contractAddress",
|
|
204
156
|
"type": "address"
|
|
205
157
|
}
|
|
206
158
|
],
|
|
207
|
-
"name": "
|
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
|
208
160
|
"type": "error"
|
|
209
161
|
},
|
|
210
162
|
{
|
|
211
|
-
"inputs": [
|
|
212
|
-
|
|
213
|
-
"internalType": "address",
|
|
214
|
-
"name": "registryAddress",
|
|
215
|
-
"type": "address"
|
|
216
|
-
}
|
|
217
|
-
],
|
|
218
|
-
"name": "ErrorNotRegistry",
|
|
163
|
+
"inputs": [],
|
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
|
219
165
|
"type": "error"
|
|
220
166
|
},
|
|
221
167
|
{
|
|
222
168
|
"inputs": [
|
|
223
169
|
{
|
|
224
170
|
"internalType": "address",
|
|
225
|
-
"name": "
|
|
171
|
+
"name": "account",
|
|
226
172
|
"type": "address"
|
|
227
173
|
}
|
|
228
174
|
],
|
|
229
|
-
"name": "
|
|
230
|
-
"type": "error"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"inputs": [],
|
|
234
|
-
"name": "ErrorRegistryAddressZero",
|
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
|
235
176
|
"type": "error"
|
|
236
177
|
},
|
|
237
178
|
{
|
|
238
179
|
"inputs": [
|
|
239
180
|
{
|
|
240
181
|
"internalType": "address",
|
|
241
|
-
"name": "
|
|
182
|
+
"name": "registryAddress",
|
|
242
183
|
"type": "address"
|
|
243
184
|
}
|
|
244
185
|
],
|
|
245
|
-
"name": "
|
|
246
|
-
"type": "error"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"inputs": [],
|
|
250
|
-
"name": "ErrorRegistryNotInitialized",
|
|
186
|
+
"name": "ErrorNotRegistry",
|
|
251
187
|
"type": "error"
|
|
252
188
|
},
|
|
253
189
|
{
|
|
@@ -305,6 +241,12 @@
|
|
|
305
241
|
{
|
|
306
242
|
"anonymous": false,
|
|
307
243
|
"inputs": [
|
|
244
|
+
{
|
|
245
|
+
"indexed": false,
|
|
246
|
+
"internalType": "address",
|
|
247
|
+
"name": "oldWallet",
|
|
248
|
+
"type": "address"
|
|
249
|
+
},
|
|
308
250
|
{
|
|
309
251
|
"indexed": false,
|
|
310
252
|
"internalType": "address",
|
|
@@ -340,9 +282,28 @@
|
|
|
340
282
|
"name": "LogComponentWalletTokensTransferred",
|
|
341
283
|
"type": "event"
|
|
342
284
|
},
|
|
285
|
+
{
|
|
286
|
+
"anonymous": false,
|
|
287
|
+
"inputs": [
|
|
288
|
+
{
|
|
289
|
+
"indexed": false,
|
|
290
|
+
"internalType": "address",
|
|
291
|
+
"name": "to",
|
|
292
|
+
"type": "address"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"indexed": false,
|
|
296
|
+
"internalType": "address",
|
|
297
|
+
"name": "caller",
|
|
298
|
+
"type": "address"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"name": "LogDistributorUpdated",
|
|
302
|
+
"type": "event"
|
|
303
|
+
},
|
|
343
304
|
{
|
|
344
305
|
"inputs": [],
|
|
345
|
-
"name": "
|
|
306
|
+
"name": "COMPONENT_LOCATION_V1",
|
|
346
307
|
"outputs": [
|
|
347
308
|
{
|
|
348
309
|
"internalType": "bytes32",
|
|
@@ -453,6 +414,206 @@
|
|
|
453
414
|
"stateMutability": "view",
|
|
454
415
|
"type": "function"
|
|
455
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"inputs": [
|
|
419
|
+
{
|
|
420
|
+
"internalType": "address",
|
|
421
|
+
"name": "distributor",
|
|
422
|
+
"type": "address"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"internalType": "DistributorType",
|
|
426
|
+
"name": "distributorType",
|
|
427
|
+
"type": "bytes8"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"internalType": "bytes",
|
|
431
|
+
"name": "data",
|
|
432
|
+
"type": "bytes"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"name": "createDistributor",
|
|
436
|
+
"outputs": [
|
|
437
|
+
{
|
|
438
|
+
"internalType": "NftId",
|
|
439
|
+
"name": "distributorNftId",
|
|
440
|
+
"type": "uint96"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"stateMutability": "nonpayable",
|
|
444
|
+
"type": "function"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"inputs": [
|
|
448
|
+
{
|
|
449
|
+
"internalType": "string",
|
|
450
|
+
"name": "name",
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"internalType": "UFixed",
|
|
455
|
+
"name": "minDiscountPercentage",
|
|
456
|
+
"type": "uint256"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"internalType": "UFixed",
|
|
460
|
+
"name": "maxDiscountPercentage",
|
|
461
|
+
"type": "uint256"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"internalType": "UFixed",
|
|
465
|
+
"name": "commissionPercentage",
|
|
466
|
+
"type": "uint256"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"internalType": "uint32",
|
|
470
|
+
"name": "maxReferralCount",
|
|
471
|
+
"type": "uint32"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"internalType": "uint32",
|
|
475
|
+
"name": "maxReferralLifetime",
|
|
476
|
+
"type": "uint32"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"internalType": "bool",
|
|
480
|
+
"name": "allowSelfReferrals",
|
|
481
|
+
"type": "bool"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"internalType": "bool",
|
|
485
|
+
"name": "allowRenewals",
|
|
486
|
+
"type": "bool"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"internalType": "bytes",
|
|
490
|
+
"name": "data",
|
|
491
|
+
"type": "bytes"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"name": "createDistributorType",
|
|
495
|
+
"outputs": [
|
|
496
|
+
{
|
|
497
|
+
"internalType": "DistributorType",
|
|
498
|
+
"name": "distributorType",
|
|
499
|
+
"type": "bytes8"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"stateMutability": "nonpayable",
|
|
503
|
+
"type": "function"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"inputs": [
|
|
507
|
+
{
|
|
508
|
+
"internalType": "NftId",
|
|
509
|
+
"name": "distributorNftId",
|
|
510
|
+
"type": "uint96"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"internalType": "string",
|
|
514
|
+
"name": "code",
|
|
515
|
+
"type": "string"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"internalType": "UFixed",
|
|
519
|
+
"name": "discountPercentage",
|
|
520
|
+
"type": "uint256"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"internalType": "uint32",
|
|
524
|
+
"name": "maxReferrals",
|
|
525
|
+
"type": "uint32"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"internalType": "Timestamp",
|
|
529
|
+
"name": "expiryAt",
|
|
530
|
+
"type": "uint40"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"internalType": "bytes",
|
|
534
|
+
"name": "data",
|
|
535
|
+
"type": "bytes"
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"name": "createReferral",
|
|
539
|
+
"outputs": [
|
|
540
|
+
{
|
|
541
|
+
"internalType": "ReferralId",
|
|
542
|
+
"name": "referralId",
|
|
543
|
+
"type": "bytes8"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"stateMutability": "nonpayable",
|
|
547
|
+
"type": "function"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"inputs": [
|
|
551
|
+
{
|
|
552
|
+
"internalType": "string",
|
|
553
|
+
"name": "referralCode",
|
|
554
|
+
"type": "string"
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
"name": "getDiscountPercentage",
|
|
558
|
+
"outputs": [
|
|
559
|
+
{
|
|
560
|
+
"internalType": "UFixed",
|
|
561
|
+
"name": "discountPercentage",
|
|
562
|
+
"type": "uint256"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"internalType": "ReferralStatus",
|
|
566
|
+
"name": "status",
|
|
567
|
+
"type": "uint8"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"stateMutability": "view",
|
|
571
|
+
"type": "function"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"inputs": [],
|
|
575
|
+
"name": "getDistributionFee",
|
|
576
|
+
"outputs": [
|
|
577
|
+
{
|
|
578
|
+
"components": [
|
|
579
|
+
{
|
|
580
|
+
"internalType": "UFixed",
|
|
581
|
+
"name": "fractionalFee",
|
|
582
|
+
"type": "uint256"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"internalType": "uint256",
|
|
586
|
+
"name": "fixedFee",
|
|
587
|
+
"type": "uint256"
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"internalType": "struct Fee",
|
|
591
|
+
"name": "distributionFee",
|
|
592
|
+
"type": "tuple"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"stateMutability": "view",
|
|
596
|
+
"type": "function"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"inputs": [
|
|
600
|
+
{
|
|
601
|
+
"internalType": "address",
|
|
602
|
+
"name": "distributor",
|
|
603
|
+
"type": "address"
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"name": "getDistributorNftId",
|
|
607
|
+
"outputs": [
|
|
608
|
+
{
|
|
609
|
+
"internalType": "NftId",
|
|
610
|
+
"name": "distributorNftId",
|
|
611
|
+
"type": "uint96"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"stateMutability": "view",
|
|
615
|
+
"type": "function"
|
|
616
|
+
},
|
|
456
617
|
{
|
|
457
618
|
"inputs": [],
|
|
458
619
|
"name": "getInitialInfo",
|
|
@@ -503,19 +664,6 @@
|
|
|
503
664
|
"stateMutability": "view",
|
|
504
665
|
"type": "function"
|
|
505
666
|
},
|
|
506
|
-
{
|
|
507
|
-
"inputs": [],
|
|
508
|
-
"name": "getInitialOwner",
|
|
509
|
-
"outputs": [
|
|
510
|
-
{
|
|
511
|
-
"internalType": "address",
|
|
512
|
-
"name": "",
|
|
513
|
-
"type": "address"
|
|
514
|
-
}
|
|
515
|
-
],
|
|
516
|
-
"stateMutability": "view",
|
|
517
|
-
"type": "function"
|
|
518
|
-
},
|
|
519
667
|
{
|
|
520
668
|
"inputs": [],
|
|
521
669
|
"name": "getInstance",
|
|
@@ -529,19 +677,6 @@
|
|
|
529
677
|
"stateMutability": "view",
|
|
530
678
|
"type": "function"
|
|
531
679
|
},
|
|
532
|
-
{
|
|
533
|
-
"inputs": [],
|
|
534
|
-
"name": "getInstanceService",
|
|
535
|
-
"outputs": [
|
|
536
|
-
{
|
|
537
|
-
"internalType": "contract IInstanceService",
|
|
538
|
-
"name": "",
|
|
539
|
-
"type": "address"
|
|
540
|
-
}
|
|
541
|
-
],
|
|
542
|
-
"stateMutability": "view",
|
|
543
|
-
"type": "function"
|
|
544
|
-
},
|
|
545
680
|
{
|
|
546
681
|
"inputs": [],
|
|
547
682
|
"name": "getName",
|
|
@@ -595,13 +730,19 @@
|
|
|
595
730
|
"type": "function"
|
|
596
731
|
},
|
|
597
732
|
{
|
|
598
|
-
"inputs": [
|
|
599
|
-
|
|
733
|
+
"inputs": [
|
|
734
|
+
{
|
|
735
|
+
"internalType": "string",
|
|
736
|
+
"name": "referralCode",
|
|
737
|
+
"type": "string"
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"name": "getReferralId",
|
|
600
741
|
"outputs": [
|
|
601
742
|
{
|
|
602
|
-
"internalType": "
|
|
603
|
-
"name": "",
|
|
604
|
-
"type": "
|
|
743
|
+
"internalType": "ReferralId",
|
|
744
|
+
"name": "referralId",
|
|
745
|
+
"type": "bytes8"
|
|
605
746
|
}
|
|
606
747
|
],
|
|
607
748
|
"stateMutability": "view",
|
|
@@ -834,19 +975,6 @@
|
|
|
834
975
|
"stateMutability": "nonpayable",
|
|
835
976
|
"type": "function"
|
|
836
977
|
},
|
|
837
|
-
{
|
|
838
|
-
"inputs": [
|
|
839
|
-
{
|
|
840
|
-
"internalType": "address",
|
|
841
|
-
"name": "initialOwner",
|
|
842
|
-
"type": "address"
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"name": "initializeOwner",
|
|
846
|
-
"outputs": [],
|
|
847
|
-
"stateMutability": "nonpayable",
|
|
848
|
-
"type": "function"
|
|
849
|
-
},
|
|
850
978
|
{
|
|
851
979
|
"inputs": [
|
|
852
980
|
{
|
|
@@ -911,6 +1039,25 @@
|
|
|
911
1039
|
"stateMutability": "view",
|
|
912
1040
|
"type": "function"
|
|
913
1041
|
},
|
|
1042
|
+
{
|
|
1043
|
+
"inputs": [
|
|
1044
|
+
{
|
|
1045
|
+
"internalType": "address",
|
|
1046
|
+
"name": "candidate",
|
|
1047
|
+
"type": "address"
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
"name": "isDistributor",
|
|
1051
|
+
"outputs": [
|
|
1052
|
+
{
|
|
1053
|
+
"internalType": "bool",
|
|
1054
|
+
"name": "",
|
|
1055
|
+
"type": "bool"
|
|
1056
|
+
}
|
|
1057
|
+
],
|
|
1058
|
+
"stateMutability": "view",
|
|
1059
|
+
"type": "function"
|
|
1060
|
+
},
|
|
914
1061
|
{
|
|
915
1062
|
"inputs": [],
|
|
916
1063
|
"name": "isNftInterceptor",
|
|
@@ -1001,7 +1148,7 @@
|
|
|
1001
1148
|
},
|
|
1002
1149
|
{
|
|
1003
1150
|
"internalType": "uint256",
|
|
1004
|
-
"name": "
|
|
1151
|
+
"name": "premiumAmount",
|
|
1005
1152
|
"type": "uint256"
|
|
1006
1153
|
}
|
|
1007
1154
|
],
|
|
@@ -1131,6 +1278,29 @@
|
|
|
1131
1278
|
"outputs": [],
|
|
1132
1279
|
"stateMutability": "nonpayable",
|
|
1133
1280
|
"type": "function"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"inputs": [
|
|
1284
|
+
{
|
|
1285
|
+
"internalType": "NftId",
|
|
1286
|
+
"name": "distributorNftId",
|
|
1287
|
+
"type": "uint96"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"internalType": "DistributorType",
|
|
1291
|
+
"name": "distributorType",
|
|
1292
|
+
"type": "bytes8"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"internalType": "bytes",
|
|
1296
|
+
"name": "data",
|
|
1297
|
+
"type": "bytes"
|
|
1298
|
+
}
|
|
1299
|
+
],
|
|
1300
|
+
"name": "updateDistributorType",
|
|
1301
|
+
"outputs": [],
|
|
1302
|
+
"stateMutability": "nonpayable",
|
|
1303
|
+
"type": "function"
|
|
1134
1304
|
}
|
|
1135
1305
|
],
|
|
1136
1306
|
"bytecode": "0x",
|