-
Notifications
You must be signed in to change notification settings - Fork 3
/
asset.params.json
52 lines (52 loc) · 2.75 KB
/
asset.params.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://algo-models.com/schemas/asset.params.json",
"title": "Asset Parameters",
"type": "object",
"properties": {
"t": {
"type": "integer",
"description": "The total number of base units of the asset to create. This number cannot be changed."
},
"dc": {
"type": "integer",
"description": "The number of digits to use after the decimal point when displaying the asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in tenths. If 2, the base unit of the asset is in hundredths, if 3, the base unit of the asset is in thousandths, and so on up to 19 decimal places"
},
"df": {
"type": "boolean",
"description": "True to freeze holdings for this asset by default."
},
"un": {
"type": "string",
"description": "The name of a unit of this asset. Supplied on creation. Max size is 8 bytes. Example: USDT"
},
"an": {
"type": "string",
"description": "The name of the asset. Supplied on creation. Max size is 32 bytes. Example: Tether"
},
"au": {
"type": "string",
"description": "Specifies a URL where more information about the asset can be retrieved. Max size is 96 bytes."
},
"am": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "This field is intended to be a 32-byte hash of some metadata that is relevant to your asset and/or asset holders. The format of this metadata is up to the application. This field can only be specified upon creation. An example might be the hash of some certificate that acknowledges the digitized asset as the official representation of a particular real-world asset."
},
"m": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The address of the account that can manage the configuration of the asset and destroy it."
},
"r": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The address of the account that holds the reserve (non-minted) units of the asset. This address has no specific authority in the protocol itself. It is used in the case where you want to signal to holders of your asset that the non-minted units of the asset reside in an account that is different from the default creator account (the sender)."
},
"f": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The address of the account used to freeze holdings of this asset. If empty, freezing is not permitted."
},
"c": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The address of the account that can clawback holdings of this asset. If empty, clawback is not permitted."
}
}
}