Skip to content

Commit

Permalink
solana: Update IDL
Browse files Browse the repository at this point in the history
  • Loading branch information
nvsriram committed Dec 12, 2024
1 parent 1f26672 commit 70dd3c8
Show file tree
Hide file tree
Showing 2 changed files with 261 additions and 348 deletions.
203 changes: 87 additions & 116 deletions solana/ts/idl/3_0_0/json/example_native_token_transfers.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,82 +94,87 @@
"name": "initializeMultisig",
"accounts": [
{
"name": "payer",
"isMut": true,
"isSigner": true
},
{
"name": "deployer",
"isMut": false,
"isSigner": true
},
{
"name": "programData",
"isMut": false,
"isSigner": false
},
{
"name": "config",
"isMut": true,
"isSigner": false
},
{
"name": "mint",
"isMut": false,
"isSigner": false
},
{
"name": "rateLimit",
"isMut": true,
"isSigner": false
},
{
"name": "multisig",
"isMut": false,
"isSigner": false
},
{
"name": "tokenAuthority",
"isMut": false,
"isSigner": false,
"docs": [
"In any case, this function is used to set the Config and initialize the program so we",
"assume the caller of this function will have total control over the program.",
"",
"TODO: Using `UncheckedAccount` here leads to \"Access violation in stack frame ...\".",
"Could refactor code to use `Box<_>` to reduce stack size."
]
},
{
"name": "custody",
"isMut": true,
"isSigner": false,
"docs": [
"The custody account that holds tokens in locking mode and temporarily",
"holds tokens in burning mode.",
"function if the token account has already been created."
]
},
{
"name": "tokenProgram",
"isMut": false,
"isSigner": false,
"docs": [
"associated token account for the given mint."
"name": "common",
"accounts": [
{
"name": "payer",
"isMut": true,
"isSigner": true
},
{
"name": "deployer",
"isMut": false,
"isSigner": true
},
{
"name": "programData",
"isMut": false,
"isSigner": false
},
{
"name": "config",
"isMut": true,
"isSigner": false
},
{
"name": "mint",
"isMut": false,
"isSigner": false
},
{
"name": "rateLimit",
"isMut": true,
"isSigner": false
},
{
"name": "tokenAuthority",
"isMut": false,
"isSigner": false,
"docs": [
"In any case, this function is used to set the Config and initialize the program so we",
"assume the caller of this function will have total control over the program.",
"",
"TODO: Using `UncheckedAccount` here leads to \"Access violation in stack frame ...\".",
"Could refactor code to use `Box<_>` to reduce stack size."
]
},
{
"name": "custody",
"isMut": true,
"isSigner": false,
"docs": [
"The custody account that holds tokens in locking mode and temporarily",
"holds tokens in burning mode.",
"function if the token account has already been created."
]
},
{
"name": "tokenProgram",
"isMut": false,
"isSigner": false,
"docs": [
"associated token account for the given mint."
]
},
{
"name": "associatedTokenProgram",
"isMut": false,
"isSigner": false
},
{
"name": "bpfLoaderUpgradeableProgram",
"isMut": false,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false
}
]
},
{
"name": "associatedTokenProgram",
"isMut": false,
"isSigner": false
},
{
"name": "bpfLoaderUpgradeableProgram",
"isMut": false,
"isSigner": false
},
{
"name": "systemProgram",
"name": "multisig",
"isMut": false,
"isSigner": false
}
Expand All @@ -178,7 +183,7 @@
{
"name": "args",
"type": {
"defined": "InitializeMultisigArgs"
"defined": "InitializeArgs"
}
}
]
Expand Down Expand Up @@ -644,7 +649,7 @@
]
},
{
"name": "releaseInboundUnlock",
"name": "releaseInboundMintMultisig",
"accounts": [
{
"name": "common",
Expand Down Expand Up @@ -698,6 +703,11 @@
"isSigner": false
}
]
},
{
"name": "multisig",
"isMut": false,
"isSigner": false
}
],
"args": [
Expand All @@ -710,7 +720,7 @@
]
},
{
"name": "releaseInboundMultisigMint",
"name": "releaseInboundUnlock",
"accounts": [
{
"name": "common",
Expand Down Expand Up @@ -740,11 +750,6 @@
"isMut": true,
"isSigner": false
},
{
"name": "multisig",
"isMut": false,
"isSigner": false
},
{
"name": "tokenAuthority",
"isMut": false,
Expand Down Expand Up @@ -775,7 +780,7 @@
{
"name": "args",
"type": {
"defined": "ReleaseInboundMultisigArgs"
"defined": "ReleaseInboundArgs"
}
}
]
Expand Down Expand Up @@ -1839,28 +1844,6 @@
]
}
},
{
"name": "InitializeMultisigArgs",
"type": {
"kind": "struct",
"fields": [
{
"name": "chainId",
"type": "u16"
},
{
"name": "limit",
"type": "u64"
},
{
"name": "mode",
"type": {
"defined": "Mode"
}
}
]
}
},
{
"name": "RedeemArgs",
"type": {
Expand All @@ -1880,18 +1863,6 @@
]
}
},
{
"name": "ReleaseInboundMultisigArgs",
"type": {
"kind": "struct",
"fields": [
{
"name": "revertOnDelay",
"type": "bool"
}
]
}
},
{
"name": "TransferArgs",
"type": {
Expand Down
Loading

0 comments on commit 70dd3c8

Please sign in to comment.