Skip to content
Snippets Groups Projects
Commit cdb4550c authored by sicarius97's avatar sicarius97
Browse files

added operation for HF-25 collateralized_convert

parent 867abfeb
Branches
Tags
No related merge requests found
......@@ -301,6 +301,16 @@ let convert = new Serializer(
}
);
let collateralized_convert = new Serializer(
"collateralized_convert",{
owner: string,
collateral_amount: asset,
converted_amount: asset,
requestid: uint32,
conversion_date: time_point_sec
}
);
var authority = new Serializer(
"authority", {
weight_threshold: uint32,
......
......@@ -96,6 +96,17 @@ module.exports = [
"amount"
]
},
{
"roles": ["active","owner"],
"operation": "collateralized_convert",
"params": [
"owner",
"collateral_amount",
"converted_amount",
"requestid",
"conversion_date"
]
},
{
"roles": ["active", "owner"],
"operation": "account_create",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment