@subsocial/utils
Version:
JavaScript utils for Subsocial blockchain.
62 lines (61 loc) • 1.61 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.REMARK_CONTENT_VERSION_ACTION_MAP = exports.SocialRemarkDestChainsNameId = void 0;
var SocialRemarkDestChainsNameId;
(function (SocialRemarkDestChainsNameId) {
SocialRemarkDestChainsNameId["subsocial"] = "1";
SocialRemarkDestChainsNameId["xsocial"] = "2";
SocialRemarkDestChainsNameId["soonsocial"] = "3";
})(SocialRemarkDestChainsNameId = exports.SocialRemarkDestChainsNameId || (exports.SocialRemarkDestChainsNameId = {}));
exports.REMARK_CONTENT_VERSION_ACTION_MAP = {
'0.1': {
DMN_REG: {
opId: 4,
target: 5,
domainName: 6,
token: 7
},
DMN_REG_OK: {
opId: 4,
target: 5,
domainName: 6,
token: 7
},
DMN_REG_REFUND: {
opId: 4,
target: 5,
domainName: 6,
token: 7
},
DMN_REG_REFUND_OK: {
opId: 4,
target: 5,
domainName: 6,
token: 7
},
NRG_GEN: {
opId: 4,
target: 5,
energyAmount: 6,
token: 7
},
NRG_GEN_OK: {
opId: 4,
target: 5,
energyAmount: 6,
token: 7
},
NRG_GEN_REFUND: {
opId: 4,
target: 5,
energyAmount: 6,
token: 7
},
NRG_GEN_REFUND_OK: {
opId: 4,
target: 5,
energyAmount: 6,
token: 7
}
}
};