def __init__(self, raiden_api): self.raiden_api = raiden_api self.channel_schema = ChannelSchema() self.channel_list_schema = ChannelListSchema() self.tokens_list_schema = TokensListSchema() self.partner_per_token_list_schema = PartnersPerTokenListSchema() self.transfer_schema = TransferSchema()
def __init__(self, raiden_api): self.raiden_api = raiden_api self.channel_schema = ChannelStateSchema() self.address_list_schema = AddressListSchema() self.partner_per_token_list_schema = PartnersPerTokenListSchema() self.payment_schema = PaymentSchema() self.sent_success_payment_schema = EventPaymentSentSuccessSchema() self.received_success_payment_schema = EventPaymentReceivedSuccessSchema() self.failed_payment_schema = EventPaymentSentFailedSchema()
def __init__(self, raiden_api): self.raiden_api = raiden_api self.channel_schema = ChannelStateSchema() self.address_list_schema = AddressListSchema() self.partner_per_token_list_schema = PartnersPerTokenListSchema() self.transfer_schema = TransferSchema() #####sqlite_demo self.crosstransaction_schema = CrossTransactionSchema() self.crosstransaction_sql_schema = Crosstransaction_sql_schema()