SignedMessageOracle¶
-
contract
SignedMessageOracle
is Proxied, Oracle, SignedMessageOracleData¶ Title: Signed message oracle contract - Allows to set an outcome with a signed message Author: Stefan George - <stefan@gnosis.pm> -
function
replaceSigner
(address newSigner, uint _nonce, uint8 v, bytes32 r, bytes32 s)¶
public
isSigner
¶ Replaces signer
Parameters: - newSigner – New signer
- _nonce – Unique nonce to prevent replay attacks
- v – Signature parameter
- r – Signature parameter
- s – Signature parameter
-
function
setOutcome
(int _outcome, uint8 v, bytes32 r, bytes32 s)¶
public
¶ Sets outcome based on signed message
Parameters: - _outcome – Signed event outcome
- v – Signature parameter
- r – Signature parameter
- s – Signature parameter
-
function