TronTRC20TransferContractData constructor

TronTRC20TransferContractData({
  1. required String recipient,
  2. required String ownerAddress,
  3. required String contractAddress,
  4. required Amount amount,
})

Implementation

TronTRC20TransferContractData({
  required this.recipient,
  required this.ownerAddress,
  required this.contractAddress,
  required this.amount,
}) : super(
        function_selector: selector,
        ownerAddress: ownerAddress,
        contractAddress: contractAddress,
        parameters: [
          TronAddressParameter(recipient),
          TronIntParameter(amount.value),
        ],
      );