This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey, I'm ameensol-2306490 and I have contributed to the Privacy Pools Ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (withdraw) | |
Contributor # 9 | |
Contribution Hash: | |
fed222f4 3b82af2e 42bd361a ed43ec23 | |
80127445 940b3e61 a5e1a13f 644aa823 | |
cd9d3be1 50c27b42 c9cc322d a7d11a40 | |
80c79f43 50f8b8f4 ab21ded2 a9c3b717 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "proposals", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Once the page load, check if we have a connected web3 wallet and if we | |
// allow ETH deposits and if so fetch the ETH deposit address | |
// and create a transaction with web3. | |
useEffect(() => { | |
if ( | |
!(exchangeRates && exchangeRates.isDone) || | |
!Web3.givenProvider || | |
!window.ethereum || | |
invoice.acceptedCurrencies.indexOf('ETH') === -1 | |
) return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreihrcoc2g4kikikprbeahkymcxrcvrtw2gxxyt3rs75iqt6m343uvq ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Once the page load, check if we have a connected web3 wallet and if we | |
// allow ETH deposits and if so fetch the ETH deposit address | |
// and create a transaction with web3. | |
useEffect(() => { | |
if ( | |
!(exchangeRates && exchangeRates.isDone) || | |
!Web3.givenProvider || | |
!window.ethereum || | |
invoice.acceptedCurrencies.indexOf('ETH') === -1 | |
) return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "mintingFinished", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "currentPeriod", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "duration", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @dev Calculates the utilization and borrow rates for use by getBorrowRate function | |
*/ | |
function getUtilizationAndAnnualBorrowRate(uint cash, uint borrows) view internal returns (IRError, Exp memory, Exp memory) { | |
(IRError err0, Exp memory utilizationRate) = getUtilizationRate(cash, borrows); | |
if (err0 != IRError.NO_ERROR) { | |
return (err0, Exp({mantissa: 0}), Exp({mantissa: 0})); | |
} | |
// Borrow Rate is 5% + UtilizationRate * 45% (baseRate + UtilizationRate * multiplier); |
NewerOlder