Skip to content

Instantly share code, notes, and snippets.

View jtakalai's full-sized avatar
💭
^_________^

jtakalai

💭
^_________^
View GitHub Profile
@jtakalai
jtakalai / jobspec.toml
Created January 13, 2022 13:28
Chainlink Direct Request attempt
type = "directrequest"
schemaVersion = 1
name = "Get > Bytes32"
contractAddress = "0x214859dE825FA80f3977EBc31F55Bc09e82565f0"
maxTaskDuration = "20s"
observationSource = """
decode_log [type="ethabidecodelog"
abi="OracleRequest(bytes32 indexed specId, address requester, bytes32 requestId, uint256 payment, address callbackAddr, bytes4 callbackFunctionId, uint256 cancelExpiration, uint256 dataVersion, bytes data)"
data="$(jobRun.logData)"
topics="$(jobRun.logTopics)"]