Get desktop application:
View/edit binary Protocol Buffers messages
Send the candidates in bulk. If multiple queries come in, the service will be able to update it's parameters.
Can send multiple liquidation candidates at once
Success signalled by gRPC status code
(message has no fields)
Also send liquidatability falling-edge, transitions from liquidatable -> not liquidatable. (Usually from someone else liquidating, possibly from other events)
Success signalled by gRPC status code
(message has no fields)
Keeps the event stream open rather than sending a new request each time
Request and response types
Both of these fields are optional, and will be filled depending on the request type
If requesting a bootstrap
Price Oracle posting
cToken->Token exchange rate update, send with off-chain prices Decimals are 10 + underlying
On-chain price posting
Success signalled by gRPC status code
(message has no fields)
Borrow rate update
Success signalled by gRPC status code
(message has no fields)
Used in:
,Maps from Token (enum int) to amount (varying decimals, supply is always 18 (cTokens), borrow is underlying decimals)
Used in:
Used in:
Also interprets candidate events, post-bootstrap data
Used in:
The following field uses the numerical equivalent of the Token enum as keys, because enums are not allowed as protobuf map keys
Used in:
from address, in the event of a transfer
Used in:
Can only be updated with a new Compound governance proposal, or changes to the token's ERC-20 contracts
Used in:
Used in:
Token prices, signatures, and messages (from Coinbase) corresponding to the ones that were used to determine liquidatability
Profitability (to determine maximum allowed transaction fee)
Candidate address
Address of cToken to repay
Address of cToken to seize
Used in:
Global enums
Used in:
,ETH = 1;
WBTC = 3;
DAI = 5;
USDC = 7;
USDT = 9;
UNI = 11;
ZRX = 13;
COMP = 15;
BAT = 17;
SAI = 19;
REP = 21;
Used in:
Always 6 for now
Used in:
Used in:
An instance of token data, signature, and message (from Coinbase) corresponding to the ones that were used to determine liquidatability
Ticker (BAT, USDC, etc)
Data type definitions