From 64b52f559b8eab4dc72eb20214ed080ffa7588ac Mon Sep 17 00:00:00 2001 From: Fawad Ali Date: Wed, 31 Jul 2024 16:01:43 +0200 Subject: [PATCH] Update contract addresses with newer ones --- lib/contracts/addresses.ts | 4 ++-- lib/contracts/handlers/puf-locker-handler.ts | 1 + lib/contracts/tokens.ts | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/contracts/addresses.ts b/lib/contracts/addresses.ts index fd4564e..dd5e1fa 100644 --- a/lib/contracts/addresses.ts +++ b/lib/contracts/addresses.ts @@ -16,7 +16,7 @@ export const CONTRACT_ADDRESSES = { PufferDepositor: '0x824AC05aeb86A0aD770b8acDe0906d2d4a6c4A8c', // TODO: Update the addresses once the contracts are deployed on chain. // See https://dev.azure.com/pufferfi/Frontend/_workitems/edit/1797. - PufferL2Depositor: '0x0df3f7328761d4122bd8456474305d3259e51699', - PufLocker: '0x2764d89cb5b0dfe4cb9103e23257568bebb3afba', + PufferL2Depositor: '0x0af6998e4828ad8ef8f79a9288d0a861890f791d', + PufLocker: '0xa58983ad0899a452b7420bc57228e329d7ba92b6', }, }; diff --git a/lib/contracts/handlers/puf-locker-handler.ts b/lib/contracts/handlers/puf-locker-handler.ts index 1a4be2a..2a17b56 100644 --- a/lib/contracts/handlers/puf-locker-handler.ts +++ b/lib/contracts/handlers/puf-locker-handler.ts @@ -116,6 +116,7 @@ export class PufLockerHandler { * * @param depositParams.pufToken PufToken to deposit. * @param depositParams.account Wallet address of the depositor. + * @param depositParams.recipient Recipient of the deposit. * @param depositParams.value Amount of the deposit. * @param depositParams.lockPeriod The period for the deposit in * seconds. diff --git a/lib/contracts/tokens.ts b/lib/contracts/tokens.ts index ba3b6e0..51b46d5 100644 --- a/lib/contracts/tokens.ts +++ b/lib/contracts/tokens.ts @@ -85,7 +85,7 @@ export const TOKENS_ADDRESSES: { }, [PufToken.pufDAI]: { [Chain.Mainnet]: '0x0000000000000000000000000000000000000000', - [Chain.Holesky]: '0x28177665f597DA2dcF43c3680cc40D855672A700', + [Chain.Holesky]: '0x2D6B705e118198A02F00490BA323B17eC5D58109', }, [PufToken.pufEETH]: { [Chain.Mainnet]: '0x0000000000000000000000000000000000000000', @@ -93,7 +93,7 @@ export const TOKENS_ADDRESSES: { }, [PufToken.pufWETH]: { [Chain.Mainnet]: '0x0000000000000000000000000000000000000000', - [Chain.Holesky]: '0x1E1Aaeff72905B682b9CEc5bC6D3425087df9edf', + [Chain.Holesky]: '0x5335f231C22d472Ab31CC2690A2247d25efd76a5', }, [PufToken.pufstETH]: { [Chain.Mainnet]: '0x0000000000000000000000000000000000000000', @@ -109,7 +109,7 @@ export const TOKENS_ADDRESSES: { }, [PufToken.pufpufETH]: { [Chain.Mainnet]: '0x0000000000000000000000000000000000000000', - [Chain.Holesky]: '0x2dE087aB00E427aa7c7e94f5ae6ceB129625F87c', + [Chain.Holesky]: '0x638fd1Fe8205285E8497Eb8E6037c8254EDdB0ae', }, };