Questions tagged [staking]

The tag has no usage guidance.

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
41 views

Is it possible to stake ETH and automatically send the rewards to another wallet?

I'm wondering if there is an established way for me to stake ETH from one address and have a different address earn the staking rewards?
1
vote
0answers
45 views

Uniswap V3's Position NFTS "positions()" returning irregular results for tokensOwed

I'm messing around with web3py and I ran into something that I haven't been able to understand; when I call positions() on a tokenid, I get odd results for the tokensOwed values. The results don't ...
1
vote
1answer
33 views

What will happen to my ETH share when POS goes live?

I have been seeing that ETH will be moving to a PoS validation framework. These validators will be paid in ETH. It seems to me that this means if I do not stake, my ETH portion will be continuously ...
1
vote
0answers
27 views

What is the Probability of being chosen in Proof of Stake?

I'm trying to solidify my understanding of Proof-Of-Stake consensus, and one thing I've been left wondering is how to figure the probability of being chosen to be a validator. Are the chances of being ...
1
vote
0answers
21 views

Is it Possible To Avoid Yield Farms That Use Leverage?

Are there any Yield Farms (YFs) that do not use leverage or is leverage worked into virtually every YF strategy? I'm concerned with the use of borrowing behind the scenes of Yield Farms (YFs) in order ...
1
vote
0answers
63 views

How large network traffic is expected for Ethereum 2.0 Staking node?

Would be interested what can be rough estimated network costs of running full staking client. For staking it's currently required to run: Eth1 node (Not counting initial sync which require initial ...
1
vote
0answers
50 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 ...
1
vote
0answers
10 views

How safe to run Lighthouse without --auto-register vs. the effects of registering more than once?

Running a Lighthouse validator presents a message to strongly consider running --auto-register the first time. The documentation also states: The --auto-register flag registers your signing key ...
0
votes
0answers
6 views

Staking an ERC20 with another value associated

I'm working on something and I already have an ERC20 pattern token with staking capabilities. I need to make a contract that activates this staking function and associates the staked value from that ...
0
votes
0answers
19 views

can I change loop logic to an alternative logic in this staking contract?

I built a staking contract that allows users to enroll in auto compounding through a function that is basically adding the user address to an array UserList Now for auto compounding I have these ...
0
votes
0answers
5 views

hardware requirements to run 2000 validators

I plan to take part in ETH 2.0 staking. What could be HW requirements for server running TEKU node with 2000 validators.
0
votes
0answers
23 views

Ethereum TX not sender - Returned error: invalid sender

I want to create a DApp by staking pools of Stake BNB Earn MyToken tokens. I've been looking for some references but I'm still confused, that's why I decided to ask. I have the following lines of code ...
0
votes
1answer
20 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
1answer
16 views

Harvest yield farming - how do some assets have 10k+ APY?

Currently there are some assets on harvest.finance with crazy apy rates. How is this possible? Are these scams?
0
votes
0answers
36 views

What happens if the slashing protection history/database is a little outdated?

When a machine (machine A) with a validator running on it is dying for some reason, I would start it on another machine (machine B). To avoid slashing, I have to copy the slashing protection history (...
0
votes
0answers
19 views

Calculating daily compound interest without loops

I have a staking contract where the APY rate gradually increases over time. e.g. 1st day earns 1% second day earns 1.1%, third 1.2% etc. It stores the start rate at the time of stake (amount of tokens ...
0
votes
0answers
18 views

Deposited more than 32ETH into deposit contract. Anything to retrieve the 32 - additional eth deposited?

Good day, I have deposited accidently 64 ETH into the deposit contract twice (Same validator key provided by mistake). Is there anyway I can retrieve this additional ETH deposited? Or assign it to ...
0
votes
1answer
17 views

smart contract information issue

Hi I was scammed by troncase, I want to know how to get my original staking out of the smart contract. it is asking me for a userAddress_address, last_uint256, first_uint256 What do i type in those ...
0
votes
1answer
22 views

Initialize a blockchain based on PoS

How a blockchain based on PoS could be initialized if nobody has the coins to become a Validator?
0
votes
1answer
14 views

Locked Staking - when can I cash out?

I'm trying to understand how locked staking works. Per my understanding, there's a staking period during which it is impossible to withdraw the staked coins. My question is: what happens after this ...
0
votes
2answers
21 views

Make Caller Pay Gas fee, but enforce certain arguments

I am designing a simple contract that doles out staking rewards. The claimant need only call a claim function specifying the amount to be claimed. However, the amount is calculated off-chain on a ...
0
votes
0answers
20 views

Developing staking coin

I want to make a coin which can stake on Ethereum most of the functionality is done but I want to see some reference to see that if I'm missing anything. I can't find anything direct on google. Can ...
0
votes
0answers
6 views

Is there a card which I can have stablecoin on the backend but use for fiat purchases?

Is there a pre-paid card, which stakes stablecoin in order to ear interest, but the user can also spend the stablecoin on daily purchases like a regular debit card? I guess similar to this https://...
0
votes
0answers
33 views

What is the difference between liquidity mining and farming?

I have seen both terms being used in the DeFi space a lot. I understand that liquidity mining is: when people receive tokens as rewards for participating in a certain protocol in a given way. I ...
0
votes
0answers
46 views

How can I accept already deployed ERC20 token in my staking contract

Got this question, I have an ERC20 staking contract (it will be deployed on Binance smart chain), that can accept itself to eventually mint itself, but I want to accept other, already deployed (on BSC ...
0
votes
2answers
177 views

How can I import an existing ERC20 token into my contract?

I'm trying to develop a staking contract. All of the guides I've seen utilize either payable (ETH) or a newly created token. How can I import an existing token (presumably via address) into my ...
0
votes
0answers
20 views

erc20 staking analytics

I am trying to analyze if/how staking affects the price of an ERC-20. Is there a way to find the total number of a specific ERC20 token staked each day? Does the transaction hash or input provide any ...
0
votes
0answers
37 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 ...
0
votes
0answers
188 views

What is the emission rate in the context of STAKE and what is the source of emission

From this document: https://www.xdaichain.com/for-stakers/stake-token I read: STAKE is a new ERC20-type (implemented as an ERC677) token designed to secure the on-chain payment layer and provide a ...
0
votes
0answers
12 views

Gas estimation error in staking

When i deployed my contract in binanace Mainnet,it is deployed.But when i calling stake function it gives gas estimation error.can anyone suggest me some steps for staking contract.
0
votes
0answers
25 views

Ethereum Staking Pools Fee

I'm looking at https://stakingether.com/ for the list of staking pools with the possible earning and fees the pools are charging. As I understand it, a fee is charged by these pools to provide their ...
0
votes
1answer
119 views

Can a contract hold ERC1155 token?

I am curious if ERC1155 token is able to stake or something else with smart contracts? I know ERC721 is able but not sure about ERC1155. Thank you.
0
votes
1answer
79 views

Withdraw function in my staking dapp not working as it should

I'm making a staking dApp (tutorial project) and my withdraw and reward function that is to be called when the msg.sender wants to stop staking doesn't work well. The function calls and returns a ...
0
votes
0answers
90 views

Ethereum 2.0 - how to avoid being penalised when moving to a new location - is it possible to move the validator to the cloud?

Of course, I can test on testnet and try for myself but maybe you'll know. In the spirit of decentralisation, I would like to run my full node. But things change, I may want to travel (change location)...
0
votes
0answers
100 views

error while trying to deploy a SC on ropsten testnet

I want to test a staking Smart Contract on the ropsten testnet. The code compile successfully on Remix. However, when I try to deploy it, I get the following error: This contract may be abstract, not ...