Skip to content

Commit 72d32c7

Browse files
committed
updates for base
1 parent 029f048 commit 72d32c7

18 files changed

+29
-19
lines changed

pages/hub/apps/guides/advanced/live/prepare-for-betting.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ const response = await fetch(`${apiUrl}/orders/gas?environment=${environment}`)
5050
const { relayerFeeAmount, beautyRelayerFeeAmount }: LiveBetFeeResponse = await response.json()
5151

5252
enum Environment {
53+
GnosisDevXDAI = 'GnosisDevXDAI',
5354
GnosisXDAI = 'GnosisXDAI',
5455
PolygonUSDT = 'PolygonUSDT',
5556
PolygonAmoyAZUSD = 'PolygonAmoyAZUSD',
57+
PolygonAmoyUSDT = 'PolygonAmoyUSDT',
5658
ChilizWCHZ = 'ChilizWCHZ',
57-
ChilizSpicyWCHZ = 'ChilizSpicyWCHZ'
59+
ChilizSpicyWCHZ = 'ChilizSpicyWCHZ',
60+
BaseWETH = 'BaseWETH',
61+
BaseSepoliaWETH = 'BaseSepoliaWETH'
5862
}
5963

6064
type LiveBetFeeResponse = {

pages/hub/apps/sdk/providers/chain.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function RootLayout(props: { children: React.ReactNode }) {
8787
```
8888

8989
```ts
90-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
90+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
9191
```
9292
9393
#### Return Value
@@ -109,11 +109,15 @@ import { type Chain } from 'wagmi'
109109

110110
```ts
111111
enum Environment {
112+
GnosisDevXDAI = 'GnosisDevXDAI',
112113
GnosisXDAI = 'GnosisXDAI',
113114
PolygonUSDT = 'PolygonUSDT',
114115
PolygonAmoyAZUSD = 'PolygonAmoyAZUSD',
116+
PolygonAmoyUSDT = 'PolygonAmoyUSDT',
115117
ChilizWCHZ = 'ChilizWCHZ',
116-
ChilizSpicyWCHZ = 'ChilizSpicyWCHZ'
118+
ChilizSpicyWCHZ = 'ChilizSpicyWCHZ',
119+
BaseWETH = 'BaseWETH',
120+
BaseSepoliaWETH = 'BaseSepoliaWETH'
117121
}
118122

119123
type Contracts = {

pages/hub/apps/sdk/providers/sdk.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ const { ... } = useDetailedBetslip()
6161
```
6262

6363
```ts
64-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
64+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
6565
```

pages/hub/apps/toolkit/overview.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ enum Environment {
100100
PolygonAmoyAZUSD = 'PolygonAmoyAZUSD',
101101
PolygonAmoyUSDT = 'PolygonAmoyUSDT',
102102
ChilizWCHZ = 'ChilizWCHZ',
103-
ChilizSpicyWCHZ = 'ChilizSpicyWCHZ'
103+
ChilizSpicyWCHZ = 'ChilizSpicyWCHZ',
104+
BaseWETH = 'BaseWETH',
105+
BaseSepoliaWETH = 'BaseSepoliaWETH'
104106
}
105107
```
106108
</Callout>

pages/hub/apps/toolkit/utils/calcPrematchOdds.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import { type Config } from 'wagmi'
3838
```
3939

4040
```ts
41-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
41+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
4242

4343
type Selection = {
4444
conditionId: string

pages/hub/apps/toolkit/utils/createCashout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const createdOrder = await createCashout({
5454
```
5555

5656
```ts
57-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
57+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
5858

5959
import { type Hex, type Address } from 'viem'
6060
```

pages/hub/apps/toolkit/utils/getCalculatedCashout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const cashout = await getCalculatedCashout({
3434
```
3535

3636
```ts
37-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
37+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
3838

3939
import { type Address } from 'viem'
4040
```

pages/hub/apps/toolkit/utils/getCashout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const cashout = await getCashout({
2828
```
2929

3030
```ts
31-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
31+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
3232
```
3333
3434
#### Return Value

pages/hub/apps/toolkit/utils/getCashoutTypedData.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const signature = await walletClient.data.signTypedData(typedData)
4242
```
4343

4444
```ts
45-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
45+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
4646

4747
import { type Address } from 'viem'
4848
```

pages/hub/apps/toolkit/utils/getEndpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const apiEndpoint = getApiEndpoint(chainId)
1212

1313
#### Props
1414
```ts
15-
type ChainId = 100 | 137 | 80002 | 88888 | 88882
15+
type ChainId = 100 | 137 | 80002 | 88888 | 88882 | 8453 | 84532
1616
```
1717
1818
#### Return Value

0 commit comments

Comments
 (0)