Questions tagged [reward]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
254 views

Mining pool rewards erc-20 smarts contract [duplicate]

I was contacted from a girl of Singapore,she told me to join the website PETL.top,with 1k of buying USDT erc-20,every day I withdraw 30 dollar,but today I accept this partecipation for the claim the ...
  • 1
1 vote
1 answer
55 views

Coinbase transaction on ethereum

So, I learned that in bitcoin, a coinbase transaction is the first transaction that gets created in the block and it is used to give block rewards to the miner that mined the block. I was curious if ...
0 votes
0 answers
38 views

APR calculator on Ethereum staking

my question is - how to get actual APR on Ethereum for delegators? So, knowing the APR we'll be able to estimate the reward for users.
  • 1
0 votes
0 answers
22 views

How to create in erc20 token smart contract a function to alow users to lock tokens for 30/90/365 days and reward users with up to 5x tokens

I created a standard erc20 token using openzeppelin contracts with a total of 100,000,000,000 erc20 tokens. I want to send to send 65% from tokens to a new contract where the holders of the token I ...
  • 1
4 votes
1 answer
40 views

ETH 2.0: Is the ether received by validators as a reward for their efforts considered new ether issuance?

Within the context of ETH 2.0, I understand that new ether issuance is given to stakers who propose a new block. I also understand that stakers that verify that any new proposed block follows the ...
1 vote
1 answer
56 views

Why is BASE_REWARD_FACTOR equal to 64?

This number '64' keeps coming up throughout Ethereum. There are 64 committees and 64 shards. Is any of this related to the base reward factor being equal to 64? Why is the base reward factor 64?
1 vote
0 answers
12 views

Why does Ethereum 2.0 have several types of validator rewards?

In learning about Ethereum 2.0, I discovered that there are several types of validator rewards. What are these various rewards, and why is there are need to have more than one type of reward?
0 votes
0 answers
6 views

I get an error in the block time stamp.u32() that says indentifier (u32)not found or not visible after argument

