@etherisc/gif-next 0.0.2-c6846dc-026 → 0.0.2-c83506f-943
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +264 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +162 -147
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +610 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +125 -113
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/policy/IPolicy.sol/IPolicyModule.json → components/IPoolComponent.sol/IPoolComponent.json} +124 -129
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +523 -77
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +505 -97
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1119 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +244 -1372
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +421 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2708 -974
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1257 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +703 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +424 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +481 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -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/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +287 -31
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +872 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +500 -43
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1261 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +504 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → shared/IRegisterable.sol/IRegisterable.json} +98 -102
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +421 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +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/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/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 +77 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
- package/contracts/components/BaseComponent.sol +86 -0
- package/contracts/components/Distribution.sol +166 -0
- package/contracts/components/IBaseComponent.sol +24 -0
- package/contracts/components/IDistributionComponent.sol +43 -0
- package/contracts/components/IPoolComponent.sol +62 -0
- package/contracts/components/IProductComponent.sol +35 -0
- package/contracts/components/Pool.sol +232 -25
- package/contracts/components/Product.sol +254 -46
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/AccessManagedSimple.sol +114 -0
- package/contracts/instance/AccessManagerSimple.sol +682 -0
- package/contracts/instance/IAccessManagerSimple.sol +391 -0
- package/contracts/instance/IInstance.sol +24 -21
- package/contracts/instance/IInstanceService.sol +17 -0
- package/contracts/instance/Instance.sol +416 -52
- package/contracts/instance/InstanceAccessManager.sol +288 -0
- package/contracts/instance/InstanceReader.sol +280 -0
- package/contracts/instance/InstanceService.sol +102 -0
- package/contracts/instance/InstanceServiceManager.sol +56 -0
- package/contracts/instance/base/ComponentServiceBase.sol +49 -0
- package/contracts/instance/base/IInstanceBase.sol +23 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +172 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/module/IAccess.sol +38 -0
- package/contracts/instance/module/IBundle.sol +19 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +45 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +43 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ComponentOwnerService.sol +317 -0
- package/contracts/instance/service/IComponentOwnerService.sol +20 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +107 -0
- package/contracts/registry/ChainNft.sol +129 -62
- package/contracts/registry/IRegistry.sol +35 -45
- package/contracts/registry/IRegistryService.sol +35 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +367 -126
- package/contracts/registry/RegistryService.sol +439 -0
- package/contracts/registry/RegistryServiceManager.sol +64 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +21 -0
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +17 -0
- package/contracts/shared/IService.sol +15 -0
- package/contracts/shared/IVersionable.sol +96 -0
- package/contracts/shared/NftOwnable.sol +136 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +89 -0
- package/contracts/shared/RegisterableUpgradable.sol +16 -0
- package/contracts/shared/Service.sol +54 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +147 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +24 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +44 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +22 -1
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +60 -15
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +82 -0
- package/contracts/types/StateId.sol +14 -4
- package/contracts/types/Timestamp.sol +29 -4
- package/contracts/types/UFixed.sol +150 -31
- package/contracts/types/Version.sol +104 -0
- package/package.json +12 -5
- 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/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/Component.sol +0 -77
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1257 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "InstanceReader",
|
4
|
+
"sourceName": "contracts/instance/InstanceReader.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "instanceNftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"stateMutability": "nonpayable",
|
20
|
+
"type": "constructor"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "ReferralId",
|
26
|
+
"name": "referralId",
|
27
|
+
"type": "bytes8"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "getDiscountPercentage",
|
31
|
+
"outputs": [
|
32
|
+
{
|
33
|
+
"internalType": "UFixed",
|
34
|
+
"name": "discountPercentage",
|
35
|
+
"type": "uint256"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"internalType": "ReferralStatus",
|
39
|
+
"name": "status",
|
40
|
+
"type": "uint8"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"stateMutability": "view",
|
44
|
+
"type": "function"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"inputs": [
|
48
|
+
{
|
49
|
+
"internalType": "NftId",
|
50
|
+
"name": "distributionNftId",
|
51
|
+
"type": "uint96"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"name": "getDistributionSetupInfo",
|
55
|
+
"outputs": [
|
56
|
+
{
|
57
|
+
"components": [
|
58
|
+
{
|
59
|
+
"internalType": "NftId",
|
60
|
+
"name": "productNftId",
|
61
|
+
"type": "uint96"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"internalType": "contract TokenHandler",
|
65
|
+
"name": "tokenHandler",
|
66
|
+
"type": "address"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"components": [
|
70
|
+
{
|
71
|
+
"internalType": "UFixed",
|
72
|
+
"name": "fractionalFee",
|
73
|
+
"type": "uint256"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"internalType": "uint256",
|
77
|
+
"name": "fixedFee",
|
78
|
+
"type": "uint256"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"internalType": "struct Fee",
|
82
|
+
"name": "distributionFee",
|
83
|
+
"type": "tuple"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"internalType": "bool",
|
87
|
+
"name": "isIntercepting",
|
88
|
+
"type": "bool"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "wallet",
|
93
|
+
"type": "address"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
97
|
+
"name": "info",
|
98
|
+
"type": "tuple"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"stateMutability": "view",
|
102
|
+
"type": "function"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [
|
106
|
+
{
|
107
|
+
"internalType": "NftId",
|
108
|
+
"name": "distributorNftId",
|
109
|
+
"type": "uint96"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"name": "getDistributorInfo",
|
113
|
+
"outputs": [
|
114
|
+
{
|
115
|
+
"components": [
|
116
|
+
{
|
117
|
+
"internalType": "DistributorType",
|
118
|
+
"name": "distributorType",
|
119
|
+
"type": "bytes8"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "bool",
|
123
|
+
"name": "active",
|
124
|
+
"type": "bool"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "bytes",
|
128
|
+
"name": "data",
|
129
|
+
"type": "bytes"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
133
|
+
"name": "info",
|
134
|
+
"type": "tuple"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"stateMutability": "view",
|
138
|
+
"type": "function"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"internalType": "DistributorType",
|
144
|
+
"name": "distributorType",
|
145
|
+
"type": "bytes8"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "getDistributorTypeInfo",
|
149
|
+
"outputs": [
|
150
|
+
{
|
151
|
+
"components": [
|
152
|
+
{
|
153
|
+
"internalType": "string",
|
154
|
+
"name": "name",
|
155
|
+
"type": "string"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"internalType": "UFixed",
|
159
|
+
"name": "minDiscountPercentage",
|
160
|
+
"type": "uint256"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "UFixed",
|
164
|
+
"name": "maxDiscountPercentage",
|
165
|
+
"type": "uint256"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"internalType": "UFixed",
|
169
|
+
"name": "commissionPercentage",
|
170
|
+
"type": "uint256"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"internalType": "uint32",
|
174
|
+
"name": "maxReferralCount",
|
175
|
+
"type": "uint32"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"internalType": "uint32",
|
179
|
+
"name": "maxReferralLifetime",
|
180
|
+
"type": "uint32"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"internalType": "bool",
|
184
|
+
"name": "allowSelfReferrals",
|
185
|
+
"type": "bool"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"internalType": "bool",
|
189
|
+
"name": "allowRenewals",
|
190
|
+
"type": "bool"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"internalType": "bytes",
|
194
|
+
"name": "data",
|
195
|
+
"type": "bytes"
|
196
|
+
}
|
197
|
+
],
|
198
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
199
|
+
"name": "info",
|
200
|
+
"type": "tuple"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"stateMutability": "view",
|
204
|
+
"type": "function"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"inputs": [],
|
208
|
+
"name": "getInstance",
|
209
|
+
"outputs": [
|
210
|
+
{
|
211
|
+
"internalType": "contract IInstance",
|
212
|
+
"name": "instance",
|
213
|
+
"type": "address"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"stateMutability": "view",
|
217
|
+
"type": "function"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"inputs": [],
|
221
|
+
"name": "getInstanceNftId",
|
222
|
+
"outputs": [
|
223
|
+
{
|
224
|
+
"internalType": "NftId",
|
225
|
+
"name": "nftId",
|
226
|
+
"type": "uint96"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"stateMutability": "view",
|
230
|
+
"type": "function"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [],
|
234
|
+
"name": "getInstanceStore",
|
235
|
+
"outputs": [
|
236
|
+
{
|
237
|
+
"internalType": "contract IKeyValueStore",
|
238
|
+
"name": "store",
|
239
|
+
"type": "address"
|
240
|
+
}
|
241
|
+
],
|
242
|
+
"stateMutability": "view",
|
243
|
+
"type": "function"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"inputs": [
|
247
|
+
{
|
248
|
+
"internalType": "Key32",
|
249
|
+
"name": "key",
|
250
|
+
"type": "bytes32"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"name": "getMetadata",
|
254
|
+
"outputs": [
|
255
|
+
{
|
256
|
+
"components": [
|
257
|
+
{
|
258
|
+
"internalType": "ObjectType",
|
259
|
+
"name": "objectType",
|
260
|
+
"type": "uint8"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"internalType": "StateId",
|
264
|
+
"name": "state",
|
265
|
+
"type": "uint8"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"internalType": "address",
|
269
|
+
"name": "updatedBy",
|
270
|
+
"type": "address"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "Blocknumber",
|
274
|
+
"name": "updatedIn",
|
275
|
+
"type": "uint32"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "Blocknumber",
|
279
|
+
"name": "createdIn",
|
280
|
+
"type": "uint32"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
284
|
+
"name": "metadata",
|
285
|
+
"type": "tuple"
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"stateMutability": "view",
|
289
|
+
"type": "function"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"inputs": [
|
293
|
+
{
|
294
|
+
"internalType": "NftId",
|
295
|
+
"name": "policyNftId",
|
296
|
+
"type": "uint96"
|
297
|
+
}
|
298
|
+
],
|
299
|
+
"name": "getPolicyInfo",
|
300
|
+
"outputs": [
|
301
|
+
{
|
302
|
+
"components": [
|
303
|
+
{
|
304
|
+
"internalType": "NftId",
|
305
|
+
"name": "productNftId",
|
306
|
+
"type": "uint96"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"internalType": "NftId",
|
310
|
+
"name": "bundleNftId",
|
311
|
+
"type": "uint96"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"internalType": "ReferralId",
|
315
|
+
"name": "referralId",
|
316
|
+
"type": "bytes8"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"internalType": "RiskId",
|
320
|
+
"name": "riskId",
|
321
|
+
"type": "bytes8"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"internalType": "uint256",
|
325
|
+
"name": "sumInsuredAmount",
|
326
|
+
"type": "uint256"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"internalType": "uint256",
|
330
|
+
"name": "premiumAmount",
|
331
|
+
"type": "uint256"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"internalType": "uint256",
|
335
|
+
"name": "premiumPaidAmount",
|
336
|
+
"type": "uint256"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"internalType": "uint256",
|
340
|
+
"name": "lifetime",
|
341
|
+
"type": "uint256"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"internalType": "bytes",
|
345
|
+
"name": "applicationData",
|
346
|
+
"type": "bytes"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"internalType": "bytes",
|
350
|
+
"name": "policyData",
|
351
|
+
"type": "bytes"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "uint16",
|
355
|
+
"name": "claimsCount",
|
356
|
+
"type": "uint16"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"internalType": "uint16",
|
360
|
+
"name": "openClaimsCount",
|
361
|
+
"type": "uint16"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"internalType": "uint256",
|
365
|
+
"name": "payoutAmount",
|
366
|
+
"type": "uint256"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"internalType": "Timestamp",
|
370
|
+
"name": "activatedAt",
|
371
|
+
"type": "uint40"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "Timestamp",
|
375
|
+
"name": "expiredAt",
|
376
|
+
"type": "uint40"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"internalType": "Timestamp",
|
380
|
+
"name": "closedAt",
|
381
|
+
"type": "uint40"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
385
|
+
"name": "info",
|
386
|
+
"type": "tuple"
|
387
|
+
}
|
388
|
+
],
|
389
|
+
"stateMutability": "view",
|
390
|
+
"type": "function"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"inputs": [
|
394
|
+
{
|
395
|
+
"internalType": "NftId",
|
396
|
+
"name": "poolNftId",
|
397
|
+
"type": "uint96"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"name": "getPoolSetupInfo",
|
401
|
+
"outputs": [
|
402
|
+
{
|
403
|
+
"components": [
|
404
|
+
{
|
405
|
+
"internalType": "NftId",
|
406
|
+
"name": "productNftId",
|
407
|
+
"type": "uint96"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"internalType": "contract TokenHandler",
|
411
|
+
"name": "tokenHandler",
|
412
|
+
"type": "address"
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"internalType": "UFixed",
|
416
|
+
"name": "collateralizationLevel",
|
417
|
+
"type": "uint256"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"components": [
|
421
|
+
{
|
422
|
+
"internalType": "UFixed",
|
423
|
+
"name": "fractionalFee",
|
424
|
+
"type": "uint256"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "uint256",
|
428
|
+
"name": "fixedFee",
|
429
|
+
"type": "uint256"
|
430
|
+
}
|
431
|
+
],
|
432
|
+
"internalType": "struct Fee",
|
433
|
+
"name": "poolFee",
|
434
|
+
"type": "tuple"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"components": [
|
438
|
+
{
|
439
|
+
"internalType": "UFixed",
|
440
|
+
"name": "fractionalFee",
|
441
|
+
"type": "uint256"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"internalType": "uint256",
|
445
|
+
"name": "fixedFee",
|
446
|
+
"type": "uint256"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"internalType": "struct Fee",
|
450
|
+
"name": "stakingFee",
|
451
|
+
"type": "tuple"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"components": [
|
455
|
+
{
|
456
|
+
"internalType": "UFixed",
|
457
|
+
"name": "fractionalFee",
|
458
|
+
"type": "uint256"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"internalType": "uint256",
|
462
|
+
"name": "fixedFee",
|
463
|
+
"type": "uint256"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"internalType": "struct Fee",
|
467
|
+
"name": "performanceFee",
|
468
|
+
"type": "tuple"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"internalType": "bool",
|
472
|
+
"name": "isIntercepting",
|
473
|
+
"type": "bool"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"internalType": "address",
|
477
|
+
"name": "wallet",
|
478
|
+
"type": "address"
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
482
|
+
"name": "info",
|
483
|
+
"type": "tuple"
|
484
|
+
}
|
485
|
+
],
|
486
|
+
"stateMutability": "view",
|
487
|
+
"type": "function"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"inputs": [
|
491
|
+
{
|
492
|
+
"internalType": "NftId",
|
493
|
+
"name": "productNftId",
|
494
|
+
"type": "uint96"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"name": "getProductSetupInfo",
|
498
|
+
"outputs": [
|
499
|
+
{
|
500
|
+
"components": [
|
501
|
+
{
|
502
|
+
"internalType": "contract IERC20Metadata",
|
503
|
+
"name": "token",
|
504
|
+
"type": "address"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"internalType": "contract TokenHandler",
|
508
|
+
"name": "tokenHandler",
|
509
|
+
"type": "address"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"internalType": "NftId",
|
513
|
+
"name": "distributionNftId",
|
514
|
+
"type": "uint96"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"internalType": "NftId",
|
518
|
+
"name": "poolNftId",
|
519
|
+
"type": "uint96"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"components": [
|
523
|
+
{
|
524
|
+
"internalType": "UFixed",
|
525
|
+
"name": "fractionalFee",
|
526
|
+
"type": "uint256"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"internalType": "uint256",
|
530
|
+
"name": "fixedFee",
|
531
|
+
"type": "uint256"
|
532
|
+
}
|
533
|
+
],
|
534
|
+
"internalType": "struct Fee",
|
535
|
+
"name": "distributionFee",
|
536
|
+
"type": "tuple"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"components": [
|
540
|
+
{
|
541
|
+
"internalType": "UFixed",
|
542
|
+
"name": "fractionalFee",
|
543
|
+
"type": "uint256"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"internalType": "uint256",
|
547
|
+
"name": "fixedFee",
|
548
|
+
"type": "uint256"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"internalType": "struct Fee",
|
552
|
+
"name": "productFee",
|
553
|
+
"type": "tuple"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"components": [
|
557
|
+
{
|
558
|
+
"internalType": "UFixed",
|
559
|
+
"name": "fractionalFee",
|
560
|
+
"type": "uint256"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"internalType": "uint256",
|
564
|
+
"name": "fixedFee",
|
565
|
+
"type": "uint256"
|
566
|
+
}
|
567
|
+
],
|
568
|
+
"internalType": "struct Fee",
|
569
|
+
"name": "processingFee",
|
570
|
+
"type": "tuple"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"components": [
|
574
|
+
{
|
575
|
+
"internalType": "UFixed",
|
576
|
+
"name": "fractionalFee",
|
577
|
+
"type": "uint256"
|
578
|
+
},
|
579
|
+
{
|
580
|
+
"internalType": "uint256",
|
581
|
+
"name": "fixedFee",
|
582
|
+
"type": "uint256"
|
583
|
+
}
|
584
|
+
],
|
585
|
+
"internalType": "struct Fee",
|
586
|
+
"name": "poolFee",
|
587
|
+
"type": "tuple"
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"components": [
|
591
|
+
{
|
592
|
+
"internalType": "UFixed",
|
593
|
+
"name": "fractionalFee",
|
594
|
+
"type": "uint256"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"internalType": "uint256",
|
598
|
+
"name": "fixedFee",
|
599
|
+
"type": "uint256"
|
600
|
+
}
|
601
|
+
],
|
602
|
+
"internalType": "struct Fee",
|
603
|
+
"name": "stakingFee",
|
604
|
+
"type": "tuple"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"components": [
|
608
|
+
{
|
609
|
+
"internalType": "UFixed",
|
610
|
+
"name": "fractionalFee",
|
611
|
+
"type": "uint256"
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"internalType": "uint256",
|
615
|
+
"name": "fixedFee",
|
616
|
+
"type": "uint256"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"internalType": "struct Fee",
|
620
|
+
"name": "performanceFee",
|
621
|
+
"type": "tuple"
|
622
|
+
}
|
623
|
+
],
|
624
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
625
|
+
"name": "info",
|
626
|
+
"type": "tuple"
|
627
|
+
}
|
628
|
+
],
|
629
|
+
"stateMutability": "view",
|
630
|
+
"type": "function"
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"inputs": [
|
634
|
+
{
|
635
|
+
"internalType": "ReferralId",
|
636
|
+
"name": "referralId",
|
637
|
+
"type": "bytes8"
|
638
|
+
}
|
639
|
+
],
|
640
|
+
"name": "getReferralInfo",
|
641
|
+
"outputs": [
|
642
|
+
{
|
643
|
+
"components": [
|
644
|
+
{
|
645
|
+
"internalType": "NftId",
|
646
|
+
"name": "distributorNftId",
|
647
|
+
"type": "uint96"
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"internalType": "string",
|
651
|
+
"name": "referralCode",
|
652
|
+
"type": "string"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"internalType": "UFixed",
|
656
|
+
"name": "discountPercentage",
|
657
|
+
"type": "uint256"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"internalType": "uint32",
|
661
|
+
"name": "maxReferrals",
|
662
|
+
"type": "uint32"
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"internalType": "uint32",
|
666
|
+
"name": "usedReferrals",
|
667
|
+
"type": "uint32"
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"internalType": "Timestamp",
|
671
|
+
"name": "expiryAt",
|
672
|
+
"type": "uint40"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"internalType": "bytes",
|
676
|
+
"name": "data",
|
677
|
+
"type": "bytes"
|
678
|
+
}
|
679
|
+
],
|
680
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
681
|
+
"name": "info",
|
682
|
+
"type": "tuple"
|
683
|
+
}
|
684
|
+
],
|
685
|
+
"stateMutability": "view",
|
686
|
+
"type": "function"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"inputs": [
|
690
|
+
{
|
691
|
+
"internalType": "RiskId",
|
692
|
+
"name": "riskId",
|
693
|
+
"type": "bytes8"
|
694
|
+
}
|
695
|
+
],
|
696
|
+
"name": "getRiskInfo",
|
697
|
+
"outputs": [
|
698
|
+
{
|
699
|
+
"components": [
|
700
|
+
{
|
701
|
+
"internalType": "NftId",
|
702
|
+
"name": "productNftId",
|
703
|
+
"type": "uint96"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"internalType": "bytes",
|
707
|
+
"name": "data",
|
708
|
+
"type": "bytes"
|
709
|
+
}
|
710
|
+
],
|
711
|
+
"internalType": "struct IRisk.RiskInfo",
|
712
|
+
"name": "info",
|
713
|
+
"type": "tuple"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"stateMutability": "view",
|
717
|
+
"type": "function"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"inputs": [
|
721
|
+
{
|
722
|
+
"internalType": "NftId",
|
723
|
+
"name": "productNftId",
|
724
|
+
"type": "uint96"
|
725
|
+
}
|
726
|
+
],
|
727
|
+
"name": "getTokenHandler",
|
728
|
+
"outputs": [
|
729
|
+
{
|
730
|
+
"internalType": "address",
|
731
|
+
"name": "tokenHandler",
|
732
|
+
"type": "address"
|
733
|
+
}
|
734
|
+
],
|
735
|
+
"stateMutability": "view",
|
736
|
+
"type": "function"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"inputs": [
|
740
|
+
{
|
741
|
+
"internalType": "NftId",
|
742
|
+
"name": "productNftId",
|
743
|
+
"type": "uint96"
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"name": "getTreasuryInfo",
|
747
|
+
"outputs": [
|
748
|
+
{
|
749
|
+
"components": [
|
750
|
+
{
|
751
|
+
"internalType": "contract IERC20Metadata",
|
752
|
+
"name": "token",
|
753
|
+
"type": "address"
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"internalType": "contract TokenHandler",
|
757
|
+
"name": "tokenHandler",
|
758
|
+
"type": "address"
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"internalType": "NftId",
|
762
|
+
"name": "distributionNftId",
|
763
|
+
"type": "uint96"
|
764
|
+
},
|
765
|
+
{
|
766
|
+
"internalType": "NftId",
|
767
|
+
"name": "poolNftId",
|
768
|
+
"type": "uint96"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"components": [
|
772
|
+
{
|
773
|
+
"internalType": "UFixed",
|
774
|
+
"name": "fractionalFee",
|
775
|
+
"type": "uint256"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "uint256",
|
779
|
+
"name": "fixedFee",
|
780
|
+
"type": "uint256"
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"internalType": "struct Fee",
|
784
|
+
"name": "distributionFee",
|
785
|
+
"type": "tuple"
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"components": [
|
789
|
+
{
|
790
|
+
"internalType": "UFixed",
|
791
|
+
"name": "fractionalFee",
|
792
|
+
"type": "uint256"
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"internalType": "uint256",
|
796
|
+
"name": "fixedFee",
|
797
|
+
"type": "uint256"
|
798
|
+
}
|
799
|
+
],
|
800
|
+
"internalType": "struct Fee",
|
801
|
+
"name": "productFee",
|
802
|
+
"type": "tuple"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"components": [
|
806
|
+
{
|
807
|
+
"internalType": "UFixed",
|
808
|
+
"name": "fractionalFee",
|
809
|
+
"type": "uint256"
|
810
|
+
},
|
811
|
+
{
|
812
|
+
"internalType": "uint256",
|
813
|
+
"name": "fixedFee",
|
814
|
+
"type": "uint256"
|
815
|
+
}
|
816
|
+
],
|
817
|
+
"internalType": "struct Fee",
|
818
|
+
"name": "processingFee",
|
819
|
+
"type": "tuple"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"components": [
|
823
|
+
{
|
824
|
+
"internalType": "UFixed",
|
825
|
+
"name": "fractionalFee",
|
826
|
+
"type": "uint256"
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"internalType": "uint256",
|
830
|
+
"name": "fixedFee",
|
831
|
+
"type": "uint256"
|
832
|
+
}
|
833
|
+
],
|
834
|
+
"internalType": "struct Fee",
|
835
|
+
"name": "poolFee",
|
836
|
+
"type": "tuple"
|
837
|
+
},
|
838
|
+
{
|
839
|
+
"components": [
|
840
|
+
{
|
841
|
+
"internalType": "UFixed",
|
842
|
+
"name": "fractionalFee",
|
843
|
+
"type": "uint256"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"internalType": "uint256",
|
847
|
+
"name": "fixedFee",
|
848
|
+
"type": "uint256"
|
849
|
+
}
|
850
|
+
],
|
851
|
+
"internalType": "struct Fee",
|
852
|
+
"name": "stakingFee",
|
853
|
+
"type": "tuple"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"components": [
|
857
|
+
{
|
858
|
+
"internalType": "UFixed",
|
859
|
+
"name": "fractionalFee",
|
860
|
+
"type": "uint256"
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"internalType": "uint256",
|
864
|
+
"name": "fixedFee",
|
865
|
+
"type": "uint256"
|
866
|
+
}
|
867
|
+
],
|
868
|
+
"internalType": "struct Fee",
|
869
|
+
"name": "performanceFee",
|
870
|
+
"type": "tuple"
|
871
|
+
}
|
872
|
+
],
|
873
|
+
"internalType": "struct ITreasury.TreasuryInfo",
|
874
|
+
"name": "info",
|
875
|
+
"type": "tuple"
|
876
|
+
}
|
877
|
+
],
|
878
|
+
"stateMutability": "view",
|
879
|
+
"type": "function"
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"inputs": [
|
883
|
+
{
|
884
|
+
"internalType": "NftId",
|
885
|
+
"name": "distributionNftId",
|
886
|
+
"type": "uint96"
|
887
|
+
}
|
888
|
+
],
|
889
|
+
"name": "toDistributionKey",
|
890
|
+
"outputs": [
|
891
|
+
{
|
892
|
+
"internalType": "Key32",
|
893
|
+
"name": "",
|
894
|
+
"type": "bytes32"
|
895
|
+
}
|
896
|
+
],
|
897
|
+
"stateMutability": "pure",
|
898
|
+
"type": "function"
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"inputs": [
|
902
|
+
{
|
903
|
+
"internalType": "NftId",
|
904
|
+
"name": "distributorNftId",
|
905
|
+
"type": "uint96"
|
906
|
+
}
|
907
|
+
],
|
908
|
+
"name": "toDistributorKey",
|
909
|
+
"outputs": [
|
910
|
+
{
|
911
|
+
"internalType": "Key32",
|
912
|
+
"name": "",
|
913
|
+
"type": "bytes32"
|
914
|
+
}
|
915
|
+
],
|
916
|
+
"stateMutability": "pure",
|
917
|
+
"type": "function"
|
918
|
+
},
|
919
|
+
{
|
920
|
+
"inputs": [
|
921
|
+
{
|
922
|
+
"internalType": "UFixed",
|
923
|
+
"name": "value",
|
924
|
+
"type": "uint256"
|
925
|
+
}
|
926
|
+
],
|
927
|
+
"name": "toInt",
|
928
|
+
"outputs": [
|
929
|
+
{
|
930
|
+
"internalType": "uint256",
|
931
|
+
"name": "",
|
932
|
+
"type": "uint256"
|
933
|
+
}
|
934
|
+
],
|
935
|
+
"stateMutability": "pure",
|
936
|
+
"type": "function"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"inputs": [
|
940
|
+
{
|
941
|
+
"internalType": "NftId",
|
942
|
+
"name": "policyNftId",
|
943
|
+
"type": "uint96"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"name": "toPolicyKey",
|
947
|
+
"outputs": [
|
948
|
+
{
|
949
|
+
"internalType": "Key32",
|
950
|
+
"name": "",
|
951
|
+
"type": "bytes32"
|
952
|
+
}
|
953
|
+
],
|
954
|
+
"stateMutability": "pure",
|
955
|
+
"type": "function"
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"inputs": [
|
959
|
+
{
|
960
|
+
"internalType": "NftId",
|
961
|
+
"name": "poolNftId",
|
962
|
+
"type": "uint96"
|
963
|
+
}
|
964
|
+
],
|
965
|
+
"name": "toPoolKey",
|
966
|
+
"outputs": [
|
967
|
+
{
|
968
|
+
"internalType": "Key32",
|
969
|
+
"name": "",
|
970
|
+
"type": "bytes32"
|
971
|
+
}
|
972
|
+
],
|
973
|
+
"stateMutability": "pure",
|
974
|
+
"type": "function"
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"inputs": [
|
978
|
+
{
|
979
|
+
"internalType": "NftId",
|
980
|
+
"name": "productNftId",
|
981
|
+
"type": "uint96"
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"name": "toProductKey",
|
985
|
+
"outputs": [
|
986
|
+
{
|
987
|
+
"internalType": "Key32",
|
988
|
+
"name": "",
|
989
|
+
"type": "bytes32"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"stateMutability": "pure",
|
993
|
+
"type": "function"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"inputs": [
|
997
|
+
{
|
998
|
+
"internalType": "NftId",
|
999
|
+
"name": "distributionNftId",
|
1000
|
+
"type": "uint96"
|
1001
|
+
},
|
1002
|
+
{
|
1003
|
+
"internalType": "string",
|
1004
|
+
"name": "referralCode",
|
1005
|
+
"type": "string"
|
1006
|
+
}
|
1007
|
+
],
|
1008
|
+
"name": "toReferralId",
|
1009
|
+
"outputs": [
|
1010
|
+
{
|
1011
|
+
"internalType": "ReferralId",
|
1012
|
+
"name": "referralId",
|
1013
|
+
"type": "bytes8"
|
1014
|
+
}
|
1015
|
+
],
|
1016
|
+
"stateMutability": "pure",
|
1017
|
+
"type": "function"
|
1018
|
+
},
|
1019
|
+
{
|
1020
|
+
"inputs": [
|
1021
|
+
{
|
1022
|
+
"internalType": "NftId",
|
1023
|
+
"name": "productNftId",
|
1024
|
+
"type": "uint96"
|
1025
|
+
}
|
1026
|
+
],
|
1027
|
+
"name": "toTreasuryKey",
|
1028
|
+
"outputs": [
|
1029
|
+
{
|
1030
|
+
"internalType": "Key32",
|
1031
|
+
"name": "",
|
1032
|
+
"type": "bytes32"
|
1033
|
+
}
|
1034
|
+
],
|
1035
|
+
"stateMutability": "pure",
|
1036
|
+
"type": "function"
|
1037
|
+
},
|
1038
|
+
{
|
1039
|
+
"inputs": [
|
1040
|
+
{
|
1041
|
+
"internalType": "uint256",
|
1042
|
+
"name": "value",
|
1043
|
+
"type": "uint256"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"internalType": "int8",
|
1047
|
+
"name": "exp",
|
1048
|
+
"type": "int8"
|
1049
|
+
}
|
1050
|
+
],
|
1051
|
+
"name": "toUFixed",
|
1052
|
+
"outputs": [
|
1053
|
+
{
|
1054
|
+
"internalType": "UFixed",
|
1055
|
+
"name": "",
|
1056
|
+
"type": "uint256"
|
1057
|
+
}
|
1058
|
+
],
|
1059
|
+
"stateMutability": "pure",
|
1060
|
+
"type": "function"
|
1061
|
+
}
|
1062
|
+
],
|
1063
|
+
"bytecode": "0x60806040523480156200001157600080fd5b5060405162002a9c38038062002a9c8339810160408190526200003491620002e0565b6001600160a01b038216620000905760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620000e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010f919062000329565b6200015d5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640162000087565b6001600160601b03818116600160a01b9081026001600160a01b0385811682811760008181556040516305247a1760e51b81529590910490951660048501529116179063a48f42e090602401600060405180830381865afa158015620001c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001f1919081019062000461565b90506200021781604001516200020c620002a660201b60201c565b60ff90811691161490565b6200026f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840162000087565b60800151600180546001600160a01b039092166001600160a01b031992831681179091556002805490921617905550620005479050565b604690565b80516001600160a01b0381168114620002c357600080fd5b919050565b80516001600160601b0381168114620002c357600080fd5b60008060408385031215620002f457600080fd5b620002ff83620002ab565b91506200030f60208401620002c8565b90509250929050565b80518015158114620002c357600080fd5b6000602082840312156200033c57600080fd5b620003478262000318565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200038957620003896200034e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003ba57620003ba6200034e565b604052919050565b805160ff81168114620002c357600080fd5b600082601f830112620003e657600080fd5b81516001600160401b038111156200040257620004026200034e565b602062000418601f8301601f191682016200038f565b82815285828487010111156200042d57600080fd5b60005b838110156200044d57858101830151828201840152820162000430565b506000928101909101919091529392505050565b6000602082840312156200047457600080fd5b81516001600160401b03808211156200048c57600080fd5b9083019060e08286031215620004a157600080fd5b620004ab62000364565b620004b683620002c8565b8152620004c660208401620002c8565b6020820152620004d960408401620003c2565b6040820152620004ec6060840162000318565b6060820152620004ff60808401620002ab565b60808201526200051260a08401620002ab565b60a082015260c0830151828111156200052a57600080fd5b6200053887828601620003d4565b60c08301525095945050505050565b61254580620005576000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063887b1fa9116100c3578063bd7d9d851161007c578063bd7d9d8514610420578063d06458c614610440578063d4cda0d814610460578063dd26287a14610471578063de7b5d1414610484578063f2b246c31461049557600080fd5b8063887b1fa9146102ac57806390af7064146102cc5780639ad69c67146102ec578063a310e2a31461035e578063a5961b4c14610389578063b82d7ef5146103f657600080fd5b806344aa68361161011557806344aa68361461021557806355e343a91461022857806364eb3a9b146102485780637bfd32171461025b5780637e54602a1461026e5780637e7986691461028157600080fd5b80631488c8451461015d5780631d3be4771461018357806325d03743146101a357806327b1d792146101b657806335898f5d146101d65780633f093cd6146101e9575b600080fd5b61017061016b366004611491565b6104a8565b6040519081526020015b60405180910390f35b6101966101913660046114e0565b610530565b60405161017a919061154d565b6101706101b13660046115fd565b610689565b6101c96101c43660046115fd565b610723565b60405161017a919061161a565b6101706101e43660046115fd565b6107dd565b6101fc6101f73660046117c4565b61080a565b6040516001600160c01b0319909116815260200161017a565b610170610223366004611856565b610887565b61023b6102363660046115fd565b6108c2565b60405161017a919061186f565b6101706102563660046115fd565b610968565b6101706102693660046115fd565b610995565b61017061027c3660046115fd565b6109c2565b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200161017a565b6102bf6102ba3660046114e0565b6109ef565b60405161017a9190611914565b6102df6102da3660046115fd565b610b18565b60405161017a9190611a3f565b6102ff6102fa3660046115fd565b610bbe565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c00161017a565b61037161036c3660046115fd565b610c64565b6040516001600160a01b03909116815260200161017a565b61039c610397366004611856565b610d12565b60405161017a9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104096104043660046114e0565b610da6565b6040805192835260ff90911660208301520161017a565b61043361042e3660046115fd565b61104e565b60405161017a9190611a4e565b61045361044e3660046114e0565b61116c565b60405161017a9190611ba6565b6002546001600160a01b0316610371565b61017061047f3660046115fd565b6112df565b6001546001600160a01b0316610371565b6102df6104a33660046115fd565b61130c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611c56565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190611c56565b6040518263ffffffff1660e01b815260040161061991815260200190565b600060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261065e9190810190611cb4565b805190915015610683578080602001905181019061067c9190611d2a565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a9190611c56565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61075c856109c2565b6040518263ffffffff1660e01b815260040161077a91815260200190565b600060405180830381865afa158015610797573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107bf9190810190611cb4565b805190915015610683578080602001905181019061067c9190611e23565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106b2565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108469086908690600401611ec9565b602060405180830381865af4158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611eeb565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016106e2565b6108ca611331565b6002546000906001600160a01b03166354f6127f6108e7856112df565b6040518263ffffffff1660e01b815260040161090591815260200190565b600060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261094a9190810190611cb4565b805190915015610683578080602001905181019061067c9190611f58565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106b2565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611c56565b6040518263ffffffff1660e01b8152600401610ab591815260200190565b600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa9190810190611cb4565b805190915015610683578080602001905181019061067c9190611ffa565b610b206113a2565b6002546000906001600160a01b03166354f6127f610b3d85610995565b6040518263ffffffff1660e01b8152600401610b5b91815260200190565b600060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba09190810190611cb4565b805190915015610683578080602001905181019061067c919061214b565b610bc6611449565b6002546000906001600160a01b03166354f6127f610be3856107dd565b6040518263ffffffff1660e01b8152600401610c0191815260200190565b600060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c469190810190611cb4565b805190915015610683578080602001905181019061067c9190612168565b60025460009081906001600160a01b03166354f6127f610c8385610689565b6040518263ffffffff1660e01b8152600401610ca191815260200190565b600060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce69190810190611cb4565b80519091501561068357600081806020019051810190610d06919061214b565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a91906121ee565b6000806000610db484610530565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e37919061225c565b15610eb65773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea99190611c56565b60645b9250925050915091565b610f3a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612277565b64ffffffffff90811691161090565b15610fb35773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fac9190611c56565b606e610eac565b806060015163ffffffff16816080015163ffffffff16106110425773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b9190611c56565b6078610eac565b6040810151600a610eac565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6110eb85610968565b6040518263ffffffff1660e01b815260040161110991815260200190565b600060405180830381865afa158015611126573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261114e9190810190611cb4565b805190915015610683578080602001905181019061067c91906122a4565b6111cb60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561123a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125e9190611c56565b6040518263ffffffff1660e01b815260040161127c91815260200190565b600060405180830381865afa158015611299573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112c19190810190611cb4565b805190915015610683578080602001905181019061067c9190612418565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106b2565b6113146113a2565b6002546000906001600160a01b03166354f6127f610b3d85610689565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161138e604051806040016040528060008152602001600081525090565b600080604083850312156114a457600080fd5b8235915060208301358060000b81146114bc57600080fd5b809150509250929050565b6001600160c01b0319811681146114dd57600080fd5b50565b6000602082840312156114f257600080fd5b813561067c816114c7565b60005b83811015611518578181015183820152602001611500565b50506000910152565b600081518084526115398160208601602086016114fd565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261157d610100840182611521565b90506040840151606084015263ffffffff606085015116608084015260808401516115b060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526115df8282611521565b95945050505050565b6001600160601b03811681146114dd57600080fd5b60006020828403121561160f57600080fd5b813561067c816115e8565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526116576080840182611521565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156116975761169761165f565b60405290565b604080519081016001600160401b03811182821017156116975761169761165f565b60405161010081016001600160401b03811182821017156116975761169761165f565b60405161014081016001600160401b03811182821017156116975761169761165f565b60405160a081016001600160401b03811182821017156116975761169761165f565b60405161020081016001600160401b03811182821017156116975761169761165f565b60405161012081016001600160401b03811182821017156116975761169761165f565b604051601f8201601f191681016001600160401b03811182821017156117955761179561165f565b604052919050565b60006001600160401b038211156117b6576117b661165f565b50601f01601f191660200190565b600080604083850312156117d757600080fd5b82356117e2816115e8565b915060208301356001600160401b038111156117fd57600080fd5b8301601f8101851361180e57600080fd5b803561182161181c8261179d565b61176d565b81815286602083850101111561183657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561186857600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916118bb9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b038251166020820152600060208301516040808401526116576060840182611521565b80516001600160a01b03168252602081015161196960208401826001600160a01b03169052565b50604081015161198460408401826001600160601b03169052565b50606081015161199f60608401826001600160601b03169052565b5060808101516119bc608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006119f28185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b610200810161052a8284611942565b60208152611a686020820183516001600160601b03169052565b60006020830151611a8460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611afc610220860184611521565b9250808601519050610140601f198685030181870152611b1c8483611521565b935080870151915050610160611b378187018361ffff169052565b8601519050610180611b4e8682018361ffff169052565b8601516101a08681019190915286015190506101c0611b758187018364ffffffffff169052565b86015190506101e0611b8f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611bc5610140850183611521565b91506020850151604085015260408501516060850152606085015160808501526080850151611bfc60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611c328187018315159052565b860151858403601f1901838701529050611c4c8382611521565b9695505050505050565b600060208284031215611c6857600080fd5b5051919050565b600082601f830112611c8057600080fd5b8151611c8e61181c8261179d565b818152846020838601011115611ca357600080fd5b6116578260208301602087016114fd565b600060208284031215611cc657600080fd5b81516001600160401b03811115611cdc57600080fd5b61165784828501611c6f565b8051611cf3816115e8565b919050565b63ffffffff811681146114dd57600080fd5b8051611cf381611cf8565b805164ffffffffff81168114611cf357600080fd5b600060208284031215611d3c57600080fd5b81516001600160401b0380821115611d5357600080fd5b9083019060e08286031215611d6757600080fd5b611d6f611675565b611d7883611ce8565b8152602083015182811115611d8c57600080fd5b611d9887828601611c6f565b60208301525060408301516040820152611db460608401611d0a565b6060820152611dc560808401611d0a565b6080820152611dd660a08401611d15565b60a082015260c083015182811115611ded57600080fd5b611df987828601611c6f565b60c08301525095945050505050565b8051611cf3816114c7565b80518015158114611cf357600080fd5b600060208284031215611e3557600080fd5b81516001600160401b0380821115611e4c57600080fd5b9083019060608286031215611e6057600080fd5b604051606081018181108382111715611e7b57611e7b61165f565b6040528251611e89816114c7565b8152611e9760208401611e13565b6020820152604083015182811115611eae57600080fd5b611eba87828601611c6f565b60408301525095945050505050565b6001600160601b03831681526040602082015260006116576040830184611521565b600060208284031215611efd57600080fd5b815161067c816114c7565b6001600160a01b03811681146114dd57600080fd5b8051611cf381611f08565b600060408284031215611f3a57600080fd5b611f4261169d565b9050815181526020820151602082015292915050565b60006101608284031215611f6b57600080fd5b611f736116bf565b611f7c83611ce8565b8152611f8a60208401611f1d565b602082015260408301516040820152611fa68460608501611f28565b6060820152611fb88460a08501611f28565b6080820152611fca8460e08501611f28565b60a0820152611fdc6101208401611e13565b60c0820152611fee6101408401611f1d565b60e08201529392505050565b60006020828403121561200c57600080fd5b81516001600160401b038082111561202357600080fd5b908301906040828603121561203757600080fd5b61203f61169d565b825161204a816115e8565b815260208301518281111561205e57600080fd5b61206a87828601611c6f565b60208301525095945050505050565b6000610200828403121561208c57600080fd5b6120946116e2565b905061209f82611f1d565b81526120ad60208301611f1d565b60208201526120be60408301611ce8565b60408201526120cf60608301611ce8565b60608201526120e18360808401611f28565b60808201526120f38360c08401611f28565b60a082015261010061210784828501611f28565b60c083015261211a846101408501611f28565b60e083015261212d846101808501611f28565b9082015261213f836101c08401611f28565b61012082015292915050565b6000610200828403121561215e57600080fd5b6105278383612079565b600060c0828403121561217a57600080fd5b612182611705565b825161218d816115e8565b8152602083015161219d81611f08565b60208201526121af8460408501611f28565b60408201526121c060808401611e13565b606082015260a08301516121d381611f08565b60808201529392505050565b60ff811681146114dd57600080fd5b600060a0828403121561220057600080fd5b612208611705565b8251612213816121df565b81526020830151612223816121df565b6020820152604083015161223681611f08565b6040820152606083015161224981611cf8565b606082015260808301516121d381611cf8565b60006020828403121561226e57600080fd5b61052782611e13565b60006020828403121561228957600080fd5b61052782611d15565b805161ffff81168114611cf357600080fd5b6000602082840312156122b657600080fd5b81516001600160401b03808211156122cd57600080fd5b9083019061020082860312156122e257600080fd5b6122ea611727565b6122f383611ce8565b815261230160208401611ce8565b602082015261231260408401611e08565b604082015261232360608401611e08565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561236457600080fd5b61237088828701611c6f565b828401525050610120808401518381111561238a57600080fd5b61239688828701611c6f565b82840152505061014091506123ac828401612292565b8282015261016091506123c0828401612292565b82820152610180915081830151828201526101a091506123e1828401611d15565b828201526101c091506123f5828401611d15565b828201526101e09150612409828401611d15565b91810191909152949350505050565b60006020828403121561242a57600080fd5b81516001600160401b038082111561244157600080fd5b90830190610120828603121561245657600080fd5b61245e61174a565b82518281111561246d57600080fd5b61247987828601611c6f565b8252506020830151602082015260408301516040820152606083015160608201526124a660808401611d0a565b60808201526124b760a08401611d0a565b60a08201526124c860c08401611e13565b60c08201526124d960e08401611e13565b60e082015261010080840151838111156124f257600080fd5b6124fe88828701611c6f565b91830191909152509594505050505056fea264697066735822122029ff17362452aa6c42ae0c8b3c68fa57b143e21e6851f3f0decbbea4307f3b6664736f6c63430008140033",
|
1064
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063887b1fa9116100c3578063bd7d9d851161007c578063bd7d9d8514610420578063d06458c614610440578063d4cda0d814610460578063dd26287a14610471578063de7b5d1414610484578063f2b246c31461049557600080fd5b8063887b1fa9146102ac57806390af7064146102cc5780639ad69c67146102ec578063a310e2a31461035e578063a5961b4c14610389578063b82d7ef5146103f657600080fd5b806344aa68361161011557806344aa68361461021557806355e343a91461022857806364eb3a9b146102485780637bfd32171461025b5780637e54602a1461026e5780637e7986691461028157600080fd5b80631488c8451461015d5780631d3be4771461018357806325d03743146101a357806327b1d792146101b657806335898f5d146101d65780633f093cd6146101e9575b600080fd5b61017061016b366004611491565b6104a8565b6040519081526020015b60405180910390f35b6101966101913660046114e0565b610530565b60405161017a919061154d565b6101706101b13660046115fd565b610689565b6101c96101c43660046115fd565b610723565b60405161017a919061161a565b6101706101e43660046115fd565b6107dd565b6101fc6101f73660046117c4565b61080a565b6040516001600160c01b0319909116815260200161017a565b610170610223366004611856565b610887565b61023b6102363660046115fd565b6108c2565b60405161017a919061186f565b6101706102563660046115fd565b610968565b6101706102693660046115fd565b610995565b61017061027c3660046115fd565b6109c2565b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200161017a565b6102bf6102ba3660046114e0565b6109ef565b60405161017a9190611914565b6102df6102da3660046115fd565b610b18565b60405161017a9190611a3f565b6102ff6102fa3660046115fd565b610bbe565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c00161017a565b61037161036c3660046115fd565b610c64565b6040516001600160a01b03909116815260200161017a565b61039c610397366004611856565b610d12565b60405161017a9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104096104043660046114e0565b610da6565b6040805192835260ff90911660208301520161017a565b61043361042e3660046115fd565b61104e565b60405161017a9190611a4e565b61045361044e3660046114e0565b61116c565b60405161017a9190611ba6565b6002546001600160a01b0316610371565b61017061047f3660046115fd565b6112df565b6001546001600160a01b0316610371565b6102df6104a33660046115fd565b61130c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611c56565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190611c56565b6040518263ffffffff1660e01b815260040161061991815260200190565b600060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261065e9190810190611cb4565b805190915015610683578080602001905181019061067c9190611d2a565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a9190611c56565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61075c856109c2565b6040518263ffffffff1660e01b815260040161077a91815260200190565b600060405180830381865afa158015610797573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107bf9190810190611cb4565b805190915015610683578080602001905181019061067c9190611e23565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106b2565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108469086908690600401611ec9565b602060405180830381865af4158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611eeb565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016106e2565b6108ca611331565b6002546000906001600160a01b03166354f6127f6108e7856112df565b6040518263ffffffff1660e01b815260040161090591815260200190565b600060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261094a9190810190611cb4565b805190915015610683578080602001905181019061067c9190611f58565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106b2565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611c56565b6040518263ffffffff1660e01b8152600401610ab591815260200190565b600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa9190810190611cb4565b805190915015610683578080602001905181019061067c9190611ffa565b610b206113a2565b6002546000906001600160a01b03166354f6127f610b3d85610995565b6040518263ffffffff1660e01b8152600401610b5b91815260200190565b600060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba09190810190611cb4565b805190915015610683578080602001905181019061067c919061214b565b610bc6611449565b6002546000906001600160a01b03166354f6127f610be3856107dd565b6040518263ffffffff1660e01b8152600401610c0191815260200190565b600060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c469190810190611cb4565b805190915015610683578080602001905181019061067c9190612168565b60025460009081906001600160a01b03166354f6127f610c8385610689565b6040518263ffffffff1660e01b8152600401610ca191815260200190565b600060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce69190810190611cb4565b80519091501561068357600081806020019051810190610d06919061214b565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a91906121ee565b6000806000610db484610530565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e37919061225c565b15610eb65773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea99190611c56565b60645b9250925050915091565b610f3a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612277565b64ffffffffff90811691161090565b15610fb35773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fac9190611c56565b606e610eac565b806060015163ffffffff16816080015163ffffffff16106110425773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b9190611c56565b6078610eac565b6040810151600a610eac565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6110eb85610968565b6040518263ffffffff1660e01b815260040161110991815260200190565b600060405180830381865afa158015611126573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261114e9190810190611cb4565b805190915015610683578080602001905181019061067c91906122a4565b6111cb60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561123a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125e9190611c56565b6040518263ffffffff1660e01b815260040161127c91815260200190565b600060405180830381865afa158015611299573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112c19190810190611cb4565b805190915015610683578080602001905181019061067c9190612418565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106b2565b6113146113a2565b6002546000906001600160a01b03166354f6127f610b3d85610689565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161138e604051806040016040528060008152602001600081525090565b600080604083850312156114a457600080fd5b8235915060208301358060000b81146114bc57600080fd5b809150509250929050565b6001600160c01b0319811681146114dd57600080fd5b50565b6000602082840312156114f257600080fd5b813561067c816114c7565b60005b83811015611518578181015183820152602001611500565b50506000910152565b600081518084526115398160208601602086016114fd565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261157d610100840182611521565b90506040840151606084015263ffffffff606085015116608084015260808401516115b060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526115df8282611521565b95945050505050565b6001600160601b03811681146114dd57600080fd5b60006020828403121561160f57600080fd5b813561067c816115e8565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526116576080840182611521565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156116975761169761165f565b60405290565b604080519081016001600160401b03811182821017156116975761169761165f565b60405161010081016001600160401b03811182821017156116975761169761165f565b60405161014081016001600160401b03811182821017156116975761169761165f565b60405160a081016001600160401b03811182821017156116975761169761165f565b60405161020081016001600160401b03811182821017156116975761169761165f565b60405161012081016001600160401b03811182821017156116975761169761165f565b604051601f8201601f191681016001600160401b03811182821017156117955761179561165f565b604052919050565b60006001600160401b038211156117b6576117b661165f565b50601f01601f191660200190565b600080604083850312156117d757600080fd5b82356117e2816115e8565b915060208301356001600160401b038111156117fd57600080fd5b8301601f8101851361180e57600080fd5b803561182161181c8261179d565b61176d565b81815286602083850101111561183657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561186857600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916118bb9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b038251166020820152600060208301516040808401526116576060840182611521565b80516001600160a01b03168252602081015161196960208401826001600160a01b03169052565b50604081015161198460408401826001600160601b03169052565b50606081015161199f60608401826001600160601b03169052565b5060808101516119bc608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006119f28185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b610200810161052a8284611942565b60208152611a686020820183516001600160601b03169052565b60006020830151611a8460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611afc610220860184611521565b9250808601519050610140601f198685030181870152611b1c8483611521565b935080870151915050610160611b378187018361ffff169052565b8601519050610180611b4e8682018361ffff169052565b8601516101a08681019190915286015190506101c0611b758187018364ffffffffff169052565b86015190506101e0611b8f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611bc5610140850183611521565b91506020850151604085015260408501516060850152606085015160808501526080850151611bfc60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611c328187018315159052565b860151858403601f1901838701529050611c4c8382611521565b9695505050505050565b600060208284031215611c6857600080fd5b5051919050565b600082601f830112611c8057600080fd5b8151611c8e61181c8261179d565b818152846020838601011115611ca357600080fd5b6116578260208301602087016114fd565b600060208284031215611cc657600080fd5b81516001600160401b03811115611cdc57600080fd5b61165784828501611c6f565b8051611cf3816115e8565b919050565b63ffffffff811681146114dd57600080fd5b8051611cf381611cf8565b805164ffffffffff81168114611cf357600080fd5b600060208284031215611d3c57600080fd5b81516001600160401b0380821115611d5357600080fd5b9083019060e08286031215611d6757600080fd5b611d6f611675565b611d7883611ce8565b8152602083015182811115611d8c57600080fd5b611d9887828601611c6f565b60208301525060408301516040820152611db460608401611d0a565b6060820152611dc560808401611d0a565b6080820152611dd660a08401611d15565b60a082015260c083015182811115611ded57600080fd5b611df987828601611c6f565b60c08301525095945050505050565b8051611cf3816114c7565b80518015158114611cf357600080fd5b600060208284031215611e3557600080fd5b81516001600160401b0380821115611e4c57600080fd5b9083019060608286031215611e6057600080fd5b604051606081018181108382111715611e7b57611e7b61165f565b6040528251611e89816114c7565b8152611e9760208401611e13565b6020820152604083015182811115611eae57600080fd5b611eba87828601611c6f565b60408301525095945050505050565b6001600160601b03831681526040602082015260006116576040830184611521565b600060208284031215611efd57600080fd5b815161067c816114c7565b6001600160a01b03811681146114dd57600080fd5b8051611cf381611f08565b600060408284031215611f3a57600080fd5b611f4261169d565b9050815181526020820151602082015292915050565b60006101608284031215611f6b57600080fd5b611f736116bf565b611f7c83611ce8565b8152611f8a60208401611f1d565b602082015260408301516040820152611fa68460608501611f28565b6060820152611fb88460a08501611f28565b6080820152611fca8460e08501611f28565b60a0820152611fdc6101208401611e13565b60c0820152611fee6101408401611f1d565b60e08201529392505050565b60006020828403121561200c57600080fd5b81516001600160401b038082111561202357600080fd5b908301906040828603121561203757600080fd5b61203f61169d565b825161204a816115e8565b815260208301518281111561205e57600080fd5b61206a87828601611c6f565b60208301525095945050505050565b6000610200828403121561208c57600080fd5b6120946116e2565b905061209f82611f1d565b81526120ad60208301611f1d565b60208201526120be60408301611ce8565b60408201526120cf60608301611ce8565b60608201526120e18360808401611f28565b60808201526120f38360c08401611f28565b60a082015261010061210784828501611f28565b60c083015261211a846101408501611f28565b60e083015261212d846101808501611f28565b9082015261213f836101c08401611f28565b61012082015292915050565b6000610200828403121561215e57600080fd5b6105278383612079565b600060c0828403121561217a57600080fd5b612182611705565b825161218d816115e8565b8152602083015161219d81611f08565b60208201526121af8460408501611f28565b60408201526121c060808401611e13565b606082015260a08301516121d381611f08565b60808201529392505050565b60ff811681146114dd57600080fd5b600060a0828403121561220057600080fd5b612208611705565b8251612213816121df565b81526020830151612223816121df565b6020820152604083015161223681611f08565b6040820152606083015161224981611cf8565b606082015260808301516121d381611cf8565b60006020828403121561226e57600080fd5b61052782611e13565b60006020828403121561228957600080fd5b61052782611d15565b805161ffff81168114611cf357600080fd5b6000602082840312156122b657600080fd5b81516001600160401b03808211156122cd57600080fd5b9083019061020082860312156122e257600080fd5b6122ea611727565b6122f383611ce8565b815261230160208401611ce8565b602082015261231260408401611e08565b604082015261232360608401611e08565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561236457600080fd5b61237088828701611c6f565b828401525050610120808401518381111561238a57600080fd5b61239688828701611c6f565b82840152505061014091506123ac828401612292565b8282015261016091506123c0828401612292565b82820152610180915081830151828201526101a091506123e1828401611d15565b828201526101c091506123f5828401611d15565b828201526101e09150612409828401611d15565b91810191909152949350505050565b60006020828403121561242a57600080fd5b81516001600160401b038082111561244157600080fd5b90830190610120828603121561245657600080fd5b61245e61174a565b82518281111561246d57600080fd5b61247987828601611c6f565b8252506020830151602082015260408301516040820152606083015160608201526124a660808401611d0a565b60808201526124b760a08401611d0a565b60a08201526124c860c08401611e13565b60c08201526124d960e08401611e13565b60e082015261010080840151838111156124f257600080fd5b6124fe88828701611c6f565b91830191909152509594505050505056fea264697066735822122029ff17362452aa6c42ae0c8b3c68fa57b143e21e6851f3f0decbbea4307f3b6664736f6c63430008140033",
|
1065
|
+
"linkReferences": {
|
1066
|
+
"contracts/types/DistributorType.sol": {
|
1067
|
+
"DistributorTypeLib": [
|
1068
|
+
{
|
1069
|
+
"length": 20,
|
1070
|
+
"start": 5975
|
1071
|
+
}
|
1072
|
+
]
|
1073
|
+
},
|
1074
|
+
"contracts/types/NftId.sol": {
|
1075
|
+
"NftIdLib": [
|
1076
|
+
{
|
1077
|
+
"length": 20,
|
1078
|
+
"start": 174
|
1079
|
+
},
|
1080
|
+
{
|
1081
|
+
"length": 20,
|
1082
|
+
"start": 3044
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"length": 20,
|
1086
|
+
"start": 3384
|
1087
|
+
},
|
1088
|
+
{
|
1089
|
+
"length": 20,
|
1090
|
+
"start": 3779
|
1091
|
+
},
|
1092
|
+
{
|
1093
|
+
"length": 20,
|
1094
|
+
"start": 3824
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"length": 20,
|
1098
|
+
"start": 3869
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"length": 20,
|
1102
|
+
"start": 6202
|
1103
|
+
}
|
1104
|
+
]
|
1105
|
+
},
|
1106
|
+
"contracts/types/Referral.sol": {
|
1107
|
+
"ReferralLib": [
|
1108
|
+
{
|
1109
|
+
"length": 20,
|
1110
|
+
"start": 2804
|
1111
|
+
},
|
1112
|
+
{
|
1113
|
+
"length": 20,
|
1114
|
+
"start": 3443
|
1115
|
+
}
|
1116
|
+
]
|
1117
|
+
},
|
1118
|
+
"contracts/types/RiskId.sol": {
|
1119
|
+
"RiskIdLib": [
|
1120
|
+
{
|
1121
|
+
"length": 20,
|
1122
|
+
"start": 3984
|
1123
|
+
}
|
1124
|
+
]
|
1125
|
+
},
|
1126
|
+
"contracts/types/Timestamp.sol": {
|
1127
|
+
"TimestampLib": [
|
1128
|
+
{
|
1129
|
+
"length": 20,
|
1130
|
+
"start": 4912
|
1131
|
+
},
|
1132
|
+
{
|
1133
|
+
"length": 20,
|
1134
|
+
"start": 5143
|
1135
|
+
}
|
1136
|
+
]
|
1137
|
+
},
|
1138
|
+
"contracts/types/UFixed.sol": {
|
1139
|
+
"UFixedLib": [
|
1140
|
+
{
|
1141
|
+
"length": 20,
|
1142
|
+
"start": 2592
|
1143
|
+
},
|
1144
|
+
{
|
1145
|
+
"length": 20,
|
1146
|
+
"start": 3575
|
1147
|
+
},
|
1148
|
+
{
|
1149
|
+
"length": 20,
|
1150
|
+
"start": 5013
|
1151
|
+
},
|
1152
|
+
{
|
1153
|
+
"length": 20,
|
1154
|
+
"start": 5272
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"length": 20,
|
1158
|
+
"start": 5415
|
1159
|
+
}
|
1160
|
+
]
|
1161
|
+
}
|
1162
|
+
},
|
1163
|
+
"deployedLinkReferences": {
|
1164
|
+
"contracts/types/DistributorType.sol": {
|
1165
|
+
"DistributorTypeLib": [
|
1166
|
+
{
|
1167
|
+
"length": 20,
|
1168
|
+
"start": 4608
|
1169
|
+
}
|
1170
|
+
]
|
1171
|
+
},
|
1172
|
+
"contracts/types/NftId.sol": {
|
1173
|
+
"NftIdLib": [
|
1174
|
+
{
|
1175
|
+
"length": 20,
|
1176
|
+
"start": 1677
|
1177
|
+
},
|
1178
|
+
{
|
1179
|
+
"length": 20,
|
1180
|
+
"start": 2017
|
1181
|
+
},
|
1182
|
+
{
|
1183
|
+
"length": 20,
|
1184
|
+
"start": 2412
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"length": 20,
|
1188
|
+
"start": 2457
|
1189
|
+
},
|
1190
|
+
{
|
1191
|
+
"length": 20,
|
1192
|
+
"start": 2502
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"length": 20,
|
1196
|
+
"start": 4835
|
1197
|
+
}
|
1198
|
+
]
|
1199
|
+
},
|
1200
|
+
"contracts/types/Referral.sol": {
|
1201
|
+
"ReferralLib": [
|
1202
|
+
{
|
1203
|
+
"length": 20,
|
1204
|
+
"start": 1437
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"length": 20,
|
1208
|
+
"start": 2076
|
1209
|
+
}
|
1210
|
+
]
|
1211
|
+
},
|
1212
|
+
"contracts/types/RiskId.sol": {
|
1213
|
+
"RiskIdLib": [
|
1214
|
+
{
|
1215
|
+
"length": 20,
|
1216
|
+
"start": 2617
|
1217
|
+
}
|
1218
|
+
]
|
1219
|
+
},
|
1220
|
+
"contracts/types/Timestamp.sol": {
|
1221
|
+
"TimestampLib": [
|
1222
|
+
{
|
1223
|
+
"length": 20,
|
1224
|
+
"start": 3545
|
1225
|
+
},
|
1226
|
+
{
|
1227
|
+
"length": 20,
|
1228
|
+
"start": 3776
|
1229
|
+
}
|
1230
|
+
]
|
1231
|
+
},
|
1232
|
+
"contracts/types/UFixed.sol": {
|
1233
|
+
"UFixedLib": [
|
1234
|
+
{
|
1235
|
+
"length": 20,
|
1236
|
+
"start": 1225
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
"length": 20,
|
1240
|
+
"start": 2208
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"length": 20,
|
1244
|
+
"start": 3646
|
1245
|
+
},
|
1246
|
+
{
|
1247
|
+
"length": 20,
|
1248
|
+
"start": 3905
|
1249
|
+
},
|
1250
|
+
{
|
1251
|
+
"length": 20,
|
1252
|
+
"start": 4048
|
1253
|
+
}
|
1254
|
+
]
|
1255
|
+
}
|
1256
|
+
}
|
1257
|
+
}
|