MetaplexBubblegumRedeemLayout constructor

MetaplexBubblegumRedeemLayout({
  1. required List<int> root,
  2. required List<int> dataHash,
  3. required List<int> creatorHash,
  4. required BigInt nonce,
  5. required int index,
})

Implementation

MetaplexBubblegumRedeemLayout(
    {required List<int> root,
    required List<int> dataHash,
    required List<int> creatorHash,
    required this.nonce,
    required this.index})
    : root = BytesUtils.toBytes(root, unmodifiable: true),
      dataHash = BytesUtils.toBytes(dataHash, unmodifiable: true),
      creatorHash = BytesUtils.toBytes(creatorHash, unmodifiable: true);