{ require( start <= end, "Incorrect input" ); require( rewardsToken != IBEP20(address(0)), "Rewards token not set" ); // A ...
  • 1
0 votes
1 answer
96 views

How to Air Drop rewards to NFT Holders?

How can you know which users are still holding your NFTs? What if someone Mints an NFT and then at some point they sell/transfer it to someone else? How would you go about updating the holders then ...
0 votes
0 answers
53 views

Fork Safemoon, without reward and tax

I want to fork the safemoon Token: https://github.com/safemoonprotocol/Safemoon.sol/blob/main/Safemoon.sol with few modifying functions. First of all I only want a fee for the liquidity pool. I want ...
0 votes
1 answer
231 views

How can we calculate rewards in a dApp which has fluctuating APY, like the one in Olympus DAO?

I am trying to write a contract where a user can come and stake his platfrom tokens and earn rewards on them. The rewards are generated on the basis of the current APY. I am trying to base the APY on ...
0 votes
0 answers
9 views

What is the Average Validator Penalty Percentage?

If you take the whole network (online & offline) and average the percentage of ALL penalties (offline, missed attestations etc.) of each validator? What is it?
  • 1
1 vote
1 answer
215 views

Longest Chain vs Heaviest Chain

I was reading the book "Mastering Blockchain" and came across the concept of the Heaviest chain vs Longest chain under Ethereum Section. This is the figure that I am unable to understand. ...
  • 11
1 vote
0 answers
20 views

Can uncle blocks be avoided by adding a lock to transaction instance once a miner picks it up?

In case of the uncle blocks, to wait until a longest branch is built and to discard the uncles while still rewarding the miners because they spent their computational resources to help secure the ...
  • 111
1 vote
1 answer
464 views

Understanding `rewardRate` and `rewardPerToken` in Synthetix Staking contract

In the Synthetix Staking Contract or even the following simple staking contract from Smart Contract Programmer there are a few parameters that govern the rewards dispersed, namely rewardRate and ...
1 vote
0 answers
106 views

How does "MasterChef (V2/3)" work in terms of rewards? What does it reward to a provider?

Talking about Sushiswap, Uniswap and similar projects: Suppose, I've deposited tokenA and tokenB into a liquidity pool and received "TokenAB LP" tokens. When I send my "TokenAB LP" ...
0 votes
0 answers
182 views

reward erc20 token in erc721

how deploy a erc721 contract which can Call function to reward erc20 ? I do not have much experience , used solidity remix. I make NFT game and my goal is to reward the user (erc20) through the ...
0 votes
1 answer
186 views

Update rewards per second

I'm currently working on a staking contract and would like to get EVERY SECOND the updated number of rewards the user gets for staking tokens. Are there any technical limitations to get the updated ...
0 votes
1 answer
121 views

dividend token with doge coin reward system

i have a token that reward eth to token holders but i want to use another coin( doge/cardano) for reward. i am not able to do it. any help would be great. here is the code function ...
  • 71
2 votes
1 answer
1k views

How do gas fees work in UniSwap / other decentralized exchanges?

So, lately i've been doing research about gas fees and how they work. I got the most part but there's something I don't yet understand. The theory of gas fees in ETH is that whenever you do a ...
  • 143
0 votes
1 answer
69 views

Beside the block reward winner who will get most rewards from transaction fees?

We know the only winner will get the block reward. Besides the block reward, we know nodes/node clients get rewards from transaction fees. So do all node clients get the same rewards? or the ones who ...
  • 101
0 votes
0 answers
99 views

Pull-based reward distribution (Rewards Compounding) among stakeholders according to their shares in staking

In a naive implementation, the staking contract would push fractional payments to all the participants each time a reward gets distributed. However, in such an implementation the distribute function ...
1 vote
1 answer
67 views

Why miners choose to verify the transactions of the incoming block?

I want to know whether miners can get rewards for verifying transactions in blocks broadcast by other nodes? If there is no reward, why would miners choose to verify transactions? I am very confused ...
  • 427
1 vote
0 answers
79 views

How are rewards commonly distributed to token holders without requiring too much gas?

There are various platforms and tokens which distributes some sort of reward either via staking or interest to token holders proportionally to their token holdings on a regular basis, what are general ...
  • 477
0 votes
1 answer
270 views

Erc20 token with rewards [closed]

I want to create an etc 20 token that can be used to rais funds for projects and later distributes the revenue from the project to people who bought the token. How to do that ?
1 vote
1 answer
86 views

How exactly is the voting for the winning block regulated?

When using PoW, after an Ethereum miner has created a block, that block is propagated to peers (for verification and acceptance into the ledger). Obviously, the ETH reward for the mined block is not ...
  • 11
0 votes
1 answer
2k views

Changing "proxywallet" in "local.config" in ethOS, but I receive mining reward in previous address

I've changed my proxywallet from proxywallet 0xB4... to proxywallet 0x5B... in the local.config file. However, I received mining reward again in previous address: 0xB4... . Do I need to restart the ...
  • 2,618
2 votes
0 answers
35 views

Is there a temporal reward in Casper, that the earlier you place bets, the more you are rewarded?

In Casper, the consensus-by-bet proof-of-stake system, is there a temporal reward, that the earlier you place bets, the more you are rewarded?
  • 21
2 votes
1 answer
660 views

How do I calculate the (maximum) circulating supply for a given block height?

I would like to be able to calculate the circulating/max supply at any given point in time (for a specified block height). I know that the current block reward is 3 ETH (soon to be reduced to 2 ETH). ...
4 votes
1 answer
541 views

Proof of authority reward mechanism

Can anybody explain the reward mechanism in Proof of Authority (PoA) protocol? What kind of reward is received by the validators in PoA? So far I came up with the following points: There is no ...
  • 328
1 vote
1 answer
156 views

How to reward distributed cloud computing on ethereum?

I refer to 5.Cloud computing in the Further Application section of the Ethereum whitepaper, and I wonder how this can be achieved in a decentralized way. For example, if I have a task that I want to ...
  • 200
0 votes
1 answer
225 views

Block reward from transaction regarding block's gas limit

maybe it's a silly question or remark, but given that the current block gas limit is about 8,000,000 and the average gasPrice is about '15Gwei' ( I roughly looked at the chart "Transaction Count by ...
  • 165
1 vote
1 answer
1k views

Loading smart contract x with tokens; sending eth to smart contract x; receiving tokens for that eth

Hello dear Eth community, I am a complete noob, please go easy on me ;) I am an IT teacher and I want to create a reward system for my class for a game that we play weekly. The game is not ...
2 votes
1 answer
1k views

