MultiversX Tracker is Live!

A simple contract for keeping track of collaterals?

Etherum Reddit

More / Etherum Reddit 276 Views

For a separate project that I am working on, I needed a contract that keeps track of how much ERC20/ETH is set aside by an address for another address. I wrote the following contract (github link attached), that allows a user to deposit a certain amount of ERC20/ETH into a 'collateral' position, which they can trade around to other users as if it were an NFT. They can also specify the conditions that need to be met before the position can be liquidated back into ERC20/ETH

This seemed like something general enough so I was wondering if I might be re-inventing the wheel. Is there an EIP standard for similar purposes?

https://github.com/jinhongkuan/collaterize/blob/main/contracts/Collaterize.sol

submitted by /u/ImSandwich
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments