Skip to content

Commit 9a4a04f

Browse files
authored
Merge branch 'dev' into automated-update-20250323002823
2 parents 2cf55dc + 4112fd9 commit 9a4a04f

File tree

44 files changed

+2910
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2910
-155
lines changed

next.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ module.exports = (phase, { defaultConfig }) => {
8181
protocol: "https",
8282
hostname: "crowdin-static.downloads.crowdin.com",
8383
},
84+
{
85+
protocol: "https",
86+
hostname: "avatars.githubusercontent.com",
87+
},
88+
{
89+
protocol: "https",
90+
hostname: "coin-images.coingecko.com",
91+
},
8492
],
8593
},
8694
async headers() {

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
"@radix-ui/react-tabs": "^1.1.0",
4848
"@radix-ui/react-tooltip": "^1.1.2",
4949
"@radix-ui/react-visually-hidden": "^1.1.0",
50+
"@rainbow-me/rainbowkit": "^2.2.3",
5051
"@socialgouv/matomo-next": "^1.8.0",
52+
"@tanstack/react-query": "^5.66.7",
5153
"@tanstack/react-table": "^8.19.3",
5254
"chart.js": "^4.4.2",
5355
"chartjs-plugin-datalabels": "^2.2.0",
@@ -62,7 +64,7 @@
6264
"lodash.merge": "^4.6.2",
6365
"lodash.shuffle": "^4.2.0",
6466
"lodash.union": "^4.6.0",
65-
"next": "^14.2.21",
67+
"next": "^14.2.25",
6668
"next-intl": "^3.26.3",
6769
"next-mdx-remote": "^5.0.0",
6870
"next-sitemap": "^4.2.3",
@@ -86,6 +88,8 @@
8688
"tailwindcss-animate": "^1.0.7",
8789
"usehooks-ts": "^3.1.0",
8890
"vaul": "^1.0.0",
91+
"viem": "^2.23.3",
92+
"wagmi": "^2.14.11",
8993
"yaml-loader": "^0.8.0"
9094
},
9195
"devDependencies": {

public/content/developers/docs/design-and-ux/dex-design-best-practice/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,15 @@ The law of proximity states that items that are close together are perceived as
177177

178178
Ultimately, there are pluses and minuses for both options, but it is interesting how the trend appears to be towards token on the right.
179179

180-
# Button behavior {#button-behavior}
180+
## Button behavior {#button-behavior}
181181

182182
Don’t have a separate button for Approve. Also don’t have a separate click for Approve. The user wants to Swap, so just say “swap” on the button and initiate the approval as the first step. A modal can show progress with a stepper, or a simple “tx 1 of 2 - approving” notification.
183183

184184
![A UI with separate buttons for approve and swap](./14.png)
185185

186186
![A UI with one button that says approve](./15.png)
187187

188-
## Button as contextual help {#button-as-contextual-help}
188+
### Button as contextual help {#button-as-contextual-help}
189189

190190
The button can do double duty as an alert!
191191

public/content/developers/docs/networking-layer/portal-network/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The Portal Network developers also made the design choice to build three separat
7474
The Portal Network clients are:
7575

7676
- [Trin](https://github.com/ethereum/trin): written in Rust
77-
- [Fluffy](https://nimbus.team/docs/fluffy.html): written in Nim
77+
- [Fluffy](https://fluffy.guide): written in Nim
7878
- [Ultralight](https://github.com/ethereumjs/ultralight): written in Typescript
7979
- [Shisui](https://github.com/optimism-java/shisui): written in Go
8080

public/content/developers/tutorials/erc-721-vyper-annotated-code/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,7 @@ def supportsInterface(_interfaceID: bytes32) -> bool:
278278
```
279279

280280
In contrast to Python, Vyper is a [static typed language](https://wikipedia.org/wiki/Type_system#Static_type_checking).
281-
You can't declare a variable, or a function parameter, without identifying the [data
282-
type](https://vyper.readthedocs.io/en/latest/types.html). In this case the input parameter is `bytes32`, a 256-bit value
281+
You can't declare a variable, or a function parameter, without identifying the [data type](https://vyper.readthedocs.io/en/latest/types.html). In this case the input parameter is `bytes32`, a 256-bit value
283282
(256 bits is the native word size of the [Ethereum Virtual Machine](/developers/docs/evm/)). The output is a boolean
284283
value. By convention, the names of function parameters start with an underscore (`_`).
285284

@@ -689,7 +688,7 @@ Anybody who is allowed to transfer a token is allowed to burn it. While a burn a
689688
transfer to the zero address, the zero address does not actually receives the token. This allows us to
690689
free up all the storage that was used for the token, which can reduce the gas cost of the transaction.
691690

692-
# Using this Contract {#using-contract}
691+
## Using this Contract {#using-contract}
693692

694693
In contrast to Solidity, Vyper does not have inheritance. This is a deliberate design choice to make the
695694
code clearer and therefore easier to secure. So to create your own Vyper ERC-721 contract you take [this

public/content/developers/tutorials/waffle-test-simple-smart-contract/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ published: 2021-02-26
2121
- You have used some package managers like yarn or npm
2222
- You possess very basic knowledge of smart contracts and Solidity
2323

24-
# Getting started {#getting-started}
24+
## Getting started {#getting-started}
2525

2626
The tutorial demonstrates test setup and run using yarn, but there is no problem if you prefer npm - I will provide proper references to the official Waffle [documentation](https://ethereum-waffle.readthedocs.io/en/latest/index.html).
2727

@@ -100,7 +100,7 @@ Testing with Waffle requires using Chai matchers and Mocha, so you need to [add]
100100

101101
If you want to [execute](https://ethereum-waffle.readthedocs.io/en/latest/getting-started.html#running-tests) your tests, just run `yarn test` .
102102

103-
# Testing {#testing}
103+
## Testing {#testing}
104104

105105
Now create the `test` directory and create the new file `test\EtherSplitter.test.ts`.
106106
Copy the snippet below and paste it to our test file.
@@ -194,7 +194,7 @@ it("Reverts when Vei amount uneven", async () => {
194194

195195
The test, if passed, will assure us that the transaction was reverted indeed. However, there must be also an exact match between the messages that we passed in `require` statement and the message we expect in `revertedWith`. If we go back to the code of EtherSplitter contract, in the `require` statement for the wei amount, we provide the message: 'Uneven wei amount not allowed'. This matches the message we expect in our test. If they were not equal, the test would fail.
196196

197-
# Congratulations! {#congratulations}
197+
## Congratulations! {#congratulations}
198198

199199
You've made your first big step towards testing smart contracts with Waffle! You might be interested in other Waffle tutorials:
200200

public/images/dapps/uni.png

47.6 KB
Loading

public/images/dapps/warpcast.png

2.6 KB
Loading
85.5 KB
Loading

src/components/Banners/BugBountyBanner/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ const BugBountyBanner = () => (
99
<BannerNotification shouldShow>
1010
<Center>
1111
<p>
12-
Prague code is now in scope! The Prague Audit Competition is running on{" "}
13-
<a href="https://cantina.xyz/competitions/9ab19e33-b73c-4384-83a8-b905f508ce5e">
14-
Cantina
15-
</a>{" "}
16-
during 21st of February - 21st of March, with up to $2,000,000 in
17-
rewards!
12+
Pectra is now in scope. After the cantina competition until mainnet activation, Pectra issues have a 2x reward multiplier!
1813
</p>
1914
</Center>
2015
</BannerNotification>

0 commit comments

Comments
 (0)