diff --git a/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/DRepStakeDistributionQuery.java b/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/DRepStakeDistributionQuery.java deleted file mode 100644 index 62ac398..0000000 --- a/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/DRepStakeDistributionQuery.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.bloxbean.cardano.yaci.core.protocol.localstate.queries; - -import co.nstant.in.cbor.model.Array; -import co.nstant.in.cbor.model.DataItem; -import co.nstant.in.cbor.model.UnsignedInteger; -import com.bloxbean.cardano.client.transaction.spec.governance.DRep; -import com.bloxbean.cardano.yaci.core.protocol.handshake.messages.AcceptVersion; -import com.bloxbean.cardano.yaci.core.protocol.localstate.api.Era; -import com.bloxbean.cardano.yaci.core.protocol.localstate.api.EraQuery; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.ToString; -import lombok.extern.slf4j.Slf4j; - -import java.util.List; - -@Getter -@ToString -@AllArgsConstructor -@Slf4j -public class DRepStakeDistributionQuery implements EraQuery { - private Era era; - private List dReps; - - public DRepStakeDistributionQuery(List dReps) { - this(Era.Conway, dReps); - } - - @Override - public DataItem serialize(AcceptVersion protocolVersion) { - Array array = new Array(); - array.add(new UnsignedInteger(26)); - - Array dRepArray = new Array(); - dReps.forEach(dRep -> dRepArray.add(dRep.serialize())); - - array.add(dRepArray); - - return wrapWithOuterArray(array); - } - - @Override - public DRepStakeDistributionResult deserializeResult(AcceptVersion protocolVersion, DataItem[] di) { - throw new UnsupportedOperationException("Not implemented yet"); - } -} diff --git a/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/DRepStakeDistributionResult.java b/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/DRepStakeDistributionResult.java deleted file mode 100644 index 97ac8b3..0000000 --- a/core/src/main/java/com/bloxbean/cardano/yaci/core/protocol/localstate/queries/DRepStakeDistributionResult.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.bloxbean.cardano.yaci.core.protocol.localstate.queries; - -import com.bloxbean.cardano.yaci.core.protocol.localstate.api.QueryResult; - -public class DRepStakeDistributionResult implements QueryResult { - -}