diff --git a/src/auth/serializer/src/operations.js b/src/auth/serializer/src/operations.js index 335276ade43669215479a3a89248cee6170a410e..abc330b9bcbdab6f34fb7f4cc3b3b38781fff0ae 100644 --- a/src/auth/serializer/src/operations.js +++ b/src/auth/serializer/src/operations.js @@ -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, diff --git a/src/broadcast/operations.js b/src/broadcast/operations.js index 0735ed14e2c9b17ffa2c6cb471365d1d663ef702..03d38b9a72a8eb1448bdf9e317634b0d70a86766 100644 --- a/src/broadcast/operations.js +++ b/src/broadcast/operations.js @@ -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",