Questions tagged [interest-rate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
46 views

How to Calculate How Long an Address Has Held A Token? (for paying interest/rewards)

I'm writing a smart contract function that rewards users some rate of interest/reward for holding my stablecoin over owning competitors (Dai, Tether, etc). What is the most efficient manner to ...
0
votes
2answers
41 views

Error generating new tokens in a private chain

pragma solidity ^0.4.25; // ERC20 Token Smart Contract contract MyToken { string public constant name = "MyToken"; string public constant symbol = "MYT"; uint8 public constant decimals = ...
1
vote
1answer
206 views

How do you apply an interest rate on an ERC20 token without making new transactions?

I'm trying to develop an ERC20 token that mints new tokens to holders over time, however I would like to do this in a way that does not require me to make new transactions each time a users balance ...