mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-09-07 18:40:48 +00:00
Initial commit
This commit is contained in:
23
qortal-ui-crypto/api/transactions/PublicizeTransaction.js
Normal file
23
qortal-ui-crypto/api/transactions/PublicizeTransaction.js
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
import ChatBase from "./chat/ChatBase.js"
|
||||
|
||||
export default class PublicizeTransaction extends ChatBase {
|
||||
constructor() {
|
||||
super();
|
||||
this.type = 19
|
||||
this.fee = 0
|
||||
}
|
||||
|
||||
set proofOfWorkNonce(proofOfWorkNonce) {
|
||||
this._proofOfWorkNonce = this.constructor.utils.int32ToBytes(proofOfWorkNonce)
|
||||
}
|
||||
|
||||
get params() {
|
||||
const params = super.params;
|
||||
params.push(
|
||||
this._proofOfWorkNonce,
|
||||
this._feeBytes
|
||||
)
|
||||
return params;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user