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}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
gasFeeMultiplier: 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,
|
OPFCommunityFeeCollector,
|
||||||
Ocean,
|
Ocean,
|
||||||
chainId,
|
chainId,
|
||||||
startBlock
|
startBlock,
|
||||||
|
veAllocate,
|
||||||
|
veOCEAN,
|
||||||
|
veDelegation,
|
||||||
|
veFeeDistributor,
|
||||||
|
veDelegationProxy,
|
||||||
|
DFRewards,
|
||||||
|
DFStrategyV1,
|
||||||
|
veFeeEstimate
|
||||||
} = customAddresses[network]
|
} = customAddresses[network]
|
||||||
configAddresses = {
|
configAddresses = {
|
||||||
nftFactoryAddress: ERC721Factory,
|
nftFactoryAddress: ERC721Factory,
|
||||||
@ -154,6 +162,14 @@ export class ConfigHelper {
|
|||||||
oceanTokenAddress: Ocean,
|
oceanTokenAddress: Ocean,
|
||||||
chainId,
|
chainId,
|
||||||
startBlock,
|
startBlock,
|
||||||
|
veAllocate,
|
||||||
|
veOCEAN,
|
||||||
|
veDelegation,
|
||||||
|
veFeeDistributor,
|
||||||
|
veDelegationProxy,
|
||||||
|
DFRewards,
|
||||||
|
DFStrategyV1,
|
||||||
|
veFeeEstimate,
|
||||||
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -166,7 +182,15 @@ export class ConfigHelper {
|
|||||||
ERC721Factory,
|
ERC721Factory,
|
||||||
Ocean,
|
Ocean,
|
||||||
chainId,
|
chainId,
|
||||||
startBlock
|
startBlock,
|
||||||
|
veAllocate,
|
||||||
|
veOCEAN,
|
||||||
|
veDelegation,
|
||||||
|
veFeeDistributor,
|
||||||
|
veDelegationProxy,
|
||||||
|
DFRewards,
|
||||||
|
DFStrategyV1,
|
||||||
|
veFeeEstimate
|
||||||
} = DefaultContractsAddresses[network]
|
} = DefaultContractsAddresses[network]
|
||||||
configAddresses = {
|
configAddresses = {
|
||||||
nftFactoryAddress: ERC721Factory,
|
nftFactoryAddress: ERC721Factory,
|
||||||
@ -176,6 +200,14 @@ export class ConfigHelper {
|
|||||||
oceanTokenAddress: Ocean,
|
oceanTokenAddress: Ocean,
|
||||||
chainId,
|
chainId,
|
||||||
startBlock,
|
startBlock,
|
||||||
|
veAllocate,
|
||||||
|
veOCEAN,
|
||||||
|
veDelegation,
|
||||||
|
veFeeDistributor,
|
||||||
|
veDelegationProxy,
|
||||||
|
DFRewards,
|
||||||
|
DFStrategyV1,
|
||||||
|
veFeeEstimate,
|
||||||
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
...(process.env.AQUARIUS_URI && { metadataCacheUri: process.env.AQUARIUS_URI })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user