Skip to content

Commit

Permalink
fix: Use new contract abi.
Browse files Browse the repository at this point in the history
  • Loading branch information
paouvrard committed Jun 4, 2024
1 parent 433a778 commit b7f1c6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/nep141-erc20/src/bridged-erc20/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ export async function logNep141Metadata (
}

export async function deploy (
{ nep141Address, nep141MetadataLogTx, options }: {
nep141Address: string
{ nep141MetadataLogTx, options }: {
nep141MetadataLogTx: string
options?: {
erc20FactoryAddress?: string
Expand Down Expand Up @@ -115,6 +114,6 @@ export async function deploy (
options.erc20FactoryAbi ?? bridgeParams.erc20FactoryAbi,
provider.getSigner()
)
const tx = await erc20Factory.newBridgeToken(nep141Address, borshProof, nearOnEthClientBlockHeight)
const tx = await erc20Factory.newBridgeToken(borshProof, nearOnEthClientBlockHeight)
return tx
}

0 comments on commit b7f1c6a

Please sign in to comment.