xclaim-sol
xclaim-sol copied to clipboard
XCLAIM(BTC,ETH): Solidity implementation for Bitcoin backed tokens on Ethereum
Problem: transaction can be replayed by a user to trick contract into issuing multiple tokens, possible with different contracts Fix: - Contract must check that contract address is in Bitcoin...
Revert if an assert fails. Check if necessary for all functions
To allow issuing of large tokens amounts within a single issue process --> allow multiple vaults to join collateral (user driven call!).
Define a factor: eth collateral per vault's locked collateral unit (eth) per time unit (minutes / blocks).
If the exchange rate drops so far, the vault's collateral falls below a certain threshold (specify!) --> allow the user to abort the issuing process without penalty.