Vaulta

thedbondsacc

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in burn

    {
      "name": "burn",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }
  • Action parameter in confirmfcdb

    {
      "name": "confirmfcdb",
      "base": "",
      "fields": [
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Struct base type of fc_dbond

    {
      "name": "dbond",
      "base": "",
      "fields": [
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        },
        {
          "name": "emitent",
          "type": "name"
        },
        {
          "name": "quantity_to_issue",
          "type": "asset"
        },
        {
          "name": "maturity_time",
          "type": "time_point"
        },
        {
          "name": "retire_time",
          "type": "time_point"
        },
        {
          "name": "payoff_price",
          "type": "extended_asset"
        },
        {
          "name": "fungible",
          "type": "bool"
        },
        {
          "name": "additional_info",
          "type": "string"
        }
      ]
    }
  • Action parameter in del

    {
      "name": "del",
      "base": "",
      "fields": [
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }
  • Action parameter in erase

    {
      "name": "erase",
      "base": "",
      "fields": [
        {
          "name": "holders",
          "type": "name[]"
        },
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }
  • Extends base type of dbond

    Struct property of fc_dbond_stats

    Struct property of initfcdb

    {
      "name": "fc_dbond",
      "base": "dbond",
      "fields": [
        {
          "name": "collateral_bond",
          "type": "fiat_bond"
        },
        {
          "name": "verifier",
          "type": "name"
        },
        {
          "name": "counterparty",
          "type": "name"
        },
        {
          "name": "liquidation_agent",
          "type": "name"
        },
        {
          "name": "escrow_contract_link",
          "type": "string"
        },
        {
          "name": "apr",
          "type": "int64"
        },
        {
          "name": "holders_list",
          "type": "name[]"
        }
      ]
    }
  • Table row type of fcdborders

    {
      "name": "fc_dbond_order_struct",
      "base": "",
      "fields": [
        {
          "name": "seller",
          "type": "name"
        },
        {
          "name": "buyer",
          "type": "name"
        },
        {
          "name": "recieved_payment",
          "type": "extended_asset"
        },
        {
          "name": "recieved_quantity",
          "type": "asset"
        },
        {
          "name": "price",
          "type": "extended_asset"
        }
      ]
    }
  • Table row type of fcdbond

    {
      "name": "fc_dbond_stats",
      "base": "",
      "fields": [
        {
          "name": "dbond",
          "type": "fc_dbond"
        },
        {
          "name": "initial_time",
          "type": "time_point"
        },
        {
          "name": "initial_price",
          "type": "extended_asset"
        },
        {
          "name": "current_price",
          "type": "extended_asset"
        },
        {
          "name": "fc_state",
          "type": "int32"
        },
        {
          "name": "confirmed_by_counterparty",
          "type": "int32"
        }
      ]
    }
  • Struct property of fc_dbond

    {
      "name": "fiat_bond",
      "base": "",
      "fields": [
        {
          "name": "ISIN",
          "type": "string"
        },
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "issuer",
          "type": "string"
        },
        {
          "name": "currency",
          "type": "string"
        },
        {
          "name": "maturity_time",
          "type": "time_point"
        },
        {
          "name": "bond_description_webpage",
          "type": "string"
        }
      ]
    }
  • Action parameter in initfcdb

    {
      "name": "initfcdb",
      "base": "",
      "fields": [
        {
          "name": "bond",
          "type": "fc_dbond"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in issuefcdb

    {
      "name": "issuefcdb",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }
  • Action parameter in listprivord

    {
      "name": "listprivord",
      "base": "",
      "fields": [
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        },
        {
          "name": "seller",
          "type": "name"
        },
        {
          "name": "buyer",
          "type": "name"
        },
        {
          "name": "recieved_asset",
          "type": "extended_asset"
        },
        {
          "name": "is_sell",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setstate

    {
      "name": "setstate",
      "base": "",
      "fields": [
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        },
        {
          "name": "state",
          "type": "int32"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in updfcdb

    {
      "name": "updfcdb",
      "base": "",
      "fields": [
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }
  • Action parameter in verifyfcdb

    {
      "name": "verifyfcdb",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "dbond_id",
          "type": "dbond_id_class"
        }
      ]
    }