mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add ve address (#1633)
This commit is contained in:
parent
13fc7bfe3a
commit
2b15ae2d5a
@ -170,4 +170,13 @@ export class Config {
|
||||
* @type {number}
|
||||
*/
|
||||
gasFeeMultiplier: number
|
||||
|
||||
veAllocate?: string
|
||||
veOCEAN?: string
|
||||
veDelegation?: string
|
||||
veFeeDistributor?: string
|
||||
veDelegationProxy?: string
|
||||
DFRewards?: string
|
||||
DFStrategyV1?: string
|
||||
veFeeEstimate?: string
|
||||
}
|
||||
|
@ -144,7 +144,15 @@ export class ConfigHelper {
|
||||
OPFCommunityFeeCollector,
|
||||
Ocean,
|
||||
chainId,
|
||||
startBlock
|
||||
startBlock,
|
||||
veAllocate,
|
||||
veOCEAN,
|
||||
veDelegation,
|
||||
veFeeDistributor,
|
||||
veDelegationProxy,
|
||||
DFRewards,
|
||||
DFStrategyV1,
|
||||
veFeeEstimate
|
||||
} = customAddresses[network]
|
||||
configAddresses = {
|
||||
nftFactoryAddress: ERC721Factory,
|
||||
@ -154,6 +162,14 @@ export class ConfigHelper {
|
||||
oceanTokenAddress: Ocean,
|
||||
chainId,
|
||||
startBlock,
|
||||
veAllocate,
|
||||
veOCEAN,
|
||||
veDelegation,
|
||||
veFeeDistributor,
|
||||
veDelegationProxy,
|
||||
DFRewards,
|
||||
DFStrategyV1,
|
||||
veFeeEstimate,
|
||||
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
||||
}
|
||||
} else {
|
||||
@ -166,7 +182,15 @@ export class ConfigHelper {
|
||||
ERC721Factory,
|
||||
Ocean,
|
||||
chainId,
|
||||
startBlock
|
||||
startBlock,
|
||||
veAllocate,
|
||||
veOCEAN,
|
||||
veDelegation,
|
||||
veFeeDistributor,
|
||||
veDelegationProxy,
|
||||
DFRewards,
|
||||
DFStrategyV1,
|
||||
veFeeEstimate
|
||||
} = DefaultContractsAddresses[network]
|
||||
configAddresses = {
|
||||
nftFactoryAddress: ERC721Factory,
|
||||
@ -176,6 +200,14 @@ export class ConfigHelper {
|
||||
oceanTokenAddress: Ocean,
|
||||
chainId,
|
||||
startBlock,
|
||||
veAllocate,
|
||||
veOCEAN,
|
||||
veDelegation,
|
||||
veFeeDistributor,
|
||||
veDelegationProxy,
|
||||
DFRewards,
|
||||
DFStrategyV1,
|
||||
veFeeEstimate,
|
||||
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user