Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcblock/forge-proto

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/forge-proto - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

5

lib/abi_grpc_pb.js

@@ -32,3 +32,4 @@ // GENERATED CODE -- DO NOT EDIT!

var ForgeAppRpcService = (exports.ForgeAppRpcService = {
var ForgeAppRpcService = exports.ForgeAppRpcService = {
process_one: {

@@ -56,4 +57,4 @@ path: '/forge_abi.ForgeAppRpc/process_one',

},
});
};
exports.ForgeAppRpcClient = grpc.makeGenericClientConstructor(ForgeAppRpcService);

19

lib/enum_pb.js

@@ -58,4 +58,5 @@ /**

INVALID_TX_SIZE: 36,
EXPIRED_TX: 37,
FORBIDDEN: 403,
INTERNAL: 500,
INTERNAL: 500
};

@@ -85,3 +86,3 @@

FORGE_STATE: 132,
STAKE_STATE: 133,
STAKE_STATE: 133
};

@@ -94,3 +95,3 @@

ED25519: 0,
SECP256K1: 1,
SECP256K1: 1
};

@@ -110,3 +111,3 @@

SHA3_512: 14,
SHA2_512: 15,
SHA2_512: 15
};

@@ -119,3 +120,3 @@

BASE16: 0,
BASE58: 1,
BASE58: 1
};

@@ -136,3 +137,3 @@

EXE_CONSENSUS: 13,
EXE_P2P: 14,
EXE_P2P: 14
};

@@ -155,3 +156,3 @@

CRASH_IF_FAIL: 33,
DROP_ADDRESS_BOOK: 50,
DROP_ADDRESS_BOOK: 50
};

@@ -167,3 +168,3 @@

STATE_FORGE: 3,
STATE_STAKE: 4,
STATE_STAKE: 4
};

@@ -178,3 +179,3 @@

STAKE_ASSET: 2,
STAKE_CHAIN: 3,
STAKE_CHAIN: 3
};

@@ -181,0 +182,0 @@

@@ -557,2 +557,3 @@ // GENERATED CODE -- DO NOT EDIT!

// forge RPC definition

@@ -565,3 +566,3 @@ //

//
var ChainRpcService = (exports.ChainRpcService = {
var ChainRpcService = exports.ChainRpcService = {
// tx related

@@ -679,6 +680,6 @@ create_tx: {

},
});
};
exports.ChainRpcClient = grpc.makeGenericClientConstructor(ChainRpcService);
var EventRpcService = (exports.EventRpcService = {
var EventRpcService = exports.EventRpcService = {
subscribe: {

@@ -706,6 +707,6 @@ path: '/forge_abi.EventRpc/subscribe',

},
});
};
exports.EventRpcClient = grpc.makeGenericClientConstructor(EventRpcService);
var FileRpcService = (exports.FileRpcService = {
var FileRpcService = exports.FileRpcService = {
// filesystem related

@@ -734,6 +735,6 @@ store_file: {

},
});
};
exports.FileRpcClient = grpc.makeGenericClientConstructor(FileRpcService);
var StateRpcService = (exports.StateRpcService = {
var StateRpcService = exports.StateRpcService = {
// state related

@@ -795,6 +796,6 @@ get_account_state: {

},
});
};
exports.StateRpcClient = grpc.makeGenericClientConstructor(StateRpcService);
var WalletRpcService = (exports.WalletRpcService = {
var WalletRpcService = exports.WalletRpcService = {
// wallet related

@@ -867,4 +868,4 @@ create_wallet: {

},
});
};
exports.WalletRpcClient = grpc.makeGenericClientConstructor(WalletRpcService);

@@ -15,3 +15,2 @@ /**

var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
var vendor_pb = require('./vendor_pb.js');
var type_pb = require('./type_pb.js');

@@ -35,10 +34,3 @@ goog.exportSymbol('proto.forge_abi.AccountState', null, global);

proto.forge_abi.AccountState = function(opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.forge_abi.AccountState.repeatedFields_,
null
);
jspb.Message.initialize(this, opt_data, 0, -1, proto.forge_abi.AccountState.repeatedFields_, null);
};

@@ -54,53 +46,56 @@ goog.inherits(proto.forge_abi.AccountState, jspb.Message);

*/
proto.forge_abi.AccountState.repeatedFields_ = [13, 14];
proto.forge_abi.AccountState.repeatedFields_ = [13,14];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.AccountState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.AccountState.toObject(opt_includeInstance, this);
};
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.AccountState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.AccountState.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.AccountState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.AccountState.toObject = function(includeInstance, msg) {
var f,
obj = {
balance: (f = msg.getBalance()) && type_pb.BigUint.toObject(includeInstance, f),
nonce: jspb.Message.getFieldWithDefault(msg, 2, 0),
numTxs: jspb.Message.getFieldWithDefault(msg, 3, 0),
address: jspb.Message.getFieldWithDefault(msg, 4, ''),
pk: msg.getPk(),
type: (f = msg.getType()) && type_pb.WalletType.toObject(includeInstance, f),
moniker: jspb.Message.getFieldWithDefault(msg, 7, ''),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
migratedToList: jspb.Message.getRepeatedField(msg, 13),
migratedFromList: jspb.Message.getRepeatedField(msg, 14),
numAssets: jspb.Message.getFieldWithDefault(msg, 15, 0),
stake: (f = msg.getStake()) && type_pb.StakeContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.AccountState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.AccountState.toObject = function(includeInstance, msg) {
var f, obj = {
balance: (f = msg.getBalance()) && type_pb.BigUint.toObject(includeInstance, f),
nonce: jspb.Message.getFieldWithDefault(msg, 2, 0),
numTxs: jspb.Message.getFieldWithDefault(msg, 3, 0),
address: jspb.Message.getFieldWithDefault(msg, 4, ""),
pk: msg.getPk(),
type: (f = msg.getType()) && type_pb.WalletType.toObject(includeInstance, f),
moniker: jspb.Message.getFieldWithDefault(msg, 7, ""),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
migratedToList: jspb.Message.getRepeatedField(msg, 13),
migratedFromList: jspb.Message.getRepeatedField(msg, 14),
numAssets: jspb.Message.getFieldWithDefault(msg, 15, 0),
stake: (f = msg.getStake()) && type_pb.StakeContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**

@@ -113,6 +108,7 @@ * Deserializes binary data (in protobuf wire format).

var reader = new jspb.BinaryReader(bytes);
var msg = new proto.forge_abi.AccountState();
var msg = new proto.forge_abi.AccountState;
return proto.forge_abi.AccountState.deserializeBinaryFromReader(msg, reader);
};
/**

@@ -132,62 +128,62 @@ * Deserializes binary data (in protobuf wire format) from the

switch (field) {
case 1:
var value = new type_pb.BigUint();
reader.readMessage(value, type_pb.BigUint.deserializeBinaryFromReader);
msg.setBalance(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
msg.setNonce(value);
break;
case 3:
var value = /** @type {number} */ (reader.readUint64());
msg.setNumTxs(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 5:
var value = /** @type {!Uint8Array} */ (reader.readBytes());
msg.setPk(value);
break;
case 6:
var value = new type_pb.WalletType();
reader.readMessage(value, type_pb.WalletType.deserializeBinaryFromReader);
msg.setType(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setMoniker(value);
break;
case 8:
var value = new type_pb.StateContext();
reader.readMessage(value, type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 13:
var value = /** @type {string} */ (reader.readString());
msg.addMigratedTo(value);
break;
case 14:
var value = /** @type {string} */ (reader.readString());
msg.addMigratedFrom(value);
break;
case 15:
var value = /** @type {number} */ (reader.readUint64());
msg.setNumAssets(value);
break;
case 16:
var value = new type_pb.StakeContext();
reader.readMessage(value, type_pb.StakeContext.deserializeBinaryFromReader);
msg.setStake(value);
break;
case 50:
var value = new google_protobuf_any_pb.Any();
reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
case 1:
var value = new type_pb.BigUint;
reader.readMessage(value,type_pb.BigUint.deserializeBinaryFromReader);
msg.setBalance(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
msg.setNonce(value);
break;
case 3:
var value = /** @type {number} */ (reader.readUint64());
msg.setNumTxs(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 5:
var value = /** @type {!Uint8Array} */ (reader.readBytes());
msg.setPk(value);
break;
case 6:
var value = new type_pb.WalletType;
reader.readMessage(value,type_pb.WalletType.deserializeBinaryFromReader);
msg.setType(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setMoniker(value);
break;
case 8:
var value = new type_pb.StateContext;
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 13:
var value = /** @type {string} */ (reader.readString());
msg.addMigratedTo(value);
break;
case 14:
var value = /** @type {string} */ (reader.readString());
msg.addMigratedFrom(value);
break;
case 15:
var value = /** @type {number} */ (reader.readUint64());
msg.setNumAssets(value);
break;
case 16:
var value = new type_pb.StakeContext;
reader.readMessage(value,type_pb.StakeContext.deserializeBinaryFromReader);
msg.setStake(value);
break;
case 50:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
}

@@ -198,2 +194,3 @@ }

/**

@@ -209,2 +206,3 @@ * Serializes the message to binary data (in protobuf wire format).

/**

@@ -221,54 +219,99 @@ * Serializes the given message to binary data (in protobuf wire

if (f != null) {
writer.writeMessage(1, f, type_pb.BigUint.serializeBinaryToWriter);
writer.writeMessage(
1,
f,
type_pb.BigUint.serializeBinaryToWriter
);
}
f = message.getNonce();
if (f !== 0) {
writer.writeUint64(2, f);
writer.writeUint64(
2,
f
);
}
f = message.getNumTxs();
if (f !== 0) {
writer.writeUint64(3, f);
writer.writeUint64(
3,
f
);
}
f = message.getAddress();
if (f.length > 0) {
writer.writeString(4, f);
writer.writeString(
4,
f
);
}
f = message.getPk_asU8();
if (f.length > 0) {
writer.writeBytes(5, f);
writer.writeBytes(
5,
f
);
}
f = message.getType();
if (f != null) {
writer.writeMessage(6, f, type_pb.WalletType.serializeBinaryToWriter);
writer.writeMessage(
6,
f,
type_pb.WalletType.serializeBinaryToWriter
);
}
f = message.getMoniker();
if (f.length > 0) {
writer.writeString(7, f);
writer.writeString(
7,
f
);
}
f = message.getContext();
if (f != null) {
writer.writeMessage(8, f, type_pb.StateContext.serializeBinaryToWriter);
writer.writeMessage(
8,
f,
type_pb.StateContext.serializeBinaryToWriter
);
}
f = message.getMigratedToList();
if (f.length > 0) {
writer.writeRepeatedString(13, f);
writer.writeRepeatedString(
13,
f
);
}
f = message.getMigratedFromList();
if (f.length > 0) {
writer.writeRepeatedString(14, f);
writer.writeRepeatedString(
14,
f
);
}
f = message.getNumAssets();
if (f !== 0) {
writer.writeUint64(15, f);
writer.writeUint64(
15,
f
);
}
f = message.getStake();
if (f != null) {
writer.writeMessage(16, f, type_pb.StakeContext.serializeBinaryToWriter);
writer.writeMessage(
16,
f,
type_pb.StakeContext.serializeBinaryToWriter
);
}
f = message.getData();
if (f != null) {
writer.writeMessage(50, f, google_protobuf_any_pb.Any.serializeBinaryToWriter);
writer.writeMessage(
50,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**

@@ -279,9 +322,7 @@ * optional BigUint balance = 1;

proto.forge_abi.AccountState.prototype.getBalance = function() {
return /** @type{?proto.forge_abi.BigUint} */ (jspb.Message.getWrapperField(
this,
type_pb.BigUint,
1
));
return /** @type{?proto.forge_abi.BigUint} */ (
jspb.Message.getWrapperField(this, type_pb.BigUint, 1));
};
/** @param {?proto.forge_abi.BigUint|undefined} value */

@@ -292,2 +333,3 @@ proto.forge_abi.AccountState.prototype.setBalance = function(value) {

proto.forge_abi.AccountState.prototype.clearBalance = function() {

@@ -297,2 +339,3 @@ this.setBalance(undefined);

/**

@@ -306,2 +349,3 @@ * Returns whether this field is set.

/**

@@ -315,2 +359,3 @@ * optional uint64 nonce = 2;

/** @param {number} value */

@@ -321,2 +366,3 @@ proto.forge_abi.AccountState.prototype.setNonce = function(value) {

/**

@@ -330,2 +376,3 @@ * optional uint64 num_txs = 3;

/** @param {number} value */

@@ -336,2 +383,3 @@ proto.forge_abi.AccountState.prototype.setNumTxs = function(value) {

/**

@@ -342,5 +390,6 @@ * optional string address = 4;

proto.forge_abi.AccountState.prototype.getAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/** @param {string} value */

@@ -351,2 +400,3 @@ proto.forge_abi.AccountState.prototype.setAddress = function(value) {

/**

@@ -357,5 +407,6 @@ * optional bytes pk = 5;

proto.forge_abi.AccountState.prototype.getPk = function() {
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ''));
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**

@@ -367,5 +418,7 @@ * optional bytes pk = 5;

proto.forge_abi.AccountState.prototype.getPk_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(this.getPk()));
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getPk()));
};
/**

@@ -379,5 +432,7 @@ * optional bytes pk = 5;

proto.forge_abi.AccountState.prototype.getPk_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(this.getPk()));
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getPk()));
};
/** @param {!(string|Uint8Array)} value */

@@ -388,2 +443,3 @@ proto.forge_abi.AccountState.prototype.setPk = function(value) {

/**

@@ -394,9 +450,7 @@ * optional WalletType type = 6;

proto.forge_abi.AccountState.prototype.getType = function() {
return /** @type{?proto.forge_abi.WalletType} */ (jspb.Message.getWrapperField(
this,
type_pb.WalletType,
6
));
return /** @type{?proto.forge_abi.WalletType} */ (
jspb.Message.getWrapperField(this, type_pb.WalletType, 6));
};
/** @param {?proto.forge_abi.WalletType|undefined} value */

@@ -407,2 +461,3 @@ proto.forge_abi.AccountState.prototype.setType = function(value) {

proto.forge_abi.AccountState.prototype.clearType = function() {

@@ -412,2 +467,3 @@ this.setType(undefined);

/**

@@ -421,2 +477,3 @@ * Returns whether this field is set.

/**

@@ -427,5 +484,6 @@ * optional string moniker = 7;

proto.forge_abi.AccountState.prototype.getMoniker = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/** @param {string} value */

@@ -436,2 +494,3 @@ proto.forge_abi.AccountState.prototype.setMoniker = function(value) {

/**

@@ -442,9 +501,7 @@ * optional StateContext context = 8;

proto.forge_abi.AccountState.prototype.getContext = function() {
return /** @type{?proto.forge_abi.StateContext} */ (jspb.Message.getWrapperField(
this,
type_pb.StateContext,
8
));
return /** @type{?proto.forge_abi.StateContext} */ (
jspb.Message.getWrapperField(this, type_pb.StateContext, 8));
};
/** @param {?proto.forge_abi.StateContext|undefined} value */

@@ -455,2 +512,3 @@ proto.forge_abi.AccountState.prototype.setContext = function(value) {

proto.forge_abi.AccountState.prototype.clearContext = function() {

@@ -460,2 +518,3 @@ this.setContext(undefined);

/**

@@ -469,2 +528,3 @@ * Returns whether this field is set.

/**

@@ -478,2 +538,3 @@ * repeated string migrated_to = 13;

/** @param {!Array.<string>} value */

@@ -484,2 +545,3 @@ proto.forge_abi.AccountState.prototype.setMigratedToList = function(value) {

/**

@@ -493,2 +555,3 @@ * @param {!string} value

proto.forge_abi.AccountState.prototype.clearMigratedToList = function() {

@@ -498,2 +561,3 @@ this.setMigratedToList([]);

/**

@@ -507,2 +571,3 @@ * repeated string migrated_from = 14;

/** @param {!Array.<string>} value */

@@ -513,2 +578,3 @@ proto.forge_abi.AccountState.prototype.setMigratedFromList = function(value) {

/**

@@ -522,2 +588,3 @@ * @param {!string} value

proto.forge_abi.AccountState.prototype.clearMigratedFromList = function() {

@@ -527,2 +594,3 @@ this.setMigratedFromList([]);

/**

@@ -536,2 +604,3 @@ * optional uint64 num_assets = 15;

/** @param {number} value */

@@ -542,2 +611,3 @@ proto.forge_abi.AccountState.prototype.setNumAssets = function(value) {

/**

@@ -548,9 +618,7 @@ * optional StakeContext stake = 16;

proto.forge_abi.AccountState.prototype.getStake = function() {
return /** @type{?proto.forge_abi.StakeContext} */ (jspb.Message.getWrapperField(
this,
type_pb.StakeContext,
16
));
return /** @type{?proto.forge_abi.StakeContext} */ (
jspb.Message.getWrapperField(this, type_pb.StakeContext, 16));
};
/** @param {?proto.forge_abi.StakeContext|undefined} value */

@@ -561,2 +629,3 @@ proto.forge_abi.AccountState.prototype.setStake = function(value) {

proto.forge_abi.AccountState.prototype.clearStake = function() {

@@ -566,2 +635,3 @@ this.setStake(undefined);

/**

@@ -575,2 +645,3 @@ * Returns whether this field is set.

/**

@@ -581,9 +652,7 @@ * optional google.protobuf.Any data = 50;

proto.forge_abi.AccountState.prototype.getData = function() {
return /** @type{?proto.google.protobuf.Any} */ (jspb.Message.getWrapperField(
this,
google_protobuf_any_pb.Any,
50
));
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
};
/** @param {?proto.google.protobuf.Any|undefined} value */

@@ -594,2 +663,3 @@ proto.forge_abi.AccountState.prototype.setData = function(value) {

proto.forge_abi.AccountState.prototype.clearData = function() {

@@ -599,2 +669,3 @@ this.setData(undefined);

/**

@@ -608,2 +679,4 @@ * Returns whether this field is set.

/**

@@ -627,45 +700,47 @@ * Generated by JsPbCodeGenerator.

if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.AssetState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.AssetState.toObject(opt_includeInstance, this);
};
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.AssetState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.AssetState.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.AssetState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.AssetState.toObject = function(includeInstance, msg) {
var f,
obj = {
address: jspb.Message.getFieldWithDefault(msg, 1, ''),
owner: jspb.Message.getFieldWithDefault(msg, 2, ''),
moniker: jspb.Message.getFieldWithDefault(msg, 3, ''),
readonly: jspb.Message.getFieldWithDefault(msg, 4, false),
stake: (f = msg.getStake()) && type_pb.StakeContext.toObject(includeInstance, f),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.AssetState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.AssetState.toObject = function(includeInstance, msg) {
var f, obj = {
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
moniker: jspb.Message.getFieldWithDefault(msg, 3, ""),
readonly: jspb.Message.getFieldWithDefault(msg, 4, false),
stake: (f = msg.getStake()) && type_pb.StakeContext.toObject(includeInstance, f),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**

@@ -678,6 +753,7 @@ * Deserializes binary data (in protobuf wire format).

var reader = new jspb.BinaryReader(bytes);
var msg = new proto.forge_abi.AssetState();
var msg = new proto.forge_abi.AssetState;
return proto.forge_abi.AssetState.deserializeBinaryFromReader(msg, reader);
};
/**

@@ -697,36 +773,36 @@ * Deserializes binary data (in protobuf wire format) from the

switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOwner(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setMoniker(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReadonly(value);
break;
case 13:
var value = new type_pb.StakeContext();
reader.readMessage(value, type_pb.StakeContext.deserializeBinaryFromReader);
msg.setStake(value);
break;
case 14:
var value = new type_pb.StateContext();
reader.readMessage(value, type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 50:
var value = new google_protobuf_any_pb.Any();
reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setOwner(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setMoniker(value);
break;
case 4:
var value = /** @type {boolean} */ (reader.readBool());
msg.setReadonly(value);
break;
case 13:
var value = new type_pb.StakeContext;
reader.readMessage(value,type_pb.StakeContext.deserializeBinaryFromReader);
msg.setStake(value);
break;
case 14:
var value = new type_pb.StateContext;
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 50:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
}

@@ -737,2 +813,3 @@ }

/**

@@ -748,2 +825,3 @@ * Serializes the message to binary data (in protobuf wire format).

/**

@@ -760,30 +838,55 @@ * Serializes the given message to binary data (in protobuf wire

if (f.length > 0) {
writer.writeString(1, f);
writer.writeString(
1,
f
);
}
f = message.getOwner();
if (f.length > 0) {
writer.writeString(2, f);
writer.writeString(
2,
f
);
}
f = message.getMoniker();
if (f.length > 0) {
writer.writeString(3, f);
writer.writeString(
3,
f
);
}
f = message.getReadonly();
if (f) {
writer.writeBool(4, f);
writer.writeBool(
4,
f
);
}
f = message.getStake();
if (f != null) {
writer.writeMessage(13, f, type_pb.StakeContext.serializeBinaryToWriter);
writer.writeMessage(
13,
f,
type_pb.StakeContext.serializeBinaryToWriter
);
}
f = message.getContext();
if (f != null) {
writer.writeMessage(14, f, type_pb.StateContext.serializeBinaryToWriter);
writer.writeMessage(
14,
f,
type_pb.StateContext.serializeBinaryToWriter
);
}
f = message.getData();
if (f != null) {
writer.writeMessage(50, f, google_protobuf_any_pb.Any.serializeBinaryToWriter);
writer.writeMessage(
50,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**

@@ -794,5 +897,6 @@ * optional string address = 1;

proto.forge_abi.AssetState.prototype.getAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/** @param {string} value */

@@ -803,2 +907,3 @@ proto.forge_abi.AssetState.prototype.setAddress = function(value) {

/**

@@ -809,5 +914,6 @@ * optional string owner = 2;

proto.forge_abi.AssetState.prototype.getOwner = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/** @param {string} value */

@@ -818,2 +924,3 @@ proto.forge_abi.AssetState.prototype.setOwner = function(value) {

/**

@@ -824,5 +931,6 @@ * optional string moniker = 3;

proto.forge_abi.AssetState.prototype.getMoniker = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/** @param {string} value */

@@ -833,2 +941,3 @@ proto.forge_abi.AssetState.prototype.setMoniker = function(value) {

/**

@@ -844,2 +953,3 @@ * optional bool readonly = 4;

/** @param {boolean} value */

@@ -850,2 +960,3 @@ proto.forge_abi.AssetState.prototype.setReadonly = function(value) {

/**

@@ -856,9 +967,7 @@ * optional StakeContext stake = 13;

proto.forge_abi.AssetState.prototype.getStake = function() {
return /** @type{?proto.forge_abi.StakeContext} */ (jspb.Message.getWrapperField(
this,
type_pb.StakeContext,
13
));
return /** @type{?proto.forge_abi.StakeContext} */ (
jspb.Message.getWrapperField(this, type_pb.StakeContext, 13));
};
/** @param {?proto.forge_abi.StakeContext|undefined} value */

@@ -869,2 +978,3 @@ proto.forge_abi.AssetState.prototype.setStake = function(value) {

proto.forge_abi.AssetState.prototype.clearStake = function() {

@@ -874,2 +984,3 @@ this.setStake(undefined);

/**

@@ -883,2 +994,3 @@ * Returns whether this field is set.

/**

@@ -889,9 +1001,7 @@ * optional StateContext context = 14;

proto.forge_abi.AssetState.prototype.getContext = function() {
return /** @type{?proto.forge_abi.StateContext} */ (jspb.Message.getWrapperField(
this,
type_pb.StateContext,
14
));
return /** @type{?proto.forge_abi.StateContext} */ (
jspb.Message.getWrapperField(this, type_pb.StateContext, 14));
};
/** @param {?proto.forge_abi.StateContext|undefined} value */

@@ -902,2 +1012,3 @@ proto.forge_abi.AssetState.prototype.setContext = function(value) {

proto.forge_abi.AssetState.prototype.clearContext = function() {

@@ -907,2 +1018,3 @@ this.setContext(undefined);

/**

@@ -916,2 +1028,3 @@ * Returns whether this field is set.

/**

@@ -922,9 +1035,7 @@ * optional google.protobuf.Any data = 50;

proto.forge_abi.AssetState.prototype.getData = function() {
return /** @type{?proto.google.protobuf.Any} */ (jspb.Message.getWrapperField(
this,
google_protobuf_any_pb.Any,
50
));
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
};
/** @param {?proto.google.protobuf.Any|undefined} value */

@@ -935,2 +1046,3 @@ proto.forge_abi.AssetState.prototype.setData = function(value) {

proto.forge_abi.AssetState.prototype.clearData = function() {

@@ -940,2 +1052,3 @@ this.setData(undefined);

/**

@@ -949,2 +1062,4 @@ * Returns whether this field is set.

/**

@@ -968,46 +1083,48 @@ * Generated by JsPbCodeGenerator.

if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.ChannelState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.ChannelState.toObject(opt_includeInstance, this);
};
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.ChannelState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.ChannelState.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.ChannelState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.ChannelState.toObject = function(includeInstance, msg) {
var f,
obj = {
address: jspb.Message.getFieldWithDefault(msg, 1, ''),
totalConfirmed: jspb.Message.getFieldWithDefault(msg, 2, 0),
maxWaiting: jspb.Message.getFieldWithDefault(msg, 3, 0),
maxConfirmed: jspb.Message.getFieldWithDefault(msg, 4, 0),
waiting: (f = msg.getWaiting()) && type_pb.CircularQueue.toObject(includeInstance, f),
confirmed: (f = msg.getConfirmed()) && type_pb.CircularQueue.toObject(includeInstance, f),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.ChannelState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.ChannelState.toObject = function(includeInstance, msg) {
var f, obj = {
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
totalConfirmed: jspb.Message.getFieldWithDefault(msg, 2, 0),
maxWaiting: jspb.Message.getFieldWithDefault(msg, 3, 0),
maxConfirmed: jspb.Message.getFieldWithDefault(msg, 4, 0),
waiting: (f = msg.getWaiting()) && type_pb.CircularQueue.toObject(includeInstance, f),
confirmed: (f = msg.getConfirmed()) && type_pb.CircularQueue.toObject(includeInstance, f),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**

@@ -1020,6 +1137,7 @@ * Deserializes binary data (in protobuf wire format).

var reader = new jspb.BinaryReader(bytes);
var msg = new proto.forge_abi.ChannelState();
var msg = new proto.forge_abi.ChannelState;
return proto.forge_abi.ChannelState.deserializeBinaryFromReader(msg, reader);
};
/**

@@ -1039,41 +1157,41 @@ * Deserializes binary data (in protobuf wire format) from the

switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
msg.setTotalConfirmed(value);
break;
case 3:
var value = /** @type {number} */ (reader.readUint32());
msg.setMaxWaiting(value);
break;
case 4:
var value = /** @type {number} */ (reader.readUint32());
msg.setMaxConfirmed(value);
break;
case 5:
var value = new type_pb.CircularQueue();
reader.readMessage(value, type_pb.CircularQueue.deserializeBinaryFromReader);
msg.setWaiting(value);
break;
case 6:
var value = new type_pb.CircularQueue();
reader.readMessage(value, type_pb.CircularQueue.deserializeBinaryFromReader);
msg.setConfirmed(value);
break;
case 14:
var value = new type_pb.StateContext();
reader.readMessage(value, type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 50:
var value = new google_protobuf_any_pb.Any();
reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
msg.setTotalConfirmed(value);
break;
case 3:
var value = /** @type {number} */ (reader.readUint32());
msg.setMaxWaiting(value);
break;
case 4:
var value = /** @type {number} */ (reader.readUint32());
msg.setMaxConfirmed(value);
break;
case 5:
var value = new type_pb.CircularQueue;
reader.readMessage(value,type_pb.CircularQueue.deserializeBinaryFromReader);
msg.setWaiting(value);
break;
case 6:
var value = new type_pb.CircularQueue;
reader.readMessage(value,type_pb.CircularQueue.deserializeBinaryFromReader);
msg.setConfirmed(value);
break;
case 14:
var value = new type_pb.StateContext;
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 50:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
}

@@ -1084,2 +1202,3 @@ }

/**

@@ -1095,2 +1214,3 @@ * Serializes the message to binary data (in protobuf wire format).

/**

@@ -1107,34 +1227,63 @@ * Serializes the given message to binary data (in protobuf wire

if (f.length > 0) {
writer.writeString(1, f);
writer.writeString(
1,
f
);
}
f = message.getTotalConfirmed();
if (f !== 0) {
writer.writeUint64(2, f);
writer.writeUint64(
2,
f
);
}
f = message.getMaxWaiting();
if (f !== 0) {
writer.writeUint32(3, f);
writer.writeUint32(
3,
f
);
}
f = message.getMaxConfirmed();
if (f !== 0) {
writer.writeUint32(4, f);
writer.writeUint32(
4,
f
);
}
f = message.getWaiting();
if (f != null) {
writer.writeMessage(5, f, type_pb.CircularQueue.serializeBinaryToWriter);
writer.writeMessage(
5,
f,
type_pb.CircularQueue.serializeBinaryToWriter
);
}
f = message.getConfirmed();
if (f != null) {
writer.writeMessage(6, f, type_pb.CircularQueue.serializeBinaryToWriter);
writer.writeMessage(
6,
f,
type_pb.CircularQueue.serializeBinaryToWriter
);
}
f = message.getContext();
if (f != null) {
writer.writeMessage(14, f, type_pb.StateContext.serializeBinaryToWriter);
writer.writeMessage(
14,
f,
type_pb.StateContext.serializeBinaryToWriter
);
}
f = message.getData();
if (f != null) {
writer.writeMessage(50, f, google_protobuf_any_pb.Any.serializeBinaryToWriter);
writer.writeMessage(
50,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**

@@ -1145,5 +1294,6 @@ * optional string address = 1;

proto.forge_abi.ChannelState.prototype.getAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/** @param {string} value */

@@ -1154,2 +1304,3 @@ proto.forge_abi.ChannelState.prototype.setAddress = function(value) {

/**

@@ -1163,2 +1314,3 @@ * optional uint64 total_confirmed = 2;

/** @param {number} value */

@@ -1169,2 +1321,3 @@ proto.forge_abi.ChannelState.prototype.setTotalConfirmed = function(value) {

/**

@@ -1178,2 +1331,3 @@ * optional uint32 max_waiting = 3;

/** @param {number} value */

@@ -1184,2 +1338,3 @@ proto.forge_abi.ChannelState.prototype.setMaxWaiting = function(value) {

/**

@@ -1193,2 +1348,3 @@ * optional uint32 max_confirmed = 4;

/** @param {number} value */

@@ -1199,2 +1355,3 @@ proto.forge_abi.ChannelState.prototype.setMaxConfirmed = function(value) {

/**

@@ -1205,9 +1362,7 @@ * optional CircularQueue waiting = 5;

proto.forge_abi.ChannelState.prototype.getWaiting = function() {
return /** @type{?proto.forge_abi.CircularQueue} */ (jspb.Message.getWrapperField(
this,
type_pb.CircularQueue,
5
));
return /** @type{?proto.forge_abi.CircularQueue} */ (
jspb.Message.getWrapperField(this, type_pb.CircularQueue, 5));
};
/** @param {?proto.forge_abi.CircularQueue|undefined} value */

@@ -1218,2 +1373,3 @@ proto.forge_abi.ChannelState.prototype.setWaiting = function(value) {

proto.forge_abi.ChannelState.prototype.clearWaiting = function() {

@@ -1223,2 +1379,3 @@ this.setWaiting(undefined);

/**

@@ -1232,2 +1389,3 @@ * Returns whether this field is set.

/**

@@ -1238,9 +1396,7 @@ * optional CircularQueue confirmed = 6;

proto.forge_abi.ChannelState.prototype.getConfirmed = function() {
return /** @type{?proto.forge_abi.CircularQueue} */ (jspb.Message.getWrapperField(
this,
type_pb.CircularQueue,
6
));
return /** @type{?proto.forge_abi.CircularQueue} */ (
jspb.Message.getWrapperField(this, type_pb.CircularQueue, 6));
};
/** @param {?proto.forge_abi.CircularQueue|undefined} value */

@@ -1251,2 +1407,3 @@ proto.forge_abi.ChannelState.prototype.setConfirmed = function(value) {

proto.forge_abi.ChannelState.prototype.clearConfirmed = function() {

@@ -1256,2 +1413,3 @@ this.setConfirmed(undefined);

/**

@@ -1265,2 +1423,3 @@ * Returns whether this field is set.

/**

@@ -1271,9 +1430,7 @@ * optional StateContext context = 14;

proto.forge_abi.ChannelState.prototype.getContext = function() {
return /** @type{?proto.forge_abi.StateContext} */ (jspb.Message.getWrapperField(
this,
type_pb.StateContext,
14
));
return /** @type{?proto.forge_abi.StateContext} */ (
jspb.Message.getWrapperField(this, type_pb.StateContext, 14));
};
/** @param {?proto.forge_abi.StateContext|undefined} value */

@@ -1284,2 +1441,3 @@ proto.forge_abi.ChannelState.prototype.setContext = function(value) {

proto.forge_abi.ChannelState.prototype.clearContext = function() {

@@ -1289,2 +1447,3 @@ this.setContext(undefined);

/**

@@ -1298,2 +1457,3 @@ * Returns whether this field is set.

/**

@@ -1304,9 +1464,7 @@ * optional google.protobuf.Any data = 50;

proto.forge_abi.ChannelState.prototype.getData = function() {
return /** @type{?proto.google.protobuf.Any} */ (jspb.Message.getWrapperField(
this,
google_protobuf_any_pb.Any,
50
));
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
};
/** @param {?proto.google.protobuf.Any|undefined} value */

@@ -1317,2 +1475,3 @@ proto.forge_abi.ChannelState.prototype.setData = function(value) {

proto.forge_abi.ChannelState.prototype.clearData = function() {

@@ -1322,2 +1481,3 @@ this.setData(undefined);

/**

@@ -1331,2 +1491,4 @@ * Returns whether this field is set.

/**

@@ -1350,48 +1512,46 @@ * Generated by JsPbCodeGenerator.

if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.ForgeState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.ForgeState.toObject(opt_includeInstance, this);
};
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.ForgeState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.ForgeState.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.ForgeState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.ForgeState.toObject = function(includeInstance, msg) {
var f,
obj = {
consensus: (f = msg.getConsensus()) && type_pb.ConsensusParams.toObject(includeInstance, f),
tasksMap: (f = msg.getTasksMap())
? f.toObject(includeInstance, proto.forge_abi.UpgradeTasks.toObject)
: [],
stakeSummaryMap: (f = msg.getStakeSummaryMap())
? f.toObject(includeInstance, proto.forge_abi.StakeSummary.toObject)
: [],
version: jspb.Message.getFieldWithDefault(msg, 4, ''),
dataVersion: jspb.Message.getFieldWithDefault(msg, 5, ''),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.ForgeState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.ForgeState.toObject = function(includeInstance, msg) {
var f, obj = {
consensus: (f = msg.getConsensus()) && type_pb.ConsensusParams.toObject(includeInstance, f),
tasksMap: (f = msg.getTasksMap()) ? f.toObject(includeInstance, proto.forge_abi.UpgradeTasks.toObject) : [],
stakeSummaryMap: (f = msg.getStakeSummaryMap()) ? f.toObject(includeInstance, proto.forge_abi.StakeSummary.toObject) : [],
version: jspb.Message.getFieldWithDefault(msg, 4, ""),
dataVersion: jspb.Message.getFieldWithDefault(msg, 5, ""),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**

@@ -1404,6 +1564,7 @@ * Deserializes binary data (in protobuf wire format).

var reader = new jspb.BinaryReader(bytes);
var msg = new proto.forge_abi.ForgeState();
var msg = new proto.forge_abi.ForgeState;
return proto.forge_abi.ForgeState.deserializeBinaryFromReader(msg, reader);
};
/**

@@ -1423,47 +1584,35 @@ * Deserializes binary data (in protobuf wire format) from the

switch (field) {
case 1:
var value = new type_pb.ConsensusParams();
reader.readMessage(value, type_pb.ConsensusParams.deserializeBinaryFromReader);
msg.setConsensus(value);
break;
case 2:
var value = msg.getTasksMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(
message,
reader,
jspb.BinaryReader.prototype.readUint64,
jspb.BinaryReader.prototype.readMessage,
proto.forge_abi.UpgradeTasks.deserializeBinaryFromReader
);
});
break;
case 3:
var value = msg.getStakeSummaryMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(
message,
reader,
jspb.BinaryReader.prototype.readUint32,
jspb.BinaryReader.prototype.readMessage,
proto.forge_abi.StakeSummary.deserializeBinaryFromReader
);
});
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setVersion(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setDataVersion(value);
break;
case 15:
var value = new google_protobuf_any_pb.Any();
reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
case 1:
var value = new type_pb.ConsensusParams;
reader.readMessage(value,type_pb.ConsensusParams.deserializeBinaryFromReader);
msg.setConsensus(value);
break;
case 2:
var value = msg.getTasksMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint64, jspb.BinaryReader.prototype.readMessage, proto.forge_abi.UpgradeTasks.deserializeBinaryFromReader);
});
break;
case 3:
var value = msg.getStakeSummaryMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.forge_abi.StakeSummary.deserializeBinaryFromReader);
});
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setVersion(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setDataVersion(value);
break;
case 15:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
}

@@ -1474,2 +1623,3 @@ }

/**

@@ -1485,2 +1635,3 @@ * Serializes the message to binary data (in protobuf wire format).

/**

@@ -1497,38 +1648,41 @@ * Serializes the given message to binary data (in protobuf wire

if (f != null) {
writer.writeMessage(1, f, type_pb.ConsensusParams.serializeBinaryToWriter);
writer.writeMessage(
1,
f,
type_pb.ConsensusParams.serializeBinaryToWriter
);
}
f = message.getTasksMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(
2,
writer,
jspb.BinaryWriter.prototype.writeUint64,
jspb.BinaryWriter.prototype.writeMessage,
proto.forge_abi.UpgradeTasks.serializeBinaryToWriter
);
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint64, jspb.BinaryWriter.prototype.writeMessage, proto.forge_abi.UpgradeTasks.serializeBinaryToWriter);
}
f = message.getStakeSummaryMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(
3,
writer,
jspb.BinaryWriter.prototype.writeUint32,
jspb.BinaryWriter.prototype.writeMessage,
proto.forge_abi.StakeSummary.serializeBinaryToWriter
);
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.forge_abi.StakeSummary.serializeBinaryToWriter);
}
f = message.getVersion();
if (f.length > 0) {
writer.writeString(4, f);
writer.writeString(
4,
f
);
}
f = message.getDataVersion();
if (f.length > 0) {
writer.writeString(5, f);
writer.writeString(
5,
f
);
}
f = message.getData();
if (f != null) {
writer.writeMessage(15, f, google_protobuf_any_pb.Any.serializeBinaryToWriter);
writer.writeMessage(
15,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**

@@ -1539,9 +1693,7 @@ * optional ConsensusParams consensus = 1;

proto.forge_abi.ForgeState.prototype.getConsensus = function() {
return /** @type{?proto.forge_abi.ConsensusParams} */ (jspb.Message.getWrapperField(
this,
type_pb.ConsensusParams,
1
));
return /** @type{?proto.forge_abi.ConsensusParams} */ (
jspb.Message.getWrapperField(this, type_pb.ConsensusParams, 1));
};
/** @param {?proto.forge_abi.ConsensusParams|undefined} value */

@@ -1552,2 +1704,3 @@ proto.forge_abi.ForgeState.prototype.setConsensus = function(value) {

proto.forge_abi.ForgeState.prototype.clearConsensus = function() {

@@ -1557,2 +1710,3 @@ this.setConsensus(undefined);

/**

@@ -1566,2 +1720,3 @@ * Returns whether this field is set.

/**

@@ -1574,10 +1729,8 @@ * map<uint64, UpgradeTasks> tasks = 2;

proto.forge_abi.ForgeState.prototype.getTasksMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<number,!proto.forge_abi.UpgradeTasks>} */ (jspb.Message.getMapField(
this,
2,
opt_noLazyCreate,
proto.forge_abi.UpgradeTasks
));
return /** @type {!jspb.Map<number,!proto.forge_abi.UpgradeTasks>} */ (
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
proto.forge_abi.UpgradeTasks));
};
proto.forge_abi.ForgeState.prototype.clearTasksMap = function() {

@@ -1587,2 +1740,3 @@ this.getTasksMap().clear();

/**

@@ -1595,10 +1749,8 @@ * map<uint32, StakeSummary> stake_summary = 3;

proto.forge_abi.ForgeState.prototype.getStakeSummaryMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<number,!proto.forge_abi.StakeSummary>} */ (jspb.Message.getMapField(
this,
3,
opt_noLazyCreate,
proto.forge_abi.StakeSummary
));
return /** @type {!jspb.Map<number,!proto.forge_abi.StakeSummary>} */ (
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
proto.forge_abi.StakeSummary));
};
proto.forge_abi.ForgeState.prototype.clearStakeSummaryMap = function() {

@@ -1608,2 +1760,3 @@ this.getStakeSummaryMap().clear();

/**

@@ -1614,5 +1767,6 @@ * optional string version = 4;

proto.forge_abi.ForgeState.prototype.getVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/** @param {string} value */

@@ -1623,2 +1777,3 @@ proto.forge_abi.ForgeState.prototype.setVersion = function(value) {

/**

@@ -1629,5 +1784,6 @@ * optional string data_version = 5;

proto.forge_abi.ForgeState.prototype.getDataVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/** @param {string} value */

@@ -1638,2 +1794,3 @@ proto.forge_abi.ForgeState.prototype.setDataVersion = function(value) {

/**

@@ -1644,9 +1801,7 @@ * optional google.protobuf.Any data = 15;

proto.forge_abi.ForgeState.prototype.getData = function() {
return /** @type{?proto.google.protobuf.Any} */ (jspb.Message.getWrapperField(
this,
google_protobuf_any_pb.Any,
15
));
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 15));
};
/** @param {?proto.google.protobuf.Any|undefined} value */

@@ -1657,2 +1812,3 @@ proto.forge_abi.ForgeState.prototype.setData = function(value) {

proto.forge_abi.ForgeState.prototype.clearData = function() {

@@ -1662,2 +1818,3 @@ this.setData(undefined);

/**

@@ -1671,2 +1828,4 @@ * Returns whether this field is set.

/**

@@ -1690,45 +1849,47 @@ * Generated by JsPbCodeGenerator.

if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.StakeState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.StakeState.toObject(opt_includeInstance, this);
};
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.forge_abi.StakeState.prototype.toObject = function(opt_includeInstance) {
return proto.forge_abi.StakeState.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.StakeState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.StakeState.toObject = function(includeInstance, msg) {
var f,
obj = {
address: jspb.Message.getFieldWithDefault(msg, 1, ''),
from: jspb.Message.getFieldWithDefault(msg, 2, ''),
to: jspb.Message.getFieldWithDefault(msg, 3, ''),
balance: (f = msg.getBalance()) && type_pb.BigUint.toObject(includeInstance, f),
message: jspb.Message.getFieldWithDefault(msg, 5, ''),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.forge_abi.StakeState} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.forge_abi.StakeState.toObject = function(includeInstance, msg) {
var f, obj = {
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
from: jspb.Message.getFieldWithDefault(msg, 2, ""),
to: jspb.Message.getFieldWithDefault(msg, 3, ""),
balance: (f = msg.getBalance()) && type_pb.BigUint.toObject(includeInstance, f),
message: jspb.Message.getFieldWithDefault(msg, 5, ""),
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**

@@ -1741,6 +1902,7 @@ * Deserializes binary data (in protobuf wire format).

var reader = new jspb.BinaryReader(bytes);
var msg = new proto.forge_abi.StakeState();
var msg = new proto.forge_abi.StakeState;
return proto.forge_abi.StakeState.deserializeBinaryFromReader(msg, reader);
};
/**

@@ -1760,36 +1922,36 @@ * Deserializes binary data (in protobuf wire format) from the

switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setFrom(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setTo(value);
break;
case 4:
var value = new type_pb.BigUint();
reader.readMessage(value, type_pb.BigUint.deserializeBinaryFromReader);
msg.setBalance(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setMessage(value);
break;
case 14:
var value = new type_pb.StateContext();
reader.readMessage(value, type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 15:
var value = new google_protobuf_any_pb.Any();
reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAddress(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setFrom(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setTo(value);
break;
case 4:
var value = new type_pb.BigUint;
reader.readMessage(value,type_pb.BigUint.deserializeBinaryFromReader);
msg.setBalance(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setMessage(value);
break;
case 14:
var value = new type_pb.StateContext;
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
msg.setContext(value);
break;
case 15:
var value = new google_protobuf_any_pb.Any;
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
msg.setData(value);
break;
default:
reader.skipField();
break;
}

@@ -1800,2 +1962,3 @@ }

/**

@@ -1811,2 +1974,3 @@ * Serializes the message to binary data (in protobuf wire format).

/**

@@ -1823,30 +1987,55 @@ * Serializes the given message to binary data (in protobuf wire

if (f.length > 0) {
writer.writeString(1, f);
writer.writeString(
1,
f
);
}
f = message.getFrom();
if (f.length > 0) {
writer.writeString(2, f);
writer.writeString(
2,
f
);
}
f = message.getTo();
if (f.length > 0) {
writer.writeString(3, f);
writer.writeString(
3,
f
);
}
f = message.getBalance();
if (f != null) {
writer.writeMessage(4, f, type_pb.BigUint.serializeBinaryToWriter);
writer.writeMessage(
4,
f,
type_pb.BigUint.serializeBinaryToWriter
);
}
f = message.getMessage();
if (f.length > 0) {
writer.writeString(5, f);
writer.writeString(
5,
f
);
}
f = message.getContext();
if (f != null) {
writer.writeMessage(14, f, type_pb.StateContext.serializeBinaryToWriter);
writer.writeMessage(
14,
f,
type_pb.StateContext.serializeBinaryToWriter
);
}
f = message.getData();
if (f != null) {
writer.writeMessage(15, f, google_protobuf_any_pb.Any.serializeBinaryToWriter);
writer.writeMessage(
15,
f,
google_protobuf_any_pb.Any.serializeBinaryToWriter
);
}
};
/**

@@ -1857,5 +2046,6 @@ * optional string address = 1;

proto.forge_abi.StakeState.prototype.getAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/** @param {string} value */

@@ -1866,2 +2056,3 @@ proto.forge_abi.StakeState.prototype.setAddress = function(value) {

/**

@@ -1872,5 +2063,6 @@ * optional string from = 2;

proto.forge_abi.StakeState.prototype.getFrom = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/** @param {string} value */

@@ -1881,2 +2073,3 @@ proto.forge_abi.StakeState.prototype.setFrom = function(value) {

/**

@@ -1887,5 +2080,6 @@ * optional string to = 3;

proto.forge_abi.StakeState.prototype.getTo = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/** @param {string} value */

@@ -1896,2 +2090,3 @@ proto.forge_abi.StakeState.prototype.setTo = function(value) {

/**

@@ -1902,9 +2097,7 @@ * optional BigUint balance = 4;

proto.forge_abi.StakeState.prototype.getBalance = function() {
return /** @type{?proto.forge_abi.BigUint} */ (jspb.Message.getWrapperField(
this,
type_pb.BigUint,
4
));
return /** @type{?proto.forge_abi.BigUint} */ (
jspb.Message.getWrapperField(this, type_pb.BigUint, 4));
};
/** @param {?proto.forge_abi.BigUint|undefined} value */

@@ -1915,2 +2108,3 @@ proto.forge_abi.StakeState.prototype.setBalance = function(value) {

proto.forge_abi.StakeState.prototype.clearBalance = function() {

@@ -1920,2 +2114,3 @@ this.setBalance(undefined);

/**

@@ -1929,2 +2124,3 @@ * Returns whether this field is set.

/**

@@ -1935,5 +2131,6 @@ * optional string message = 5;

proto.forge_abi.StakeState.prototype.getMessage = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ''));
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/** @param {string} value */

@@ -1944,2 +2141,3 @@ proto.forge_abi.StakeState.prototype.setMessage = function(value) {

/**

@@ -1950,9 +2148,7 @@ * optional StateContext context = 14;

proto.forge_abi.StakeState.prototype.getContext = function() {
return /** @type{?proto.forge_abi.StateContext} */ (jspb.Message.getWrapperField(
this,
type_pb.StateContext,
14
));
return /** @type{?proto.forge_abi.StateContext} */ (
jspb.Message.getWrapperField(this, type_pb.StateContext, 14));
};
/** @param {?proto.forge_abi.StateContext|undefined} value */

@@ -1963,2 +2159,3 @@ proto.forge_abi.StakeState.prototype.setContext = function(value) {

proto.forge_abi.StakeState.prototype.clearContext = function() {

@@ -1968,2 +2165,3 @@ this.setContext(undefined);

/**

@@ -1977,2 +2175,3 @@ * Returns whether this field is set.

/**

@@ -1983,9 +2182,7 @@ * optional google.protobuf.Any data = 15;

proto.forge_abi.StakeState.prototype.getData = function() {
return /** @type{?proto.google.protobuf.Any} */ (jspb.Message.getWrapperField(
this,
google_protobuf_any_pb.Any,
15
));
return /** @type{?proto.google.protobuf.Any} */ (
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 15));
};
/** @param {?proto.google.protobuf.Any|undefined} value */

@@ -1996,2 +2193,3 @@ proto.forge_abi.StakeState.prototype.setData = function(value) {

proto.forge_abi.StakeState.prototype.clearData = function() {

@@ -2001,2 +2199,3 @@ this.setData(undefined);

/**

@@ -2010,4 +2209,5 @@ * Returns whether this field is set.

goog.object.extend(exports, proto.forge_abi);
module.exports = proto.forge_abi;

@@ -250,6 +250,7 @@ // GENERATED CODE -- DO NOT EDIT!

// ----------------------------------------
// Service Definition
//
var ABCIApplicationService = (exports.ABCIApplicationService = {
var ABCIApplicationService = exports.ABCIApplicationService = {
echo: {

@@ -376,4 +377,4 @@ path: '/forge_vendor.ABCIApplication/Echo',

},
});
};
exports.ABCIApplicationClient = grpc.makeGenericClientConstructor(ABCIApplicationService);
{
"name": "@arcblock/forge-proto",
"description": "Static modules generated from forge-sdk protobuf files",
"version": "0.7.4",
"version": "0.7.5",
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",

@@ -55,3 +55,3 @@ "engines": {

},
"gitHead": "945f1202ce4d3335898c419c685173a1cd9b21bc"
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc