Skip to content

Commit

Permalink
add coin&add sign message field
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangcongcobo committed Sep 11, 2024
1 parent f039f2e commit 6ac01ef
Showing 1 changed file with 30 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.cobo.custody.api.client.domain.transaction;

import com.cobo.custody.api.client.domain.account.MPCCoin;
import com.fasterxml.jackson.annotation.JsonProperty;

public class SignMessage {
Expand All @@ -17,6 +18,12 @@ public class SignMessage {
@JsonProperty(value = "extra_parameters")
private String extraParameters;

@JsonProperty(value = "coin_detail")
private MPCCoin coinDetail;

@JsonProperty(value = "created_time")
private Long createdTime;

public String getRequestId() {
return requestId;
}
Expand Down Expand Up @@ -73,16 +80,34 @@ public void setExtraParameters(String extraParameters) {
this.extraParameters = extraParameters;
}

public MPCCoin getCoinDetail() {
return coinDetail;
}

public void setCoinDetail(MPCCoin coinDetail) {
this.coinDetail = coinDetail;
}

public Long getCreatedTime() {
return createdTime;
}

public void setCreatedTime(Long createdTime) {
this.createdTime = createdTime;
}

@Override
public String toString() {
return "SignMessage{" +
"coboId='" + coboId + '\'' +
", requestId='" + requestId + '\'' +
", signature=" + signature +
", chainCode=" + chainCode +
"requestId='" + requestId + '\'' +
", coboId='" + coboId + '\'' +
", signature='" + signature + '\'' +
", chainCode='" + chainCode + '\'' +
", fromAddress='" + fromAddress + '\'' +
", signVersion='" + signVersion + '\'' +
", signVersion=" + signVersion +
", extraParameters='" + extraParameters + '\'' +
", coinDetail=" + coinDetail +
", createdTime=" + createdTime +
'}';
}
}

0 comments on commit 6ac01ef

Please sign in to comment.