Skip to content

Commit

Permalink
Adds sendSupERC20 (#520)
Browse files Browse the repository at this point in the history
* Adds sendSupERC20

* Update abi to fetch

* Doc update

* Add changeset

* lint

* Fix balance issues

* Update tests to run in serial

* update docs
  • Loading branch information
nitaliano authored Oct 23, 2024
1 parent 983d2cd commit 5edc283
Show file tree
Hide file tree
Showing 52 changed files with 1,177 additions and 565 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-pears-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@eth-optimism/viem": patch
---

Added sendSupERC20 action
7 changes: 4 additions & 3 deletions packages/viem/abigen.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"contracts": [
"L1Block",
"L2ToL2CrossDomainMessenger",
"CrossL2Inbox",
"SuperchainWETH"
"L2ToL2CrossDomainMessenger",
"SuperchainWETH",
"SuperchainERC20",
"SuperchainTokenBridge"
]
}
3 changes: 2 additions & 1 deletion packages/viem/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
## ABI

- [crossL2InboxABI](variables/crossL2InboxABI.md)
- [l1BlockABI](variables/l1BlockABI.md)
- [l2ToL2CrossDomainMessengerABI](variables/l2ToL2CrossDomainMessengerABI.md)
- [superchainERC20ABI](variables/superchainERC20ABI.md)
- [superchainTokenBridgeABI](variables/superchainTokenBridgeABI.md)
- [superchainWETHABI](variables/superchainWETHABI.md)

## L2 Public Actions
Expand Down
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/createInteropMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1375,4 +1375,4 @@ created interop message Message

## Defined in

