Class ForwardTransferOutput

    • Constructor Detail

      • ForwardTransferOutput

        public ForwardTransferOutput​(long amount,
                                     byte[] receiverPubKey,
                                     byte[] paybackAddrDataHash,
                                     byte[] txHash,
                                     int outIdx)
    • Method Detail

      • getAmount

        public long getAmount()
      • getReceiverPubKey

        public byte[] getReceiverPubKey()
      • getPaybackAddrDataHash

        public byte[] getPaybackAddrDataHash()
      • getTxHash

        public byte[] getTxHash()
      • getOutIdx

        public int getOutIdx()
      • setAmount

        public void setAmount​(long amount)
      • setReceiverPubKey

        public void setReceiverPubKey​(byte[] receiverPubKey)
      • setPaybackAddrDataHash

        public void setPaybackAddrDataHash​(byte[] paybackAddrDataHash)
      • setTxHash

        public void setTxHash​(byte[] txHash)
      • setOutIdx

        public void setOutIdx​(int outIdx)
      • getHash

        public FieldElement getHash()
        Description copied from interface: PoseidonHashable
        Compute Poseidon Hash of this instance
        Specified by:
        getHash in interface PoseidonHashable
        Returns:
        a FieldElement corresponding to the Poseidon Hash of this instance