Exemplo n.º 1
0
        public Task <List <BigInteger> > EpochsToClaimRewardFromQueryAsync(string poolStakingAddress, string staker, BlockParameter blockParameter = null)
        {
            var epochsToClaimRewardFromFunction = new EpochsToClaimRewardFromFunction();

            epochsToClaimRewardFromFunction.PoolStakingAddress = poolStakingAddress;
            epochsToClaimRewardFromFunction.Staker             = staker;

            return(ContractHandler.QueryAsync <EpochsToClaimRewardFromFunction, List <BigInteger> >(epochsToClaimRewardFromFunction, blockParameter));
        }
Exemplo n.º 2
0
 public Task <List <BigInteger> > EpochsToClaimRewardFromQueryAsync(EpochsToClaimRewardFromFunction epochsToClaimRewardFromFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <EpochsToClaimRewardFromFunction, List <BigInteger> >(epochsToClaimRewardFromFunction, blockParameter));
 }