Comp
Interact with the COMP token contract
The COMP token is accumulated and distributed to users of the Compound protocol. These connectors are used specifically to interact with the COMP token contract.
COMP tokens are accumulated on a per asset basis.
Claim Comp
This connector claims Comp tokens and stores the amount of token claimed as SetId
Parameter
Type
Description
setId
number
ID stores the amount of token claimed
Claim Comp Two
This connector claims Comp tokens of an array of tokens supplied and borrowed. This connector stores the amount of token claimed in SetId
Parameter
Type
Description
tokens
address[0x..,0x..]
Array of tokens supplied and borrowed
setId
number
ID stores the amount of token claimed
Claim Comp Three
This connector claims Comp tokens of an array of tokens supplied and a second array for tokens borrowed. This connector stores the amount of tokens claimed in SetId
Parameter
Type
Description
supplyTokens
address[0x..,0x..]
Array of tokens supplied
borrowTokens
address[0x..,0x..]
Array of tokens borrowed
setId
number
ID stores the amount of token claimed
Last updated