Why do miners mine testnet transactions

When I perform an ether-transfer transaction on testnet, some of my ether gets deducted as transfer fees. But as its not a real ether and has 0 value, how does it profit the miners who mine that ...
0 votes
1 answer
270 views

How does interest work in casper?

Based on this answer: https://ethereum.stackexchange.com/a/37419/24310 How does interest work with casper? Is it correct to describe what the validators receive as interest?
user avatar
1 vote
1 answer
558 views

Block Ownership in Mining Pool

It's my understanding that the block reward in Ethereum is 3 ETH, the uncle reward, and "ownership" of the bock. As the block owner, you keep the gas fees for any transactions that you include in your ...
1 vote
1 answer
2k views

How to get the full miner reward

Okay so let's say I'm looking to get block 1000000 miner reward: { difficulty: 12549332509227, extraData: "0xd783010303844765746887676f312e352e31856c696e7578", gasLimit: 3141592, gasUsed: ...
1 vote
1 answer
71 views

Dealing with keystore files

I have linux based miner with geth wallet. I've backed up keyfile (starting with UTC ... ..... ) into my second computer based on Windows where I've sucessfully imported it into Geth keystore folder. ...
  • 131
1 vote
1 answer
2k views

Where does ethminer mining reward go ? No option to provide wallet address

I did a count on this forum, and seems like most people there mine with ethminer. I've always been using claymore miner which has the -ewal option to provide my ether address, but there's no ...
3 votes
0 answers
475 views

Validators in POS

note: Simple, layman, language would be highly appreciated! Hello, So, what would a 'validator' (after switching from PoW to Pos on Ethereum) actually, do? Specifically? Would he be required to ...
  • 31
2 votes
1 answer
1k views

How many Uncles (Ommer) can be included and how is the reward distributed

how many uncles can one block include? I think I read somewhere that you can only include maximum 2 uncles, is that true? If a block includes 2 uncles or more, how is the reward distributed between ...
  • 265
3 votes
1 answer
247 views

Custom mining rewards

Is it possible to give custom mining rewards or provide custom transaction fees for mining in a private chain? I am looking to create a contract which will reward the miners with data instead of / in ...
3 votes
1 answer
641 views

Is gas price paid by the transaction sender to the miner, or the miner reward is newly generated?

A sender of transaction can specify the gas price it is willing to pay for the transaction. Also, if there are no transactions, miners mine empty blocks and still get rewarded with newly generated ...
4 votes
2 answers
907 views

what is the logic behind rewarding 5 ETH for mining a block?

Is it in someway related to the transaction cost charged by ethereum for each transaction ?
4 votes
1 answer
754 views

If there is a fork, will the difficulty go down?

Say there's a fork with 51% of the hashrate going to the new version. I assume then that the hashrate of the new chain would be almost half of what it previously was for as long as other miners join ...
16 votes
3 answers
30k views

Solo Vs Pool Mining With A GPU

Currently I'm using 1 r9 380 card with 20 MH. I've only been mining for 3 days straight (72hours). I used the Mining Calculators from Etherscan and Cryptocompare. While these sites calculate it will ...
3 votes
1 answer
934 views

Why do we pay fees in Ethereum?

Why do we have to pay fees for transactions since miners have a reward for blocks they mine (5 per block)?
  • 31
8 votes
2 answers
3k views

Does a mining reward transaction have a hash?

I can't find a mining reward transaction hash for a given block. I can see the block hash, all the transactions inside the block, etc. But the mining reward transaction is not listed among the details....
  • 32.2k
1 vote
2 answers
1k views

What is the full block reward? [duplicate]

The Ethereum launch process states that with the release of Homestead, the Ether mining will be at 100% rather than 10% of the usual reward rate. Does that mean the full block reward would be 50 ...
  • 32.2k