Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- added: Logbox disable option to env.json
- added: Reverse-resolve recipient addresses to ENS / Unstoppable Domains / ZNS names in the send flow, address modal, and transaction history.
- fixed: Label Optimism Tarot/Velodrome pools that use USDC.e as USDC.e instead of USDC, so staking shows the correct required asset.

## 4.49.0 (staging)

Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ export default [
'src/plugins/gui/util/fetchRevolut.ts',
'src/plugins/gui/util/initializeProviders.ts',
'src/plugins/stake-plugins/currency/tronStakePlugin.ts',
'src/plugins/stake-plugins/generic/pluginInfo/optimismTarotPool.ts',

'src/plugins/stake-plugins/generic/policyAdapters/CardanoKilnAdaptor.ts',
'src/plugins/stake-plugins/generic/policyAdapters/EthereumKilnAdaptor.ts',
'src/plugins/stake-plugins/generic/policyAdapters/GlifInfinityPoolAdapter.ts',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const adaptors: TarotPoolAdapterConfig[] = [
},
token1: {
contractAddress: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
symbol: 'USDC',
symbol: 'USDC.e',
decimals: 6,
tokenId: '7f5c764cbc14f9669b88837ca1490cca17c31607'
},
Expand All @@ -110,7 +110,7 @@ const adaptors: TarotPoolAdapterConfig[] = [
poolContractAddress: '0x5B0dce514B4AEd993751D2CF7379B75df9860312',
token0: {
contractAddress: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
symbol: 'USDC',
symbol: 'USDC.e',
decimals: 6,
tokenId: '7f5c764cbc14f9669b88837ca1490cca17c31607'
},
Expand Down Expand Up @@ -165,7 +165,9 @@ const adaptors: TarotPoolAdapterConfig[] = [
}
]

const makePolicyConfig = (adapterConfig: TarotPoolAdapterConfig) => {
const makePolicyConfig = (
adapterConfig: TarotPoolAdapterConfig
): StakePolicyConfig<TarotPoolAdapterConfig> => {
return {
stakePolicyId: `optimism_tarot_${adapterConfig.token0.tokenId}_${adapterConfig.token1.tokenId}_${adapterConfig.leverage}x`,
stakeProviderInfo: {
Expand Down
Loading