예제 #1
0
        public Task <BigInteger> CurrentPriceQueryAsync(ushort returnValue1, ushort returnValue2, byte returnValue3, byte[] returnValue4, BlockParameter blockParameter = null)
        {
            var currentPriceFunction = new CurrentPriceFunction();

            currentPriceFunction.ReturnValue1 = returnValue1;
            currentPriceFunction.ReturnValue2 = returnValue2;
            currentPriceFunction.ReturnValue3 = returnValue3;
            currentPriceFunction.ReturnValue4 = returnValue4;

            return(ContractHandler.QueryAsync <CurrentPriceFunction, BigInteger>(currentPriceFunction, blockParameter));
        }
예제 #2
0
 public Task <BigInteger> CurrentPriceQueryAsync(CurrentPriceFunction currentPriceFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <CurrentPriceFunction, BigInteger>(currentPriceFunction, blockParameter));
 }