Best JavaScript code snippet using fast-check-monorepo
dposv2_pb.d.ts
Source:dposv2_pb.d.ts
1// package: 2// file: proto/dposv2.proto3import * as jspb from "google-protobuf";4import * as proto_as2ng_pb from "../proto/as2ng_pb";5export class Validator extends jspb.Message {6 getPubKey(): Uint8Array | string;7 getPubKey_asU8(): Uint8Array;8 getPubKey_asB64(): string;9 setPubKey(value: Uint8Array | string): void;10 getPower(): number;11 setPower(value: number): void;12 serializeBinary(): Uint8Array;13 toObject(includeInstance?: boolean): Validator.AsObject;14 static toObject(includeInstance: boolean, msg: Validator): Validator.AsObject;15 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};16 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};17 static serializeBinaryToWriter(message: Validator, writer: jspb.BinaryWriter): void;18 static deserializeBinary(bytes: Uint8Array): Validator;19 static deserializeBinaryFromReader(message: Validator, reader: jspb.BinaryReader): Validator;20}21export namespace Validator {22 export type AsObject = {23 pubKey: Uint8Array | string,24 power: number,25 }26}27export class ParamsV2 extends jspb.Message {28 getValidatorCount(): number;29 setValidatorCount(value: number): void;30 getElectionCycleLength(): number;31 setElectionCycleLength(value: number): void;32 hasCoinContractAddress(): boolean;33 clearCoinContractAddress(): void;34 getCoinContractAddress(): proto_as2ng_pb.Address | undefined;35 setCoinContractAddress(value?: proto_as2ng_pb.Address): void;36 hasOracleAddress(): boolean;37 clearOracleAddress(): void;38 getOracleAddress(): proto_as2ng_pb.Address | undefined;39 setOracleAddress(value?: proto_as2ng_pb.Address): void;40 hasMaxYearlyReward(): boolean;41 clearMaxYearlyReward(): void;42 getMaxYearlyReward(): proto_as2ng_pb.BigUInt | undefined;43 setMaxYearlyReward(value?: proto_as2ng_pb.BigUInt): void;44 hasRegistrationRequirement(): boolean;45 clearRegistrationRequirement(): void;46 getRegistrationRequirement(): proto_as2ng_pb.BigUInt | undefined;47 setRegistrationRequirement(value?: proto_as2ng_pb.BigUInt): void;48 hasCrashSlashingPercentage(): boolean;49 clearCrashSlashingPercentage(): void;50 getCrashSlashingPercentage(): proto_as2ng_pb.BigUInt | undefined;51 setCrashSlashingPercentage(value?: proto_as2ng_pb.BigUInt): void;52 hasByzantineSlashingPercentage(): boolean;53 clearByzantineSlashingPercentage(): void;54 getByzantineSlashingPercentage(): proto_as2ng_pb.BigUInt | undefined;55 setByzantineSlashingPercentage(value?: proto_as2ng_pb.BigUInt): void;56 serializeBinary(): Uint8Array;57 toObject(includeInstance?: boolean): ParamsV2.AsObject;58 static toObject(includeInstance: boolean, msg: ParamsV2): ParamsV2.AsObject;59 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};60 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};61 static serializeBinaryToWriter(message: ParamsV2, writer: jspb.BinaryWriter): void;62 static deserializeBinary(bytes: Uint8Array): ParamsV2;63 static deserializeBinaryFromReader(message: ParamsV2, reader: jspb.BinaryReader): ParamsV2;64}65export namespace ParamsV2 {66 export type AsObject = {67 validatorCount: number,68 electionCycleLength: number,69 coinContractAddress?: proto_as2ng_pb.Address.AsObject,70 oracleAddress?: proto_as2ng_pb.Address.AsObject,71 maxYearlyReward?: proto_as2ng_pb.BigUInt.AsObject,72 registrationRequirement?: proto_as2ng_pb.BigUInt.AsObject,73 crashSlashingPercentage?: proto_as2ng_pb.BigUInt.AsObject,74 byzantineSlashingPercentage?: proto_as2ng_pb.BigUInt.AsObject,75 }76}77export class StateV2 extends jspb.Message {78 hasParams(): boolean;79 clearParams(): void;80 getParams(): ParamsV2 | undefined;81 setParams(value?: ParamsV2): void;82 clearValidatorsList(): void;83 getValidatorsList(): Array<Validator>;84 setValidatorsList(value: Array<Validator>): void;85 addValidators(value?: Validator, index?: number): Validator;86 getLastElectionTime(): number;87 setLastElectionTime(value: number): void;88 hasTotalValidatorDelegations(): boolean;89 clearTotalValidatorDelegations(): void;90 getTotalValidatorDelegations(): proto_as2ng_pb.BigUInt | undefined;91 setTotalValidatorDelegations(value?: proto_as2ng_pb.BigUInt): void;92 serializeBinary(): Uint8Array;93 toObject(includeInstance?: boolean): StateV2.AsObject;94 static toObject(includeInstance: boolean, msg: StateV2): StateV2.AsObject;95 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};96 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};97 static serializeBinaryToWriter(message: StateV2, writer: jspb.BinaryWriter): void;98 static deserializeBinary(bytes: Uint8Array): StateV2;99 static deserializeBinaryFromReader(message: StateV2, reader: jspb.BinaryReader): StateV2;100}101export namespace StateV2 {102 export type AsObject = {103 params?: ParamsV2.AsObject,104 validatorsList: Array<Validator.AsObject>,105 lastElectionTime: number,106 totalValidatorDelegations?: proto_as2ng_pb.BigUInt.AsObject,107 }108}109export class ValidatorStatisticV2 extends jspb.Message {110 hasAddress(): boolean;111 clearAddress(): void;112 getAddress(): proto_as2ng_pb.Address | undefined;113 setAddress(value?: proto_as2ng_pb.Address): void;114 getPubKey(): Uint8Array | string;115 getPubKey_asU8(): Uint8Array;116 getPubKey_asB64(): string;117 setPubKey(value: Uint8Array | string): void;118 getUpblockCount(): number;119 setUpblockCount(value: number): void;120 getBlockCount(): number;121 setBlockCount(value: number): void;122 hasSlashPercentage(): boolean;123 clearSlashPercentage(): void;124 getSlashPercentage(): proto_as2ng_pb.BigUInt | undefined;125 setSlashPercentage(value?: proto_as2ng_pb.BigUInt): void;126 hasDistributionTotal(): boolean;127 clearDistributionTotal(): void;128 getDistributionTotal(): proto_as2ng_pb.BigUInt | undefined;129 setDistributionTotal(value?: proto_as2ng_pb.BigUInt): void;130 hasDelegationTotal(): boolean;131 clearDelegationTotal(): void;132 getDelegationTotal(): proto_as2ng_pb.BigUInt | undefined;133 setDelegationTotal(value?: proto_as2ng_pb.BigUInt): void;134 hasWhitelistAmount(): boolean;135 clearWhitelistAmount(): void;136 getWhitelistAmount(): proto_as2ng_pb.BigUInt | undefined;137 setWhitelistAmount(value?: proto_as2ng_pb.BigUInt): void;138 getWhitelistLocktime(): number;139 setWhitelistLocktime(value: number): void;140 serializeBinary(): Uint8Array;141 toObject(includeInstance?: boolean): ValidatorStatisticV2.AsObject;142 static toObject(includeInstance: boolean, msg: ValidatorStatisticV2): ValidatorStatisticV2.AsObject;143 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};144 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};145 static serializeBinaryToWriter(message: ValidatorStatisticV2, writer: jspb.BinaryWriter): void;146 static deserializeBinary(bytes: Uint8Array): ValidatorStatisticV2;147 static deserializeBinaryFromReader(message: ValidatorStatisticV2, reader: jspb.BinaryReader): ValidatorStatisticV2;148}149export namespace ValidatorStatisticV2 {150 export type AsObject = {151 address?: proto_as2ng_pb.Address.AsObject,152 pubKey: Uint8Array | string,153 upblockCount: number,154 blockCount: number,155 slashPercentage?: proto_as2ng_pb.BigUInt.AsObject,156 distributionTotal?: proto_as2ng_pb.BigUInt.AsObject,157 delegationTotal?: proto_as2ng_pb.BigUInt.AsObject,158 whitelistAmount?: proto_as2ng_pb.BigUInt.AsObject,159 whitelistLocktime: number,160 }161}162export class ValidatorStatisticListV2 extends jspb.Message {163 clearStatisticsList(): void;164 getStatisticsList(): Array<ValidatorStatisticV2>;165 setStatisticsList(value: Array<ValidatorStatisticV2>): void;166 addStatistics(value?: ValidatorStatisticV2, index?: number): ValidatorStatisticV2;167 serializeBinary(): Uint8Array;168 toObject(includeInstance?: boolean): ValidatorStatisticListV2.AsObject;169 static toObject(includeInstance: boolean, msg: ValidatorStatisticListV2): ValidatorStatisticListV2.AsObject;170 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};171 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};172 static serializeBinaryToWriter(message: ValidatorStatisticListV2, writer: jspb.BinaryWriter): void;173 static deserializeBinary(bytes: Uint8Array): ValidatorStatisticListV2;174 static deserializeBinaryFromReader(message: ValidatorStatisticListV2, reader: jspb.BinaryReader): ValidatorStatisticListV2;175}176export namespace ValidatorStatisticListV2 {177 export type AsObject = {178 statisticsList: Array<ValidatorStatisticV2.AsObject>,179 }180}181export class CandidateV2 extends jspb.Message {182 hasAddress(): boolean;183 clearAddress(): void;184 getAddress(): proto_as2ng_pb.Address | undefined;185 setAddress(value?: proto_as2ng_pb.Address): void;186 getPubKey(): Uint8Array | string;187 getPubKey_asU8(): Uint8Array;188 getPubKey_asB64(): string;189 setPubKey(value: Uint8Array | string): void;190 getFee(): number;191 setFee(value: number): void;192 getNewfee(): number;193 setNewfee(value: number): void;194 getFeedelaycounter(): number;195 setFeedelaycounter(value: number): void;196 getName(): string;197 setName(value: string): void;198 getDescription(): string;199 setDescription(value: string): void;200 getWebsite(): string;201 setWebsite(value: string): void;202 serializeBinary(): Uint8Array;203 toObject(includeInstance?: boolean): CandidateV2.AsObject;204 static toObject(includeInstance: boolean, msg: CandidateV2): CandidateV2.AsObject;205 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};206 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};207 static serializeBinaryToWriter(message: CandidateV2, writer: jspb.BinaryWriter): void;208 static deserializeBinary(bytes: Uint8Array): CandidateV2;209 static deserializeBinaryFromReader(message: CandidateV2, reader: jspb.BinaryReader): CandidateV2;210}211export namespace CandidateV2 {212 export type AsObject = {213 address?: proto_as2ng_pb.Address.AsObject,214 pubKey: Uint8Array | string,215 fee: number,216 newfee: number,217 feedelaycounter: number,218 name: string,219 description: string,220 website: string,221 }222}223export class CandidateListV2 extends jspb.Message {224 clearCandidatesList(): void;225 getCandidatesList(): Array<CandidateV2>;226 setCandidatesList(value: Array<CandidateV2>): void;227 addCandidates(value?: CandidateV2, index?: number): CandidateV2;228 serializeBinary(): Uint8Array;229 toObject(includeInstance?: boolean): CandidateListV2.AsObject;230 static toObject(includeInstance: boolean, msg: CandidateListV2): CandidateListV2.AsObject;231 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};232 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};233 static serializeBinaryToWriter(message: CandidateListV2, writer: jspb.BinaryWriter): void;234 static deserializeBinary(bytes: Uint8Array): CandidateListV2;235 static deserializeBinaryFromReader(message: CandidateListV2, reader: jspb.BinaryReader): CandidateListV2;236}237export namespace CandidateListV2 {238 export type AsObject = {239 candidatesList: Array<CandidateV2.AsObject>,240 }241}242export class DelegationV2 extends jspb.Message {243 hasValidator(): boolean;244 clearValidator(): void;245 getValidator(): proto_as2ng_pb.Address | undefined;246 setValidator(value?: proto_as2ng_pb.Address): void;247 hasDelegator(): boolean;248 clearDelegator(): void;249 getDelegator(): proto_as2ng_pb.Address | undefined;250 setDelegator(value?: proto_as2ng_pb.Address): void;251 hasAmount(): boolean;252 clearAmount(): void;253 getAmount(): proto_as2ng_pb.BigUInt | undefined;254 setAmount(value?: proto_as2ng_pb.BigUInt): void;255 hasUpdateAmount(): boolean;256 clearUpdateAmount(): void;257 getUpdateAmount(): proto_as2ng_pb.BigUInt | undefined;258 setUpdateAmount(value?: proto_as2ng_pb.BigUInt): void;259 getHeight(): number;260 setHeight(value: number): void;261 getLockTime(): number;262 setLockTime(value: number): void;263 getLocktimeTier(): DelegationV2.LocktimeTier;264 setLocktimeTier(value: DelegationV2.LocktimeTier): void;265 getState(): DelegationV2.DelegationState;266 setState(value: DelegationV2.DelegationState): void;267 hasUpdateValidator(): boolean;268 clearUpdateValidator(): void;269 getUpdateValidator(): proto_as2ng_pb.Address | undefined;270 setUpdateValidator(value?: proto_as2ng_pb.Address): void;271 serializeBinary(): Uint8Array;272 toObject(includeInstance?: boolean): DelegationV2.AsObject;273 static toObject(includeInstance: boolean, msg: DelegationV2): DelegationV2.AsObject;274 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};275 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};276 static serializeBinaryToWriter(message: DelegationV2, writer: jspb.BinaryWriter): void;277 static deserializeBinary(bytes: Uint8Array): DelegationV2;278 static deserializeBinaryFromReader(message: DelegationV2, reader: jspb.BinaryReader): DelegationV2;279}280export namespace DelegationV2 {281 export type AsObject = {282 validator?: proto_as2ng_pb.Address.AsObject,283 delegator?: proto_as2ng_pb.Address.AsObject,284 amount?: proto_as2ng_pb.BigUInt.AsObject,285 updateAmount?: proto_as2ng_pb.BigUInt.AsObject,286 height: number,287 lockTime: number,288 locktimeTier: DelegationV2.LocktimeTier,289 state: DelegationV2.DelegationState,290 updateValidator?: proto_as2ng_pb.Address.AsObject,291 }292 export enum LocktimeTier {293 TIER_ZERO = 0,294 TIER_ONE = 1,295 TIER_TWO = 2,296 TIER_THREE = 3,297 }298 export enum DelegationState {299 BONDING = 0,300 BONDED = 1,301 UNBONDING = 2,302 REDELEGATING = 3,303 }304}305export class DelegationListV2 extends jspb.Message {306 clearDelegationsList(): void;307 getDelegationsList(): Array<DelegationV2>;308 setDelegationsList(value: Array<DelegationV2>): void;309 addDelegations(value?: DelegationV2, index?: number): DelegationV2;310 serializeBinary(): Uint8Array;311 toObject(includeInstance?: boolean): DelegationListV2.AsObject;312 static toObject(includeInstance: boolean, msg: DelegationListV2): DelegationListV2.AsObject;313 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};314 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};315 static serializeBinaryToWriter(message: DelegationListV2, writer: jspb.BinaryWriter): void;316 static deserializeBinary(bytes: Uint8Array): DelegationListV2;317 static deserializeBinaryFromReader(message: DelegationListV2, reader: jspb.BinaryReader): DelegationListV2;318}319export namespace DelegationListV2 {320 export type AsObject = {321 delegationsList: Array<DelegationV2.AsObject>,322 }323}324export class DistributionV2 extends jspb.Message {325 hasAddress(): boolean;326 clearAddress(): void;327 getAddress(): proto_as2ng_pb.Address | undefined;328 setAddress(value?: proto_as2ng_pb.Address): void;329 hasAmount(): boolean;330 clearAmount(): void;331 getAmount(): proto_as2ng_pb.BigUInt | undefined;332 setAmount(value?: proto_as2ng_pb.BigUInt): void;333 serializeBinary(): Uint8Array;334 toObject(includeInstance?: boolean): DistributionV2.AsObject;335 static toObject(includeInstance: boolean, msg: DistributionV2): DistributionV2.AsObject;336 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};337 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};338 static serializeBinaryToWriter(message: DistributionV2, writer: jspb.BinaryWriter): void;339 static deserializeBinary(bytes: Uint8Array): DistributionV2;340 static deserializeBinaryFromReader(message: DistributionV2, reader: jspb.BinaryReader): DistributionV2;341}342export namespace DistributionV2 {343 export type AsObject = {344 address?: proto_as2ng_pb.Address.AsObject,345 amount?: proto_as2ng_pb.BigUInt.AsObject,346 }347}348export class DistributionListV2 extends jspb.Message {349 clearDistributionsList(): void;350 getDistributionsList(): Array<DistributionV2>;351 setDistributionsList(value: Array<DistributionV2>): void;352 addDistributions(value?: DistributionV2, index?: number): DistributionV2;353 serializeBinary(): Uint8Array;354 toObject(includeInstance?: boolean): DistributionListV2.AsObject;355 static toObject(includeInstance: boolean, msg: DistributionListV2): DistributionListV2.AsObject;356 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};357 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};358 static serializeBinaryToWriter(message: DistributionListV2, writer: jspb.BinaryWriter): void;359 static deserializeBinary(bytes: Uint8Array): DistributionListV2;360 static deserializeBinaryFromReader(message: DistributionListV2, reader: jspb.BinaryReader): DistributionListV2;361}362export namespace DistributionListV2 {363 export type AsObject = {364 distributionsList: Array<DistributionV2.AsObject>,365 }366}367export class DPOSInitRequestV2 extends jspb.Message {368 hasParams(): boolean;369 clearParams(): void;370 getParams(): ParamsV2 | undefined;371 setParams(value?: ParamsV2): void;372 clearValidatorsList(): void;373 getValidatorsList(): Array<Validator>;374 setValidatorsList(value: Array<Validator>): void;375 addValidators(value?: Validator, index?: number): Validator;376 serializeBinary(): Uint8Array;377 toObject(includeInstance?: boolean): DPOSInitRequestV2.AsObject;378 static toObject(includeInstance: boolean, msg: DPOSInitRequestV2): DPOSInitRequestV2.AsObject;379 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};380 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};381 static serializeBinaryToWriter(message: DPOSInitRequestV2, writer: jspb.BinaryWriter): void;382 static deserializeBinary(bytes: Uint8Array): DPOSInitRequestV2;383 static deserializeBinaryFromReader(message: DPOSInitRequestV2, reader: jspb.BinaryReader): DPOSInitRequestV2;384}385export namespace DPOSInitRequestV2 {386 export type AsObject = {387 params?: ParamsV2.AsObject,388 validatorsList: Array<Validator.AsObject>,389 }390}391export class DelegateRequestV2 extends jspb.Message {392 hasValidatorAddress(): boolean;393 clearValidatorAddress(): void;394 getValidatorAddress(): proto_as2ng_pb.Address | undefined;395 setValidatorAddress(value?: proto_as2ng_pb.Address): void;396 hasAmount(): boolean;397 clearAmount(): void;398 getAmount(): proto_as2ng_pb.BigUInt | undefined;399 setAmount(value?: proto_as2ng_pb.BigUInt): void;400 getLocktimeTier(): number;401 setLocktimeTier(value: number): void;402 getReferrer(): string;403 setReferrer(value: string): void;404 serializeBinary(): Uint8Array;405 toObject(includeInstance?: boolean): DelegateRequestV2.AsObject;406 static toObject(includeInstance: boolean, msg: DelegateRequestV2): DelegateRequestV2.AsObject;407 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};408 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};409 static serializeBinaryToWriter(message: DelegateRequestV2, writer: jspb.BinaryWriter): void;410 static deserializeBinary(bytes: Uint8Array): DelegateRequestV2;411 static deserializeBinaryFromReader(message: DelegateRequestV2, reader: jspb.BinaryReader): DelegateRequestV2;412}413export namespace DelegateRequestV2 {414 export type AsObject = {415 validatorAddress?: proto_as2ng_pb.Address.AsObject,416 amount?: proto_as2ng_pb.BigUInt.AsObject,417 locktimeTier: number,418 referrer: string,419 }420}421export class RedelegateRequestV2 extends jspb.Message {422 hasValidatorAddress(): boolean;423 clearValidatorAddress(): void;424 getValidatorAddress(): proto_as2ng_pb.Address | undefined;425 setValidatorAddress(value?: proto_as2ng_pb.Address): void;426 hasFormerValidatorAddress(): boolean;427 clearFormerValidatorAddress(): void;428 getFormerValidatorAddress(): proto_as2ng_pb.Address | undefined;429 setFormerValidatorAddress(value?: proto_as2ng_pb.Address): void;430 hasAmount(): boolean;431 clearAmount(): void;432 getAmount(): proto_as2ng_pb.BigUInt | undefined;433 setAmount(value?: proto_as2ng_pb.BigUInt): void;434 getReferrer(): string;435 setReferrer(value: string): void;436 serializeBinary(): Uint8Array;437 toObject(includeInstance?: boolean): RedelegateRequestV2.AsObject;438 static toObject(includeInstance: boolean, msg: RedelegateRequestV2): RedelegateRequestV2.AsObject;439 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};440 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};441 static serializeBinaryToWriter(message: RedelegateRequestV2, writer: jspb.BinaryWriter): void;442 static deserializeBinary(bytes: Uint8Array): RedelegateRequestV2;443 static deserializeBinaryFromReader(message: RedelegateRequestV2, reader: jspb.BinaryReader): RedelegateRequestV2;444}445export namespace RedelegateRequestV2 {446 export type AsObject = {447 validatorAddress?: proto_as2ng_pb.Address.AsObject,448 formerValidatorAddress?: proto_as2ng_pb.Address.AsObject,449 amount?: proto_as2ng_pb.BigUInt.AsObject,450 referrer: string,451 }452}453export class CheckDelegationRequestV2 extends jspb.Message {454 hasValidatorAddress(): boolean;455 clearValidatorAddress(): void;456 getValidatorAddress(): proto_as2ng_pb.Address | undefined;457 setValidatorAddress(value?: proto_as2ng_pb.Address): void;458 hasDelegatorAddress(): boolean;459 clearDelegatorAddress(): void;460 getDelegatorAddress(): proto_as2ng_pb.Address | undefined;461 setDelegatorAddress(value?: proto_as2ng_pb.Address): void;462 serializeBinary(): Uint8Array;463 toObject(includeInstance?: boolean): CheckDelegationRequestV2.AsObject;464 static toObject(includeInstance: boolean, msg: CheckDelegationRequestV2): CheckDelegationRequestV2.AsObject;465 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};466 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};467 static serializeBinaryToWriter(message: CheckDelegationRequestV2, writer: jspb.BinaryWriter): void;468 static deserializeBinary(bytes: Uint8Array): CheckDelegationRequestV2;469 static deserializeBinaryFromReader(message: CheckDelegationRequestV2, reader: jspb.BinaryReader): CheckDelegationRequestV2;470}471export namespace CheckDelegationRequestV2 {472 export type AsObject = {473 validatorAddress?: proto_as2ng_pb.Address.AsObject,474 delegatorAddress?: proto_as2ng_pb.Address.AsObject,475 }476}477export class CheckDelegationResponseV2 extends jspb.Message {478 hasDelegation(): boolean;479 clearDelegation(): void;480 getDelegation(): DelegationV2 | undefined;481 setDelegation(value?: DelegationV2): void;482 serializeBinary(): Uint8Array;483 toObject(includeInstance?: boolean): CheckDelegationResponseV2.AsObject;484 static toObject(includeInstance: boolean, msg: CheckDelegationResponseV2): CheckDelegationResponseV2.AsObject;485 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};486 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};487 static serializeBinaryToWriter(message: CheckDelegationResponseV2, writer: jspb.BinaryWriter): void;488 static deserializeBinary(bytes: Uint8Array): CheckDelegationResponseV2;489 static deserializeBinaryFromReader(message: CheckDelegationResponseV2, reader: jspb.BinaryReader): CheckDelegationResponseV2;490}491export namespace CheckDelegationResponseV2 {492 export type AsObject = {493 delegation?: DelegationV2.AsObject,494 }495}496export class ClaimDistributionRequestV2 extends jspb.Message {497 hasWithdrawalAddress(): boolean;498 clearWithdrawalAddress(): void;499 getWithdrawalAddress(): proto_as2ng_pb.Address | undefined;500 setWithdrawalAddress(value?: proto_as2ng_pb.Address): void;501 serializeBinary(): Uint8Array;502 toObject(includeInstance?: boolean): ClaimDistributionRequestV2.AsObject;503 static toObject(includeInstance: boolean, msg: ClaimDistributionRequestV2): ClaimDistributionRequestV2.AsObject;504 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};505 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};506 static serializeBinaryToWriter(message: ClaimDistributionRequestV2, writer: jspb.BinaryWriter): void;507 static deserializeBinary(bytes: Uint8Array): ClaimDistributionRequestV2;508 static deserializeBinaryFromReader(message: ClaimDistributionRequestV2, reader: jspb.BinaryReader): ClaimDistributionRequestV2;509}510export namespace ClaimDistributionRequestV2 {511 export type AsObject = {512 withdrawalAddress?: proto_as2ng_pb.Address.AsObject,513 }514}515export class ClaimDistributionResponseV2 extends jspb.Message {516 hasAmount(): boolean;517 clearAmount(): void;518 getAmount(): proto_as2ng_pb.BigUInt | undefined;519 setAmount(value?: proto_as2ng_pb.BigUInt): void;520 serializeBinary(): Uint8Array;521 toObject(includeInstance?: boolean): ClaimDistributionResponseV2.AsObject;522 static toObject(includeInstance: boolean, msg: ClaimDistributionResponseV2): ClaimDistributionResponseV2.AsObject;523 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};524 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};525 static serializeBinaryToWriter(message: ClaimDistributionResponseV2, writer: jspb.BinaryWriter): void;526 static deserializeBinary(bytes: Uint8Array): ClaimDistributionResponseV2;527 static deserializeBinaryFromReader(message: ClaimDistributionResponseV2, reader: jspb.BinaryReader): ClaimDistributionResponseV2;528}529export namespace ClaimDistributionResponseV2 {530 export type AsObject = {531 amount?: proto_as2ng_pb.BigUInt.AsObject,532 }533}534export class UnbondRequestV2 extends jspb.Message {535 hasValidatorAddress(): boolean;536 clearValidatorAddress(): void;537 getValidatorAddress(): proto_as2ng_pb.Address | undefined;538 setValidatorAddress(value?: proto_as2ng_pb.Address): void;539 hasAmount(): boolean;540 clearAmount(): void;541 getAmount(): proto_as2ng_pb.BigUInt | undefined;542 setAmount(value?: proto_as2ng_pb.BigUInt): void;543 serializeBinary(): Uint8Array;544 toObject(includeInstance?: boolean): UnbondRequestV2.AsObject;545 static toObject(includeInstance: boolean, msg: UnbondRequestV2): UnbondRequestV2.AsObject;546 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};547 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};548 static serializeBinaryToWriter(message: UnbondRequestV2, writer: jspb.BinaryWriter): void;549 static deserializeBinary(bytes: Uint8Array): UnbondRequestV2;550 static deserializeBinaryFromReader(message: UnbondRequestV2, reader: jspb.BinaryReader): UnbondRequestV2;551}552export namespace UnbondRequestV2 {553 export type AsObject = {554 validatorAddress?: proto_as2ng_pb.Address.AsObject,555 amount?: proto_as2ng_pb.BigUInt.AsObject,556 }557}558export class WhitelistCandidateRequestV2 extends jspb.Message {559 hasCandidateAddress(): boolean;560 clearCandidateAddress(): void;561 getCandidateAddress(): proto_as2ng_pb.Address | undefined;562 setCandidateAddress(value?: proto_as2ng_pb.Address): void;563 hasAmount(): boolean;564 clearAmount(): void;565 getAmount(): proto_as2ng_pb.BigUInt | undefined;566 setAmount(value?: proto_as2ng_pb.BigUInt): void;567 getLockTime(): number;568 setLockTime(value: number): void;569 serializeBinary(): Uint8Array;570 toObject(includeInstance?: boolean): WhitelistCandidateRequestV2.AsObject;571 static toObject(includeInstance: boolean, msg: WhitelistCandidateRequestV2): WhitelistCandidateRequestV2.AsObject;572 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};573 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};574 static serializeBinaryToWriter(message: WhitelistCandidateRequestV2, writer: jspb.BinaryWriter): void;575 static deserializeBinary(bytes: Uint8Array): WhitelistCandidateRequestV2;576 static deserializeBinaryFromReader(message: WhitelistCandidateRequestV2, reader: jspb.BinaryReader): WhitelistCandidateRequestV2;577}578export namespace WhitelistCandidateRequestV2 {579 export type AsObject = {580 candidateAddress?: proto_as2ng_pb.Address.AsObject,581 amount?: proto_as2ng_pb.BigUInt.AsObject,582 lockTime: number,583 }584}585export class RemoveWhitelistedCandidateRequestV2 extends jspb.Message {586 hasCandidateAddress(): boolean;587 clearCandidateAddress(): void;588 getCandidateAddress(): proto_as2ng_pb.Address | undefined;589 setCandidateAddress(value?: proto_as2ng_pb.Address): void;590 serializeBinary(): Uint8Array;591 toObject(includeInstance?: boolean): RemoveWhitelistedCandidateRequestV2.AsObject;592 static toObject(includeInstance: boolean, msg: RemoveWhitelistedCandidateRequestV2): RemoveWhitelistedCandidateRequestV2.AsObject;593 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};594 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};595 static serializeBinaryToWriter(message: RemoveWhitelistedCandidateRequestV2, writer: jspb.BinaryWriter): void;596 static deserializeBinary(bytes: Uint8Array): RemoveWhitelistedCandidateRequestV2;597 static deserializeBinaryFromReader(message: RemoveWhitelistedCandidateRequestV2, reader: jspb.BinaryReader): RemoveWhitelistedCandidateRequestV2;598}599export namespace RemoveWhitelistedCandidateRequestV2 {600 export type AsObject = {601 candidateAddress?: proto_as2ng_pb.Address.AsObject,602 }603}604export class RegisterCandidateRequestV2 extends jspb.Message {605 getPubKey(): Uint8Array | string;606 getPubKey_asU8(): Uint8Array;607 getPubKey_asB64(): string;608 setPubKey(value: Uint8Array | string): void;609 getFee(): number;610 setFee(value: number): void;611 getName(): string;612 setName(value: string): void;613 getDescription(): string;614 setDescription(value: string): void;615 getWebsite(): string;616 setWebsite(value: string): void;617 getLocktimeTier(): number;618 setLocktimeTier(value: number): void;619 serializeBinary(): Uint8Array;620 toObject(includeInstance?: boolean): RegisterCandidateRequestV2.AsObject;621 static toObject(includeInstance: boolean, msg: RegisterCandidateRequestV2): RegisterCandidateRequestV2.AsObject;622 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};623 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};624 static serializeBinaryToWriter(message: RegisterCandidateRequestV2, writer: jspb.BinaryWriter): void;625 static deserializeBinary(bytes: Uint8Array): RegisterCandidateRequestV2;626 static deserializeBinaryFromReader(message: RegisterCandidateRequestV2, reader: jspb.BinaryReader): RegisterCandidateRequestV2;627}628export namespace RegisterCandidateRequestV2 {629 export type AsObject = {630 pubKey: Uint8Array | string,631 fee: number,632 name: string,633 description: string,634 website: string,635 locktimeTier: number,636 }637}638export class ChangeCandidateFeeRequest extends jspb.Message {639 getFee(): number;640 setFee(value: number): void;641 serializeBinary(): Uint8Array;642 toObject(includeInstance?: boolean): ChangeCandidateFeeRequest.AsObject;643 static toObject(includeInstance: boolean, msg: ChangeCandidateFeeRequest): ChangeCandidateFeeRequest.AsObject;644 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};645 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};646 static serializeBinaryToWriter(message: ChangeCandidateFeeRequest, writer: jspb.BinaryWriter): void;647 static deserializeBinary(bytes: Uint8Array): ChangeCandidateFeeRequest;648 static deserializeBinaryFromReader(message: ChangeCandidateFeeRequest, reader: jspb.BinaryReader): ChangeCandidateFeeRequest;649}650export namespace ChangeCandidateFeeRequest {651 export type AsObject = {652 fee: number,653 }654}655export class UnregisterCandidateRequestV2 extends jspb.Message {656 serializeBinary(): Uint8Array;657 toObject(includeInstance?: boolean): UnregisterCandidateRequestV2.AsObject;658 static toObject(includeInstance: boolean, msg: UnregisterCandidateRequestV2): UnregisterCandidateRequestV2.AsObject;659 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};660 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};661 static serializeBinaryToWriter(message: UnregisterCandidateRequestV2, writer: jspb.BinaryWriter): void;662 static deserializeBinary(bytes: Uint8Array): UnregisterCandidateRequestV2;663 static deserializeBinaryFromReader(message: UnregisterCandidateRequestV2, reader: jspb.BinaryReader): UnregisterCandidateRequestV2;664}665export namespace UnregisterCandidateRequestV2 {666 export type AsObject = {667 }668}669export class ElectDelegationRequestV2 extends jspb.Message {670 serializeBinary(): Uint8Array;671 toObject(includeInstance?: boolean): ElectDelegationRequestV2.AsObject;672 static toObject(includeInstance: boolean, msg: ElectDelegationRequestV2): ElectDelegationRequestV2.AsObject;673 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};674 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};675 static serializeBinaryToWriter(message: ElectDelegationRequestV2, writer: jspb.BinaryWriter): void;676 static deserializeBinary(bytes: Uint8Array): ElectDelegationRequestV2;677 static deserializeBinaryFromReader(message: ElectDelegationRequestV2, reader: jspb.BinaryReader): ElectDelegationRequestV2;678}679export namespace ElectDelegationRequestV2 {680 export type AsObject = {681 }682}683export class ListValidatorsRequestV2 extends jspb.Message {684 serializeBinary(): Uint8Array;685 toObject(includeInstance?: boolean): ListValidatorsRequestV2.AsObject;686 static toObject(includeInstance: boolean, msg: ListValidatorsRequestV2): ListValidatorsRequestV2.AsObject;687 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};688 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};689 static serializeBinaryToWriter(message: ListValidatorsRequestV2, writer: jspb.BinaryWriter): void;690 static deserializeBinary(bytes: Uint8Array): ListValidatorsRequestV2;691 static deserializeBinaryFromReader(message: ListValidatorsRequestV2, reader: jspb.BinaryReader): ListValidatorsRequestV2;692}693export namespace ListValidatorsRequestV2 {694 export type AsObject = {695 }696}697export class ListValidatorsResponseV2 extends jspb.Message {698 clearStatisticsList(): void;699 getStatisticsList(): Array<ValidatorStatisticV2>;700 setStatisticsList(value: Array<ValidatorStatisticV2>): void;701 addStatistics(value?: ValidatorStatisticV2, index?: number): ValidatorStatisticV2;702 serializeBinary(): Uint8Array;703 toObject(includeInstance?: boolean): ListValidatorsResponseV2.AsObject;704 static toObject(includeInstance: boolean, msg: ListValidatorsResponseV2): ListValidatorsResponseV2.AsObject;705 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};706 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};707 static serializeBinaryToWriter(message: ListValidatorsResponseV2, writer: jspb.BinaryWriter): void;708 static deserializeBinary(bytes: Uint8Array): ListValidatorsResponseV2;709 static deserializeBinaryFromReader(message: ListValidatorsResponseV2, reader: jspb.BinaryReader): ListValidatorsResponseV2;710}711export namespace ListValidatorsResponseV2 {712 export type AsObject = {713 statisticsList: Array<ValidatorStatisticV2.AsObject>,714 }715}716export class ListCandidateRequestV2 extends jspb.Message {717 serializeBinary(): Uint8Array;718 toObject(includeInstance?: boolean): ListCandidateRequestV2.AsObject;719 static toObject(includeInstance: boolean, msg: ListCandidateRequestV2): ListCandidateRequestV2.AsObject;720 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};721 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};722 static serializeBinaryToWriter(message: ListCandidateRequestV2, writer: jspb.BinaryWriter): void;723 static deserializeBinary(bytes: Uint8Array): ListCandidateRequestV2;724 static deserializeBinaryFromReader(message: ListCandidateRequestV2, reader: jspb.BinaryReader): ListCandidateRequestV2;725}726export namespace ListCandidateRequestV2 {727 export type AsObject = {728 }729}730export class ListCandidateResponseV2 extends jspb.Message {731 clearCandidatesList(): void;732 getCandidatesList(): Array<CandidateV2>;733 setCandidatesList(value: Array<CandidateV2>): void;734 addCandidates(value?: CandidateV2, index?: number): CandidateV2;735 serializeBinary(): Uint8Array;736 toObject(includeInstance?: boolean): ListCandidateResponseV2.AsObject;737 static toObject(includeInstance: boolean, msg: ListCandidateResponseV2): ListCandidateResponseV2.AsObject;738 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};739 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};740 static serializeBinaryToWriter(message: ListCandidateResponseV2, writer: jspb.BinaryWriter): void;741 static deserializeBinary(bytes: Uint8Array): ListCandidateResponseV2;742 static deserializeBinaryFromReader(message: ListCandidateResponseV2, reader: jspb.BinaryReader): ListCandidateResponseV2;743}744export namespace ListCandidateResponseV2 {745 export type AsObject = {746 candidatesList: Array<CandidateV2.AsObject>,747 }748}749export class SetElectionCycleRequestV2 extends jspb.Message {750 getElectionCycle(): number;751 setElectionCycle(value: number): void;752 serializeBinary(): Uint8Array;753 toObject(includeInstance?: boolean): SetElectionCycleRequestV2.AsObject;754 static toObject(includeInstance: boolean, msg: SetElectionCycleRequestV2): SetElectionCycleRequestV2.AsObject;755 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};756 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};757 static serializeBinaryToWriter(message: SetElectionCycleRequestV2, writer: jspb.BinaryWriter): void;758 static deserializeBinary(bytes: Uint8Array): SetElectionCycleRequestV2;759 static deserializeBinaryFromReader(message: SetElectionCycleRequestV2, reader: jspb.BinaryReader): SetElectionCycleRequestV2;760}761export namespace SetElectionCycleRequestV2 {762 export type AsObject = {763 electionCycle: number,764 }765}766export class SetMaxYearlyRewardRequestV2 extends jspb.Message {767 hasMaxYearlyReward(): boolean;768 clearMaxYearlyReward(): void;769 getMaxYearlyReward(): proto_as2ng_pb.BigUInt | undefined;770 setMaxYearlyReward(value?: proto_as2ng_pb.BigUInt): void;771 serializeBinary(): Uint8Array;772 toObject(includeInstance?: boolean): SetMaxYearlyRewardRequestV2.AsObject;773 static toObject(includeInstance: boolean, msg: SetMaxYearlyRewardRequestV2): SetMaxYearlyRewardRequestV2.AsObject;774 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};775 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};776 static serializeBinaryToWriter(message: SetMaxYearlyRewardRequestV2, writer: jspb.BinaryWriter): void;777 static deserializeBinary(bytes: Uint8Array): SetMaxYearlyRewardRequestV2;778 static deserializeBinaryFromReader(message: SetMaxYearlyRewardRequestV2, reader: jspb.BinaryReader): SetMaxYearlyRewardRequestV2;779}780export namespace SetMaxYearlyRewardRequestV2 {781 export type AsObject = {782 maxYearlyReward?: proto_as2ng_pb.BigUInt.AsObject,783 }784}785export class SetRegistrationRequirementRequestV2 extends jspb.Message {786 hasRegistrationRequirement(): boolean;787 clearRegistrationRequirement(): void;788 getRegistrationRequirement(): proto_as2ng_pb.BigUInt | undefined;789 setRegistrationRequirement(value?: proto_as2ng_pb.BigUInt): void;790 serializeBinary(): Uint8Array;791 toObject(includeInstance?: boolean): SetRegistrationRequirementRequestV2.AsObject;792 static toObject(includeInstance: boolean, msg: SetRegistrationRequirementRequestV2): SetRegistrationRequirementRequestV2.AsObject;793 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};794 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};795 static serializeBinaryToWriter(message: SetRegistrationRequirementRequestV2, writer: jspb.BinaryWriter): void;796 static deserializeBinary(bytes: Uint8Array): SetRegistrationRequirementRequestV2;797 static deserializeBinaryFromReader(message: SetRegistrationRequirementRequestV2, reader: jspb.BinaryReader): SetRegistrationRequirementRequestV2;798}799export namespace SetRegistrationRequirementRequestV2 {800 export type AsObject = {801 registrationRequirement?: proto_as2ng_pb.BigUInt.AsObject,802 }803}804export class SetValidatorCountRequestV2 extends jspb.Message {805 getValidatorCount(): number;806 setValidatorCount(value: number): void;807 serializeBinary(): Uint8Array;808 toObject(includeInstance?: boolean): SetValidatorCountRequestV2.AsObject;809 static toObject(includeInstance: boolean, msg: SetValidatorCountRequestV2): SetValidatorCountRequestV2.AsObject;810 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};811 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};812 static serializeBinaryToWriter(message: SetValidatorCountRequestV2, writer: jspb.BinaryWriter): void;813 static deserializeBinary(bytes: Uint8Array): SetValidatorCountRequestV2;814 static deserializeBinaryFromReader(message: SetValidatorCountRequestV2, reader: jspb.BinaryReader): SetValidatorCountRequestV2;815}816export namespace SetValidatorCountRequestV2 {817 export type AsObject = {818 validatorCount: number,819 }820}821export class SetOracleAddressRequestV2 extends jspb.Message {822 hasOracleAddress(): boolean;823 clearOracleAddress(): void;824 getOracleAddress(): proto_as2ng_pb.Address | undefined;825 setOracleAddress(value?: proto_as2ng_pb.Address): void;826 serializeBinary(): Uint8Array;827 toObject(includeInstance?: boolean): SetOracleAddressRequestV2.AsObject;828 static toObject(includeInstance: boolean, msg: SetOracleAddressRequestV2): SetOracleAddressRequestV2.AsObject;829 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};830 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};831 static serializeBinaryToWriter(message: SetOracleAddressRequestV2, writer: jspb.BinaryWriter): void;832 static deserializeBinary(bytes: Uint8Array): SetOracleAddressRequestV2;833 static deserializeBinaryFromReader(message: SetOracleAddressRequestV2, reader: jspb.BinaryReader): SetOracleAddressRequestV2;834}835export namespace SetOracleAddressRequestV2 {836 export type AsObject = {837 oracleAddress?: proto_as2ng_pb.Address.AsObject,838 }839}840export class SetSlashingPercentagesRequestV2 extends jspb.Message {841 hasCrashSlashingPercentage(): boolean;842 clearCrashSlashingPercentage(): void;843 getCrashSlashingPercentage(): proto_as2ng_pb.BigUInt | undefined;844 setCrashSlashingPercentage(value?: proto_as2ng_pb.BigUInt): void;845 hasByzantineSlashingPercentage(): boolean;846 clearByzantineSlashingPercentage(): void;847 getByzantineSlashingPercentage(): proto_as2ng_pb.BigUInt | undefined;848 setByzantineSlashingPercentage(value?: proto_as2ng_pb.BigUInt): void;849 serializeBinary(): Uint8Array;850 toObject(includeInstance?: boolean): SetSlashingPercentagesRequestV2.AsObject;851 static toObject(includeInstance: boolean, msg: SetSlashingPercentagesRequestV2): SetSlashingPercentagesRequestV2.AsObject;852 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};853 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};854 static serializeBinaryToWriter(message: SetSlashingPercentagesRequestV2, writer: jspb.BinaryWriter): void;855 static deserializeBinary(bytes: Uint8Array): SetSlashingPercentagesRequestV2;856 static deserializeBinaryFromReader(message: SetSlashingPercentagesRequestV2, reader: jspb.BinaryReader): SetSlashingPercentagesRequestV2;857}858export namespace SetSlashingPercentagesRequestV2 {859 export type AsObject = {860 crashSlashingPercentage?: proto_as2ng_pb.BigUInt.AsObject,861 byzantineSlashingPercentage?: proto_as2ng_pb.BigUInt.AsObject,862 }863}864export class TotalDelegationRequest extends jspb.Message {865 hasDelegatorAddress(): boolean;866 clearDelegatorAddress(): void;867 getDelegatorAddress(): proto_as2ng_pb.Address | undefined;868 setDelegatorAddress(value?: proto_as2ng_pb.Address): void;869 serializeBinary(): Uint8Array;870 toObject(includeInstance?: boolean): TotalDelegationRequest.AsObject;871 static toObject(includeInstance: boolean, msg: TotalDelegationRequest): TotalDelegationRequest.AsObject;872 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};873 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};874 static serializeBinaryToWriter(message: TotalDelegationRequest, writer: jspb.BinaryWriter): void;875 static deserializeBinary(bytes: Uint8Array): TotalDelegationRequest;876 static deserializeBinaryFromReader(message: TotalDelegationRequest, reader: jspb.BinaryReader): TotalDelegationRequest;877}878export namespace TotalDelegationRequest {879 export type AsObject = {880 delegatorAddress?: proto_as2ng_pb.Address.AsObject,881 }882}883export class TotalDelegationResponse extends jspb.Message {884 hasAmount(): boolean;885 clearAmount(): void;886 getAmount(): proto_as2ng_pb.BigUInt | undefined;887 setAmount(value?: proto_as2ng_pb.BigUInt): void;888 hasWeightedAmount(): boolean;889 clearWeightedAmount(): void;890 getWeightedAmount(): proto_as2ng_pb.BigUInt | undefined;891 setWeightedAmount(value?: proto_as2ng_pb.BigUInt): void;892 serializeBinary(): Uint8Array;893 toObject(includeInstance?: boolean): TotalDelegationResponse.AsObject;894 static toObject(includeInstance: boolean, msg: TotalDelegationResponse): TotalDelegationResponse.AsObject;895 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};896 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};897 static serializeBinaryToWriter(message: TotalDelegationResponse, writer: jspb.BinaryWriter): void;898 static deserializeBinary(bytes: Uint8Array): TotalDelegationResponse;899 static deserializeBinaryFromReader(message: TotalDelegationResponse, reader: jspb.BinaryReader): TotalDelegationResponse;900}901export namespace TotalDelegationResponse {902 export type AsObject = {903 amount?: proto_as2ng_pb.BigUInt.AsObject,904 weightedAmount?: proto_as2ng_pb.BigUInt.AsObject,905 }906}907export class CheckDistributionRequest extends jspb.Message {908 hasAddress(): boolean;909 clearAddress(): void;910 getAddress(): proto_as2ng_pb.Address | undefined;911 setAddress(value?: proto_as2ng_pb.Address): void;912 serializeBinary(): Uint8Array;913 toObject(includeInstance?: boolean): CheckDistributionRequest.AsObject;914 static toObject(includeInstance: boolean, msg: CheckDistributionRequest): CheckDistributionRequest.AsObject;915 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};916 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};917 static serializeBinaryToWriter(message: CheckDistributionRequest, writer: jspb.BinaryWriter): void;918 static deserializeBinary(bytes: Uint8Array): CheckDistributionRequest;919 static deserializeBinaryFromReader(message: CheckDistributionRequest, reader: jspb.BinaryReader): CheckDistributionRequest;920}921export namespace CheckDistributionRequest {922 export type AsObject = {923 address?: proto_as2ng_pb.Address.AsObject,924 }925}926export class CheckDistributionResponse extends jspb.Message {927 hasAmount(): boolean;928 clearAmount(): void;929 getAmount(): proto_as2ng_pb.BigUInt | undefined;930 setAmount(value?: proto_as2ng_pb.BigUInt): void;931 serializeBinary(): Uint8Array;932 toObject(includeInstance?: boolean): CheckDistributionResponse.AsObject;933 static toObject(includeInstance: boolean, msg: CheckDistributionResponse): CheckDistributionResponse.AsObject;934 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};935 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};936 static serializeBinaryToWriter(message: CheckDistributionResponse, writer: jspb.BinaryWriter): void;937 static deserializeBinary(bytes: Uint8Array): CheckDistributionResponse;938 static deserializeBinaryFromReader(message: CheckDistributionResponse, reader: jspb.BinaryReader): CheckDistributionResponse;939}940export namespace CheckDistributionResponse {941 export type AsObject = {942 amount?: proto_as2ng_pb.BigUInt.AsObject,943 }944}945export class TimeUntilElectionRequest extends jspb.Message {946 serializeBinary(): Uint8Array;947 toObject(includeInstance?: boolean): TimeUntilElectionRequest.AsObject;948 static toObject(includeInstance: boolean, msg: TimeUntilElectionRequest): TimeUntilElectionRequest.AsObject;949 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};950 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};951 static serializeBinaryToWriter(message: TimeUntilElectionRequest, writer: jspb.BinaryWriter): void;952 static deserializeBinary(bytes: Uint8Array): TimeUntilElectionRequest;953 static deserializeBinaryFromReader(message: TimeUntilElectionRequest, reader: jspb.BinaryReader): TimeUntilElectionRequest;954}955export namespace TimeUntilElectionRequest {956 export type AsObject = {957 }958}959export class TimeUntilElectionResponse extends jspb.Message {960 getTimeUntilElection(): number;961 setTimeUntilElection(value: number): void;962 serializeBinary(): Uint8Array;963 toObject(includeInstance?: boolean): TimeUntilElectionResponse.AsObject;964 static toObject(includeInstance: boolean, msg: TimeUntilElectionResponse): TimeUntilElectionResponse.AsObject;965 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};966 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};967 static serializeBinaryToWriter(message: TimeUntilElectionResponse, writer: jspb.BinaryWriter): void;968 static deserializeBinary(bytes: Uint8Array): TimeUntilElectionResponse;969 static deserializeBinaryFromReader(message: TimeUntilElectionResponse, reader: jspb.BinaryReader): TimeUntilElectionResponse;970}971export namespace TimeUntilElectionResponse {972 export type AsObject = {973 timeUntilElection: number,974 }975}976export class ListDelegationsRequest extends jspb.Message {977 hasCandidate(): boolean;978 clearCandidate(): void;979 getCandidate(): proto_as2ng_pb.Address | undefined;980 setCandidate(value?: proto_as2ng_pb.Address): void;981 serializeBinary(): Uint8Array;982 toObject(includeInstance?: boolean): ListDelegationsRequest.AsObject;983 static toObject(includeInstance: boolean, msg: ListDelegationsRequest): ListDelegationsRequest.AsObject;984 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};985 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};986 static serializeBinaryToWriter(message: ListDelegationsRequest, writer: jspb.BinaryWriter): void;987 static deserializeBinary(bytes: Uint8Array): ListDelegationsRequest;988 static deserializeBinaryFromReader(message: ListDelegationsRequest, reader: jspb.BinaryReader): ListDelegationsRequest;989}990export namespace ListDelegationsRequest {991 export type AsObject = {992 candidate?: proto_as2ng_pb.Address.AsObject,993 }994}995export class ListDelegationsResponse extends jspb.Message {996 clearDelegationsList(): void;997 getDelegationsList(): Array<DelegationV2>;998 setDelegationsList(value: Array<DelegationV2>): void;999 addDelegations(value?: DelegationV2, index?: number): DelegationV2;1000 hasDelegationTotal(): boolean;1001 clearDelegationTotal(): void;1002 getDelegationTotal(): proto_as2ng_pb.BigUInt | undefined;1003 setDelegationTotal(value?: proto_as2ng_pb.BigUInt): void;1004 serializeBinary(): Uint8Array;1005 toObject(includeInstance?: boolean): ListDelegationsResponse.AsObject;1006 static toObject(includeInstance: boolean, msg: ListDelegationsResponse): ListDelegationsResponse.AsObject;1007 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};1008 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};1009 static serializeBinaryToWriter(message: ListDelegationsResponse, writer: jspb.BinaryWriter): void;1010 static deserializeBinary(bytes: Uint8Array): ListDelegationsResponse;1011 static deserializeBinaryFromReader(message: ListDelegationsResponse, reader: jspb.BinaryReader): ListDelegationsResponse;1012}1013export namespace ListDelegationsResponse {1014 export type AsObject = {1015 delegationsList: Array<DelegationV2.AsObject>,1016 delegationTotal?: proto_as2ng_pb.BigUInt.AsObject,1017 }1018}1019export class ListAllDelegationsRequest extends jspb.Message {1020 serializeBinary(): Uint8Array;1021 toObject(includeInstance?: boolean): ListAllDelegationsRequest.AsObject;1022 static toObject(includeInstance: boolean, msg: ListAllDelegationsRequest): ListAllDelegationsRequest.AsObject;1023 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};1024 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};1025 static serializeBinaryToWriter(message: ListAllDelegationsRequest, writer: jspb.BinaryWriter): void;1026 static deserializeBinary(bytes: Uint8Array): ListAllDelegationsRequest;1027 static deserializeBinaryFromReader(message: ListAllDelegationsRequest, reader: jspb.BinaryReader): ListAllDelegationsRequest;1028}1029export namespace ListAllDelegationsRequest {1030 export type AsObject = {1031 }1032}1033export class ListAllDelegationsResponse extends jspb.Message {1034 clearListresponsesList(): void;1035 getListresponsesList(): Array<ListDelegationsResponse>;1036 setListresponsesList(value: Array<ListDelegationsResponse>): void;1037 addListresponses(value?: ListDelegationsResponse, index?: number): ListDelegationsResponse;1038 serializeBinary(): Uint8Array;1039 toObject(includeInstance?: boolean): ListAllDelegationsResponse.AsObject;1040 static toObject(includeInstance: boolean, msg: ListAllDelegationsResponse): ListAllDelegationsResponse.AsObject;1041 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};1042 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};1043 static serializeBinaryToWriter(message: ListAllDelegationsResponse, writer: jspb.BinaryWriter): void;1044 static deserializeBinary(bytes: Uint8Array): ListAllDelegationsResponse;1045 static deserializeBinaryFromReader(message: ListAllDelegationsResponse, reader: jspb.BinaryReader): ListAllDelegationsResponse;1046}1047export namespace ListAllDelegationsResponse {1048 export type AsObject = {1049 listresponsesList: Array<ListDelegationsResponse.AsObject>,1050 }1051}1052export class CheckAllDelegationsRequest extends jspb.Message {1053 hasDelegatorAddress(): boolean;1054 clearDelegatorAddress(): void;1055 getDelegatorAddress(): proto_as2ng_pb.Address | undefined;1056 setDelegatorAddress(value?: proto_as2ng_pb.Address): void;1057 serializeBinary(): Uint8Array;1058 toObject(includeInstance?: boolean): CheckAllDelegationsRequest.AsObject;1059 static toObject(includeInstance: boolean, msg: CheckAllDelegationsRequest): CheckAllDelegationsRequest.AsObject;1060 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};1061 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};1062 static serializeBinaryToWriter(message: CheckAllDelegationsRequest, writer: jspb.BinaryWriter): void;1063 static deserializeBinary(bytes: Uint8Array): CheckAllDelegationsRequest;1064 static deserializeBinaryFromReader(message: CheckAllDelegationsRequest, reader: jspb.BinaryReader): CheckAllDelegationsRequest;1065}1066export namespace CheckAllDelegationsRequest {1067 export type AsObject = {1068 delegatorAddress?: proto_as2ng_pb.Address.AsObject,1069 }1070}1071export class CheckAllDelegationsResponse extends jspb.Message {1072 hasAmount(): boolean;1073 clearAmount(): void;1074 getAmount(): proto_as2ng_pb.BigUInt | undefined;1075 setAmount(value?: proto_as2ng_pb.BigUInt): void;1076 hasWeightedAmount(): boolean;1077 clearWeightedAmount(): void;1078 getWeightedAmount(): proto_as2ng_pb.BigUInt | undefined;1079 setWeightedAmount(value?: proto_as2ng_pb.BigUInt): void;1080 clearDelegationsList(): void;1081 getDelegationsList(): Array<DelegationV2>;1082 setDelegationsList(value: Array<DelegationV2>): void;1083 addDelegations(value?: DelegationV2, index?: number): DelegationV2;1084 serializeBinary(): Uint8Array;1085 toObject(includeInstance?: boolean): CheckAllDelegationsResponse.AsObject;1086 static toObject(includeInstance: boolean, msg: CheckAllDelegationsResponse): CheckAllDelegationsResponse.AsObject;1087 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};1088 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};1089 static serializeBinaryToWriter(message: CheckAllDelegationsResponse, writer: jspb.BinaryWriter): void;1090 static deserializeBinary(bytes: Uint8Array): CheckAllDelegationsResponse;1091 static deserializeBinaryFromReader(message: CheckAllDelegationsResponse, reader: jspb.BinaryReader): CheckAllDelegationsResponse;1092}1093export namespace CheckAllDelegationsResponse {1094 export type AsObject = {1095 amount?: proto_as2ng_pb.BigUInt.AsObject,1096 weightedAmount?: proto_as2ng_pb.BigUInt.AsObject,1097 delegationsList: Array<DelegationV2.AsObject>,1098 }...
coin_pb.d.ts
Source:coin_pb.d.ts
1// package: 2// file: proto/coin.proto3import * as jspb from "google-protobuf";4import * as proto_as2ng_pb from "../proto/as2ng_pb";5export class TotalSupplyRequest extends jspb.Message {6 serializeBinary(): Uint8Array;7 toObject(includeInstance?: boolean): TotalSupplyRequest.AsObject;8 static toObject(includeInstance: boolean, msg: TotalSupplyRequest): TotalSupplyRequest.AsObject;9 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};10 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};11 static serializeBinaryToWriter(message: TotalSupplyRequest, writer: jspb.BinaryWriter): void;12 static deserializeBinary(bytes: Uint8Array): TotalSupplyRequest;13 static deserializeBinaryFromReader(message: TotalSupplyRequest, reader: jspb.BinaryReader): TotalSupplyRequest;14}15export namespace TotalSupplyRequest {16 export type AsObject = {17 }18}19export class TotalSupplyResponse extends jspb.Message {20 hasTotalSupply(): boolean;21 clearTotalSupply(): void;22 getTotalSupply(): proto_as2ng_pb.BigUInt | undefined;23 setTotalSupply(value?: proto_as2ng_pb.BigUInt): void;24 serializeBinary(): Uint8Array;25 toObject(includeInstance?: boolean): TotalSupplyResponse.AsObject;26 static toObject(includeInstance: boolean, msg: TotalSupplyResponse): TotalSupplyResponse.AsObject;27 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};28 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};29 static serializeBinaryToWriter(message: TotalSupplyResponse, writer: jspb.BinaryWriter): void;30 static deserializeBinary(bytes: Uint8Array): TotalSupplyResponse;31 static deserializeBinaryFromReader(message: TotalSupplyResponse, reader: jspb.BinaryReader): TotalSupplyResponse;32}33export namespace TotalSupplyResponse {34 export type AsObject = {35 totalSupply?: proto_as2ng_pb.BigUInt.AsObject,36 }37}38export class BalanceOfRequest extends jspb.Message {39 hasOwner(): boolean;40 clearOwner(): void;41 getOwner(): proto_as2ng_pb.Address | undefined;42 setOwner(value?: proto_as2ng_pb.Address): void;43 serializeBinary(): Uint8Array;44 toObject(includeInstance?: boolean): BalanceOfRequest.AsObject;45 static toObject(includeInstance: boolean, msg: BalanceOfRequest): BalanceOfRequest.AsObject;46 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};47 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};48 static serializeBinaryToWriter(message: BalanceOfRequest, writer: jspb.BinaryWriter): void;49 static deserializeBinary(bytes: Uint8Array): BalanceOfRequest;50 static deserializeBinaryFromReader(message: BalanceOfRequest, reader: jspb.BinaryReader): BalanceOfRequest;51}52export namespace BalanceOfRequest {53 export type AsObject = {54 owner?: proto_as2ng_pb.Address.AsObject,55 }56}57export class BalanceOfResponse extends jspb.Message {58 hasBalance(): boolean;59 clearBalance(): void;60 getBalance(): proto_as2ng_pb.BigUInt | undefined;61 setBalance(value?: proto_as2ng_pb.BigUInt): void;62 serializeBinary(): Uint8Array;63 toObject(includeInstance?: boolean): BalanceOfResponse.AsObject;64 static toObject(includeInstance: boolean, msg: BalanceOfResponse): BalanceOfResponse.AsObject;65 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};66 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};67 static serializeBinaryToWriter(message: BalanceOfResponse, writer: jspb.BinaryWriter): void;68 static deserializeBinary(bytes: Uint8Array): BalanceOfResponse;69 static deserializeBinaryFromReader(message: BalanceOfResponse, reader: jspb.BinaryReader): BalanceOfResponse;70}71export namespace BalanceOfResponse {72 export type AsObject = {73 balance?: proto_as2ng_pb.BigUInt.AsObject,74 }75}76export class AllowanceRequest extends jspb.Message {77 hasOwner(): boolean;78 clearOwner(): void;79 getOwner(): proto_as2ng_pb.Address | undefined;80 setOwner(value?: proto_as2ng_pb.Address): void;81 hasSpender(): boolean;82 clearSpender(): void;83 getSpender(): proto_as2ng_pb.Address | undefined;84 setSpender(value?: proto_as2ng_pb.Address): void;85 serializeBinary(): Uint8Array;86 toObject(includeInstance?: boolean): AllowanceRequest.AsObject;87 static toObject(includeInstance: boolean, msg: AllowanceRequest): AllowanceRequest.AsObject;88 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};89 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};90 static serializeBinaryToWriter(message: AllowanceRequest, writer: jspb.BinaryWriter): void;91 static deserializeBinary(bytes: Uint8Array): AllowanceRequest;92 static deserializeBinaryFromReader(message: AllowanceRequest, reader: jspb.BinaryReader): AllowanceRequest;93}94export namespace AllowanceRequest {95 export type AsObject = {96 owner?: proto_as2ng_pb.Address.AsObject,97 spender?: proto_as2ng_pb.Address.AsObject,98 }99}100export class AllowanceResponse extends jspb.Message {101 hasAmount(): boolean;102 clearAmount(): void;103 getAmount(): proto_as2ng_pb.BigUInt | undefined;104 setAmount(value?: proto_as2ng_pb.BigUInt): void;105 serializeBinary(): Uint8Array;106 toObject(includeInstance?: boolean): AllowanceResponse.AsObject;107 static toObject(includeInstance: boolean, msg: AllowanceResponse): AllowanceResponse.AsObject;108 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};109 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};110 static serializeBinaryToWriter(message: AllowanceResponse, writer: jspb.BinaryWriter): void;111 static deserializeBinary(bytes: Uint8Array): AllowanceResponse;112 static deserializeBinaryFromReader(message: AllowanceResponse, reader: jspb.BinaryReader): AllowanceResponse;113}114export namespace AllowanceResponse {115 export type AsObject = {116 amount?: proto_as2ng_pb.BigUInt.AsObject,117 }118}119export class ApproveRequest extends jspb.Message {120 hasSpender(): boolean;121 clearSpender(): void;122 getSpender(): proto_as2ng_pb.Address | undefined;123 setSpender(value?: proto_as2ng_pb.Address): void;124 hasAmount(): boolean;125 clearAmount(): void;126 getAmount(): proto_as2ng_pb.BigUInt | undefined;127 setAmount(value?: proto_as2ng_pb.BigUInt): void;128 serializeBinary(): Uint8Array;129 toObject(includeInstance?: boolean): ApproveRequest.AsObject;130 static toObject(includeInstance: boolean, msg: ApproveRequest): ApproveRequest.AsObject;131 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};132 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};133 static serializeBinaryToWriter(message: ApproveRequest, writer: jspb.BinaryWriter): void;134 static deserializeBinary(bytes: Uint8Array): ApproveRequest;135 static deserializeBinaryFromReader(message: ApproveRequest, reader: jspb.BinaryReader): ApproveRequest;136}137export namespace ApproveRequest {138 export type AsObject = {139 spender?: proto_as2ng_pb.Address.AsObject,140 amount?: proto_as2ng_pb.BigUInt.AsObject,141 }142}143export class ApproveResponse extends jspb.Message {144 serializeBinary(): Uint8Array;145 toObject(includeInstance?: boolean): ApproveResponse.AsObject;146 static toObject(includeInstance: boolean, msg: ApproveResponse): ApproveResponse.AsObject;147 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};148 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};149 static serializeBinaryToWriter(message: ApproveResponse, writer: jspb.BinaryWriter): void;150 static deserializeBinary(bytes: Uint8Array): ApproveResponse;151 static deserializeBinaryFromReader(message: ApproveResponse, reader: jspb.BinaryReader): ApproveResponse;152}153export namespace ApproveResponse {154 export type AsObject = {155 }156}157export class TransferRequest extends jspb.Message {158 hasTo(): boolean;159 clearTo(): void;160 getTo(): proto_as2ng_pb.Address | undefined;161 setTo(value?: proto_as2ng_pb.Address): void;162 hasAmount(): boolean;163 clearAmount(): void;164 getAmount(): proto_as2ng_pb.BigUInt | undefined;165 setAmount(value?: proto_as2ng_pb.BigUInt): void;166 serializeBinary(): Uint8Array;167 toObject(includeInstance?: boolean): TransferRequest.AsObject;168 static toObject(includeInstance: boolean, msg: TransferRequest): TransferRequest.AsObject;169 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};170 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};171 static serializeBinaryToWriter(message: TransferRequest, writer: jspb.BinaryWriter): void;172 static deserializeBinary(bytes: Uint8Array): TransferRequest;173 static deserializeBinaryFromReader(message: TransferRequest, reader: jspb.BinaryReader): TransferRequest;174}175export namespace TransferRequest {176 export type AsObject = {177 to?: proto_as2ng_pb.Address.AsObject,178 amount?: proto_as2ng_pb.BigUInt.AsObject,179 }180}181export class TransferResponse extends jspb.Message {182 serializeBinary(): Uint8Array;183 toObject(includeInstance?: boolean): TransferResponse.AsObject;184 static toObject(includeInstance: boolean, msg: TransferResponse): TransferResponse.AsObject;185 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};186 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};187 static serializeBinaryToWriter(message: TransferResponse, writer: jspb.BinaryWriter): void;188 static deserializeBinary(bytes: Uint8Array): TransferResponse;189 static deserializeBinaryFromReader(message: TransferResponse, reader: jspb.BinaryReader): TransferResponse;190}191export namespace TransferResponse {192 export type AsObject = {193 }194}195export class TransferFromRequest extends jspb.Message {196 hasFrom(): boolean;197 clearFrom(): void;198 getFrom(): proto_as2ng_pb.Address | undefined;199 setFrom(value?: proto_as2ng_pb.Address): void;200 hasTo(): boolean;201 clearTo(): void;202 getTo(): proto_as2ng_pb.Address | undefined;203 setTo(value?: proto_as2ng_pb.Address): void;204 hasAmount(): boolean;205 clearAmount(): void;206 getAmount(): proto_as2ng_pb.BigUInt | undefined;207 setAmount(value?: proto_as2ng_pb.BigUInt): void;208 serializeBinary(): Uint8Array;209 toObject(includeInstance?: boolean): TransferFromRequest.AsObject;210 static toObject(includeInstance: boolean, msg: TransferFromRequest): TransferFromRequest.AsObject;211 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};212 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};213 static serializeBinaryToWriter(message: TransferFromRequest, writer: jspb.BinaryWriter): void;214 static deserializeBinary(bytes: Uint8Array): TransferFromRequest;215 static deserializeBinaryFromReader(message: TransferFromRequest, reader: jspb.BinaryReader): TransferFromRequest;216}217export namespace TransferFromRequest {218 export type AsObject = {219 from?: proto_as2ng_pb.Address.AsObject,220 to?: proto_as2ng_pb.Address.AsObject,221 amount?: proto_as2ng_pb.BigUInt.AsObject,222 }223}224export class TransferFromResponse extends jspb.Message {225 serializeBinary(): Uint8Array;226 toObject(includeInstance?: boolean): TransferFromResponse.AsObject;227 static toObject(includeInstance: boolean, msg: TransferFromResponse): TransferFromResponse.AsObject;228 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};229 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};230 static serializeBinaryToWriter(message: TransferFromResponse, writer: jspb.BinaryWriter): void;231 static deserializeBinary(bytes: Uint8Array): TransferFromResponse;232 static deserializeBinaryFromReader(message: TransferFromResponse, reader: jspb.BinaryReader): TransferFromResponse;233}234export namespace TransferFromResponse {235 export type AsObject = {236 }...
Using AI Code Generation
1const fc = require('fast-check');2const bigUint = fc.bigUint;3const bigInt = fc.bigInt;4fc.assert(5 fc.property(bigUint(), bigUint(), (a, b) => {6 return a * b >= a && a * b >= b;7 })8);9fc.assert(10 fc.property(bigInt(), bigInt(), (a, b) => {11 return a * b >= a && a * b >= b;12 })13);14const fc = require('fast-check');15const bigUint = fc.bigUint;16const bigInt = fc.bigInt;17fc.assert(18 fc.property(bigUint(), bigUint(), (a, b) => {19 return a * b >= a && a * b >= b;20 })21);22fc.assert(23 fc.property(bigInt(), bigInt(), (a, b) => {24 return a * b >= a && a * b >= b;25 })26);27const fc = require('fast-check');28const bigUint = fc.bigUint;29const bigInt = fc.bigInt;30fc.assert(31 fc.property(bigUint(), bigUint(), (a, b) => {32 return a * b >= a && a * b >= b;33 })34);35fc.assert(36 fc.property(bigInt(), bigInt(), (a, b) => {37 return a * b >= a && a * b >= b;38 })39);40const fc = require('fast-check');41const bigUint = fc.bigUint;42const bigInt = fc.bigInt;43fc.assert(44 fc.property(bigUint(), bigUint(), (a, b) => {45 return a * b >= a && a * b >= b;46 })47);48fc.assert(49 fc.property(bigInt(), bigInt(), (a, b) => {50 return a * b >= a && a * b >= b;51 })52);53const fc = require('fast-check');54const bigUint = fc.bigUint;55const bigInt = fc.bigInt;56fc.assert(57 fc.property(bigUint(), bigUint(),
Using AI Code Generation
1const bigUint = require('fast-check-monorepo').bigUint;2const bigInt = require('fast-check-monorepo').bigInt;3const fc = require('fast-check-monorepo');4const big = require('big.js');5const assert = require('assert');6let n = bigUint().next().value;7console.log('n is ' + n);8let m = bigInt().next().value;9console.log('m is ' + m);10let p = bigInt().next().value;11console.log('p is ' + p);12let q = bigInt().next().value;13console.log('q is ' + q);14let prod = big(n).times(m).times(p).times(q);15console.log('prod is ' + prod);16let str = prod.toString();17console.log('str is ' + str);18let prod2 = big(str);19console.log('prod2 is ' + prod2);20assert.equal(prod.toString(), prod2.toString());21assert.equal(prod, prod2);22assert.equal(prod.valueOf(), p
Using AI Code Generation
1const fc = require('fast-check');2const bigUint = require('fast-check-monorepo').bigUint;3const bigInt = require('fast-check-monorepo').bigInt;4const bigIntN = require('fast-check-monorepo').bigIntN;5const bigUintN = require('fast-check-monorepo').bigUintN;6const bigUintGen = bigUint();7const bigIntGen = bigInt();8const bigIntNGen = bigIntN(3);9const bigUintNGen = bigUintN(3);10fc.assert(11 fc.property(bigUintGen, (n) => {12 console.log(n);13 return true;14 })15);16fc.assert(17 fc.property(bigIntGen, (n) => {18 console.log(n);19 return true;20 })21);22fc.assert(23 fc.property(bigIntNGen, (n) => {24 console.log(n);25 return true;26 })27);28fc.assert(29 fc.property(bigUintNGen, (n) => {30 console.log(n);31 return true;32 })33);34const fc = require('fast-check');35const bigUint = require('fast-check').bigUint;36const bigInt = require('fast-check').bigInt;37const bigIntN = require('fast-check').bigIntN;38const bigUintN = require('fast-check').bigUintN;39const bigUintGen = bigUint();40const bigIntGen = bigInt();41const bigIntNGen = bigIntN(3);42const bigUintNGen = bigUintN(3);43fc.assert(44 fc.property(bigUintGen, (n) => {45 console.log(n);46 return true;47 })48);49fc.assert(50 fc.property(bigIntGen, (n) => {51 console.log(n);52 return true;53 })54);55fc.assert(56 fc.property(bigIntNGen, (n) => {57 console.log(n);58 return true;59 })60);61fc.assert(62 fc.property(bigUintNGen, (n) => {63 console.log(n);64 return true;65 })66);67const fc = require('fast-check');
Using AI Code Generation
1import { bigUint } from 'fast-check';2console.log(bigUint());3import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary';4console.log(bigUint());5import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.js';6console.log(bigUint());7import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs';8console.log(bigUint());9import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs.js';10console.log(bigUint());11import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.js.mjs';12console.log(bigUint());13import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs.mjs';14console.log(bigUint());15import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs.mjs.mjs';16console.log(bigUint());17import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs.mjs.mjs.mjs';18console.log(bigUint());19import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs.mjs.mjs.mjs.mjs';20console.log(bigUint());21import { bigUint } from 'fast-check/lib/check/arbitrary/BigUintArbitrary.mjs.mjs.mjs.mjs.mjs.mjs';22console.log(bigUint());23import { bigUint } from '
Using AI Code Generation
1const bigUint = fc.bigUint();2fc.assert(3 fc.property(bigUint, (a) => {4 return true;5 })6);7const bigUint = fc.bigUint();8fc.assert(9 fc.property(bigUint, (a) => {10 return true;11 })12);13const bigUint = fc.bigUint();14fc.assert(15 fc.property(bigUint, (a) => {16 return true;17 })18);19const bigUint = fc.bigUint();20fc.assert(21 fc.property(bigUint, (a) => {22 return true;23 })24);25const bigUint = fc.bigUint();26fc.assert(27 fc.property(bigUint, (a) => {28 return true;29 })30);31const bigUint = fc.bigUint();32fc.assert(33 fc.property(bigUint, (a) => {34 return true;35 })36);37const fc = require('fast
Using AI Code Generation
1const {bigUint} = require('./bigUint');2const fc = require('fast-check');3const assert = require('assert');4fc.assert(5 fc.property(6 bigUint(),7 (a) => {8 assert(typeof a === 'bigint');9 },10 {verbose: true}11 {path: 'test3.js'}12);13fc.assert(14 fc.property(15 bigUint(),16 (a) => {17 assert(typeof a === 'string');18 },19 {verbose: true}20 {path: 'test3.js'}21);22fc.assert(23 fc.property(24 bigUint(),25 (a) => {26 assert(typeof a === 'number');27 },28 {verbose: true}29 {path: 'test3.js'}30);31fc.assert(32 fc.property(33 bigUint(),34 (a) => {35 assert(typeof a === 'object');36 },37 {verbose: true}38 {path: 'test3.js'}39);40fc.assert(41 fc.property(42 bigUint(),43 (a) => {44 assert(typeof a === 'boolean');45 },46 {verbose: true}47 {path: 'test3.js'}48);49fc.assert(50 fc.property(51 bigUint(),52 (a) => {53 assert(typeof a === 'symbol');54 },55 {verbose: true}56 {path: 'test3.js'}57);58fc.assert(59 fc.property(60 bigUint(),61 (a) => {62 assert(typeof a === 'undefined');63 },64 {verbose: true}65 {path: 'test3.js'}66);67fc.assert(68 fc.property(69 bigUint(),70 (a) => {71 assert(typeof a === 'null');72 },73 {verbose: true}74 {path: 'test3.js'}75);76fc.assert(77 fc.property(78 bigUint(),79 (a) => {80 assert(typeof a === 'function');81 },82 {verbose: true}83 {path: 'test3.js'}84);85fc.assert(
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!