Симуляция пакета Mint, Approve и TransferFrom для токена
Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender’а и transferFrom с общим состоянием для тестирования многошаговых потоков.
Это руководство создаёт пакет симуляции из 3 шагов, который отрабатывает классический процесс одобрения ERC-20: минтинг токенов держателю, одобрение spender’у, а затем вызов transferFrom этим spender’ом. Каждый шаг зависит от состояния, создаваемого предыдущим шагом, поэтому именно пакет — правильный инструмент.
Зачем нужен пакет?
Симуляция каждой транзакции по отдельности не работает:
Только Mint: вы можете проверить логику mint, но у адреса-держателя нет токенов в mainnet.
Только Approve: симуляции нужно, чтобы у держателя действительно был баланс для одобрения.
Только TransferFrom: требуется, чтобы был и баланс, и одобрение.
Sim Bundle выполняет все три последовательно, разделяя итоговое состояние. Шаг 2 видит сминтенный баланс из шага 1. Шаг 3 видит одобрение из шага 2.
Три транзакции
Все три транзакции направлены на контракт DAI в Ethereum mainnet (0x6b175474e89094c44da98b954eedeac495271d0f).
Функция mint в DAI защищена маппингом wards: вызвать её могут только адреса, зарегистрированные как wards. Fake ward (0xe2e2...e2) не является ward в mainnet. Чтобы этот шаг прошёл успешно, добавьте переопределение состояния, которое устанавливает слот хранилища ward для этого адреса в 1:
Spender перемещает 0.03 DAI от держателя получателю. Это работает, потому что шаг 2 предоставил разрешение (allowance), которое видно только внутри потока состояния пакета, а не в сети.
Запуск через UI Simulator
1
Откройте Sim Bundle Builder
Перейдите в Simulator в левой навигации, затем нажмите New Simulation. Откроется конструктор пакета с одним пустым шагом.
2
Настройте панель сессии
Панель сессии расположена сверху. Установите Network в Mainnet и оставьте Block как Pending.
Затем раскройте State overrides, добавьте контракт DAI и введите слот хранилища ward и значение из таблицы выше. Нажмите Add storage override, чтобы зафиксировать слот.
Step 1 with the mint calldata filled and the ward state override configured.
4
Добавьте шаг 2: Approve
Нажмите + Add function call на панели пакета. Переключите новый шаг в режим Raw. Установите:
Нажмите Simulate (или клавиши ⌘↵). Все три шага выполняются последовательно. Нажмите каждый шаг на панели, чтобы просмотреть его декодированный вывод, использованный газ, события и трансферы токенов.
The bundle after running: step 2 (approve) is focused, showing the Approval event and decoded output.
Step 3 (transferFrom) succeeded. The 0.03 DAI transfer is visible in the ERC-20 transfers tab.
Запуск через Simulation API
Используйте эндпоинт simulate-bundle, чтобы запустить ту же последовательность программно. Замените {accountSlug} и {projectSlug} на ваши значения.
Ответ — массив из трёх результатов симуляции, по одному на шаг. Каждая запись содержит status, gasUsed, декодированные logs, trace, assetChanges и balanceChanges.Успешное выполнение показывает "status": true для всех трёх шагов. Если шаг откатывается (например, потому что в шаге 1 отсутствует переопределение состояния), API возвращает все результаты вплоть до сбойного шага включительно, а последующие шаги не выполняются.
На что обращать внимание в результатах
Шаг
Ключевые сигналы
Mint
Запись assetChanges с "type": "Mint" и зачислением 2 DAI держателю. Событие Transfer с нулевого адреса.
Approve
Событие Approval в logs. Изменений активов нет (approve не перемещает токены).
TransferFrom
Запись assetChanges с "type": "Transfer" и перемещением 0.03 DAI от держателя к получателю. Событие Transfer в logs. balanceChanges показывает отрицательное изменение у держателя и положительное у получателя.
UI Simulator: справочник по компоновке и горячие клавиши для конструктора пакетов.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tenderly","description":"Tenderly developer documentation — Virtual Environments, Node RPC, Simulation API, Debugger, Monitor, Alerts, Web3 Actions, and more.","colors":{"primary":"#7857FF","light":"#9B83FF","dark":"#7857FF"},"logo":{"light":"https://mintcdn.com/tenderly/OpA99rKrR1G10AGk/logo/tenderly-logo-light-background.svg?fit=max\u0026auto=format\u0026n=OpA99rKrR1G10AGk\u0026q=85\u0026s=8655a53ac5f0fdc1af7c82f4e2e270ef","dark":"https://mintcdn.com/tenderly/OpA99rKrR1G10AGk/logo/tenderly-logo-dark-background.svg?fit=max\u0026auto=format\u0026n=OpA99rKrR1G10AGk\u0026q=85\u0026s=17e892ea6a8bbd3f67e2055373d36609","href":"/introduction"},"favicon":"https://mintcdn.com/tenderly/nRyi0uSIGTr6AMxX/favicon.ico?fit=max\u0026auto=format\u0026n=nRyi0uSIGTr6AMxX\u0026q=85\u0026s=6a58780606747ae9bd8a65444d16422d","api":{"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","javascript","python","go"]}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://blog.tenderly.co","label":"Blog"},{"href":"mailto:support@tenderly.co","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.tenderly.co"}},"footer":{"socials":{"x":"https://x.com/TenderlyApp","github":"https://github.com/Tenderly","linkedin":"https://www.linkedin.com/company/tenderly-co"}},"search":{"prompt":"Search the Tenderly docs..."},"styling":{"codeblocks":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"latex":true},"contextual":{"options":["copy","view","assistant","claude","chatgpt","perplexity","cursor","vscode","mcp",{"title":"Add to Claude Code","description":"Connect the Tenderly MCP server to Claude Code","icon":"terminal","href":"https://docs.tenderly.co/ai-tools/quickstart"}],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"ru","href":"ru/introduction"},{"language":"zh","href":"zh/introduction"},{"language":"hi","href":"hi/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tenderly","hasAudioNarration":false,"actualSubdomain":"tenderly","customDomains":["docs.tenderly.co"],"gitSource":{"type":"github","owner":"tenderly","repo":"tenderly-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6afdac79be4a433e33e99d69","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"Documentation","count":172},{"language":"hi","tag":"Documentation","count":164},{"language":"ru","tag":"Documentation","count":164},{"language":"zh","tag":"Documentation","count":164},{"language":"en","tag":"Simulator","count":74},{"language":"hi","tag":"Simulator","count":74},{"language":"ru","tag":"Simulator","count":74},{"language":"zh","tag":"Simulator","count":74},{"language":"default","tag":"API Reference","count":52},{"language":"en","tag":"Virtual Environments","count":42},{"language":"hi","tag":"Virtual Environments","count":42},{"language":"ru","tag":"Virtual Environments","count":42},{"language":"zh","tag":"Virtual Environments","count":42},{"language":"en","tag":"Monitor","count":30},{"language":"hi","tag":"Monitor","count":30},{"language":"ru","tag":"Monitor","count":30},{"language":"zh","tag":"Monitor","count":30},{"language":"en","tag":"How-to guides","count":28},{"language":"hi","tag":"How-to guides","count":28},{"language":"ru","tag":"How-to guides","count":28},{"language":"zh","tag":"How-to guides","count":28},{"language":"en","tag":"Console","count":27},{"language":"hi","tag":"Console","count":27},{"language":"ru","tag":"Console","count":27},{"language":"zh","tag":"Console","count":27},{"language":"en","tag":"Troubleshooting","count":22},{"language":"hi","tag":"Troubleshooting","count":22},{"language":"ru","tag":"Troubleshooting","count":22},{"language":"zh","tag":"Troubleshooting","count":22},{"language":"en","tag":"Web3 Actions","count":21},{"language":"en","tag":"Node RPC","count":21},{"language":"hi","tag":"Web3 Actions","count":21},{"language":"ru","tag":"Web3 Actions","count":21},{"language":"zh","tag":"Web3 Actions","count":21},{"language":"hi","tag":"Node RPC","count":20},{"language":"ru","tag":"Node RPC","count":20},{"language":"zh","tag":"Node RPC","count":20},{"language":"en","tag":"Simulation API","count":15},{"language":"hi","tag":"Simulation API","count":15},{"language":"ru","tag":"Simulation API","count":15},{"language":"zh","tag":"Simulation API","count":15},{"language":"default","tag":"Actions","count":10},{"language":"default","tag":"Simulator","count":9},{"language":"default","tag":"Virtual Environments","count":9},{"language":"default","tag":"Contracts","count":7},{"language":"default","tag":"Alerts","count":6},{"language":"default","tag":"Projects","count":5},{"language":"default","tag":"Wallets","count":3},{"language":"default","tag":"Delivery Channels","count":2},{"language":"default","tag":"Other","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@tenderly.co","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"html.dark .shiki,html.dark .shiki span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;text-decoration:var(--shiki-dark-text-decoration)!important}html.dark .card .primary-text{color:#9B83FF}.card .prose>div>h2,.card .prose>div>h3{color:#7857FF}html.dark .card .prose>div>h2,html.dark .card .prose>div>h3{color:#9B83FF}.card:has(.prose>div>h2) [data-component-part=\"card-content-container\"]{padding:1rem 1.25rem}html.dark .card:hover{border-color:#9B83FF!important;box-shadow:0 0 0 1px rgba(155, 131, 255, 0.25)}html:not(.dark) .card:hover{border-color:#7857FF!important;box-shadow:0 0 0 1px rgba(120, 87, 255, 0.18)}"}]}
{"page":{"pagePath":"ru/simulations/guides/mint-approve-transfer-bundle","slug":"/ru/simulations/guides/mint-approve-transfer-bundle","pageMetadata":{"title":"Симуляция пакета Mint, Approve и TransferFrom для токена","description":"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender'а и transferFrom с общим состоянием для тестирования многошаговых потоков.","href":"/ru/simulations/guides/mint-approve-transfer-bundle"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender’а и transferFrom с общим состоянием для тестирования многошаговых потоков.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Это руководство создаёт пакет симуляции из 3 шагов, который отрабатывает классический процесс одобрения ERC-20: минтинг токенов держателю, одобрение spender’у, а затем вызов `,_jsx(_components.code,{children:`transferFrom`}),` этим spender’ом. Каждый шаг зависит от состояния, создаваемого предыдущим шагом, поэтому именно пакет — правильный инструмент.`]}),`\n`,_jsx(Heading,{level:`2`,id:`зачем-нужен-пакет`,children:`Зачем нужен пакет?`}),`\n`,_jsx(_components.p,{children:`Симуляция каждой транзакции по отдельности не работает:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Только Mint`}),`: вы можете проверить логику mint, но у адреса-держателя нет токенов в mainnet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Только Approve`}),`: симуляции нужно, чтобы у держателя действительно был баланс для одобрения.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Только TransferFrom`}),`: требуется, чтобы был и баланс, и одобрение.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Sim Bundle выполняет все три последовательно, разделяя итоговое состояние. Шаг 2 видит сминтенный баланс из шага 1. Шаг 3 видит одобрение из шага 2.`}),`\n`,_jsx(Heading,{level:`2`,id:`три-транзакции`,children:`Три транзакции`}),`\n`,_jsxs(_components.p,{children:[`Все три транзакции направлены на контракт DAI в Ethereum mainnet (`,_jsx(_components.code,{children:`0x6b175474e89094c44da98b954eedeac495271d0f`}),`).`]}),`\n`,_jsx(Heading,{level:`3`,id:`шаг-1-mint-2-dai`,children:`Шаг 1. Mint 2 DAI`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte catppuccin-mocha`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#4c4f69`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`From:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0xe2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (fake `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`ward`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`To:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0x6b175474e89094c44da98b954eedeac495271d0f`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (DAI)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`Input:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0x40c10f19`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 000000000000000000000000e58b9ee93700a616b50509c8292977fa7a0f8ce1`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (recipient)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 0000000000000000000000000000000000000000000000001bc16d674ec80000`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (2 `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`DAI`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Функция `,_jsx(_components.code,{children:`mint`}),` в DAI защищена маппингом `,_jsx(_components.code,{children:`wards`}),`: вызвать её могут только адреса, зарегистрированные как wards. Fake ward (`,_jsx(_components.code,{children:`0xe2e2...e2`}),`) не является ward в mainnet. Чтобы этот шаг прошёл успешно, добавьте `,_jsx(_components.strong,{children:`переопределение состояния`}),`, которое устанавливает слот хранилища ward для этого адреса в `,_jsx(_components.code,{children:`1`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Поле`}),_jsx(_components.th,{children:`Значение`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Contract`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0x6b175474e89094c44da98b954eedeac495271d0f`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Storage key`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0xedd7d04419e9c48ceb6055956cbb4e2091ae310313a4d1fa7cbcfe7561616e03`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Value`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0x0000000000000000000000000000000000000000000000000000000000000001`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Ключ хранилища — это `,_jsx(_components.code,{children:`keccak256(abi.encode(wardAddress, 0))`}),`, стандартный слот маппинга Solidity для `,_jsx(_components.code,{children:`wards[fakeWardAddress]`}),` при позиции хранилища `,_jsx(_components.code,{children:`0`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`шаг-2-approve-1-dai`,children:`Шаг 2. Approve 1 DAI`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte catppuccin-mocha`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#4c4f69`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`From:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0xe58b9ee93700a616b50509c8292977fa7a0f8ce1`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (token `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`holder`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` from`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` step`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 1`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`To:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0x6b175474e89094c44da98b954eedeac495271d0f`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (DAI)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`Input:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0x095ea7b3`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 000000000000000000000000f7ddedc66b1d482e5c38e4730b3357d32411e5dd`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (spender)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 0000000000000000000000000000000000000000000000000de0b6b3a7640000`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (1 `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`DAI`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Держатель одобряет spender’у списание до 1 DAI. Этот шаг работает, потому что шаг 1 уже зачислил 2 DAI на баланс держателя в общем потоке состояния.`}),`\n`,_jsx(Heading,{level:`3`,id:`шаг-3-transferfrom-0-03-dai`,children:`Шаг 3. TransferFrom 0.03 DAI`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte catppuccin-mocha`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#4c4f69`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`From:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0xf7ddedc66b1d482e5c38e4730b3357d32411e5dd`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (approved `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`spender`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`To:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0x6b175474e89094c44da98b954eedeac495271d0f`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (DAI)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`Input:`}),_jsx(_components.span,{style:{color:`#FE640B`,\"--shiki-dark\":`#FAB387`},children:` 0x23b872dd`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 000000000000000000000000e58b9ee93700a616b50509c8292977fa7a0f8ce1`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (sender `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`/`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` token`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` holder`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 000000000000000000000000bd8daa414fda8a8a129f7035e7496759c5af8570`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (recipient)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:` 000000000000000000000000000000000000000000000000006a94d74f430000`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:` (0.03 `}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`DAI`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#CDD6F4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Spender перемещает 0.03 DAI от держателя получателю. Это работает, потому что шаг 2 предоставил разрешение (allowance), которое видно только внутри потока состояния пакета, а не в сети.`}),`\n`,_jsx(Heading,{level:`2`,id:`запуск-через-ui-simulator`,children:`Запуск через UI Simulator`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Откройте Sim Bundle Builder`,children:_jsxs(_components.p,{children:[`Перейдите в `,_jsx(_components.strong,{children:`Simulator`}),` в левой навигации, затем нажмите `,_jsx(_components.strong,{children:`New Simulation`}),`. Откроется конструктор пакета с одним пустым шагом.`]})}),_jsx(Step,{title:`Настройте панель сессии`,children:_jsxs(_components.p,{children:[`Панель сессии расположена сверху. Установите `,_jsx(_components.strong,{children:`Network`}),` в `,_jsx(_components.strong,{children:`Mainnet`}),` и оставьте `,_jsx(_components.strong,{children:`Block`}),` как `,_jsx(_components.strong,{children:`Pending`}),`.`]})}),_jsxs(Step,{title:`Заполните шаг 1: Mint`,children:[_jsxs(_components.p,{children:[`Переключите шаг в режим `,_jsx(_components.strong,{children:`Raw`}),`. Установите:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`From`}),`: `,_jsx(_components.code,{children:`0xe2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To`}),`: `,_jsx(_components.code,{children:`0x6b175474e89094c44da98b954eedeac495271d0f`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Calldata`}),`: `,_jsx(_components.code,{children:`0x40c10f19000000000000000000000000e58b9ee93700a616b50509c8292977fa7a0f8ce10000000000000000000000000000000000000000000000001bc16d674ec80000`})]}),`\n`]}),_jsxs(_components.p,{children:[`Затем раскройте `,_jsx(_components.strong,{children:`State overrides`}),`, добавьте контракт DAI и введите слот хранилища ward и значение из таблицы выше. Нажмите `,_jsx(_components.strong,{children:`Add storage override`}),`, чтобы зафиксировать слот.`]}),_jsx(Frame,{caption:`Step 1 with the mint calldata filled and the ward state override configured.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=7bc42b094c26b08690b3d36992cc2f58`,alt:`Step 1 mint transaction configured with state override`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/simulator-ui/sim-bundle-step1-mint-result.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=b1d8125888010939343873a8f35fb59c 280w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=7a723f73749a729e5754ab94f98c4ac8 560w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=897a334c90f8545af1a083e06c232cb7 840w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=2af8fcd824e550827c1e0dbd619c385c 1100w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=8f761f8b78e148b814eec686790bee51 1650w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step1-mint-result.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=e2022c1ae737daf1e2647f8f26722336 2500w`})})]}),_jsxs(Step,{title:`Добавьте шаг 2: Approve`,children:[_jsxs(_components.p,{children:[`Нажмите `,_jsx(_components.strong,{children:`+ Add function call`}),` на панели пакета. Переключите новый шаг в режим `,_jsx(_components.strong,{children:`Raw`}),`. Установите:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`From`}),`: `,_jsx(_components.code,{children:`0xe58b9ee93700a616b50509c8292977fa7a0f8ce1`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To`}),`: `,_jsx(_components.code,{children:`0x6b175474e89094c44da98b954eedeac495271d0f`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Calldata`}),`: `,_jsx(_components.code,{children:`0x095ea7b3000000000000000000000000f7ddedc66b1d482e5c38e4730b3357d32411e5dd0000000000000000000000000000000000000000000000000de0b6b3a7640000`})]}),`\n`]})]}),_jsxs(Step,{title:`Добавьте шаг 3: TransferFrom`,children:[_jsxs(_components.p,{children:[`Добавьте ещё один шаг. Переключитесь в режим `,_jsx(_components.strong,{children:`Raw`}),`. Установите:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`From`}),`: `,_jsx(_components.code,{children:`0xf7ddedc66b1d482e5c38e4730b3357d32411e5dd`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To`}),`: `,_jsx(_components.code,{children:`0x6b175474e89094c44da98b954eedeac495271d0f`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Calldata`}),`: `,_jsx(_components.code,{children:`0x23b872dd000000000000000000000000e58b9ee93700a616b50509c8292977fa7a0f8ce1000000000000000000000000bd8daa414fda8a8a129f7035e7496759c5af8570000000000000000000000000000000000000000000000000006a94d74f430000`})]}),`\n`]})]}),_jsxs(Step,{title:`Запустите пакет`,children:[_jsxs(_components.p,{children:[`Нажмите `,_jsx(_components.strong,{children:`Simulate`}),` (или клавиши `,_jsx(_components.code,{\"data-symbols\":`true`,children:`⌘↵`}),`). Все три шага выполняются последовательно. Нажмите каждый шаг на панели, чтобы просмотреть его декодированный вывод, использованный газ, события и трансферы токенов.`]}),_jsx(Frame,{caption:`The bundle after running: step 2 (approve) is focused, showing the Approval event and decoded output.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=f5e7d7ea168a4e57c85d8f900b632e53`,alt:`Step 2 approve result showing the Approval event`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/simulator-ui/sim-bundle-step2-approve-result.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=56cacb798c3919121275abecafba05fc 280w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=7b8a9b80e495a2da2b28cfaa2b38da7e 560w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=37d07a160024ea5d82b6c1bd39b889a7 840w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=c254bb28e69625812d2b6b4f6349c9ee 1100w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=1e94e0ff586c64344cd38280b3810dfa 1650w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step2-approve-result.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=8a8b15bd6006072c6a2ac83c72ea1246 2500w`})}),_jsx(Frame,{caption:`Step 3 (transferFrom) succeeded. The 0.03 DAI transfer is visible in the ERC-20 transfers tab.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=3880b61afb94b616875f6c3be3d71467`,alt:`Step 3 transferFrom result showing the DAI transfer`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/simulator-ui/sim-bundle-step3-transfer-result.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?w=280\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=8cbc207873e24388f119e5b0c2789c4a 280w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?w=560\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=7945be2dd941fe83de0041e3dc02f8dd 560w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?w=840\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=21f203c31fcad5734fdc5754d9667933 840w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=e695e4413a951c0dd964707896d20e85 1100w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=6d549c27ea4c90bf79ad486c83f13864 1650w, https://mintcdn.com/tenderly/XsEZlaGXYskrtN68/images/simulator-ui/sim-bundle-step3-transfer-result.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=XsEZlaGXYskrtN68\u0026q=85\u0026s=e6edcf0bc3c59319903ae193724fab6f 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`запуск-через-simulation-api`,children:`Запуск через Simulation API`}),`\n`,_jsxs(_components.p,{children:[`Используйте эндпоинт `,_jsx(_components.code,{children:`simulate-bundle`}),`, чтобы запустить ту же последовательность программно. Замените `,_jsx(_components.code,{children:`{accountSlug}`}),` и `,_jsx(_components.code,{children:`{projectSlug}`}),` на ваши значения.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`42`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte catppuccin-mocha`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#4c4f69`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`42`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`curl`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` --request`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` POST`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` --url`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` https://api.tenderly.co/api/v1/account/{accountSlug}/project/{projectSlug}/simulate-bundle`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` --header`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` --header`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` 'X-Access-Key: \u003capi-key>'`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` --data`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"simulations\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"network_id\": \"1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"save\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"save_if_fails\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"simulation_type\": \"full\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"from\": \"0xe2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"to\": \"0x6b175474e89094c44da98b954eedeac495271d0f\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"input\": \"0x40c10f19000000000000000000000000e58b9ee93700a616b50509c8292977fa7a0f8ce10000000000000000000000000000000000000000000000001bc16d674ec80000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"state_objects\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"0x6b175474e89094c44da98b954eedeac495271d0f\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"storage\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"0xedd7d04419e9c48ceb6055956cbb4e2091ae310313a4d1fa7cbcfe7561616e03\": \"0x0000000000000000000000000000000000000000000000000000000000000001\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"network_id\": \"1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"save\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"save_if_fails\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"simulation_type\": \"full\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"from\": \"0xe58b9ee93700a616b50509c8292977fa7a0f8ce1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"to\": \"0x6b175474e89094c44da98b954eedeac495271d0f\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"input\": \"0x095ea7b3000000000000000000000000f7ddedc66b1d482e5c38e4730b3357d32411e5dd0000000000000000000000000000000000000000000000000de0b6b3a7640000\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"network_id\": \"1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"save\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"save_if_fails\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"simulation_type\": \"full\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"from\": \"0xf7ddedc66b1d482e5c38e4730b3357d32411e5dd\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"to\": \"0x6b175474e89094c44da98b954eedeac495271d0f\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"input\": \"0x23b872dd000000000000000000000000e58b9ee93700a616b50509c8292977fa7a0f8ce1000000000000000000000000bd8daa414fda8a8a129f7035e7496759c5af8570000000000000000000000000000000000000000000000000006a94d74f430000\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`}'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Ответ — массив из трёх результатов симуляции, по одному на шаг. Каждая запись содержит `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`gasUsed`}),`, декодированные `,_jsx(_components.code,{children:`logs`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`assetChanges`}),` и `,_jsx(_components.code,{children:`balanceChanges`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Успешное выполнение показывает `,_jsx(_components.code,{children:`\"status\": true`}),` для всех трёх шагов. Если шаг откатывается (например, потому что в шаге 1 отсутствует переопределение состояния), API возвращает все результаты вплоть до сбойного шага включительно, а последующие шаги не выполняются.`]}),`\n`,_jsx(Heading,{level:`2`,id:`на-что-обращать-внимание-в-результатах`,children:`На что обращать внимание в результатах`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Шаг`}),_jsx(_components.th,{children:`Ключевые сигналы`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Mint`}),_jsxs(_components.td,{children:[`Запись `,_jsx(_components.code,{children:`assetChanges`}),` с `,_jsx(_components.code,{children:`\"type\": \"Mint\"`}),` и зачислением 2 DAI держателю. Событие `,_jsx(_components.code,{children:`Transfer`}),` с нулевого адреса.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Approve`}),_jsxs(_components.td,{children:[`Событие `,_jsx(_components.code,{children:`Approval`}),` в `,_jsx(_components.code,{children:`logs`}),`. Изменений активов нет (approve не перемещает токены).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`TransferFrom`}),_jsxs(_components.td,{children:[`Запись `,_jsx(_components.code,{children:`assetChanges`}),` с `,_jsx(_components.code,{children:`\"type\": \"Transfer\"`}),` и перемещением 0.03 DAI от держателя к получателю. Событие `,_jsx(_components.code,{children:`Transfer`}),` в `,_jsx(_components.code,{children:`logs`}),`. `,_jsx(_components.code,{children:`balanceChanges`}),` показывает отрицательное изменение у держателя и положительное у получателя.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`следующие-шаги`,children:`Следующие шаги`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/simulations/bundled-simulations`,children:`Пакетные симуляции (справочник API)`}),`: полная документация по эндпоинту и схеме ответа.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/simulations/state-overrides`,children:`Переопределения состояния`}),`: как переопределять хранилище, баланс и байткод в симуляциях.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/simulator-ui/overview`,children:`UI Simulator`}),`: справочник по компоновке и горячие клавиши для конструктора пакетов.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"config":{},"pageMetadata":{"title":"Симуляция пакета Mint, Approve и TransferFrom для токена","description":"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender'а и transferFrom с общим состоянием для тестирования многошаговых потоков.","href":"/ru/simulations/guides/mint-approve-transfer-bundle"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Зачем нужен пакет?","slug":"зачем-нужен-пакет","depth":2,"children":[]},{"title":"Три транзакции","slug":"три-транзакции","depth":2,"children":[{"title":"Шаг 1. Mint 2 DAI","slug":"шаг-1-mint-2-dai","depth":3,"children":[]},{"title":"Шаг 2. Approve 1 DAI","slug":"шаг-2-approve-1-dai","depth":3,"children":[]},{"title":"Шаг 3. TransferFrom 0.03 DAI","slug":"шаг-3-transferfrom-0-03-dai","depth":3,"children":[]}]},{"title":"Запуск через UI Simulator","slug":"запуск-через-ui-simulator","depth":2,"children":[]},{"title":"Запуск через Simulation API","slug":"запуск-через-simulation-api","depth":2,"children":[]},{"title":"На что обращать внимание в результатах","slug":"на-что-обращать-внимание-в-результатах","depth":2,"children":[]},{"title":"Следующие шаги","slug":"следующие-шаги","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/tenderly/e48e729c569a2535/node-rpc/rpc-explorer.js","/_mintlify/custom/tenderly/5632beced686958d/platform/supported-networks.js","/_mintlify/custom/tenderly/896485a8a0369426/seo-schema.js","/_mintlify/custom/tenderly/072d16806bddf995/matomo.js"],"subdomain":"tenderly","siteName":"Tenderly","title":"Симуляция пакета Mint, Approve и TransferFrom для токена - Tenderly","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/simulations/guides/mint-approve-transfer-bundle","matchLevel":1},"ru":{"href":"/ru/simulations/guides/mint-approve-transfer-bundle","matchLevel":0},"zh":{"href":"/zh/simulations/guides/mint-approve-transfer-bundle","matchLevel":1},"hi":{"href":"/hi/simulations/guides/mint-approve-transfer-bundle","matchLevel":1}}},"lastModified":"2026-08-25T10:18:21.391Z","originalFileLocation":"ru/simulations/guides/mint-approve-transfer-bundle.mdx","locale":"ru"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender\u0026#x27;а и transferFrom с общим состоянием для тестирования многошаговых потоков.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tenderly\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Симуляция пакета Mint, Approve и TransferFrom для токена - Tenderly\">\u003cmeta data-mint-head property=\"og:description\" content=\"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender\u0026#x27;а и transferFrom с общим состоянием для тестирования многошаговых потоков.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tenderly\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tenderly.mintlify.site/_mintlify/api/og/v2?division=Simulation+Bundles\u0026amp;title=%D0%A1%D0%B8%D0%BC%D1%83%D0%BB%D1%8F%D1%86%D0%B8%D1%8F+%D0%BF%D0%B0%D0%BA%D0%B5%D1%82%D0%B0+Mint%2C+Approve+%D0%B8+TransferFrom+%D0%B4%D0%BB%D1%8F+%D1%82%D0%BE%D0%BA%D0%B5%D0%BD%D0%B0\u0026amp;description=%D0%A0%D1%83%D0%BA%D0%BE%D0%B2%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%BE+%D0%BF%D0%BE+%D0%B1%D0%B0%D0%BD%D0%B4%D0%BB%D1%83+%D1%81%D0%B8%D0%BC%D1%83%D0%BB%D1%8F%D1%86%D0%B8%D0%B9+%D0%B8%D0%B7+3+%D1%88%D0%B0%D0%B3%D0%BE%D0%B2%3A+%D0%BC%D0%B8%D0%BD%D1%82+DAI%2C+approve+spender%27%D0%B0+%D0%B8+transferFrom+%D1%81+%D0%BE%D0%B1%D1%89%D0%B8%D0%BC+%D1%81%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B5%D0%BC+%D0%B4%D0%BB%D1%8F+%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F+%D0%BC%D0%BD%D0%BE%D0%B3%D0%BE%D1%88%D0%B0%D0%B3%D0%BE%D0%B2%D1%8B%D1%85+%D0%BF%D0%BE%D1%82%D0%BE%D0%BA%D0%BE%D0%B2.\u0026amp;theme=d68946a38df58d85d11dd0b0\u0026amp;signature=4e5c87bcd6edbc4df1b0bdb548ac547392fceb848edd55e8a1a3e09e72ff5752\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Симуляция пакета Mint, Approve и TransferFrom для токена - Tenderly\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender\u0026#x27;а и transferFrom с общим состоянием для тестирования многошаговых потоков.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tenderly.mintlify.site/_mintlify/api/og/v2?division=Simulation+Bundles\u0026amp;title=%D0%A1%D0%B8%D0%BC%D1%83%D0%BB%D1%8F%D1%86%D0%B8%D1%8F+%D0%BF%D0%B0%D0%BA%D0%B5%D1%82%D0%B0+Mint%2C+Approve+%D0%B8+TransferFrom+%D0%B4%D0%BB%D1%8F+%D1%82%D0%BE%D0%BA%D0%B5%D0%BD%D0%B0\u0026amp;description=%D0%A0%D1%83%D0%BA%D0%BE%D0%B2%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%BE+%D0%BF%D0%BE+%D0%B1%D0%B0%D0%BD%D0%B4%D0%BB%D1%83+%D1%81%D0%B8%D0%BC%D1%83%D0%BB%D1%8F%D1%86%D0%B8%D0%B9+%D0%B8%D0%B7+3+%D1%88%D0%B0%D0%B3%D0%BE%D0%B2%3A+%D0%BC%D0%B8%D0%BD%D1%82+DAI%2C+approve+spender%27%D0%B0+%D0%B8+transferFrom+%D1%81+%D0%BE%D0%B1%D1%89%D0%B8%D0%BC+%D1%81%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B5%D0%BC+%D0%B4%D0%BB%D1%8F+%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F+%D0%BC%D0%BD%D0%BE%D0%B3%D0%BE%D1%88%D0%B0%D0%B3%D0%BE%D0%B2%D1%8B%D1%85+%D0%BF%D0%BE%D1%82%D0%BE%D0%BA%D0%BE%D0%B2.\u0026amp;theme=d68946a38df58d85d11dd0b0\u0026amp;signature=4e5c87bcd6edbc4df1b0bdb548ac547392fceb848edd55e8a1a3e09e72ff5752\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tenderly\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7857FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ru/simulations/guides/mint-approve-transfer-bundle.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.tenderly.co/simulations/guides/mint-approve-transfer-bundle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.tenderly.co/zh/simulations/guides/mint-approve-transfer-bundle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.tenderly.co/hi/simulations/guides/mint-approve-transfer-bundle\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.tenderly.co/simulations/guides/mint-approve-transfer-bundle\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tenderly.co/#organization\",\"name\":\"Tenderly\",\"url\":\"https://docs.tenderly.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tenderly/OpA99rKrR1G10AGk/logo/tenderly-logo-light-background.svg?fit=max\u0026auto=format\u0026n=OpA99rKrR1G10AGk\u0026q=85\u0026s=8655a53ac5f0fdc1af7c82f4e2e270ef\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tenderly.co#website\",\"name\":\"Tenderly\",\"url\":\"https://docs.tenderly.co\",\"publisher\":{\"@id\":\"https://docs.tenderly.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle#webpage\",\"url\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle\",\"name\":\"Симуляция пакета Mint, Approve и TransferFrom для токена\",\"description\":\"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender'а и transferFrom с общим состоянием для тестирования многошаговых потоков.\",\"dateModified\":\"2026-08-25T10:18:21.391Z\",\"isPartOf\":{\"@id\":\"https://docs.tenderly.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Simulator\",\"item\":\"https://docs.tenderly.co/ru/virtual-environments/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simulator UI Builder\",\"item\":\"https://docs.tenderly.co/ru/simulator-ui/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Simulation Bundles\",\"item\":\"https://docs.tenderly.co/ru/simulator-ui/simulation-bundles\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Симуляция пакета Mint, Approve и TransferFrom для токена\",\"item\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle#article\",\"headline\":\"Симуляция пакета Mint, Approve и TransferFrom для токена\",\"name\":\"Симуляция пакета Mint, Approve и TransferFrom для токена\",\"description\":\"Руководство по бандлу симуляций из 3 шагов: минт DAI, approve spender'а и transferFrom с общим состоянием для тестирования многошаговых потоков.\",\"url\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tenderly.co/ru/simulations/guides/mint-approve-transfer-bundle#webpage\"},\"dateModified\":\"2026-08-25T10:18:21.391Z\",\"publisher\":{\"@id\":\"https://docs.tenderly.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tenderly.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tenderly\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Tenderly\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ru/simulations/guides/mint-approve-transfer-bundle.md","siteName":"Tenderly","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/simulations/guides/mint-approve-transfer-bundle"}]},{"language":"ru","tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","public":true,"pages":[{"title":"Документация Tenderly: симуляция, отладка и мониторинг","sidebarTitle":"Что такое Tenderly?","href":"/ru/introduction"},{"title":"Что вы получаете","href":"/ru/what-you-get"}]},{"group":"Simulator","public":true,"pages":[{"group":"Virtual Environments","public":true,"pages":[{"title":"Virtual Environments","href":"/ru/virtual-environments/overview"},{"group":"Get started","public":true,"pages":[{"title":"Virtual Environment quickstart","href":"/ru/virtual-environments/quickstart"},{"title":"Multichain quickstart","href":"/ru/virtual-environments/multichain/quickstart"}]},{"group":"How-to guides","public":true,"pages":[{"group":"Setup \u0026 connections","public":true,"pages":[{"title":"Добавление Virtual Environments в кошельки","href":"/ru/virtual-environments/interact/add-to-wallet"},{"title":"Подключение к WebSocket в Virtual Environments","href":"/ru/virtual-environments/interact/websockets"},{"title":"Руководства по интеграции Virtual Environment","href":"/ru/virtual-environments/integrations"},{"group":"Libraries","public":true,"pages":[{"title":"Ethers.js","href":"/ru/virtual-environments/libraries/ethers"},{"title":"Viem","href":"/ru/virtual-environments/libraries/viem"}]},{"group":"Wallet UIs","public":true,"pages":[{"title":"Wagmi","href":"/ru/virtual-environments/dapp-ui/wagmi"},{"title":"Reown AppKit","href":"/ru/virtual-environments/dapp-ui/reown"},{"title":"ConnectKit","href":"/ru/virtual-environments/dapp-ui/connectkit"},{"title":"Dynamic","href":"/ru/virtual-environments/dapp-ui/dynamic"},{"title":"RainbowKit","href":"/ru/virtual-environments/dapp-ui/rainbowkit"}]}]},{"group":"Network \u0026 state","public":true,"pages":[{"title":"Форк Virtual Environment","href":"/ru/virtual-environments/develop/fork-testnet"},{"title":"Откат состояния Virtual Environment","href":"/ru/virtual-environments/develop/revert-state"},{"title":"Работа с временными метками в Virtual Environments","href":"/ru/virtual-environments/develop/timestamps"},{"title":"Бэктест позиции в токене на исторических блоках","href":"/ru/virtual-environments/network-mirror-backtest"}]},{"group":"Transactions \u0026 debugging","public":true,"pages":[{"title":"Отправка транзакций в Virtual Environments","href":"/ru/virtual-environments/interact/send-transactions"},{"title":"Симуляция транзакций в Virtual Environment","href":"/ru/virtual-environments/interact/simulate-transactions"},{"title":"Отладка транзакций","href":"/ru/virtual-environments/develop/debug-transactions"}]},{"group":"Smart contracts","public":true,"pages":[{"title":"Деплой и верификация контрактов","href":"/ru/virtual-environments/develop/deploy-contracts"},{"title":"Верификация прокси-контрактов с Foundry","href":"/ru/virtual-environments/develop/verify-proxy-contracts"},{"title":"Чит-код развёртывания байткода","href":"/ru/virtual-environments/develop/bytecode-deployment"},{"title":"Туториал по чит-кодам в Foundry","href":"/ru/virtual-environments/develop/solidity-cheatcodes"},{"title":"Индексация Virtual Environment с помощью The Graph","href":"/ru/virtual-environments/develop/thegraph"},{"title":"Запуск бандлера и paymaster Pimlico в Virtual Environment","sidebarTitle":"Бандлер Pimlico","href":"/ru/virtual-environments/develop/pimlico-bundler"}]},{"group":"CI/CD \u0026 staging","public":true,"pages":[{"title":"Hardhat и Github Actions","href":"/ru/virtual-environments/ci-cd/github-actions-hardhat"},{"title":"Foundry и Github Actions","href":"/ru/virtual-environments/ci-cd/github-actions-foundry"},{"title":"Стейджинг контрактов","href":"/ru/virtual-environments/ci-cd/stage-contracts"},{"title":"Подключение UI dapp к Virtual Environment","href":"/ru/virtual-environments/ci-cd/stage-dapps"},{"title":"Создание Virtual Environments через API","href":"/ru/virtual-environments/develop/create-virtual-environment-via-api"}]}]},{"group":"Concepts","public":true,"pages":[{"title":"Virtual Environment Explorer","href":"/ru/virtual-environments/explorer"},{"title":"Unlimited Faucet","href":"/ru/virtual-environments/unlimited-faucet"},{"title":"State Sync","href":"/ru/virtual-environments/state-sync"},{"title":"Network Mirror Mode","href":"/ru/virtual-environments/network-mirror-mode"},{"title":"Named RPC URLs","href":"/ru/virtual-environments/named-rpc-urls"},{"group":"Multichain","public":true,"pages":[{"title":"Multichain Virtual Environments","href":"/ru/virtual-environments/multichain/overview"},{"title":"Bridges","href":"/ru/virtual-environments/multichain/bridges"}]}]},{"group":"Reference","public":true,"pages":[{"title":"Справочник по панели Virtual Environment","sidebarTitle":"Справочник по панели","href":"/ru/virtual-environments/dashboard"},{"title":"Пользовательские методы RPC","href":"/ru/virtual-environments/admin-rpc"},{"title":"Solidity Cheatcodes","href":"/ru/virtual-environments/precompiles"},{"title":"REST API","href":"/ru/virtual-environments/rest-api"}]}]},{"group":"Simulator UI Builder","public":true,"pages":[{"group":"Simulator UI","public":true,"pages":[{"title":"Simulator UI","sidebarTitle":"Обзор","href":"/ru/simulator-ui/overview"},{"title":"Симуляция с State Overrides","href":"/ru/simulator-ui/state-overrides"},{"title":"Поделиться draft-ссылкой Simulator","href":"/ru/simulator-ui/draft-links"},{"title":"Поделиться симуляцией по публичной ссылке","sidebarTitle":"Поделиться симуляцией","href":"/ru/simulator-ui/share-simulation"}]},{"group":"Simulation Bundles","public":true,"pages":[{"title":"Симуляционные бандлы","sidebarTitle":"Обзор","description":"Создавайте симуляционные бандлы до пяти транзакций с общим состоянием в Tenderly Simulator: каждый шаг видит изменения предыдущих шагов бандла.","href":"/ru/simulator-ui/simulation-bundles"},{"title":"Симуляция пакета Mint, Approve и TransferFrom для токена","href":"/ru/simulations/guides/mint-approve-transfer-bundle"}]},{"title":"Параметры симуляции","description":"Справочник параметров builder'а симуляций Tenderly: значения сессии по умолчанию, блок и индекс транзакции, поля шагов и cheatcodes каждого шага.","href":"/ru/simulator-ui/parameters"},{"title":"Редактирование исходного кода контракта","href":"/ru/simulator-ui/editing-contract-source"}]},{"group":"Simulation API","public":true,"pages":[{"title":"Обзор симуляций","href":"/ru/simulations/overview"},{"title":"Быстрый старт с симуляциями","href":"/ru/simulations/quickstart"},{"group":"Features","public":true,"pages":[{"title":"Одиночные симуляции","href":"/ru/simulations/single-simulations"},{"title":"Пакетные симуляции","href":"/ru/simulations/bundled-simulations"}]},{"group":"Use Cases","public":true,"pages":[{"title":"Предпросмотр транзакции","href":"/ru/simulations/transaction-preview"},{"title":"Изменения активов и балансов","href":"/ru/simulations/asset-balance-changes"},{"title":"Simulation API с переопределениями состояния","href":"/ru/simulations/state-overrides"},{"title":"Оценка газа","href":"/ru/simulations/gas-estimation"}]},{"title":"Режимы симуляции","href":"/ru/simulations/simulation-modes"},{"title":"Tenderly TX Preview Snap","href":"/ru/platform/tx-preview-snap"},{"group":"Guides","public":true,"pages":[{"title":"Сухой прогон пользовательских транзакций","href":"/ru/simulations/guides/dry-run-user-transactions"},{"title":"Предпросмотр транзакции в MetaMask Snap","href":"/ru/simulations/guides/metamask-snap"},{"title":"Предпросмотр транзакции в Rabby Wallet","href":"/ru/simulations/guides/rabby-wallet"},{"title":"Симуляция транзакций Safe{Wallet} в своём проекте Tenderly","sidebarTitle":"Симуляции Safe{Wallet}","href":"/ru/simulations/guides/safe-wallet"},{"title":"Использование Simulation RPC в UI dapp'а","href":"/ru/simulations/guides/simulation-rpc-dapp-ui"}]}]},{"group":"Simulation Mode","public":true,"pages":[{"title":"Simulation Mode","href":"/ru/simulator-ui/simulation-mode"}]},{"group":"Tenderly SDK","public":true,"pages":[{"title":"Знакомство с Tenderly SDK","href":"/ru/platform/sdk/introduction"},{"title":"Основные концепции и FAQ","href":"/ru/platform/sdk/concepts"},{"title":"Симуляция транзакций с Tenderly SDK","href":"/ru/platform/sdk/simulating-transactions"},{"title":"Управление контрактами","href":"/ru/platform/sdk/managing-contracts"},{"title":"Управление кошельками","href":"/ru/platform/sdk/managing-wallets"},{"title":"Практические примеры","href":"/ru/platform/sdk/examples"},{"group":"Tutorials","public":true,"pages":[{"title":"Симуляция транзакций через SDK","href":"/ru/platform/sdk/tutorials/simulate-transactions"},{"title":"Бандлы симуляций с SDK","href":"/ru/platform/sdk/tutorials/simulation-bundles"}]}]}]},{"group":"Console","public":true,"pages":[{"group":"Explorer","public":true,"pages":[{"title":"Developer Explorer","href":"/ru/developer-explorer/overview"},{"title":"Дашборд Project Home","sidebarTitle":"Project Home","href":"/ru/developer-explorer/project-home"},{"title":"Список транзакций","href":"/ru/developer-explorer/transaction-listing"},{"group":"Inspect Transaction","public":true,"pages":[{"title":"Изучение трассы вызовов и изменений состояния транзакции","sidebarTitle":"Транзакции","href":"/ru/developer-explorer/inspect-transaction/overview"},{"title":"Fund Flow","href":"/ru/developer-explorer/inspect-transaction/fund-flow"}]},{"title":"Смарт-контракты","href":"/ru/developer-explorer/contracts"},{"title":"Добавление и отслеживание кошельков в проекте Tenderly","sidebarTitle":"Кошельки","href":"/ru/developer-explorer/wallets"},{"title":"Simulation Mode в Explorer","href":"/ru/developer-explorer/simulation-mode"}]},{"group":"DeFi Modules","public":true,"pages":[{"title":"DeFi Modules: протоколо-специфичные UI-поверхности","sidebarTitle":"DeFi Modules","href":"/ru/defi-modules/overview"},{"title":"Aave V3","href":"/ru/defi-modules/aave"},{"title":"Uniswap V3","href":"/ru/defi-modules/uniswap"},{"title":"Morpho","href":"/ru/defi-modules/morpho"},{"title":"Ценовые фиды Chainlink и Chronicle","sidebarTitle":"Ценовые фиды оракулов","href":"/ru/defi-modules/oracle-price-feeds"}]},{"group":"Debugger","public":true,"pages":[{"title":"Как использовать Tenderly Debugger","href":"/ru/debugger/overview"},{"title":"Обзор выполнения","href":"/ru/debugger/execution-overview"},{"title":"Комментарии и приоритеты трасс","href":"/ru/debugger/commenting"},{"title":"Gas Profiler","href":"/ru/debugger/gas-profiler"},{"title":"Вычисление выражений в Advanced Debugger","href":"/ru/debugger/evaluate-expression"},{"title":"War Room Aid Kit","href":"/ru/debugger/war-room-aid-kit"},{"title":"Расширение Dev Toolkit для браузера","href":"/ru/debugger/dev-toolkit"},{"group":"Guides","public":true,"pages":[{"title":"Расследование неудачной транзакции","href":"/ru/debugger/guides/failed-transaction"},{"title":"Расследование взлома (Cover Protocol)","href":"/ru/debugger/guides/hack-investigation"}]}]},{"group":"Contract Verification","public":true,"pages":[{"title":"Верификация смарт-контрактов","href":"/ru/contract-verification/overview"},{"title":"Верификация контрактов через Dashboard","href":"/ru/contract-verification/dashboard"},{"title":"Верификация смарт-контрактов через Foundry","href":"/ru/contract-verification/foundry"},{"title":"Верификация смарт-контрактов через Hardhat","href":"/ru/contract-verification/hardhat"},{"title":"Верификация прокси-контрактов","href":"/ru/contract-verification/hardhat-proxy"}]}]},{"group":"Monitor","public":true,"pages":[{"group":"Alerts","public":true,"pages":[{"title":"Введение в Alerts","href":"/ru/monitoring/alerts/introduction"},{"title":"Типы оповещений, цели и параметры","href":"/ru/monitoring/alerts/types"},{"title":"Использование Alerts API","href":"/ru/monitoring/alerts/api"},{"group":"Destinations","public":true,"pages":[{"title":"Назначения оповещений","href":"/ru/monitoring/alerts/destinations/overview"},{"title":"На уровне проекта","href":"/ru/monitoring/alerts/destinations/project-scoped"},{"title":"На уровне аккаунта","href":"/ru/monitoring/alerts/destinations/account-scoped"},{"title":"Настройка Alerts как триггеров для Web3 Actions","href":"/ru/monitoring/alerts/destinations/web3-action"}]},{"group":"Tutorials","public":true,"pages":[{"title":"Руководство по быстрому старту Alerting","href":"/ru/monitoring/alerts/tutorials/quickstart"},{"title":"Как использовать Webhooks для оповещений","href":"/ru/monitoring/alerts/tutorials/webhooks"}]}]},{"group":"Web3 Actions","public":true,"pages":[{"title":"Введение в Web3 Actions","href":"/ru/monitoring/web3-actions/introduction"},{"title":"Лимиты использования","href":"/ru/monitoring/web3-actions/usage-rate-limits"},{"group":"Tutorials","public":true,"pages":[{"title":"Развёртывание Web3 Actions через Dashboard","href":"/ru/monitoring/web3-actions/tutorials/deploy-via-dashboard"},{"title":"Развёртывание Web3 Action через CLI","href":"/ru/monitoring/web3-actions/tutorials/deploy-via-cli"},{"title":"Как обрабатывать on-chain события","href":"/ru/monitoring/web3-actions/tutorials/on-chain-events"},{"title":"Как получить доступ к Node RPC из Web3 Actions","href":"/ru/monitoring/web3-actions/tutorials/node-rpc-access"},{"title":"Как создать собственный оракул","href":"/ru/monitoring/web3-actions/tutorials/custom-oracle"},{"title":"Оповещения в Discord о новых пулах Uniswap","href":"/ru/monitoring/web3-actions/tutorials/discord-uniswap-pools"},{"title":"Мониторинг создания пулов UniswapV3","href":"/ru/monitoring/web3-actions/tutorials/monitor-uniswap-v3-pools"},{"title":"Уведомления о выходе валидаторов Lido","href":"/ru/monitoring/web3-actions/tutorials/validators-exits"},{"title":"Модульный мониторинг с Web3 Actions","href":"/ru/monitoring/web3-actions/tutorials/modular-actions"}]},{"group":"References","public":true,"pages":[{"title":"Доступ к Node RPC","href":"/ru/monitoring/web3-actions/references/node-rpc-access"},{"title":"Функции, события и триггеры Action","href":"/ru/monitoring/web3-actions/references/functions-events-triggers"},{"title":"Context: Gateway, Storage, Secrets","href":"/ru/monitoring/web3-actions/references/context"},{"title":"Выполнение Action","href":"/ru/monitoring/web3-actions/references/execution"},{"title":"Структура проекта","href":"/ru/monitoring/web3-actions/references/project-structure"},{"title":"Шпаргалка по CLI","href":"/ru/monitoring/web3-actions/references/cli-cheatsheet"},{"title":"Локальная разработка и тестирование","href":"/ru/monitoring/web3-actions/references/local-development"},{"title":"Уведомления о сбоях Web3 Actions","sidebarTitle":"Уведомления","href":"/ru/monitoring/web3-actions/references/notifications"},{"title":"Управление жизненным циклом Web3 Actions","href":"/ru/monitoring/web3-actions/references/lifecycle"},{"title":"Error Reporting","href":"/ru/monitoring/web3-actions/references/error-reporting"}]}]}]},{"group":"Node RPC","public":true,"pages":[{"title":"Node RPC: доступ к 70+ блокчейн-сетям через RPC","sidebarTitle":"Node RPC","href":"/ru/node-rpc/overview"},{"group":"Simulations \u0026 Gas Estimation","public":true,"pages":[{"title":"Симуляция транзакций через JSON-RPC","href":"/ru/node-rpc/guides/simulate-json-rpc"},{"title":"Симуляция бандлов","href":"/ru/node-rpc/guides/simulate-bundle-json-rpc"},{"title":"Симуляция блоков с eth_simulateV1","href":"/ru/node-rpc/guides/eth-simulatev1"},{"title":"Трассировка транзакций","href":"/ru/node-rpc/guides/trace-json-rpc"}]},{"group":"Integrations","public":true,"pages":[{"title":"Руководства по интеграции","href":"/ru/node-rpc/integrations"},{"group":"Libraries","public":true,"pages":[{"title":"Подключение Ethers.js v6 и v5 к Tenderly Node RPC","href":"/ru/node-rpc/libraries/ethers"},{"title":"Подключение viem к эндпоинтам Tenderly Node RPC","href":"/ru/node-rpc/libraries/viem"},{"title":"Подключение Go-приложений к Tenderly Node RPC через geth","href":"/ru/node-rpc/libraries/go"},{"title":"Подключение Web3.py к Tenderly Node RPC","href":"/ru/node-rpc/libraries/web3-py"}]},{"group":"Frameworks","public":true,"pages":[{"title":"Деплой контрактов через Foundry и Tenderly Node RPC","href":"/ru/node-rpc/frameworks/foundry"},{"title":"Деплой и тестирование Hardhat через Tenderly Node RPC","href":"/ru/node-rpc/frameworks/hardhat"}]},{"group":"Wallet UIs","public":true,"pages":[{"title":"Настройка транспортов wagmi с Tenderly Node RPC","href":"/ru/node-rpc/dapp-ui/wagmi"},{"title":"Настройка Reown AppKit с Tenderly Node RPC","href":"/ru/node-rpc/dapp-ui/reown"},{"title":"Подключение ConnectKit к Tenderly Node RPC","href":"/ru/node-rpc/dapp-ui/connectkit"},{"title":"Tenderly Node RPC для Web3-аутентификации в Dynamic","href":"/ru/node-rpc/dapp-ui/dynamic"},{"title":"Настройка RainbowKit с транспортами Tenderly Node RPC","href":"/ru/node-rpc/dapp-ui/rainbowkit"}]},{"group":"Indexers","public":true,"pages":[{"title":"Запуск Graph Node на Tenderly Node RPC","href":"/ru/node-rpc/indexers/graph-node"}]}]},{"group":"Reference","public":true,"pages":[{"title":"Справочник JSON-RPC","href":"/ru/node-rpc/rpc-reference"}]},{"title":"Тарификация Node RPC","href":"/ru/node-rpc/pricing"}]},{"group":"AI Tools","public":true,"pages":[{"title":"Tenderly MCP Server для Claude и AI-ассистентов","href":"/ru/ai-tools/overview"},{"title":"Быстрый старт Tenderly MCP Server для Claude","href":"/ru/ai-tools/quickstart"},{"title":"Справочник инструментов Tenderly MCP Server","href":"/ru/ai-tools/tools"},{"title":"Примеры Tenderly MCP Server с Claude","href":"/ru/ai-tools/examples"}]},{"group":"Account \u0026 Settings","public":true,"pages":[{"group":"Account Management","public":true,"pages":[{"title":"Управление учётной записью","href":"/ru/platform/account/overview"},{"group":"Projects","public":true,"pages":[{"title":"Создание проекта Tenderly","href":"/ru/platform/account/projects/overview"},{"title":"Настройки проекта","href":"/ru/platform/account/projects/settings"},{"title":"Slug проекта и slug учётной записи","href":"/ru/platform/account/projects/slug"},{"title":"Создание и управление API-токенами доступа","href":"/ru/platform/account/projects/api-tokens"}]},{"group":"Organizations","public":true,"pages":[{"title":"Организации и участники команды","href":"/ru/platform/account/organizations/overview"},{"title":"Добавление участников","href":"/ru/platform/account/organizations/members"}]}]}]}]},{"tab":"Supported Networks","pages":[{"title":"Supported Networks","href":"/ru/platform/supported-networks"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/projects/list-projects"}]},{"tab":"Troubleshooting","pages":[{"title":"Troubleshooting","href":"/ru/troubleshooting/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/ru/changelog/overview"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/simulations/guides/mint-approve-transfer-bundle"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/simulations/guides/mint-approve-transfer-bundle"}]}]},"basePath":"","title":"Симуляция пакета Mint, Approve и TransferFrom для токена - Tenderly","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}