Skip to content

Commit

Permalink
feat(0.4.25API): adds token payment for query rebroadcasts
Browse files Browse the repository at this point in the history
  • Loading branch information
gskapka committed Jun 10, 2019
1 parent 9d5ea28 commit 59ee890
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions oraclizeAPI_0.4.25.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4746,6 +4746,23 @@ contract usingOraclize {
);
}

function oraclize_token_requestCallbackRebroadcast(
bytes32 _queryId,
uint256 _gasLimit,
uint256 _gasPrice,
uint256 _queryPrice
)
oraclizeAPI
internal
{
settleERC20Payment(_queryPrice);
return oraclize.requestCallbackRebroadcast(
_queryId,
_gasLimit,
_gasPrice
);
}

function oraclize_setCustomTokenPayment(address _tokenAddress)
oraclizeAPI
internal
Expand Down

0 comments on commit 59ee890

Please sign in to comment.