Skip to content

Commit

Permalink
hotfix(core): duplicate Solana ATAP Create instruction info
Browse files Browse the repository at this point in the history
so that empty data and 0x00 data do the same thing, before we figure out
whether this is an always thing, or a sometimes thing, and implement a
little saner solution
  • Loading branch information
matejcik committed Nov 26, 2024
1 parent 00f947d commit 1f6dd8e
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions common/defs/solana/programs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3003,6 +3003,68 @@
}
]
},
{
"id": 0,
"name": "Create",
"is_multisig": false,
"parameters": [],
"references": [
{
"name": "funding_account",
"is_authority": true,
"optional": false
},
{
"name": "associated_token_account",
"is_authority": false,
"optional": false
},
{
"name": "wallet_address",
"is_authority": false,
"optional": false
},
{
"name": "token_mint",
"is_authority": false,
"optional": false
},
{
"name": "system_program",
"is_authority": false,
"optional": false
},
{
"name": "spl_token",
"is_authority": false,
"optional": false
},
{
"//": "Some dApps still include the rent sysvar although it's not officially required anymore.",
"name": "rent_sysvar",
"is_authority": false,
"optional": true
}
],
"ui_properties": [
{
"account": "associated_token_account",
"display_name": "Create token account"
},
{
"account": "token_mint",
"display_name": "For token"
},
{
"account": "wallet_address",
"display_name": "Owned by"
},
{
"account": "funding_account",
"display_name": "Funded by"
}
]
},
{
"id": 1,
"name": "Create Idempotent",
Expand Down

0 comments on commit 1f6dd8e

Please sign in to comment.