Skip to content

Commit

Permalink
chore: Remove unused actions
Browse files Browse the repository at this point in the history
  • Loading branch information
OnedgeLee committed Jan 5, 2025
1 parent 7028560 commit d596287
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 109 deletions.
53 changes: 0 additions & 53 deletions Lib9c/Action/Guild/ClaimGuildUnbonded.cs

This file was deleted.

7 changes: 4 additions & 3 deletions Lib9c/Action/Guild/ClaimUnbonded.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

namespace Nekoyume.Action.Guild
{
/// <summary>
/// An action to claim unbonded assets.
/// This action can be executed only when the unbonding period is over.
/// </summary>
[ActionType(TypeIdentifier)]
public sealed class ClaimUnbonded : ActionBase
{
Expand Down Expand Up @@ -34,9 +38,6 @@ public override IWorld Execute(IActionContext context)

var world = context.PreviousState;
var repository = new GuildRepository(world, context);

var guildParticipant = repository.GetGuildParticipant(context.Signer);
var guild = repository.GetGuild(guildParticipant.GuildAddress);
var guildDelegator = repository.GetDelegator(context.Signer);
guildDelegator.ReleaseUnbondings(context.BlockIndex);

Expand Down
53 changes: 0 additions & 53 deletions Lib9c/Action/ValidatorDelegation/ClaimValidatorUnbonded.cs

This file was deleted.

0 comments on commit d596287

Please sign in to comment.