Open peersky opened 1 month ago
Add new interface & abstract implementation to Distributor contract to configure #16 . It:
migrationContract
delegatecall
hash(distributionId,strategy,migrationContract)
MigrationContractAddedFromVersions(uint256 indexed oldRequirementBase, uint8 indexed oldRequirement, address migrationContract, uint8 strategy)
MigrationContractAddedToVersions(uint256 indexed newVersionsBase, uint8 indexed newRequirement, address migrationContract, uint8 strategy)
Add interface implementation to ownable distributor contract. It:
Add new interface & abstract implementation to Distributor contract to configure #16 . It:
migrationContract
addressmigrationContract
is zero call implementation insteaddelegatecall
using calldata specified in #11.migrationContract
, if address is zero call implementation insteadmigrationContract
, both requirements) as hashmap where key ishash(distributionId,strategy,migrationContract)
MigrationContractAddedFromVersions(uint256 indexed oldRequirementBase, uint8 indexed oldRequirement, address migrationContract, uint8 strategy)
MigrationContractAddedToVersions(uint256 indexed newVersionsBase, uint8 indexed newRequirement, address migrationContract, uint8 strategy)
Add interface implementation to ownable distributor contract. It: