Stefan George

Results 6 issues of Stefan George

I have a function, which may return an error state: ``` @jsonrpc_method('eth_sendRawTransaction') def eth_sendRawTransaction(request, arg1): if arg1 == 1: return "This worked" else: raise Error("This is an error") ``` The...

Consider removing the `prepareCondition` function as there is no need to have the information provided in this function as part of the smart contract until the redemption process starts. This...

enhancement
P3

Consider having only one static payout denominator (e.g. 10**18). This way no payout denominator has to be defined per condition, which saves gas and still allows very precise payout slot...

enhancement
P3

In case a smart contract is interacting directly with the conditional tokens contract it might be useful to return the condition ID to the contract for further reference. `function prepareCondition(address...

enhancement
P3

Some applications (like Gelato) require to send transactions on behalf of the user under certain conditions. This can be done by deploying and registering Safe modules. The CPK should allow...

documentation

Hi Brad, thanks for this gem! I would love to use it in my project but I don't get it running. Could you provide a short example how to use...