全局配置逻辑实现
This commit is contained in:
1 parent
da4af93a1e
commit
cf8220edbd
13 files changed
+361
-35
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
/**
|
||||
* 全局钱包配置首次创建结果。
|
||||
* mnemonic 只在首次创建成功时返回一次,调用方必须立即离线备份。
|
||||
*/
|
||||
public class UsdtConfigCreateResult {
|
||||
private final Long id;
|
||||
private final Long version;
|
||||
private final String tokenAddress;
|
||||
private final String mnemonic;
|
||||
|
||||
public UsdtConfigCreateResult(Long id, Long version, String tokenAddress, String mnemonic) {
|
||||
this.id = id;
|
||||
this.version = version;
|
||||
this.tokenAddress = tokenAddress;
|
||||
this.mnemonic = mnemonic;
|
||||
}
|
||||
|
||||
public Long getId() { return id; }
|
||||
public Long getVersion() { return version; }
|
||||
public String getTokenAddress() { return tokenAddress; }
|
||||
public String getMnemonic() { return mnemonic; }
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
/** 配置密码轮换结果,不包含密码及任何钱包密钥材料。 */
|
||||
public class UsdtConfigRotateResult {
|
||||
private final Long id;
|
||||
private final Long version;
|
||||
private final String tokenAddress;
|
||||
|
||||
public UsdtConfigRotateResult(Long id, Long version, String tokenAddress) {
|
||||
this.id = id;
|
||||
this.version = version;
|
||||
this.tokenAddress = tokenAddress;
|
||||
}
|
||||
|
||||
public Long getId() { return id; }
|
||||
public Long getVersion() { return version; }
|
||||
public String getTokenAddress() { return tokenAddress; }
|
||||
}
|
||||
Reference in new issue
Block a user