Questions tagged [dai]
The dai tag has no usage guidance.
13
questions with no upvoted or accepted answers
6
votes
0answers
61 views
How does the Dai peg to dollar?
I am interested in the Dai stable coin and have seen multiple different explanations of how the coin balances and pegs to the $1. One said it was to do with the increase or decrease in interest rates ...
5
votes
0answers
52 views
Not able to use DAI's permit() function
I'm having trouble testing the permit() functionality from the DAI contract. I've read the documentation and a couple of other resources, although, I got the contract code and deployed myself a copy ...
2
votes
0answers
23 views
How does the Dai stablize?
I am interested in the Dai stable coin and have seen multiple different explanations of how the coin balances and pegs to the $1. One said it was to do with the increase or decrease in interest rates ...
2
votes
1answer
37 views
How DAI stablecoin is able to be decentralised or how the CDP(Collateralized Debt Position ) process works?
I am reading about stablecoins in order to understand which one would be best suitable for my need( let users of my app be payed or rewarded by a crypto and at the same time lowering the effect of ...
1
vote
1answer
173 views
Want to Access remote dai smart contract in another smart contract
I want to transfer Dai tokens from account1 to account2.
My account1 has 50 DAI tokens.
Kovan Dai contract address given by makerdao is: 0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa.
What I am doing ...
1
vote
0answers
70 views
Target Rate Feedback Mechanism (TRFM) Not Easy to Understand
From this article, I read:
When Dai below the target price the following happens:
The Target Rate increases.
This causes the Target Price to increase at a higher rate.
This causes Dai ...
1
vote
1answer
18 views
Puzzle- how to implement simple savings pool (via cDai) without iterating over unbounded loops?
Consider this example of a very simple savings contract, where users send Dai, which the contract converts to cDai. At any time users are free to withdraw their share of the accrued interest. I cannot ...
1
vote
0answers
72 views
transferFrom is not displaying DAI amount on MetaMask verification popup
I am using web3.min_1.36.js to send DAI to a contract. I already called "approve", so transferFrom is working correctly without error.
However, the Metamask verification popup does not display the ...
1
vote
2answers
313 views
How to withdraw DAI from DSR (Oasis Saving Dapp / MakerDao) using the contract only, not the Dapp frontend?
I am currently testing the Oasis Saving Dapp by MakerDao (https://oasis.app/save). After converting some DAI to DSR, users can earn savings and whenever they want, withdraw their funds (convert back ...
1
vote
0answers
179 views
How to get DAI using Web3.js
I'm building a Web3 app and I'm trying it out on the Kovan testnet. I'm trying to get some DAI. As far as I understand it the way to get DAI is to:
Exchange ETH for WETH.
Use Sai Tub contract to open ...
0
votes
1answer
53 views
What is the difference between collateral types ETH-A and ETH-B?
Upon trying to create DAI for the first time via the Oasis app, I am first faced with a choice between two collateral types:
ETH-A
ETH-B
I see that they have different stability fees, liquidation ...
0
votes
1answer
26 views
Borrow Maker DAI or Exchange
Why would one borrow Dai instead of buying from exchange ? if i have $150 worth ether i can borrow $100 worth Dai. With 8% stability fee basically at 8% interest rate. On the other hand i can just ...
0
votes
2answers
197 views
How can you approve a token through an interface?
I have an interface to Dai from my contract and want to allow a user to approve the contract to transfer their Dai. Dai uses DSToken code which has an approve function that relies on msg.sender:
...