Skip to main content

Class: EvmDefiProtocolList

moralis-monorepo / @moralisweb3/common-evm-utils / EvmDefiProtocolList

Class: EvmDefiProtocolList

@moralisweb3/common-evm-utils.EvmDefiProtocolList

Table of contents

Methods

Constructors

Methods

create

Static create(input): EvmDefiProtocolListValue

Parameters

NameType
input"uniswap-v2" | "uniswap-v3" | "pancakeswap-v2" | "pancakeswap-v3" | "quickswap-v2" | "sushiswap-v2" | "aave-v2" | "aave-v3" | "fraxswap-v1" | "fraxswap-v2" | "lido" | "makerdao" | "eigenlayer" | "pendle" | "etherfi" | "rocketpool" | "sparkfi"

Returns

EvmDefiProtocolListValue


fromJSON

Static fromJSON(json): EvmDefiProtocolListValue

Parameters

NameType
jsonEvmDefiProtocolListJSON

Returns

EvmDefiProtocolListValue

Constructors

constructor

new EvmDefiProtocolList()