@etherisc/gif-next 0.0.2-bc11089-132 → 0.0.2-bca28f1-935
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +897 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +896 -235
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +137 -86
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +798 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +662 -43
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +661 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +603 -204
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +529 -122
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- 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/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- 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/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -62
- 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 +706 -56
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +152 -19
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +560 -272
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +103 -176
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +61 -97
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +460 -191
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +187 -85
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -32
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +321 -9
- 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/IAccess.sol/IAccess.json +24 -13
- 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 +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1117 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +495 -100
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +172 -26
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +554 -62
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +197 -23
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ComponentServiceBase.sol/ComponentServiceBase.json → service/IApplicationService.sol/IApplicationService.json} +221 -104
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +181 -52
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +229 -19
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +152 -32
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +32 -19
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -19
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +481 -87
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +203 -25
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +301 -62
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +169 -23
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +301 -62
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +169 -15
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +225 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +185 -77
- 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 +238 -235
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +243 -129
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +181 -97
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +150 -29
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +37 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +18 -5
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +32 -19
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +156 -11
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +156 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -11
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +178 -19
- 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 +2 -2
- 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 +152 -11
- 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 +196 -37
- 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 +8 -8
- 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/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/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 +236 -0
- package/contracts/components/Distribution.sol +209 -64
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +59 -3
- package/contracts/components/IPoolComponent.sol +50 -29
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +135 -152
- package/contracts/components/Product.sol +103 -117
- package/contracts/instance/BundleManager.sol +7 -11
- package/contracts/instance/IInstance.sol +35 -11
- package/contracts/instance/IInstanceService.sol +23 -2
- package/contracts/instance/Instance.sol +67 -62
- package/contracts/instance/InstanceAccessManager.sol +31 -38
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +198 -56
- package/contracts/instance/InstanceServiceManager.sol +5 -8
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +4 -5
- package/contracts/instance/module/ISetup.sol +5 -4
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +52 -14
- package/contracts/instance/service/BundleServiceManager.sol +5 -8
- package/contracts/instance/service/DistributionService.sol +208 -49
- package/contracts/instance/service/DistributionServiceManager.sol +6 -9
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +12 -3
- package/contracts/instance/service/IDistributionService.sol +53 -0
- package/contracts/instance/service/IPolicyService.sol +17 -16
- package/contracts/instance/service/PolicyService.sol +148 -132
- package/contracts/instance/service/PoolService.sol +27 -42
- package/contracts/instance/service/PoolServiceManager.sol +5 -8
- package/contracts/instance/service/ProductService.sol +100 -40
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +37 -19
- package/contracts/registry/IRegistryService.sol +30 -13
- package/contracts/registry/Registry.sol +233 -217
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +81 -162
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +331 -0
- package/contracts/registry/TokenRegistry.sol +11 -9
- package/contracts/shared/ERC165.sol +12 -11
- package/contracts/shared/INftOwnable.sol +12 -6
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +15 -0
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/NftOwnable.sol +113 -57
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +6 -5
- package/contracts/shared/Registerable.sol +15 -24
- package/contracts/shared/RegistryLinked.sol +64 -0
- package/contracts/shared/Service.sol +18 -13
- package/contracts/shared/Versionable.sol +3 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/ObjectType.sol +6 -2
- package/contracts/types/RoleId.sol +4 -5
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -384
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -148
- package/contracts/components/IBaseComponent.sol +0 -32
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -72
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -51,6 +51,11 @@
|
|
51
51
|
"name": "ErrorIBundleServiceInsufficientAllowance",
|
52
52
|
"type": "error"
|
53
53
|
},
|
54
|
+
{
|
55
|
+
"inputs": [],
|
56
|
+
"name": "ErrorInitialOwnerZero",
|
57
|
+
"type": "error"
|
58
|
+
},
|
54
59
|
{
|
55
60
|
"inputs": [
|
56
61
|
{
|
@@ -119,6 +124,34 @@
|
|
119
124
|
"name": "LogVersionableInitialized",
|
120
125
|
"type": "event"
|
121
126
|
},
|
127
|
+
{
|
128
|
+
"inputs": [
|
129
|
+
{
|
130
|
+
"internalType": "contract IInstance",
|
131
|
+
"name": "instance",
|
132
|
+
"type": "address"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"internalType": "NftId",
|
136
|
+
"name": "policyNftId",
|
137
|
+
"type": "uint96"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"internalType": "NftId",
|
141
|
+
"name": "bundleNftId",
|
142
|
+
"type": "uint96"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"internalType": "uint256",
|
146
|
+
"name": "collateralAmount",
|
147
|
+
"type": "uint256"
|
148
|
+
}
|
149
|
+
],
|
150
|
+
"name": "closePolicy",
|
151
|
+
"outputs": [],
|
152
|
+
"stateMutability": "nonpayable",
|
153
|
+
"type": "function"
|
154
|
+
},
|
122
155
|
{
|
123
156
|
"inputs": [
|
124
157
|
{
|
@@ -170,6 +203,19 @@
|
|
170
203
|
"stateMutability": "nonpayable",
|
171
204
|
"type": "function"
|
172
205
|
},
|
206
|
+
{
|
207
|
+
"inputs": [],
|
208
|
+
"name": "getDomain",
|
209
|
+
"outputs": [
|
210
|
+
{
|
211
|
+
"internalType": "ObjectType",
|
212
|
+
"name": "serviceDomain",
|
213
|
+
"type": "uint8"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"stateMutability": "pure",
|
217
|
+
"type": "function"
|
218
|
+
},
|
173
219
|
{
|
174
220
|
"inputs": [],
|
175
221
|
"name": "getInitialInfo",
|
@@ -215,11 +261,6 @@
|
|
215
261
|
"internalType": "struct IRegistry.ObjectInfo",
|
216
262
|
"name": "",
|
217
263
|
"type": "tuple"
|
218
|
-
},
|
219
|
-
{
|
220
|
-
"internalType": "bytes",
|
221
|
-
"name": "data",
|
222
|
-
"type": "bytes"
|
223
264
|
}
|
224
265
|
],
|
225
266
|
"stateMutability": "view",
|
@@ -253,25 +294,25 @@
|
|
253
294
|
},
|
254
295
|
{
|
255
296
|
"inputs": [],
|
256
|
-
"name": "
|
297
|
+
"name": "getNftId",
|
257
298
|
"outputs": [
|
258
299
|
{
|
259
|
-
"internalType": "
|
260
|
-
"name": "
|
261
|
-
"type": "
|
300
|
+
"internalType": "NftId",
|
301
|
+
"name": "",
|
302
|
+
"type": "uint96"
|
262
303
|
}
|
263
304
|
],
|
264
|
-
"stateMutability": "
|
305
|
+
"stateMutability": "view",
|
265
306
|
"type": "function"
|
266
307
|
},
|
267
308
|
{
|
268
309
|
"inputs": [],
|
269
|
-
"name": "
|
310
|
+
"name": "getOwner",
|
270
311
|
"outputs": [
|
271
312
|
{
|
272
|
-
"internalType": "
|
313
|
+
"internalType": "address",
|
273
314
|
"name": "",
|
274
|
-
"type": "
|
315
|
+
"type": "address"
|
275
316
|
}
|
276
317
|
],
|
277
318
|
"stateMutability": "view",
|
@@ -279,10 +320,10 @@
|
|
279
320
|
},
|
280
321
|
{
|
281
322
|
"inputs": [],
|
282
|
-
"name": "
|
323
|
+
"name": "getRegistry",
|
283
324
|
"outputs": [
|
284
325
|
{
|
285
|
-
"internalType": "
|
326
|
+
"internalType": "contract IRegistry",
|
286
327
|
"name": "",
|
287
328
|
"type": "address"
|
288
329
|
}
|
@@ -292,10 +333,10 @@
|
|
292
333
|
},
|
293
334
|
{
|
294
335
|
"inputs": [],
|
295
|
-
"name": "
|
336
|
+
"name": "getRegistryAddress",
|
296
337
|
"outputs": [
|
297
338
|
{
|
298
|
-
"internalType": "
|
339
|
+
"internalType": "address",
|
299
340
|
"name": "",
|
300
341
|
"type": "address"
|
301
342
|
}
|
@@ -394,6 +435,29 @@
|
|
394
435
|
"stateMutability": "view",
|
395
436
|
"type": "function"
|
396
437
|
},
|
438
|
+
{
|
439
|
+
"inputs": [
|
440
|
+
{
|
441
|
+
"internalType": "contract IInstance",
|
442
|
+
"name": "instance",
|
443
|
+
"type": "address"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"internalType": "NftId",
|
447
|
+
"name": "bundleNftId",
|
448
|
+
"type": "uint96"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "uint256",
|
452
|
+
"name": "amount",
|
453
|
+
"type": "uint256"
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"name": "increaseBalance",
|
457
|
+
"outputs": [],
|
458
|
+
"stateMutability": "nonpayable",
|
459
|
+
"type": "function"
|
460
|
+
},
|
397
461
|
{
|
398
462
|
"inputs": [
|
399
463
|
{
|
@@ -412,7 +476,7 @@
|
|
412
476
|
"type": "bytes"
|
413
477
|
}
|
414
478
|
],
|
415
|
-
"name": "
|
479
|
+
"name": "initializeVersionable",
|
416
480
|
"outputs": [],
|
417
481
|
"stateMutability": "nonpayable",
|
418
482
|
"type": "function"
|
@@ -456,6 +520,104 @@
|
|
456
520
|
"stateMutability": "nonpayable",
|
457
521
|
"type": "function"
|
458
522
|
},
|
523
|
+
{
|
524
|
+
"inputs": [
|
525
|
+
{
|
526
|
+
"internalType": "contract IInstance",
|
527
|
+
"name": "instanceNftId",
|
528
|
+
"type": "address"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"internalType": "NftId",
|
532
|
+
"name": "policyNftId",
|
533
|
+
"type": "uint96"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"internalType": "NftId",
|
537
|
+
"name": "bundleNftId",
|
538
|
+
"type": "uint96"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"internalType": "uint256",
|
542
|
+
"name": "collateralAmount",
|
543
|
+
"type": "uint256"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"internalType": "uint256",
|
547
|
+
"name": "netPremium",
|
548
|
+
"type": "uint256"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"name": "lockCollateral",
|
552
|
+
"outputs": [
|
553
|
+
{
|
554
|
+
"components": [
|
555
|
+
{
|
556
|
+
"internalType": "NftId",
|
557
|
+
"name": "poolNftId",
|
558
|
+
"type": "uint96"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"components": [
|
562
|
+
{
|
563
|
+
"internalType": "UFixed",
|
564
|
+
"name": "fractionalFee",
|
565
|
+
"type": "uint256"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"internalType": "uint256",
|
569
|
+
"name": "fixedFee",
|
570
|
+
"type": "uint256"
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"internalType": "struct Fee",
|
574
|
+
"name": "fee",
|
575
|
+
"type": "tuple"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"internalType": "bytes",
|
579
|
+
"name": "filter",
|
580
|
+
"type": "bytes"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"internalType": "uint256",
|
584
|
+
"name": "capitalAmount",
|
585
|
+
"type": "uint256"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"internalType": "uint256",
|
589
|
+
"name": "lockedAmount",
|
590
|
+
"type": "uint256"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"internalType": "uint256",
|
594
|
+
"name": "balanceAmount",
|
595
|
+
"type": "uint256"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"internalType": "uint256",
|
599
|
+
"name": "lifetime",
|
600
|
+
"type": "uint256"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"internalType": "Timestamp",
|
604
|
+
"name": "expiredAt",
|
605
|
+
"type": "uint40"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"internalType": "Timestamp",
|
609
|
+
"name": "closedAt",
|
610
|
+
"type": "uint40"
|
611
|
+
}
|
612
|
+
],
|
613
|
+
"internalType": "struct IBundle.BundleInfo",
|
614
|
+
"name": "bundleInfo",
|
615
|
+
"type": "tuple"
|
616
|
+
}
|
617
|
+
],
|
618
|
+
"stateMutability": "nonpayable",
|
619
|
+
"type": "function"
|
620
|
+
},
|
459
621
|
{
|
460
622
|
"inputs": [
|
461
623
|
{
|
@@ -505,39 +667,6 @@
|
|
505
667
|
"stateMutability": "view",
|
506
668
|
"type": "function"
|
507
669
|
},
|
508
|
-
{
|
509
|
-
"inputs": [
|
510
|
-
{
|
511
|
-
"internalType": "contract IInstance",
|
512
|
-
"name": "instanceNftId",
|
513
|
-
"type": "address"
|
514
|
-
},
|
515
|
-
{
|
516
|
-
"internalType": "NftId",
|
517
|
-
"name": "policyNftId",
|
518
|
-
"type": "uint96"
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"internalType": "NftId",
|
522
|
-
"name": "bundleNftId",
|
523
|
-
"type": "uint96"
|
524
|
-
},
|
525
|
-
{
|
526
|
-
"internalType": "uint256",
|
527
|
-
"name": "collateralAmount",
|
528
|
-
"type": "uint256"
|
529
|
-
},
|
530
|
-
{
|
531
|
-
"internalType": "uint256",
|
532
|
-
"name": "netPremium",
|
533
|
-
"type": "uint256"
|
534
|
-
}
|
535
|
-
],
|
536
|
-
"name": "underwritePolicy",
|
537
|
-
"outputs": [],
|
538
|
-
"stateMutability": "nonpayable",
|
539
|
-
"type": "function"
|
540
|
-
},
|
541
670
|
{
|
542
671
|
"inputs": [
|
543
672
|
{
|
@@ -656,7 +785,7 @@
|
|
656
785
|
"type": "bytes"
|
657
786
|
}
|
658
787
|
],
|
659
|
-
"name": "
|
788
|
+
"name": "upgradeVersionable",
|
660
789
|
"outputs": [],
|
661
790
|
"stateMutability": "nonpayable",
|
662
791
|
"type": "function"
|
package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json
CHANGED
@@ -30,6 +30,11 @@
|
|
30
30
|
"name": "ErrorContractNotRegistered",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
|
+
{
|
34
|
+
"inputs": [],
|
35
|
+
"name": "ErrorInitialOwnerZero",
|
36
|
+
"type": "error"
|
37
|
+
},
|
33
38
|
{
|
34
39
|
"inputs": [
|
35
40
|
{
|
@@ -98,6 +103,175 @@
|
|
98
103
|
"name": "LogVersionableInitialized",
|
99
104
|
"type": "event"
|
100
105
|
},
|
106
|
+
{
|
107
|
+
"inputs": [
|
108
|
+
{
|
109
|
+
"internalType": "ReferralId",
|
110
|
+
"name": "referralId",
|
111
|
+
"type": "bytes8"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"internalType": "uint256",
|
115
|
+
"name": "premiumAmount",
|
116
|
+
"type": "uint256"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"name": "calculateFeeAmount",
|
120
|
+
"outputs": [
|
121
|
+
{
|
122
|
+
"internalType": "uint256",
|
123
|
+
"name": "feeAmount",
|
124
|
+
"type": "uint256"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"stateMutability": "view",
|
128
|
+
"type": "function"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [
|
132
|
+
{
|
133
|
+
"internalType": "address",
|
134
|
+
"name": "distributor",
|
135
|
+
"type": "address"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"internalType": "DistributorType",
|
139
|
+
"name": "distributorType",
|
140
|
+
"type": "bytes8"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"internalType": "bytes",
|
144
|
+
"name": "data",
|
145
|
+
"type": "bytes"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "createDistributor",
|
149
|
+
"outputs": [
|
150
|
+
{
|
151
|
+
"internalType": "NftId",
|
152
|
+
"name": "distributorNftId",
|
153
|
+
"type": "uint96"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"stateMutability": "nonpayable",
|
157
|
+
"type": "function"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [
|
161
|
+
{
|
162
|
+
"internalType": "string",
|
163
|
+
"name": "name",
|
164
|
+
"type": "string"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"internalType": "UFixed",
|
168
|
+
"name": "minDiscountPercentage",
|
169
|
+
"type": "uint256"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"internalType": "UFixed",
|
173
|
+
"name": "maxDiscountPercentage",
|
174
|
+
"type": "uint256"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"internalType": "UFixed",
|
178
|
+
"name": "commissionPercentage",
|
179
|
+
"type": "uint256"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"internalType": "uint32",
|
183
|
+
"name": "maxReferralCount",
|
184
|
+
"type": "uint32"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"internalType": "uint32",
|
188
|
+
"name": "maxReferralLifetime",
|
189
|
+
"type": "uint32"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"internalType": "bool",
|
193
|
+
"name": "allowSelfReferrals",
|
194
|
+
"type": "bool"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"internalType": "bool",
|
198
|
+
"name": "allowRenewals",
|
199
|
+
"type": "bool"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"internalType": "bytes",
|
203
|
+
"name": "data",
|
204
|
+
"type": "bytes"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"name": "createDistributorType",
|
208
|
+
"outputs": [
|
209
|
+
{
|
210
|
+
"internalType": "DistributorType",
|
211
|
+
"name": "distributorType",
|
212
|
+
"type": "bytes8"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"stateMutability": "nonpayable",
|
216
|
+
"type": "function"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"inputs": [
|
220
|
+
{
|
221
|
+
"internalType": "NftId",
|
222
|
+
"name": "distributorNftId",
|
223
|
+
"type": "uint96"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"internalType": "string",
|
227
|
+
"name": "code",
|
228
|
+
"type": "string"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"internalType": "UFixed",
|
232
|
+
"name": "discountPercentage",
|
233
|
+
"type": "uint256"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"internalType": "uint32",
|
237
|
+
"name": "maxReferrals",
|
238
|
+
"type": "uint32"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"internalType": "Timestamp",
|
242
|
+
"name": "expiryAt",
|
243
|
+
"type": "uint40"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"internalType": "bytes",
|
247
|
+
"name": "data",
|
248
|
+
"type": "bytes"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"name": "createReferral",
|
252
|
+
"outputs": [
|
253
|
+
{
|
254
|
+
"internalType": "ReferralId",
|
255
|
+
"name": "referralId",
|
256
|
+
"type": "bytes8"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"stateMutability": "nonpayable",
|
260
|
+
"type": "function"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"inputs": [],
|
264
|
+
"name": "getDomain",
|
265
|
+
"outputs": [
|
266
|
+
{
|
267
|
+
"internalType": "ObjectType",
|
268
|
+
"name": "serviceDomain",
|
269
|
+
"type": "uint8"
|
270
|
+
}
|
271
|
+
],
|
272
|
+
"stateMutability": "pure",
|
273
|
+
"type": "function"
|
274
|
+
},
|
101
275
|
{
|
102
276
|
"inputs": [],
|
103
277
|
"name": "getInitialInfo",
|
@@ -143,11 +317,6 @@
|
|
143
317
|
"internalType": "struct IRegistry.ObjectInfo",
|
144
318
|
"name": "",
|
145
319
|
"type": "tuple"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"internalType": "bytes",
|
149
|
-
"name": "data",
|
150
|
-
"type": "bytes"
|
151
320
|
}
|
152
321
|
],
|
153
322
|
"stateMutability": "view",
|
@@ -181,25 +350,25 @@
|
|
181
350
|
},
|
182
351
|
{
|
183
352
|
"inputs": [],
|
184
|
-
"name": "
|
353
|
+
"name": "getNftId",
|
185
354
|
"outputs": [
|
186
355
|
{
|
187
|
-
"internalType": "
|
188
|
-
"name": "
|
189
|
-
"type": "
|
356
|
+
"internalType": "NftId",
|
357
|
+
"name": "",
|
358
|
+
"type": "uint96"
|
190
359
|
}
|
191
360
|
],
|
192
|
-
"stateMutability": "
|
361
|
+
"stateMutability": "view",
|
193
362
|
"type": "function"
|
194
363
|
},
|
195
364
|
{
|
196
365
|
"inputs": [],
|
197
|
-
"name": "
|
366
|
+
"name": "getOwner",
|
198
367
|
"outputs": [
|
199
368
|
{
|
200
|
-
"internalType": "
|
369
|
+
"internalType": "address",
|
201
370
|
"name": "",
|
202
|
-
"type": "
|
371
|
+
"type": "address"
|
203
372
|
}
|
204
373
|
],
|
205
374
|
"stateMutability": "view",
|
@@ -207,10 +376,10 @@
|
|
207
376
|
},
|
208
377
|
{
|
209
378
|
"inputs": [],
|
210
|
-
"name": "
|
379
|
+
"name": "getRegistry",
|
211
380
|
"outputs": [
|
212
381
|
{
|
213
|
-
"internalType": "
|
382
|
+
"internalType": "contract IRegistry",
|
214
383
|
"name": "",
|
215
384
|
"type": "address"
|
216
385
|
}
|
@@ -220,10 +389,10 @@
|
|
220
389
|
},
|
221
390
|
{
|
222
391
|
"inputs": [],
|
223
|
-
"name": "
|
392
|
+
"name": "getRegistryAddress",
|
224
393
|
"outputs": [
|
225
394
|
{
|
226
|
-
"internalType": "
|
395
|
+
"internalType": "address",
|
227
396
|
"name": "",
|
228
397
|
"type": "address"
|
229
398
|
}
|
@@ -340,7 +509,7 @@
|
|
340
509
|
"type": "bytes"
|
341
510
|
}
|
342
511
|
],
|
343
|
-
"name": "
|
512
|
+
"name": "initializeVersionable",
|
344
513
|
"outputs": [],
|
345
514
|
"stateMutability": "nonpayable",
|
346
515
|
"type": "function"
|
@@ -371,6 +540,24 @@
|
|
371
540
|
"stateMutability": "nonpayable",
|
372
541
|
"type": "function"
|
373
542
|
},
|
543
|
+
{
|
544
|
+
"inputs": [
|
545
|
+
{
|
546
|
+
"internalType": "ReferralId",
|
547
|
+
"name": "referralId",
|
548
|
+
"type": "bytes8"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"internalType": "uint256",
|
552
|
+
"name": "premiumAmount",
|
553
|
+
"type": "uint256"
|
554
|
+
}
|
555
|
+
],
|
556
|
+
"name": "processSale",
|
557
|
+
"outputs": [],
|
558
|
+
"stateMutability": "nonpayable",
|
559
|
+
"type": "function"
|
560
|
+
},
|
374
561
|
{
|
375
562
|
"inputs": [
|
376
563
|
{
|
@@ -415,6 +602,29 @@
|
|
415
602
|
"stateMutability": "view",
|
416
603
|
"type": "function"
|
417
604
|
},
|
605
|
+
{
|
606
|
+
"inputs": [
|
607
|
+
{
|
608
|
+
"internalType": "NftId",
|
609
|
+
"name": "distributorNftId",
|
610
|
+
"type": "uint96"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"internalType": "DistributorType",
|
614
|
+
"name": "distributorType",
|
615
|
+
"type": "bytes8"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"internalType": "bytes",
|
619
|
+
"name": "data",
|
620
|
+
"type": "bytes"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"name": "updateDistributorType",
|
624
|
+
"outputs": [],
|
625
|
+
"stateMutability": "nonpayable",
|
626
|
+
"type": "function"
|
627
|
+
},
|
418
628
|
{
|
419
629
|
"inputs": [
|
420
630
|
{
|
@@ -433,7 +643,7 @@
|
|
433
643
|
"type": "bytes"
|
434
644
|
}
|
435
645
|
],
|
436
|
-
"name": "
|
646
|
+
"name": "upgradeVersionable",
|
437
647
|
"outputs": [],
|
438
648
|
"stateMutability": "nonpayable",
|
439
649
|
"type": "function"
|