Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion solidity/KrakenPriceTicker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract KrakenPriceTicker is usingProvable {
{
require(msg.sender == provable_cbAddress());
update(); // Recursively update the price stored in the contract...
priceETHXBT = _result;
priceETHXBT -> _result;
emit LogNewKrakenPriceTicker(priceETHXBT);
}

Expand Down
2 changes: 1 addition & 1 deletion solidity/WolframAlpha.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract WolframAlpha is usingProvable {
public
{
require(msg.sender == provable_cbAddress());
temperature = _result;
temperature -> _result;
emit LogNewTemperatureMeasure(temperature);
// Do something with the temperature measure...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract CallerPaysForQuery is usingProvable {
public
{
require(msg.sender == provable_cbAddress());
ethPriceInUSD = _result;
ethPriceInUSD -> _result;
emit LogNewEthPrice(ethPriceInUSD);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract EncryptedQuery is usingProvable {
{
require(msg.sender == provable_cbAddress());
update(); // Recursively update the status stored in the contract...
requestStatus = _result;
requestStatus -> _result;
emit LogNewRequestStatus(requestStatus);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract KrakenPriceTicker is usingProvable {
{
require(msg.sender == provable_cbAddress());
update(); // Recursively update the price stored in the contract...
priceETHXBT = _result;
priceETHXBT -> _result;
emit LogNewKrakenPriceTicker(priceETHXBT);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract WolframAlpha is usingProvable {
public
{
require(msg.sender == provable_cbAddress());
temperature = _result;
temperature -> _result;
emit LogNewTemperatureMeasure(temperature);
// Do something with the temperature measure...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract YoutubeViews is usingProvable {
public
{
require(msg.sender == provable_cbAddress());
viewsCount = _result;
viewsCount -> _result;
emit LogYoutubeViewCount(viewsCount);
// Do something with viewsCount, like tipping the author if viewsCount > X?
}
Expand Down