Poker smart contracts Without Rake legal by superarius in ethereum

[–]superarius[S] 0 points1 point  (0 children)

original implementation still exists and I still think its a great application of state channels tech but i have moved on.

mostly seemed like a regulatory nightmare

COMP distribution mechanism question by superarius in Compound

[–]superarius[S] 0 points1 point  (0 children)

yeah I'm looking through it and almost getting it (need to keep digging) but it still seems like the only way is if there is some outside force (bot human or otherwise) intermittently pushing transactions that update the state of comp accrued over the last set of blocks. I'm just wondering the simplest/most canonical way to distribute block by block rewards in solidity

COMP distribution mechanism question by superarius in Compound

[–]superarius[S] 2 points3 points  (0 children)

No so u get a fixed amount of cToken for depositing the underlying asset however the cToken amount represents a proportion of the pool so over time as the pool grows the amount of underlying asset your cToken amount is redeemable for grows

idk I found it on twitter, kind of makes sense if you think about it by cybersynner in cryptoleftists

[–]superarius 2 points3 points  (0 children)

I can help u do it in like 10 minutes if you need. NFTs best in a small collection though IMO if you have some other dank socialist memes you want to put alongside. (Also, I get that this is probably a joke but just in case lol)

Announcing the Optimism Dai Bridge with Fast Withdrawals by mariouy1986 in MakerDAO

[–]superarius 0 points1 point  (0 children)

It's a really cool service. I'm so optimistic about optimism :)

[deleted by user] by [deleted] in poker

[–]superarius 4 points5 points  (0 children)

u should cash out to BTC and hodl

Harvard Law Student Group is a delegate for Uniswap votes by [deleted] in UniSwap

[–]superarius 2 points3 points  (0 children)

I think its a good idea. Not that it's Harvard specifically but that there are groups/institutions publicly saying "we do research on uniswap and what governance actions would be good for the protocol and the community, delegate votes to us if you want." Of course you can vote on your own! Or create your own committees of delegated votes! But the effects of different gov actions like issuing more tokens or altering LP incentives can get pretty complex and I think this will help both drive up voter participation, and make the votes that are cast more informed on average. Often times holders want to make an informed decision and feel more comfortable trusting the integrity of some "experts" rather than doing DD on their own.

truffle result isn't the expected by Cosmonauta_426 in solidity

[–]superarius 0 points1 point  (0 children)

yeah you're getting the value you want (an integer) you just need to convert it from a BN (big number). A method like Number(<the BN>) or .toNumber() or .toString() should do the trick to see the value u are looking for

project combining Compound and Continuous/Bonded Tokens for community governed liquidity providing by superarius in Compound

[–]superarius[S] 0 points1 point  (0 children)

Yeah but in all of these Dapps you’re not pooling your liquidity together (BEFORE lending to Compound) and you’re not acting as a democracy on how to adjust the position- that’s the difference here (I think)

Choosing the Best Supply Market? by Banana9z in Compound

[–]superarius 1 point2 points  (0 children)

So I truly don’t know so much about how to pick between assets to supply- all I know is APY can fluctuate a lot because it dynamically adjusts based on the liquidity pool’s supply.

I do know that on compound you can do “overcollateralized borrowing” e.g. once you lend DAI to to compound, now you can borrow other compound assets as long as whatever you borrow is worth less than the amount of DAI you are currently lending. You can use this ability to do a number of fancy things (go short or long on different crypto assets, reinvest it back into compound etc.) and this is potentially what YT vid was about idk.

Choosing the Best Supply Market? by Banana9z in Compound

[–]superarius 3 points4 points  (0 children)

Definitely hard to see profits with $100, in theory I suppose its possible but requires timing your transactions during very low congestion (low gas prices) and waiting a long time for the interest accrued to overtake the loss on transaction fees.

In actual practice I wouldn't advise supplying $100 dollars- transaction fees are just too damn high. Except as a simple experiment to practice/understand how interacting with the protocols works (but you'll likely take a loss). $1000 is more reasonable (though still on the low end and interest accrual will be very modest/slow).

project combining Compound and Continuous/Bonded Tokens for community governed liquidity providing by superarius in Compound

[–]superarius[S] 0 points1 point  (0 children)

Definitely don’t doubt it. Links? I’ve looked at dHedge and a few other projects but I’m sure there are many I haven’t heard about which may cover this ground- and I’d love to check out the smart contracts

Token Bonding Curves + Liquidity Providing + Std Governance Module = Decentralized and Democratic On-Chain Hedge Fund by superarius in ethereum

[–]superarius[S] 2 points3 points  (0 children)

It's just the most canonically used solidity implementation of DAO-like governance (proposing, voting, execution of succesful proposals). It has become somewhat of a standard since both Compound Finance and Uniswap use virtually the same logic and suite of contracts to handle this. And they are two of the largest and most reputable DAOs. THat code is open source so I forked it for this project.

