Skip to content

Commit

Permalink
removes fees stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Nov 12, 2024
1 parent 10d5d2b commit 410e741
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 115 deletions.
40 changes: 0 additions & 40 deletions src/Configuration/Fee.php

This file was deleted.

26 changes: 0 additions & 26 deletions src/Enums/Fees.php

This file was deleted.

15 changes: 0 additions & 15 deletions src/Enums/Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@ enum Types: int
case USERNAME_RESIGNATION = 9;
case EVM_CALL = 10;

public function defaultFee(): string
{
return match ($this) {
Types::TRANSFER => Fees::TRANSFER,
Types::VALIDATOR_REGISTRATION => Fees::VALIDATOR_REGISTRATION,
Types::VOTE => Fees::VOTE,
// Types::MULTI_SIGNATURE_REGISTRATION => Fees::MULTI_SIGNATURE_REGISTRATION,
// Types::MULTI_PAYMENT => Fees::MULTI_PAYMENT,
Types::VALIDATOR_RESIGNATION => Fees::VALIDATOR_RESIGNATION,
// Types::USERNAME_REGISTRATION => Fees::USERNAME_REGISTRATION,
// Types::USERNAME_RESIGNATION => Fees::USERNAME_RESIGNATION,
Types::EVM_CALL => Fees::EVM,
};
}

public static function fromValue(int $value): ?self
{
$enum = new ReflectionEnum(self::class);
Expand Down
34 changes: 0 additions & 34 deletions tests/Unit/Configuration/FeeTest.php

This file was deleted.

0 comments on commit 410e741

Please sign in to comment.