Esempio n. 1
0
        //public string OracleServiceUrl { get; set; }

        public CreateCallOption()
        {
            Numeraire              = new ContractAddressField();
            Oracle                 = new ContractAddressField();
            Underlying             = new Field <string>();
            Price                  = new DecimalField();
            Strike                 = new DecimalField();
            MinimumCollateralRatio = new DecimalField();
            //OwnerPubKey = new PublicKeyField();
            Tickers = new List <string>();

            Numeraire.SetValue("cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=");
            MinimumCollateralRatio.SetValue("1");
        }
Esempio n. 2
0
 public CreateOracle()
 {
     OwnerPubKey = new ContractAddressField();
 }