EOS

bss.defi

Contract

The data structures defined by this contract.

  • Action parameter in addstatus

    { "name": "addstatus", "base": "", "fields": [] }
  • Action parameter in claim

    { "name": "claim", "base": "", "fields": [ { "name": "owner", "type": "name" } ] }
  • Action parameter in createpool

    { "name": "createpool", "base": "", "fields": [ { "name": "period", "type": "uint32" }, { "name": "weight", "type": "uint32" } ] }
  • Table row type of deposits

    { "name": "deposit", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "period", "type": "uint32" }, { "name": "saving_box", "type": "asset" }, { "name": "saving_weight", "type": "uint64" }, { "name": "expire_time", "type": "uint64" } ] }
  • Action parameter in depositlog

    { "name": "depositlog", "base": "", "fields": [ { "name": "deposit_id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "period", "type": "uint32" }, { "name": "weight", "type": "uint32" }, { "name": "saving_box", "type": "asset" }, { "name": "saving_weight", "type": "uint64" }, { "name": "deposit_time", "type": "uint32" }, { "name": "expire_time", "type": "uint32" } ] }
  • Table row type of global

    { "name": "global", "base": "", "fields": [ { "name": "fees_percent", "type": "uint32" } ] }
  • Table row type of global2

    { "name": "global2", "base": "", "fields": [ { "name": "status", "type": "uint8" }, { "name": "fees_percent", "type": "uint32" } ] }
  • Table row type of holders

    { "name": "holder", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "saving_box", "type": "asset" }, { "name": "saving_weight", "type": "uint64" }, { "name": "unclaimed", "type": "asset" }, { "name": "claimed", "type": "asset" }, { "name": "debt", "type": "uint64" } ] }
  • Action parameter in knocklog

    { "name": "knocklog", "base": "", "fields": [ { "name": "deposit_id", "type": "uint64" }, { "name": "buyer", "type": "name" }, { "name": "seller", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "price", "type": "asset" }, { "name": "refund_buyer", "type": "asset" }, { "name": "refund_seller", "type": "asset" }, { "name": "fees", "type": "asset" }, { "name": "period", "type": "uint32" }, { "name": "weight", "type": "uint32" }, { "name": "seller_saving_box", "type": "asset" }, { "name": "seller_saving_weight", "type": "uint64" }, { "name": "buyer_saving_box", "type": "asset" }, { "name": "buyer_saving_weight", "type": "uint64" }, { "name": "knock_time", "type": "uint32" }, { "name": "expire_time", "type": "uint32" } ] }
  • Action parameter in offshelves

    { "name": "offshelves", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "deposit_id", "type": "uint64" } ] }
  • Action parameter in offshelveslog

    { "name": "offshelveslog", "base": "", "fields": [ { "name": "deposit_id", "type": "uint64" }, { "name": "executor", "type": "name" }, { "name": "owner", "type": "name" }, { "name": "price", "type": "asset" }, { "name": "quantity", "type": "asset" }, { "name": "period", "type": "uint32" }, { "name": "weight", "type": "uint32" }, { "name": "saving_box", "type": "asset" }, { "name": "saving_weight", "type": "uint64" }, { "name": "order_time", "type": "uint32" }, { "name": "expire_time", "type": "uint32" }, { "name": "offshelves_time", "type": "uint32" } ] }
  • Table row type of orders

    { "name": "order", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "price", "type": "asset" }, { "name": "time", "type": "uint64" } ] }
  • Table row type of pools

    { "name": "pool", "base": "", "fields": [ { "name": "period", "type": "uint32" }, { "name": "weight", "type": "uint32" } ] }
  • Action parameter in redeem

    { "name": "redeem", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "period", "type": "uint32" }, { "name": "bssr_deposit_id", "type": "uint64" }, { "name": "to_bss", "type": "bool" } ] }
  • Action parameter in removepool

    { "name": "removepool", "base": "", "fields": [ { "name": "period", "type": "uint32" } ] }
  • Action parameter in sale

    { "name": "sale", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "deposit_id", "type": "uint64" }, { "name": "price", "type": "asset" } ] }
  • Action parameter in salelog

    { "name": "salelog", "base": "", "fields": [ { "name": "deposit_id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "price", "type": "asset" }, { "name": "quantity", "type": "asset" }, { "name": "period", "type": "uint32" }, { "name": "weight", "type": "uint32" }, { "name": "saving_box", "type": "asset" }, { "name": "saving_weight", "type": "uint64" }, { "name": "order_time", "type": "uint32" }, { "name": "expire_time", "type": "uint32" } ] }
  • Action parameter in setfees

    { "name": "setfees", "base": "", "fields": [ { "name": "percent", "type": "uint32" } ] }
  • Action parameter in setstatus

    { "name": "setstatus", "base": "", "fields": [ { "name": "status", "type": "uint8" } ] }
  • Table row type of stat

    { "name": "stat", "base": "", "fields": [ { "name": "total_saving_box", "type": "asset" }, { "name": "total_saving_weight", "type": "uint64" }, { "name": "acc_reward_per_share", "type": "uint128" }, { "name": "reward_box", "type": "asset" }, { "name": "last_issue_time", "type": "uint32" } ] }
  • Table row type of tableids

    { "name": "tableid", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "id", "type": "uint64" } ] }
  • Action parameter in update

    { "name": "update", "base": "", "fields": [ { "name": "owner", "type": "name" } ] }
  • Action parameter in withdraw

    { "name": "withdraw", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "deposit_id", "type": "uint64" }, { "name": "to_bssr", "type": "bool" } ] }
  • Action parameter in withdrawlog

    { "name": "withdrawlog", "base": "", "fields": [ { "name": "deposit_id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "saving_box", "type": "asset" }, { "name": "saving_weight", "type": "uint64" }, { "name": "withdraw_time", "type": "uint32" }, { "name": "is_cover", "type": "bool" } ] }