Ejemplo n.º 1
0
        public Task <BigInteger> GetDelegatorRewardQueryAsync(BigInteger delegatorStake, BigInteger stakingEpoch, string poolMiningAddress, BlockParameter blockParameter = null)
        {
            var getDelegatorRewardFunction = new GetDelegatorRewardFunction();

            getDelegatorRewardFunction.DelegatorStake    = delegatorStake;
            getDelegatorRewardFunction.StakingEpoch      = stakingEpoch;
            getDelegatorRewardFunction.PoolMiningAddress = poolMiningAddress;

            return(ContractHandler.QueryAsync <GetDelegatorRewardFunction, BigInteger>(getDelegatorRewardFunction, blockParameter));
        }
        public Task <BigInteger> GetDelegatorRewardQueryAsync(BigInteger returnValue1, BigInteger returnValue2, string returnValue3, BlockParameter blockParameter = null)
        {
            var getDelegatorRewardFunction = new GetDelegatorRewardFunction();

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

            return(ContractHandler.QueryAsync <GetDelegatorRewardFunction, BigInteger>(getDelegatorRewardFunction, blockParameter));
        }
Ejemplo n.º 3
0
 public Task <BigInteger> GetDelegatorRewardQueryAsync(GetDelegatorRewardFunction getDelegatorRewardFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetDelegatorRewardFunction, BigInteger>(getDelegatorRewardFunction, blockParameter));
 }