struct AppPusher::App::SRuntimeCreditDealObject

Overview

=> P2P抵押贷借款信息,会用处理临近还款日期提醒。

Defined in:

app_pusher/app.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(borrower : String, debt_asset : String, debt_amount : Int64, latest_repay_time : UInt32, init_block_time : UInt32) #

[View source]

Instance Method Detail

def borrower : String #

[View source]
def calc_trigger_index(now_ts : UInt32) : Int32 | Nil #

[View source]
def debt_amount : Int64 #

[View source]
def debt_asset : String #

[View source]
def is_deal_expired?(block_timestamp) #

[View source]
def is_fully_triggered? #

[View source]
def latest_repay_time : UInt32 #

[View source]
def triggered_index : Int32 #

[View source]
def triggered_index=(triggered_index : Int32) #

[View source]