QI - Avalanche
Claim Reward. Benqi-Incentives-v1 connector on avalanche triggers methods like ClaimQiReward, ClaimQiRewardTwo, ClaimQiRewardThree, ClaimAvaxReward, ClaimAvaxRewardTwo, ClaimAvaxRewardThree, delegate. You can view details like source code, ABIs on Snowtrace.
- Use
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
to indicate AVAX. - use -1 or
dsa.maxValue
for the maximum amount in function. - If not sure about the arguments
getId
andsetId
, pass 0.
ClaimQiReward
Claim Accrued Qi Token.
spells.add({ connector: "QI-A", method: "ClaimQiReward", args: [setId]});
Parameter | Type | Description |
---|---|---|
setId | uint256 | ID stores the amount of Reward claimed. |
ClaimQiRewardTwo
Claim Accrued Qi Token.
spells.add({ connector: "QI-A", method: "ClaimQiRewardTwo", args: [tokenIds, setId]});
Parameter | Type | Description |
---|---|---|
tokenIds | string[] | Array of supplied and borrowed token IDs. |
setId | uint256 | ID stores the amount of Reward claimed. |
ClaimQiRewardThree
Claim Accrued Qi Token.
spells.add({ connector: "QI-A", method: "ClaimQiRewardThree", args: [supplyTokenIds, borrowTokenIds, setId]});
Parameter | Type | Description |
---|---|---|
supplyTokenIds | string[] | Array of supplied tokenIds. |
borrowTokenIds | string[] | Array of borrowed tokenIds. |
setId | uint256 | ID stores the amount of Reward claimed. |
ClaimAvaxReward
Claim Accrued Avax Token.
spells.add({ connector: "QI-A", method: "ClaimAvaxReward", args: [setId]});
Parameter | Type | Description |
---|---|---|
setId | uint256 | ID stores the amount of Reward claimed. |
ClaimAvaxRewardTwo
Claim Accrued Avax Token.
spells.add({ connector: "QI-A", method: "ClaimAvaxRewardTwo", args: [tokenIds, setId]});
Parameter | Type | Description |
---|---|---|
tokenIds | string[] | Array of supplied and borrowed token IDs. |
setId | uint256 | ID stores the amount of Reward claimed. |
ClaimAvaxRewardThree
Claim Accrued Avax Token.
spells.add({ connector: "QI-A", method: "ClaimAvaxRewardThree", args: [supplyTokenIds, borrowTokenIds, setId]});
Parameter | Type | Description |
---|---|---|
supplyTokenIds | string[] | Array of supplied tokenIds. |
borrowTokenIds | string[] | Array of borrowed tokenIds. |
setId | uint256 | ID stores the amount of Reward claimed. |
Delegate
Delegate votes.
spells.add({ connector: "QI-A", method: "delegate", args: [delegatee]});
Parameter | Type | Description |
---|---|---|
delegatee | address | The address to delegate the votes to. |
If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.
Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.