return Buffer.concat([
this.token.toBuffer(),
this.sender.toBuffer(),
this.contract.toBuffer(),
this.collection.toBuffer(),
this.name.toBuffer(),
this.royalty.toBuffer("fill"), // <= 'fill' option means 'big-endian'
this.uri.toBuffer(),
this.currency.toBuffer(),
Buffer.concat(this.whitelist.sort(SortFunc).map((w) => w.toBuffer())),
]);
}```