Files
to_session/models/wallet_address_evm.py
Administrator a0720d80dc fefdwef
2025-11-12 12:54:37 +08:00

24 lines
1.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from peewee import *
from models import db, BaseModel
class WalletAddressEVM(BaseModel):
id = AutoField()
address = CharField(max_length=255, null=True, help_text='地址')
private_key = CharField(max_length=255, null=True, help_text='私钥')
words = CharField(max_length=255, null=True)
tg_id = IntegerField(default=0)
status = SmallIntegerField(null=True, help_text='空是没有做绑定1是做关联,3:余额不足2转到下一个ton了')
is_txn = SmallIntegerField(default=0, help_text='是否质押')
ld_name = CharField(max_length=255, null=True, help_text='ld名称')
host = CharField(max_length=255, null=True, help_text='ip')
binding_status = CharField(max_length=255, null=True, help_text='绑定状态')
binding_time = DateTimeField(null=True, help_text='绑定时间')
ye = CharField(max_length=255, null=True, help_text='余额')
eth = CharField(max_length=255, null=True)
duck_ton = CharField(max_length=255, null=True)
class Meta:
database = db
table_name = 'wallet_address_evm'