Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [reward]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
36 views

How to further improve Safemoon's reflection token transfer? (ERC20/BEP20)

We all know Safemoon's iconic reflection token code, giving every holder a percentage of every fee on buy / sell. I've already simplified and improved the gas efficiency and the token logic quite a ...
Ashraile's user avatar
  • 125
1 vote
1 answer
55 views

SNX's Staking rewards contract

Could someone explain to me like I'm 5 the purpose of the notifyRewardAmount() function on the Synthetix's StakingRewards contract please? I think it's connected to modifying the rewards campaign's ...
dNyrM's user avatar
  • 918
0 votes
1 answer
35 views

Is this true they requested for deposit [duplicate]

The mining pool inform me that I have a reward and they asked to deposit around 5000 USDT so I can collect the rewards is it true
MURAD ALZAHER's user avatar
0 votes
0 answers
11 views

Problems unstaking ZRX from Validator VolleyFire using Coinbase Wallet

I am trying to unstake 1,592.83 ZRX from Validator VolleyFire using Coinbase Wallet, but https://governance.0xprotocol.org/account only takes the transaction fees from my wallet and nothing else ...
MAPAMME's user avatar
0 votes
0 answers
262 views

Does the boosted staking feature of Coinbase One apply to Ethereum?

Coinbase sells the Coinbase One service which costs $30 / month. This provides 'boosted' staking which "reduc[es] the commission that Coinbase takes from the relevant protocol payout." The &...
Brian Schack's user avatar
0 votes
0 answers
26 views

How can I distribute rewards to stakers proportionally?

I am creating a smart contract where users can stake tokens and a reward is distributed proportional to the amounts users have staked. I can use simple division to keep track of the reward when the ...
vrwim's user avatar
  • 198
0 votes
1 answer
21 views

How to use a Server to run OnlyOwner functions?

I'm working on a game PoC and I've got questions about player rewards good practices. Sure I understand that those functions cannot be public and onlyOwner-restricted, but how does it work actually ? ...
Building Dwarf's user avatar
0 votes
1 answer
120 views

I was invited to a smart contract reward approval, and i lost my all tokens at my trust wallet. Is The web site http:/ephbz.top a trap?

I was invited to a smart contract reward approval, and i lost my all tokens at my trust wallet. Is The web site http:/ephbz.top a trap?
Nihat62's user avatar
0 votes
0 answers
25 views

Token Rewards Calculation and Distribution

I'm doing a script to calculate rewards for a handful of addresses (from sensors). The script runs weekly where it takes a bunch of addresses from our DB, cleans the data and calculates the associated ...
gritty's user avatar
  • 1
-1 votes
1 answer
2k 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 ...
Rey's user avatar
  • 1
2 votes
1 answer
228 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 ...
alan's user avatar
  • 23
0 votes
1 answer
48 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.
Ilya's user avatar
  • 1
4 votes
1 answer
51 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 ...
StatsScared's user avatar
2 votes
1 answer
149 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?
SarahRinaldi_93's user avatar
2 votes
0 answers
16 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?
SarahRinaldi_93's user avatar
0 votes
1 answer
155 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 ...
Fotis Aronis's user avatar
0 votes
1 answer
538 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 ...
Shubham Sharma's user avatar
1 vote
1 answer
431 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. ...
Shaheer's user avatar
  • 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 ...
JSDEV's user avatar
  • 111
3 votes
1 answer
848 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 ...
Patrick Collins's user avatar
1 vote
0 answers
178 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" ...
arumichi's user avatar
0 votes
0 answers
208 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 ...
ArIaNFury's user avatar
0 votes
1 answer
209 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 ...
Javakid's user avatar
0 votes
1 answer
159 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 ...
stofu's user avatar
  • 93
2 votes
2 answers
2k 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 ...
F_Bass's user avatar
  • 143
0 votes
1 answer
80 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 ...
daywednes's user avatar
  • 101
0 votes
0 answers
124 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 ...
Dmitry Dyachkov's user avatar
1 vote
1 answer
69 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 ...
wei wang's user avatar
  • 437
1 vote
0 answers
91 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 ...
Philogy's user avatar
  • 627
0 votes
1 answer
302 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 ?
Shilpan Shukla's user avatar
1 vote
1 answer
105 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 ...
MiKu's user avatar
  • 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 ...
Questioner's user avatar
  • 2,680
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?
pokei's user avatar
  • 21
2 votes
1 answer
709 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). ...
Jon Lorusso's user avatar
4 votes
1 answer
669 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 ...
Yahya's user avatar
  • 328
1 vote
1 answer
158 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 ...
3tbraden's user avatar
  • 200
0 votes
1 answer
229 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 ...
friko's user avatar
  • 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 ...
Pandation's user avatar
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 ...
PrashantNagawade's user avatar
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
567 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 ...
Spencer MacKinnon's user avatar
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: ...
Flávio Carvalho's user avatar
1 vote
1 answer
74 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. ...
JZK's user avatar
  • 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 ...
Nhu Thai Sanh Nguyen's user avatar
3 votes
0 answers
477 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 ...
saso10's user avatar
  • 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 ...
Sepultura's user avatar
  • 265
3 votes
1 answer
356 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 ...
Ketan Bhokray's user avatar
3 votes
1 answer
664 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 ...
Lahiru Chandima's user avatar
4 votes
2 answers
919 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 ?
radiopassive's user avatar
4 votes
1 answer
755 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 ...
Nicolas Massart's user avatar