oraclesorg / treasury

Treasury is a solidity contract for Cross Chain Crowdsale where buyers can exchange tokens for coins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transfer should be available from right side bridge address during crowdsale

vbaranov opened this issue · comments

For now transfer is disabled unill we setTreasury for all addresses. But during crowdsale we need to transfer tokens from the right side of the bridge address to any address. Let's create bridge address in the token constructor, and allow transfer when msg.sender == bridge, if setTreasury wasn't called yet

I've implemented this feature. I'll add few more tests today/tomorrow.

Done. I've add bunch of new tests.
Related commits:
fcc5f32
c0713a0
1ab4c58
9070457