
pzalendcntct
Contract
The data structures defined by this contract.
- { "name": "apy_data", "base": "", "fields": [ { "name": "pztoken", "type": "name" }, { "name": "apy", "type": "float64" } ] }
Table row type of auction
{ "name": "auction_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "pledge_token", "type": "asset" }, { "name": "origin_pledge_token", "type": "asset" }, { "name": "lend_token", "type": "asset" }, { "name": "origin_lend_token", "type": "asset" }, { "name": "status", "type": "uint32" }, { "name": "tx_hash", "type": "checksum256" }, { "name": "time", "type": "uint32" }, { "name": "end_time", "type": "uint32" } ] }- { "name": "bank_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "move_token", "type": "asset" }, { "name": "is_pledge", "type": "uint8" }, { "name": "time", "type": "uint32" } ] }
Table row type of clearrecord
{ "name": "clearrecord_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "auction_id", "type": "uint64" }, { "name": "bid_lend_token", "type": "asset" }, { "name": "bearer", "type": "name" }, { "name": "take_off_pledge_token", "type": "asset" }, { "name": "rate", "type": "string" }, { "name": "tx_hash", "type": "checksum256" }, { "name": "time", "type": "uint32" } ] }- { "name": "countdown", "base": "", "fields": [] }
Table row type of countdown
{ "name": "countdown_data", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "start_time", "type": "uint32" }, { "name": "countdown", "type": "uint32" } ] }Table row type of currency
{ "name": "currency_data", "base": "", "fields": [ { "name": "interest_token_name", "type": "name" }, { "name": "interest_token_symbol", "type": "symbol" }, { "name": "interest_token_contract", "type": "name" }, { "name": "anchor_token_symbol", "type": "symbol" }, { "name": "anchor_token_contract", "type": "name" }, { "name": "status", "type": "uint32" }, { "name": "time", "type": "uint32" } ] }Action parameter in delcrecords
{ "name": "delcrecords", "base": "", "fields": [ { "name": "time", "type": "uint32" } ] }Action parameter in delcurrency
{ "name": "delcurrency", "base": "", "fields": [ { "name": "interest_token_name", "type": "name" } ] }Action parameter in delinterest
{ "name": "delinterest", "base": "", "fields": [ { "name": "pair", "type": "name" }, { "name": "user", "type": "name" } ] }Action parameter in delloanhis
{ "name": "delloanhis", "base": "", "fields": [ { "name": "time", "type": "uint32" } ] }Action parameter in delparameter
{ "name": "delparameter", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "pair", "type": "name" } ] }Action parameter in delrecords
{ "name": "delrecords", "base": "", "fields": [ { "name": "pair", "type": "name" }, { "name": "time", "type": "uint32" } ] }- { "name": "delrenhis", "base": "", "fields": [ { "name": "scope", "type": "name" } ] }
Action parameter in delwrecords
{ "name": "delwrecords", "base": "", "fields": [ { "name": "pair", "type": "name" }, { "name": "time", "type": "uint32" } ] }Table row type of deposit
{ "name": "deposit_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "deposit_token", "type": "asset" }, { "name": "time", "type": "uint32" } ] }Action parameter in distribute
{ "name": "distribute", "base": "", "fields": [] }Action parameter in dssdeposit
{ "name": "dssdeposit", "base": "", "fields": [ { "name": "quantity", "type": "asset" }, { "name": "contract", "type": "name" } ] }Table row type of feerate
{ "name": "fee_rate_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "rate", "type": "pair_uint64_float64[]" } ] }- { "name": "fix", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "scope", "type": "name" } ] }
Table row type of fixedloan
{ "name": "fixed_loan_time_data", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "time", "type": "uint32" } ] }Action parameter in fundwithdraw
{ "name": "fundwithdraw", "base": "", "fields": [] }- { "name": "insolvent", "base": "", "fields": [ { "name": "user", "type": "name" } ] }
Table row type of insolvent
{ "name": "insolvent_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "pledge_token", "type": "pair_symbol_asset[]" }, { "name": "lend_token", "type": "asset" }, { "name": "tx_hash", "type": "checksum256" }, { "name": "time", "type": "uint32" } ] }Table row type of interest
{ "name": "interest_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "origin_lend", "type": "asset" }, { "name": "lend", "type": "float64" }, { "name": "interest", "type": "float64" }, { "name": "type", "type": "uint32" }, { "name": "rate", "type": "float64" } ] }Table row type of lrtotal
{ "name": "liquid_reward_total_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "quantity", "type": "asset" } ] }Action parameter in liquidation
{ "name": "liquidation", "base": "", "fields": [ { "name": "user", "type": "name" } ] }- { "name": "loan_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "pledge_token", "type": "pair_symbol_asset[]" }, { "name": "lend_token", "type": "pair_symbol_asset[]" }, { "name": "create_time", "type": "uint32" }, { "name": "time", "type": "uint32" } ] }
Table row type of loanhistory
{ "name": "loan_history_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "before_pledge_token", "type": "pair_symbol_asset[]" }, { "name": "before_lend_token", "type": "pair_symbol_asset[]" }, { "name": "after_pledge_token", "type": "pair_symbol_asset[]" }, { "name": "after_lend_token", "type": "pair_symbol_asset[]" }, { "name": "interests", "type": "asset[]" }, { "name": "token_price", "type": "string" }, { "name": "pz_token_price", "type": "string" }, { "name": "hash", "type": "checksum256" }, { "name": "time", "type": "uint32" } ] }Table row type of lsparameter
{ "name": "lsparameter_data", "base": "", "fields": [ { "name": "id", "type": "uint32" }, { "name": "clear_order", "type": "symbol[]" }, { "name": "clear_pledge", "type": "symbol[]" } ] }Table row type of newprice
{ "name": "new_price_data", "base": "", "fields": [ { "name": "sym", "type": "symbol" }, { "name": "price", "type": "string" }, { "name": "time", "type": "uint32" } ] }- { "name": "newborrow", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "memo", "type": "string" } ] }
- { "name": "newclose", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "sym", "type": "string" } ] }
Action parameter in newwithdraw
{ "name": "newwithdraw", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "quantity", "type": "asset" } ] }Struct property of insolvent_data
Struct property of loan_data
Struct property of loan_history_data
Struct property of pztoken_data
{ "name": "pair_symbol_asset", "base": "", "fields": [ { "name": "key", "type": "symbol" }, { "name": "value", "type": "asset" } ] }Struct property of wallet_fee_data
{ "name": "pair_uint32_asset", "base": "", "fields": [ { "name": "key", "type": "uint32" }, { "name": "value", "type": "asset" } ] }- { "name": "pair_uint64_float64", "base": "", "fields": [ { "name": "key", "type": "uint64" }, { "name": "value", "type": "float64" } ] }
Table row type of parameter
{ "name": "parameter_data", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "value", "type": "string" } ] }- { "name": "pause", "base": "", "fields": [ { "name": "status", "type": "uint32" } ] }
Table row type of pause
{ "name": "pause_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "status", "type": "uint32" } ] }Table row type of price
{ "name": "price_data", "base": "", "fields": [ { "name": "sym", "type": "symbol" }, { "name": "price", "type": "string" }, { "name": "time", "type": "uint32" } ] }Table row type of pzauction
{ "name": "pz_auction_data", "base": "", "fields": [ { "name": "pztoken", "type": "name" }, { "name": "pledge", "type": "asset" } ] }Table row type of pzprice
{ "name": "pz_price_data", "base": "", "fields": [ { "name": "sym", "type": "name" }, { "name": "price", "type": "string" }, { "name": "time", "type": "uint32" } ] }Table row type of pzreward
{ "name": "pz_reward_data", "base": "", "fields": [ { "name": "pztoken", "type": "name" }, { "name": "reward", "type": "float64" } ] }Table row type of pztoken
{ "name": "pztoken_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "pz_token", "type": "pair_symbol_asset[]" }, { "name": "time", "type": "uint32" } ] }- { "name": "receivelr", "base": "", "fields": [ { "name": "user", "type": "name" } ] }
Table row type of record
{ "name": "record_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "move_token", "type": "asset" }, { "name": "price", "type": "string" }, { "name": "tx_hash", "type": "checksum256" }, { "name": "type", "type": "uint32" }, { "name": "desc", "type": "string" }, { "name": "time", "type": "uint32" } ] }Action parameter in resetwallet
{ "name": "resetwallet", "base": "", "fields": [ { "name": "wallet_name", "type": "name" }, { "name": "wallet_account", "type": "name" }, { "name": "wallet_rate", "type": "string" }, { "name": "user_rate", "type": "string" }, { "name": "is_del", "type": "uint32" } ] }- { "name": "retention", "base": "", "fields": [ { "name": "quantitys", "type": "asset[]" } ] }
Table row type of retention
{ "name": "retention_data", "base": "", "fields": [ { "name": "pztoken", "type": "name" }, { "name": "rate", "type": "float64" } ] }Table row type of retentionhis
{ "name": "retention_history_data", "base": "", "fields": [ { "name": "pztoken", "type": "name" }, { "name": "quantity", "type": "asset" } ] }Action parameter in setactions
{ "name": "setactions", "base": "", "fields": [ { "name": "currency", "type": "name" }, { "name": "params", "type": "string[]" } ] }Action parameter in setcurrency
{ "name": "setcurrency", "base": "", "fields": [ { "name": "interest_token_name", "type": "name" }, { "name": "interest_token_symbol", "type": "string" }, { "name": "interest_token_contract", "type": "name" }, { "name": "anchor_token_symbol", "type": "string" }, { "name": "anchor_token_contract", "type": "name" }, { "name": "status", "type": "uint32" } ] }Action parameter in setfeerate
{ "name": "setfeerate", "base": "", "fields": [ { "name": "id", "type": "uint32" }, { "name": "rate", "type": "pair_uint64_float64[]" }, { "name": "is_del", "type": "uint32" } ] }Action parameter in setlsparams
{ "name": "setlsparams", "base": "", "fields": [ { "name": "clear_orders", "type": "string[]" }, { "name": "clear_pledges", "type": "string[]" } ] }Action parameter in setparameter
{ "name": "setparameter", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "value", "type": "string" }, { "name": "pair", "type": "name" } ] }- { "name": "setparams", "base": "", "fields": [ { "name": "currency", "type": "name" }, { "name": "params", "type": "string[]" } ] }
- { "name": "setpause", "base": "", "fields": [ { "name": "status", "type": "uint32" } ] }
- { "name": "setprice", "base": "", "fields": [ { "name": "base_prices", "type": "string[]" } ] }
Action parameter in setpzprice
{ "name": "setpzprice", "base": "", "fields": [ { "name": "prices", "type": "string[]" } ] }- { "name": "settime", "base": "", "fields": [ { "name": "scope", "type": "name" }, { "name": "account", "type": "name" }, { "name": "time", "type": "uint32" }, { "name": "is_del", "type": "bool" } ] }
- { "name": "setwallet", "base": "", "fields": [ { "name": "wallet_name", "type": "name" }, { "name": "wallet_account", "type": "name" }, { "name": "wallet_rate", "type": "string" }, { "name": "user_rate", "type": "string" }, { "name": "is_del", "type": "uint32" } ] }
Action parameter in setwhitelist
{ "name": "setwhitelist", "base": "", "fields": [ { "name": "users", "type": "string[]" }, { "name": "is_del", "type": "uint8" } ] }Table row type of smallrepay
{ "name": "small_repay_data", "base": "", "fields": [ { "name": "pztoken", "type": "name" }, { "name": "pizza", "type": "asset" }, { "name": "repay", "type": "asset" } ] }Table row type of token
{ "name": "token_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "balance", "type": "asset" } ] }Table row type of total
{ "name": "total_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "deposit_token", "type": "asset" }, { "name": "loan_token", "type": "asset" }, { "name": "history_deposit_token", "type": "asset" }, { "name": "history_deposit_withdraw_token", "type": "asset" }, { "name": "history_loan_token", "type": "asset" }, { "name": "history_repayment_token", "type": "asset" }, { "name": "auction_token", "type": "asset" }, { "name": "history_auction_token", "type": "asset" }, { "name": "price", "type": "string" }, { "name": "time", "type": "uint32" } ] }Action parameter in updateprice
{ "name": "updateprice", "base": "", "fields": [ { "name": "base_prices", "type": "string[]" } ] }Table row type of userreward
{ "name": "user_reward_data", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "reward", "type": "float64" }, { "name": "time", "type": "uint32" } ] }Action parameter in voteproducer
{ "name": "voteproducer", "base": "", "fields": [ { "name": "proxy", "type": "name" }, { "name": "producer", "type": "name[]" } ] }Table row type of wallet
{ "name": "wallet_data", "base": "", "fields": [ { "name": "wallet_name", "type": "name" }, { "name": "wallet_account", "type": "name" }, { "name": "wallet_rate", "type": "string" }, { "name": "user_rate", "type": "string" }, { "name": "status", "type": "uint32" }, { "name": "start_time", "type": "uint32" }, { "name": "update_time", "type": "uint32" } ] }Table row type of walletfee
{ "name": "wallet_fee_data", "base": "", "fields": [ { "name": "wallet_name", "type": "name" }, { "name": "seven_day_fee", "type": "pair_uint32_asset[]" }, { "name": "total_fee", "type": "asset" }, { "name": "time", "type": "uint32" } ] }Table row type of walletrecord
{ "name": "wallet_record_data", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "exchange_id", "type": "uint64" }, { "name": "fee", "type": "asset" }, { "name": "time", "type": "uint32" } ] }Table row type of whitelist
{ "name": "whitelist_data", "base": "", "fields": [ { "name": "user", "type": "name" } ] }