Skip to content

Commit

Permalink
Update shank version and regenerate IDLs
Browse files Browse the repository at this point in the history
  • Loading branch information
danenbm committed Feb 1, 2024
1 parent 1810da3 commit 5b8c5f1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 20 deletions.
28 changes: 20 additions & 8 deletions idls/mpl_system_extras.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,25 @@
"name": "payer",
"isMut": true,
"isSigner": true,
"desc": "The account paying for the storage"
"docs": [
"The account paying for the storage"
]
},
{
"name": "newAccount",
"isMut": true,
"isSigner": true,
"desc": "The account being created"
"docs": [
"The account being created"
]
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false,
"desc": "System program"
"docs": [
"System program"
]
}
],
"args": [
Expand All @@ -46,19 +52,25 @@
"name": "source",
"isMut": true,
"isSigner": true,
"desc": "The source account sending all its lamports"
"docs": [
"The source account sending all its lamports"
]
},
{
"name": "destination",
"isMut": true,
"isSigner": false,
"desc": "The destination account receiving the lamports"
"docs": [
"The destination account receiving the lamports"
]
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false,
"desc": "System program"
"docs": [
"System program"
]
}
],
"args": [],
Expand All @@ -83,7 +95,7 @@
"metadata": {
"origin": "shank",
"address": "SysExL2WDyJi9aRZrXorrjHJut3JwHQ7R9bTyctbNNG",
"binaryVersion": "0.0.12",
"libVersion": "0.0.12"
"binaryVersion": "0.3.0",
"libVersion": "0.3.0"
}
}
36 changes: 26 additions & 10 deletions idls/mpl_token_extras.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,65 @@
"name": "payer",
"isMut": true,
"isSigner": true,
"desc": "The account paying for the token account creation if needed"
"docs": [
"The account paying for the token account creation if needed"
]
},
{
"name": "token",
"isMut": false,
"isSigner": false,
"desc": "The token account that may or may not exist"
"docs": [
"The token account that may or may not exist"
]
},
{
"name": "mint",
"isMut": false,
"isSigner": false,
"desc": "The mint account of the provided token account"
"docs": [
"The mint account of the provided token account"
]
},
{
"name": "owner",
"isMut": false,
"isSigner": false,
"desc": "The owner of the provided token account"
"docs": [
"The owner of the provided token account"
]
},
{
"name": "ata",
"isMut": true,
"isSigner": false,
"desc": "The associated token account which may be the same as the token account"
"docs": [
"The associated token account which may be the same as the token account"
]
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false,
"desc": "System program"
"docs": [
"System program"
]
},
{
"name": "tokenProgram",
"isMut": false,
"isSigner": false,
"desc": "Token program"
"docs": [
"Token program"
]
},
{
"name": "ataProgram",
"isMut": false,
"isSigner": false,
"desc": "Associated Token program"
"docs": [
"Associated Token program"
]
}
],
"args": [],
Expand Down Expand Up @@ -106,7 +122,7 @@
"metadata": {
"origin": "shank",
"address": "TokExjvjJmhKaRBShsBAsbSvEWMA1AgUNK7ps4SAc2p",
"binaryVersion": "0.0.12",
"libVersion": "0.0.12"
"binaryVersion": "0.3.0",
"libVersion": "0.3.0"
}
}
2 changes: 1 addition & 1 deletion programs/system-extras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[dependencies]
solana-program = "=1.14.13"
shank = "0.0.12"
shank = "0.3.0"
borsh = "0.9.3"
thiserror = "~1.0"
num-derive = "0.3.3"
Expand Down
2 changes: 1 addition & 1 deletion programs/token-extras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[dependencies]
solana-program = "=1.14.13"
shank = "0.0.12"
shank = "0.3.0"
borsh = "0.9.3"
thiserror = "~1.0"
num-derive = "0.3.3"
Expand Down

0 comments on commit 5b8c5f1

Please sign in to comment.