-
Notifications
You must be signed in to change notification settings - Fork 3
RateContract
asandanov edited this page Jan 9, 2019
·
3 revisions
DAO PlayMarket 2.0 Currency is the virtual units (like conventional units).
At this moment: 1PMC = 1$.
event addCurrencyEvent(bytes32 code, string name, uint number3, uint decimal, uint timeadd);
event updateCurrencyEvent(bytes32 code, string name, uint number3, uint decimal, uint timeupdate);
event updateRateEvent(bytes32 code, uint value);
event donationEvent(address from, uint value);
returns Rate of coin to PMC, with the exception of rate["ETH"].
getRate(
bytes32 code // currency code
) returns (
uint rate) // current rate