AaveToken

Documentation for eth_defi.aave_v3.constants.AaveToken Python class.

class AaveToken[source]

AaveToken(token_address, deposit_address, variable_borrow_address, stable_borrow_address, token_created_at_block)

Attributes summary

deposit_address

Alias for field number 1

stable_borrow_address

Alias for field number 3

token_address

Alias for field number 0

token_created_at_block

Alias for field number 4

variable_borrow_address

Alias for field number 2

Methods summary

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

token_address: str

Alias for field number 0

deposit_address: str

Alias for field number 1

variable_borrow_address: str

Alias for field number 2

stable_borrow_address: str

Alias for field number 3

token_created_at_block: int

Alias for field number 4

static __new__(_cls, token_address, deposit_address, variable_borrow_address, stable_borrow_address, token_created_at_block)

Create new instance of AaveToken(token_address, deposit_address, variable_borrow_address, stable_borrow_address, token_created_at_block)

Parameters
  • token_address (str) –

  • deposit_address (str) –

  • variable_borrow_address (str) –

  • stable_borrow_address (str) –

  • token_created_at_block (int) –