UNPKG

minterjs-tx

Version:

A simple module for creating, manipulating and signing Minter transactions

26 lines (23 loc) 648 B
import defineProperties from '../define-properties.js'; export default class TxDataEditTickerOwner { constructor(data, options) { // Define Properties const fields = [ { name: 'symbol', length: 10, }, { name: 'newOwner', length: 20, }]; /** * Returns the rlp encoding of the transaction * @method serialize * @return {Buffer} * @memberof Transaction * @name serialize */ // attached serialize defineProperties(this, fields, data, options); } }