[packages/viem/src/utils/interop.ts:32](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/interop.ts#L32)
[packages/viem/src/utils/interop.ts:32](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/interop.ts#L32)
Original file line number Diff line number Diff line change
Expand Up @@ -1375,4 +1375,4 @@ Decoded interop messages [CreateInteropSentL2ToL2MessagesReturnType](../type-ali

## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:60](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L60)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:60](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L60)
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/decodeExecutingMessages.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Decoded cross-chain calls [DecodeExecutingMessagesReturnType](../type-aliases/De

## Defined in

[packages/viem/src/utils/interop.ts:66](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/interop.ts#L66)
[packages/viem/src/utils/interop.ts:66](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/interop.ts#L66)
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Identified relayed messages [DecodeRelayedL2ToL2MessagesReturnType](../type-alia

## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:106](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L106)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:106](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L106)
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/decodeSentL2ToL2Messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Decoded cross-chain calls [DecodeSentL2ToL2MessagesReturnType](../type-aliases/D

## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:85](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L85)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:85](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L85)
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The estimated gas value.

## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:103](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L103)
[packages/viem/src/actions/relayL2ToL2Message.ts:103](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L103)
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The estimated gas value.

## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:105](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L105)
[packages/viem/src/actions/sendL2ToL2Message.ts:105](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L105)
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/relayL2ToL2Message.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The relayMessage transaction hash. [RelayL2ToL2MessageReturnType](../type-aliase

## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:74](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L74)
[packages/viem/src/actions/relayL2ToL2Message.ts:74](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L74)
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/sendL2ToL2Message.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The sendL2ToL2Message transaction hash. [SendL2ToL2MessageReturnType](../type-al

## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:76](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L76)
[packages/viem/src/actions/sendL2ToL2Message.ts:76](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L76)
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/simulateRelayL2ToL2Message.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The contract functions return value. [RelayL2ToL2MessageContractReturnType](../t

## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:129](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L129)
[packages/viem/src/actions/relayL2ToL2Message.ts:129](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L129)
2 changes: 1 addition & 1 deletion packages/viem/docs/functions/simulateSendL2ToL2Message.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The contract functions return value. [SendL2ToL2MessageContractReturnType](../ty

## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:131](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L131)
[packages/viem/src/actions/sendL2ToL2Message.ts:131](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L131)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/interop.ts:15](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/interop.ts#L15)
[packages/viem/src/utils/interop.ts:15](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/interop.ts#L15)
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
## Defined in

[packages/viem/src/utils/interop.ts:16](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/interop.ts#L16)
[packages/viem/src/utils/interop.ts:16](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/interop.ts#L16)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:24](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L24)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:24](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L24)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:27](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L27)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:27](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L27)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/interop.ts:21](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/interop.ts#L21)
[packages/viem/src/utils/interop.ts:21](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/interop.ts#L21)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/interop.ts:22](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/interop.ts#L22)
[packages/viem/src/utils/interop.ts:22](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/interop.ts#L22)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:43](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L43)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:43](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L43)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:46](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L46)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:46](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L46)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:31](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L31)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:31](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L31)
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
## Defined in

[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:32](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L32)
[packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts:32](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/utils/l2ToL2CrossDomainMessenger.ts#L32)
2 changes: 1 addition & 1 deletion packages/viem/docs/type-aliases/MessageIdentifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ The timestamp that the log was emitted. Used to enforce the timestamp invariant

## Defined in

[packages/viem/src/types/interop.ts:7](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/types/interop.ts#L7)
[packages/viem/src/types/interop.ts:7](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/types/interop.ts#L7)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:53](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L53)
[packages/viem/src/actions/relayL2ToL2Message.ts:53](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L53)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:62](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L62)
[packages/viem/src/actions/relayL2ToL2Message.ts:62](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L62)
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ MessagePayload of the SentMessage event *

## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:28](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L28)
[packages/viem/src/actions/relayL2ToL2Message.ts:28](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L28)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[packages/viem/src/actions/relayL2ToL2Message.ts:48](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/relayL2ToL2Message.ts#L48)
[packages/viem/src/actions/relayL2ToL2Message.ts:48](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/relayL2ToL2Message.ts#L48)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:55](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L55)
[packages/viem/src/actions/sendL2ToL2Message.ts:55](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L55)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:64](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L64)
[packages/viem/src/actions/sendL2ToL2Message.ts:64](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L64)
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Target contract or wallet address.

## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:28](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L28)
[packages/viem/src/actions/sendL2ToL2Message.ts:28](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L28)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
## Defined in

[packages/viem/src/actions/sendL2ToL2Message.ts:50](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/actions/sendL2ToL2Message.ts#L50)
[packages/viem/src/actions/sendL2ToL2Message.ts:50](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/actions/sendL2ToL2Message.ts#L50)
18 changes: 9 additions & 9 deletions packages/viem/docs/variables/contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ OP Stack Predeploy Addresses

> `readonly` **address**: `"0x4200000000000000000000000000000000000015"`
### l1BlockInterop

> `readonly` **l1BlockInterop**: `object`
### l1BlockInterop.address

> `readonly` **address**: `"0x4200000000000000000000000000000000000015"` = `'0x4200000000000000000000000000000000000015'`
### l2CrossDomainMessenger

> `readonly` **l2CrossDomainMessenger**: `object`
Expand Down Expand Up @@ -84,6 +76,14 @@ OP Stack Predeploy Addresses

> `readonly` **address**: `"0x4200000000000000000000000000000000000023"` = `'0x4200000000000000000000000000000000000023'`
### superchainTokenBridge

> `readonly` **superchainTokenBridge**: `object`
### superchainTokenBridge.address

> `readonly` **address**: `"0x4200000000000000000000000000000000000028"` = `'0x4200000000000000000000000000000000000028'`
## Defined in

[packages/viem/src/contracts.ts:8](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/contracts.ts#L8)
[packages/viem/src/contracts.ts:8](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/contracts.ts#L8)
2 changes: 1 addition & 1 deletion packages/viem/docs/variables/crossL2InboxABI.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ABI for the OP Stack contract `CrossL2Inbox`

## Defined in

[packages/viem/src/abis.ts:654](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/abis.ts#L654)
[packages/viem/src/abis.ts:7](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/abis.ts#L7)
15 changes: 0 additions & 15 deletions packages/viem/docs/variables/l1BlockABI.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ABI for the OP Stack contract `L2ToL2CrossDomainMessenger`

## Defined in

[packages/viem/src/abis.ts:359](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/abis.ts#L359)
[packages/viem/src/abis.ts:293](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/abis.ts#L293)
15 changes: 15 additions & 0 deletions packages/viem/docs/variables/superchainERC20ABI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[**@eth-optimism/viem**](../README.md)**Docs**

***

[@eth-optimism/viem](../README.md) / superchainERC20ABI

# superchainERC20ABI

> `const` **superchainERC20ABI**: readonly [`object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`]
ABI for the OP Stack contract `SuperchainERC20`

## Defined in

[packages/viem/src/abis.ts:1019](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/abis.ts#L1019)
15 changes: 15 additions & 0 deletions packages/viem/docs/variables/superchainTokenBridgeABI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[**@eth-optimism/viem**](../README.md)**Docs**

***

[@eth-optimism/viem](../README.md) / superchainTokenBridgeABI

# superchainTokenBridgeABI

> `const` **superchainTokenBridgeABI**: readonly [`object`, `object`, `object`, `object`, `object`, `object`, `object`, `object`]
ABI for the OP Stack contract `SuperchainTokenBridge`

## Defined in

[packages/viem/src/abis.ts:1450](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/abis.ts#L1450)
2 changes: 1 addition & 1 deletion packages/viem/docs/variables/superchainWETHABI.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ABI for the OP Stack contract `SuperchainWETH`

## Defined in

[packages/viem/src/abis.ts:940](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/abis.ts#L940)
[packages/viem/src/abis.ts:588](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/abis.ts#L588)
2 changes: 1 addition & 1 deletion packages/viem/docs/variables/supersimL1.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ Flag for test networks

## Defined in

[packages/viem/src/chains/supersim.ts:8](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/chains/supersim.ts#L8)
[packages/viem/src/chains/supersim.ts:8](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/chains/supersim.ts#L8)
2 changes: 1 addition & 1 deletion packages/viem/docs/variables/supersimL2A.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,4 +504,4 @@ Flag for test networks

## Defined in

[packages/viem/src/chains/supersim.ts:24](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/chains/supersim.ts#L24)
[packages/viem/src/chains/supersim.ts:24](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/chains/supersim.ts#L24)
2 changes: 1 addition & 1 deletion packages/viem/docs/variables/supersimL2B.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,4 +504,4 @@ Flag for test networks

## Defined in

[packages/viem/src/chains/supersim.ts:41](https://github.com/ethereum-optimism/ecosystem/blob/37c6534910b25082298b9c156497899cc7f9678f/packages/viem/src/chains/supersim.ts#L41)
[packages/viem/src/chains/supersim.ts:41](https://github.com/ethereum-optimism/ecosystem/blob/5f378d3b907e5960d4ca4cd1b4965867e0f1fb40/packages/viem/src/chains/supersim.ts#L41)
Loading

0 comments on commit 5edc283

Please sign in to comment.