Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10
根据我的使用经验,这两个功能的提示词有以下区别:
get_transaction_with_inner_instructions 提示词特征
适用场景:获取交易中所有程序的完整指令树
- "获取交易的完整内部指令"
- "显示交易的所有指令和子指令"
- "分析交易的完整执行路径"
- "获取交易的详细指令分解"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA", | |
| "metadata": { | |
| "name": "pump_amm", | |
| "version": "0.1.0", | |
| "spec": "0.1.0", | |
| "description": "Created with Anchor" | |
| }, | |
| "instructions": [ | |
| { |
Package Management (link)
- leaf-keywords
- el-get
- hydra
- package-utils
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
| Description | Syntax |
|---|---|
| Get the length of a string | ${#VARNAME} |
| Get a single character | ${VARNAME[index]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Bootstraps all tools | |
| cargo install nu ripgrep starship bat | |
| export PATH="$PATH:~/.cargo/bin" | |
| NU_VERSION=$(nu --version) | |
| CONF_PATH=$(nu -c "echo \$nu.config-path") | |
| ENV_PATH=$(nu -c "echo \$nu.env-path") | |
| CONF_DIR=$(dirname "$CONF_PATH") |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. 安装tpm: mkdir -p ~/.tmux/plugins && cd ~/.tmux/plugins && git clone https://github.com/tmux-plugins/tpm | |
| # 2. 按 prefix + I(大写) 来安装插件 | |
| # 3. 安装 vim-obsession, 用 vundle 安装或: cd ~/.vim/bundle && git clone git://github.com/tpope/vim-obsession.git --depth 1 && vim -u NONE -c "helptags vim-obsession/doc" -c q | |
| ##### 以上需手工执行 ##### | |
| ## 修改 tmux-prefix 键: ctrl+b --> ctrl+a | |
| set -g prefix C-a | |
| unbind C-b | |
| bind a send-prefix | |
| #set-option -g prefix2 ` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: UNLICENSED | |
| pragma solidity ^0.8.13; | |
| import "forge-std/Test.sol"; | |
| contract Greeter is Test { | |
| string private name = "DMZ"; | |
| function greet(uint256 num) public { | |
| emit log_named_uint("greet",num); | |
| } | |
| function greet2(uint256 num) public returns( string memory){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import re | |
| while True: | |
| line = sys.stdin.readline() | |
| if len(line) == 0: | |
| break | |
| ms= re.match(r'.*\[(.*[\d])\]', line) | |
| if ms == None: | |
| print(line) |
NewerOlder
