credmark.cmf.types.fiat_currency.FiatCurrency
- DTO class FiatCurrency(*, address)[source]
Bases:
Account
Fiat currency.
Show JSON schema
{ "title": "FiatCurrency", "description": "Fiat currency.", "type": "object", "properties": { "address": { "title": "Address", "type": "string", "pattern": "^0x[a-fA-F0-9]{40}$", "format": "evm-address" } }, "required": [ "address" ], "examples": [ { "address": "0x1F98431c8aD98523631AE4a59f267346ea31F984" } ] }
- Config
schema_extra: dict = {‘examples’: [{‘address’: ‘0x1F98431c8aD98523631AE4a59f267346ea31F984’}]}
- Fields
- Parameters
address (Address) –
- Return type
None
- field address: Address [Required]
- Constraints
type = string
pattern = ^0x[a-fA-F0-9]{40}$
format = evm-address
- to_accounts()
- classmethod validate(value)
- property fiat
- property models
- property name
- property symbol