Questions tagged [provable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Rock, paper, scissors and Secrether.io

I have thought of a RPS game using secrether.io: playerA hashes keccak256(move+11charsRandomData) as hash and sends it to RPS smart contract. RPS creates a transaction to Secrether Smart Contract - ...
0
votes
1answer
38 views

Provable store an array

I'm trying to understand some basis of Solidity, I get how to get multiple values from one query, but don't really understand how to store them, could anyone explain me how to do it? pragma solidity ^...
0
votes
1answer
29 views

Can't call coinFlip() function the second time

The first time when i run this it runs fine but the second time when i call the coinFlip() function it shows gas estimation failed can someone tell me why it is happening. pragma solidity ^0.6.0; ...
0
votes
1answer
35 views

signing transaction in web3 is not returning msgHash

I am trying to write provble_transfer where owner can pay gas fee for the transaction. Below is the code for signing transaction to my test contact. let rawTransaction = { 'from': ...
0
votes
2answers
68 views

Unit testing time sensitive Provable smart contracts

I'm currently using Provable (formerly Oraclize) to make a CRON job : constructor() public payable { OAR = OracleAddrResolverI(0x6F486C8BD6fc43eA212E93CCF8ce047C7f1Cb475); provable_query(7 ...
0
votes
1answer
33 views

onlyOwner / onlyProvable with oracle functions using Provable

Is it possible to make a function onyOwner, since one of them must obviously be called by Provable's server? Or is there an equivalent modifier to it, such as onlyProvable? If not, would there be a ...
1
vote
1answer
37 views

Are arguments from Provable callback's function mandatory?

Since I am only using Provable (formerly Oraclize) in order to make a cron job, and calling only a function from inside my smart contract (like here), I was wondering if the parameters myid and result ...
0
votes
0answers
67 views

Calling provable_query via Ethereum-bridge work only the first time

I implemented a contract to call a api via provable and ethereum-bridge on a private ethereum. In the first time, when calling a api, it works fine. However, when tring to call api again, I got an ...
2
votes
1answer
167 views

Oraclize ( provable) updates the value only one time

I'm trying to write a smart contract that gives me the current timestamp. The very important part is that i want this to happen locally, not on test networks. After some research, i installed ethereum-...
2
votes
1answer
111 views

Multiple callbacks with provable random oracle

I'm making a simple lottery game where there are hourly, daily and weekly prizes. My contract has functions to pick winners for each of these game types. Each game types will have different number of ...