Created
June 8, 2020 13:39
-
-
Save Ambros94/a6d2c694e88dfa355692497588a7d293 to your computer and use it in GitHub Desktop.
Smart contract ABI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "floatingBase", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "chainlinkJobId", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bytes32" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "testData", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "baseItem", | |
"outputs": [ | |
{ | |
"name": "code", | |
"type": "uint256" | |
}, | |
{ | |
"name": "fullName", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "fullName", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "quoteItem", | |
"outputs": [ | |
{ | |
"name": "code", | |
"type": "uint256" | |
}, | |
{ | |
"name": "fullName", | |
"type": "string" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "id", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "rates", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "int256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_baseItemCode", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_baseItemName", | |
"type": "string" | |
}, | |
{ | |
"name": "_quoteItemCode", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_quoteItemName", | |
"type": "string" | |
}, | |
{ | |
"name": "_indexRateId", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_deployType", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_floatingBase", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "dateTime", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"name": "message", | |
"type": "string" | |
} | |
], | |
"name": "NoRateOnThisDateTime", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "newRate", | |
"type": "int256" | |
}, | |
{ | |
"indexed": false, | |
"name": "message", | |
"type": "string" | |
} | |
], | |
"name": "NewRateFound", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "rate", | |
"type": "int256" | |
}, | |
{ | |
"indexed": false, | |
"name": "message", | |
"type": "string" | |
} | |
], | |
"name": "RateAlreadyExist", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"name": "message", | |
"type": "string" | |
} | |
], | |
"name": "ChainLinkLocalNetworkChoosed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipRenounced", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkRequested", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkFulfilled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "ChainlinkCancelled", | |
"type": "event" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_link", | |
"type": "address" | |
}, | |
{ | |
"name": "_oracle", | |
"type": "address" | |
}, | |
{ | |
"name": "_jobId", | |
"type": "bytes32" | |
} | |
], | |
"name": "initChainlinkOnLocalNetwork", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_requestId", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "_data", | |
"type": "int256" | |
} | |
], | |
"name": "chainlinkCallBack", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_dateTimeMilliseconds", | |
"type": "uint256" | |
}, | |
{ | |
"name": "_rate", | |
"type": "int256" | |
} | |
], | |
"name": "setRateAtDateTime", | |
"outputs": [], | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_dateTimeMilliseconds", | |
"type": "uint256" | |
} | |
], | |
"name": "getRateAtDateTime", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "int256" | |
}, | |
{ | |
"name": "", | |
"type": "int256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_dateTimeMilliseconds", | |
"type": "uint256" | |
} | |
], | |
"name": "retrievesRateByTimestamp", | |
"outputs": [], | |
"payable": true, | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getLINKaddress", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getOracleAddress", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "getJobId", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bytes32" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "checkIndexRate", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "int256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "pure", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment