Skip to content

Commit a04b1ba

Browse files
authored
fix: export type (#56)
* fix: export type * fix: rename variable
1 parent 4e99a2f commit a04b1ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/compute-title-escrow-address.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ethers as packedEthers } from "ethers";
22

3-
interface Params {
3+
export interface ComputeTitleEscrowAddressParams {
44
implementationAddress: string;
55
factoryAddress: string;
66
registryAddress: string;
@@ -19,7 +19,7 @@ if (ethers.version.includes("/5")) {
1919
/**
2020
* @deprecated not be used with W3C VC
2121
*/
22-
export const computeTitleEscrowAddress = (params: Params) => {
22+
export const computeTitleEscrowAddress = (params: ComputeTitleEscrowAddressParams) => {
2323
const { implementationAddress, factoryAddress, registryAddress, tokenId } = params;
2424
const initCodeHash = (ethers as any).keccak256(
2525
`0x3d602d80600a3d3981f3363d3d373d3d3d363d73${implementationAddress.substring(2)}5af43d82803e903d91602b57fd5bf3`

0 commit comments

Comments
 (0)