Example #1
0
        public Task <BigInteger> ShipStorageQueryAsync(ushort returnValue1, ushort returnValue2, byte returnValue3, byte[] returnValue4, BigInteger returnValue5, BlockParameter blockParameter = null)
        {
            var shipStorageFunction = new ShipStorageFunction();

            shipStorageFunction.ReturnValue1 = returnValue1;
            shipStorageFunction.ReturnValue2 = returnValue2;
            shipStorageFunction.ReturnValue3 = returnValue3;
            shipStorageFunction.ReturnValue4 = returnValue4;
            shipStorageFunction.ReturnValue5 = returnValue5;

            return(ContractHandler.QueryAsync <ShipStorageFunction, BigInteger>(shipStorageFunction, blockParameter));
        }
Example #2
0
 public Task <BigInteger> ShipStorageQueryAsync(ShipStorageFunction shipStorageFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <ShipStorageFunction, BigInteger>(shipStorageFunction, blockParameter));
 }