Document Type <instrumentDefinition>
Inherits from base Document Type Contract.
Elements and attributes
- Attribute
version
. Integer. Hard-coded to 2.0 - Element
entity
.- Attribute
shortname
. String. - Attribute
longname
. String. - Attribute
email
. String.
- Attribute
- Element
issue
.- Attribute
company
. String. - Attribute
email
. String. - Attribute
contractUrl
. String. - Attribute
type
. String. "currency" or "shares"
- Attribute
- Optional element
currency
. Included if type is "currency".- Attribute
name
. String. - Attribute
tla
. String. - Attribute
symbol
. String. - Attribute
type
. String. - Attribute
factor
. String. - Attribute
decimal_power
. String. - Attribute
fraction
. String.
- Attribute
- Optional element
shares
. Included if type is "shares".- Attribute
name
. String. - Attribute
symbol
. String. - Attribute
type
. String. - Attribute
issuedate
. String.
- Attribute
Example
<instrumentDefinition version="2.0">
<entity shortname="Satoshi"
longname="Satoshi Nakamoto"
email="satoshi@nakamoto.com"/>
<issue company="Swedish Coins"
email="info@swedishcoins.net"
contractUrl="https://swedishcoins.net/contract"
type="currency"/>
<currency name="Bitcoins" tla="BTC" symbol="BTC" type="decimal" factor="1000"
decimal_power="3" fraction="mBTC" />
<!-- CONDITIONS -->
<condition name="audit">
Bitcoins are audited monthly by highly trusted people.
</condition>
</instrumentDefinition>