Esempio n. 1
0
        public Task <BigInteger> PriceAtQueryAsync(ushort returnValue1, ushort returnValue2, BigInteger returnValue3, BlockParameter blockParameter = null)
        {
            var priceAtFunction = new PriceAtFunction();

            priceAtFunction.ReturnValue1 = returnValue1;
            priceAtFunction.ReturnValue2 = returnValue2;
            priceAtFunction.ReturnValue3 = returnValue3;

            return(ContractHandler.QueryAsync <PriceAtFunction, BigInteger>(priceAtFunction, blockParameter));
        }
Esempio n. 2
0
 public Task <BigInteger> PriceAtQueryAsync(PriceAtFunction priceAtFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <PriceAtFunction, BigInteger>(priceAtFunction, blockParameter));
 }