Class OrderReq

  • public class OrderReq
    extends Object
    • Constructor Detail

      • OrderReq

        public OrderReq()
    • Method Detail

      • tokenBuy

        public OrderReq tokenBuy​(String tokenBuy)
        (address string) - The address of the token you will receive as a result of the trade
      • getTokenBuy

        public String getTokenBuy()
      • setTokenBuy

        public void setTokenBuy​(String tokenBuy)
      • amountBuy

        public OrderReq amountBuy​(String amountBuy)
        (uint256) - The amount of the token you will receive when the order is fully filled
      • getAmountBuy

        public String getAmountBuy()
      • setAmountBuy

        public void setAmountBuy​(String amountBuy)
      • tokenSell

        public OrderReq tokenSell​(String tokenSell)
        (address string) - The address of the token you will lose as a result of the trade
      • getTokenSell

        public String getTokenSell()
      • setTokenSell

        public void setTokenSell​(String tokenSell)
      • amountSell

        public OrderReq amountSell​(String amountSell)
        (uint256) - The amount of the token you will give up when the order is fully filled
      • getAmountSell

        public String getAmountSell()
      • setAmountSell

        public void setAmountSell​(String amountSell)
      • address

        public OrderReq address​(String address)
        (address string) - The address you are posting the order from
      • getAddress

        public String getAddress()
      • setAddress

        public void setAddress​(String address)
      • nonce

        public OrderReq nonce​(BigInteger nonce)
        (uint256) - One time number associated with the limit order
      • setNonce

        public void setNonce​(BigInteger nonce)
      • expires

        public OrderReq expires​(BigInteger expires)
        (uint256) - DEPRECATED this property has no effect on your limit order but is still REQUIRED to submit a limit order as it is one of the parameters that is hashed. It must be a numeric type
      • setExpires

        public void setExpires​(BigInteger expires)
      • setR

        public void setR​(String r)
      • setS

        public void setS​(String s)
      • hashCode

        public int hashCode()
        hashCode in class Object