Skip to content

Commit

Permalink
Update idl.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielkoerich committed Aug 22, 2024
1 parent 218d0c6 commit 65399e0
Showing 1 changed file with 254 additions and 0 deletions.
254 changes: 254 additions & 0 deletions programs/lulo/idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,77 @@
}
]
},
{
"name": "syncWithdraw",
"accounts": [
{
"name": "owner",
"isMut": true,
"isSigner": true
},
{
"name": "feePayer",
"isMut": true,
"isSigner": true
},
{
"name": "ownerTokenAccount",
"isMut": true,
"isSigner": false
},
{
"name": "userAccount",
"isMut": true,
"isSigner": false
},
{
"name": "flexUserTokenAccount",
"isMut": true,
"isSigner": false
},
{
"name": "mintAddress",
"isMut": false,
"isSigner": false
},
{
"name": "flexProgram",
"isMut": false,
"isSigner": false
},
{
"name": "tokenProgram",
"isMut": false,
"isSigner": false
},
{
"name": "associatedTokenProgram",
"isMut": false,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "protocol",
"type": "string"
},
{
"name": "amount",
"type": "u64"
},
{
"name": "withdrawAll",
"type": {
"option": "bool"
}
}
]
},
{
"name": "userWithdraw",
"accounts": [
Expand Down Expand Up @@ -1728,6 +1799,95 @@
}
]
},
{
"name": "harvestKaminoReward",
"accounts": [
{
"name": "signer",
"isMut": true,
"isSigner": true
},
{
"name": "owner",
"isMut": false,
"isSigner": false
},
{
"name": "userAccount",
"isMut": true,
"isSigner": false,
"docs": [
"becomes the \"obligation_owner\" in CPI"
]
},
{
"name": "userState",
"isMut": true,
"isSigner": false
},
{
"name": "farmState",
"isMut": true,
"isSigner": false
},
{
"name": "globalConfig",
"isMut": false,
"isSigner": false
},
{
"name": "rewardMint",
"isMut": false,
"isSigner": false
},
{
"name": "userRewardAta",
"isMut": true,
"isSigner": false
},
{
"name": "rewardsVault",
"isMut": true,
"isSigner": false
},
{
"name": "rewardsTreasuryVault",
"isMut": true,
"isSigner": false
},
{
"name": "farmVaultsAuthority",
"isMut": true,
"isSigner": false
},
{
"name": "kaminoFarmsProgram",
"isMut": false,
"isSigner": false
},
{
"name": "scopePrices",
"isMut": false,
"isSigner": false
},
{
"name": "tokenProgram",
"isMut": false,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "rewardIndex",
"type": "u64"
}
]
},
{
"name": "initMangoUserAccount",
"accounts": [
Expand Down Expand Up @@ -2861,6 +3021,95 @@
}
}
]
},
{
"name": "slndClaim",
"accounts": [
{
"name": "owner",
"isMut": true,
"isSigner": true
},
{
"name": "userAccount",
"isMut": true,
"isSigner": false
},
{
"name": "distributor",
"isMut": true,
"isSigner": false
},
{
"name": "claimStatus",
"isMut": true,
"isSigner": false,
"docs": [
"Claim status PDA"
]
},
{
"name": "from",
"isMut": true,
"isSigner": false,
"docs": [
"Distributor ATA containing the tokens to distribute."
]
},
{
"name": "to",
"isMut": true,
"isSigner": false,
"docs": [
"Account to send the claimed tokens to."
]
},
{
"name": "ownerTokenAccount",
"isMut": true,
"isSigner": false
},
{
"name": "merkleDistributorProgram",
"isMut": false,
"isSigner": false
},
{
"name": "tokenProgram",
"isMut": false,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false
}
],
"args": [
{
"name": "bump",
"type": "u8"
},
{
"name": "index",
"type": "u64"
},
{
"name": "amount",
"type": "u64"
},
{
"name": "proof",
"type": {
"vec": {
"array": [
"u8",
32
]
}
}
}
]
}
],
"accounts": [
Expand Down Expand Up @@ -4504,6 +4753,11 @@
"code": 6011,
"name": "InvalidOwner",
"msg": "Invalid Owner"
},
{
"code": 6012,
"name": "InvalidProtocolMarket",
"msg": "Invalid Protocol Market"
}
],
"metadata": {
Expand Down

0 comments on commit 65399e0

Please sign in to comment.