Skip to content

Commit

Permalink
nice
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc committed Feb 14, 2025
1 parent adf1d23 commit a6722cd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/createTokenBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,21 @@ export type CreateTokenBridgeParams<
TParentChain extends Chain | undefined,
TOrbitChain extends Chain | undefined,
> = WithTokenBridgeCreatorAddressOverride<{
/**
* Owner of the Rollup contract.
*/
rollupOwner: Address;
/**
* Address of the Rollup contract.
*/
rollupAddress: Address;
/**
* Number of the block in which the Rollup contract was deployed.
*
* This parameter is used to reduce the span of blocks to query, so it doesn't have to be exactly the right block number.
* However, for the query to work properly, it has to be **less than or equal to** the right block number.
*/
rollupDeploymentBlockNumber?: bigint;
account: PrivateKeyAccount;
nativeTokenAddress?: Address;
parentChainPublicClient: PublicClient<Transport, TParentChain>;
Expand Down

0 comments on commit a6722cd

Please sign in to comment.