contract property

  1. @override
TransferAssetContract get contract
override

Implementation

@override
TransferAssetContract get contract {
  return TransferAssetContract(
    ownerAddress: base58ToHex(from),
    toAddress: base58ToHex(to),
    assetName: assetName.hexToBytes,
    amount: Int64(amount.toInt()),
  );
}