Skip to content

Commit

Permalink
defensive example (#1572)
Browse files Browse the repository at this point in the history
* defensive example

* ccip defensive

* Update src/content/ccip/tutorials/programmable-token-transfers-defensive.mdx

Co-authored-by: Dwight Lyle <dwightjl@gmail.com>

* fix solhint ccip warning

---------

Co-authored-by: Dwight Lyle <dwightjl@gmail.com>
  • Loading branch information
aelmanaa and dwightjl authored Oct 19, 2023
1 parent d6400d6 commit a1510d5
Show file tree
Hide file tree
Showing 9 changed files with 745 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
517 changes: 517 additions & 0 deletions public/samples/CCIP/ProgrammableDefensiveTokenTransfers.sol

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,10 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
title: "Transfer Tokens With Data",
url: "ccip/tutorials/programmable-token-transfers",
},
{
title: "Transfer Tokens With Data - Defensive Example",
url: "ccip/tutorials/programmable-token-transfers-defensive",
},
{
title: "Transfer Tokens Between EOAs",
url: "ccip/tutorials/cross-chain-tokens-from-eoa",
Expand Down
223 changes: 223 additions & 0 deletions src/content/ccip/tutorials/programmable-token-transfers-defensive.mdx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: Last Modified
title: "Transfer Tokens and Data Across Chains"
whatsnext:
{
"Learn how to handle errors gracefully when making CCIP transactions": "/ccip/tutorials/programmable-token-transfers-defensive",
"Transfer Tokens Between EOAs": "/ccip/tutorials/cross-chain-tokens-from-eoa",
"See example cross-chain dApps and tools": "/ccip/examples",
"See the list of supported networks": "/ccip/supported-networks",
Expand Down

1 comment on commit a1510d5

@vercel
Copy link

@vercel vercel bot commented on a1510d5 Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.