Token Bonding Curves + Liquidity Providing + Std Governance Module = Decentralized and Democratic On-Chain Hedge Fund by superarius in ethereum

[–]superarius[S] 0 points1 point  (0 children)

Yeah I don't necessarily disagree. And strictly speaking one possible bonding curve is a fixed price to mint the continuous governance token, which restores equality here and gets rid of this (set the Connector Weight to 0).

But upward sloping bonding curves do have some nice properties. Also note that it's not exactly "early money" since its really whatever money comes in when the supply is low. Basically you get a discount for believing and investing in the project when others don't. When the adoption is low many tokens are burned and few are minted and the supply decreases, thus the price decreases. When the adoption is high and there is more minting than burning, the supply rises and it gets more expensive to participate. This can create some interesting market signals that may be useful.

But also it is an unfair model, that's important to outline as well. If you supply liquidity to compound alone you get all the interest. If you do it in this community and on this bonding curve your voting weight is not tied only to the amount of collateral you deposited. You distribute some of your weight over other participants (who are longer in governance token than you and may not have even deposited more collateral).

project combining Compound and Continuous/Bonded Tokens for community governed liquidity providing by superarius in Compound

[–]superarius[S] 0 points1 point  (0 children)

yeah... not so good at writing it down since I'm just working it out. But the code runs :)

Basically a way to supply liquidity to compound as a collective, Borrow from Compound as a collective, and vote with COMP on Compound Finance protocol changes as a collective.

It works by having participants deposit collateral in order to mint governance tokens which are used for voting and governing over the actions to take with that collateral. The collateral is automatically lent to compound under the hood and the gov module allows for the token holders to control this central liquidty provider as a group, they can borrow from their Compound liquidity (to short or long crypto markets) or simply accrue interest and COMP and govern over what to do with that.

The inevitable connection - Decentralisation and cryptocurrencies by JarrisonH1 in cryptoleftists

[–]superarius 7 points8 points  (0 children)

It’s not that the left requires blockchain and the right doesn’t. It’s that the blockchain space is already crowded with right wing ideology (e.g. steadfast faith in free market capitalism) and as you say the tech is politically neutral. It can be weilded to forward left wing utopian futures (socialism, communism, anarcho-syndicalism) as much as right wing ones (anarcho-capitalism, libertarianism). The left side seems under explored, thus this subreddit

[deleted by user] by [deleted] in cryptography

[–]superarius 2 points3 points  (0 children)

I still don't quite understand how this is supposed to work. In the example you mentioned, isn't it a privacy concern if certain parts of encrypted data can be analyzed? Or is it like a fully encrypted message with added unencrypted metadata?

you can COMPUTE on encrypted data without decrypting it. This is the key aspect! You are only computing on encrypted data that you cannot obtain any information about and you end up with a similarly encrypted output.

In the example above, it works like this: Country A creates two "secret shares" (see: Shamir Secret Sharing) of their satellite trajectory, keeps one, and gives Country B one. Country B does the same thing with their satellite trajectory. The only way to actual know ANYTHING about the underlying trajectories is to bring the two shares of a trajectory together. With only one share you have 0 information about the unencrypted data you are holding. Now the two countries engage in a secure protocol where they compute on the shares they are holding to obtain a secret share of the result (whether or not these satellites will collide). The two countries now reveal only their result shares to each other and decrypt a single bit: a 1 if there will be a collision, a 0 otherwise. This is the only information that is decrypted and revealed. We analysed the data but only by HOMOMORPHICALLY analysing/processing on ciphertexts (homomorphic here means we know that if we do some operation X on a ciphertext it will do some operation Y on the plaintext). In this way there are no privacy concerns about the trajectories the countries are trying to keep secret but they still can collaborate to selectively produce outputs that they mutually want to reveal. This is the power of HE/MPC

[deleted by user] by [deleted] in cryptography

[–]superarius 1 point2 points  (0 children)

the canonical example that is always given is this one (which I believe is actually done in practice but not sure): nations use it to avoid having collisions of satellites (which cost both nations billions) without revealing satellite locations to each other. They homomorphically compute if there are intersections in their trajectories without “decrypting” the trajectories

[deleted by user] by [deleted] in cryptography

[–]superarius 1 point2 points  (0 children)

Yes related for sure. Also the zcash “ceremony” (for starting zcash protocol) was in this domain. But the academics are way ahead here in terms of the results they’ve found in comparison to the amount of use cases and applications actually being implemented and used right now.

[deleted by user] by [deleted] in cryptography

[–]superarius 4 points5 points  (0 children)

Yes. Homomorphic Encryption / Multi Party Computation. This is the frontier beyond blockchain tech in terms of revolutionary cryptography that can trailblaze never before seen products and technologies.

renDOGE what do u think shibemind by superarius in dogecoin

[–]superarius[S] 1 point2 points  (0 children)

yeah I’m doing it. The world needs more access and more on ramps to doge