monerium / smart-contracts

ERC20 compatible e-money deployed on Ethereum
https://monerium.com
Apache License 2.0
35 stars 21 forks source link

mintTo and burnFrom #10

Closed gislik closed 6 years ago

gislik commented 6 years ago

For mintTo the caller should prove that they have a valid signature for that account.

For burnFrom the caller should prove that they have a valid temporary signature for that account. This can be based on the current block height (block.number).

gislik commented 6 years ago

The initial implementation ignores the current block height.

gislik commented 6 years ago

Having a valid signature for mintTo complicates the user experience. This is not a risk since nothing happens until the user wires actual fiat money.