Type declaration
create:function
- create<I>(base?): PendingChain
Type Parameters
- I extends {
chain?: {
keyType?: KeyType;
module?: string;
name?: string;
supportsForeignAssets?: boolean;
};
params?: {
burnable?: Uint8Array;
chain?: string;
commandsGasLimit?: number;
confirmationHeight?: string | number | Long;
endBlockerLimit?: string | number | Long;
minVoterCount?: string | number | Long;
network?: string;
networks?: {
id?: Uint8Array;
name?: string;
}[];
revoteLockingPeriod?: string | number | Long;
tokenCode?: Uint8Array;
transferLimit?: string | number | Long;
votingGracePeriod?: string | number | Long;
votingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
};
} & {
chain?: {
keyType?: KeyType;
module?: string;
name?: string;
supportsForeignAssets?: boolean;
} & {
keyType?: KeyType;
module?: string;
name?: string;
supportsForeignAssets?: boolean;
} & {
[K in string | number | symbol]: never
};
params?: {
burnable?: Uint8Array;
chain?: string;
commandsGasLimit?: number;
confirmationHeight?: string | number | Long;
endBlockerLimit?: string | number | Long;
minVoterCount?: string | number | Long;
network?: string;
networks?: {
id?: Uint8Array;
name?: string;
}[];
revoteLockingPeriod?: string | number | Long;
tokenCode?: Uint8Array;
transferLimit?: string | number | Long;
votingGracePeriod?: string | number | Long;
votingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
} & {
burnable?: Uint8Array;
chain?: string;
commandsGasLimit?: number;
confirmationHeight?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
endBlockerLimit?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
minVoterCount?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
network?: string;
networks?: {
id?: (...) | (...);
name?: (...) | (...);
}[] & ({
id?: ...;
name?: ...;
} & {
id?: ...;
name?: ...;
} & {
[K in (...)]: (...)
})[] & {
[K in string | symbol]: never
};
revoteLockingPeriod?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
tokenCode?: Uint8Array;
transferLimit?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
votingGracePeriod?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
votingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): PendingChain
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): PendingChain
Type Parameters
- I extends {
chain?: {
keyType?: KeyType;
module?: string;
name?: string;
supportsForeignAssets?: boolean;
};
params?: {
burnable?: Uint8Array;
chain?: string;
commandsGasLimit?: number;
confirmationHeight?: string | number | Long;
endBlockerLimit?: string | number | Long;
minVoterCount?: string | number | Long;
network?: string;
networks?: {
id?: Uint8Array;
name?: string;
}[];
revoteLockingPeriod?: string | number | Long;
tokenCode?: Uint8Array;
transferLimit?: string | number | Long;
votingGracePeriod?: string | number | Long;
votingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
};
} & {
chain?: {
keyType?: KeyType;
module?: string;
name?: string;
supportsForeignAssets?: boolean;
} & {
keyType?: KeyType;
module?: string;
name?: string;
supportsForeignAssets?: boolean;
} & {
[K in string | number | symbol]: never
};
params?: {
burnable?: Uint8Array;
chain?: string;
commandsGasLimit?: number;
confirmationHeight?: string | number | Long;
endBlockerLimit?: string | number | Long;
minVoterCount?: string | number | Long;
network?: string;
networks?: {
id?: Uint8Array;
name?: string;
}[];
revoteLockingPeriod?: string | number | Long;
tokenCode?: Uint8Array;
transferLimit?: string | number | Long;
votingGracePeriod?: string | number | Long;
votingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
} & {
burnable?: Uint8Array;
chain?: string;
commandsGasLimit?: number;
confirmationHeight?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
endBlockerLimit?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
minVoterCount?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
network?: string;
networks?: {
id?: (...) | (...);
name?: (...) | (...);
}[] & ({
id?: ...;
name?: ...;
} & {
id?: ...;
name?: ...;
} & {
[K in (...)]: (...)
})[] & {
[K in string | symbol]: never
};
revoteLockingPeriod?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
tokenCode?: Uint8Array;
transferLimit?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
votingGracePeriod?: string | number | Long & {
high: number;
low: number;
unsigned: boolean;
add(addend): Long;
and(other): Long;
clz(): number;
comp(other): number;
compare(other): number;
countLeadingZeros(): number;
countTrailingZeros(): number;
ctz(): number;
div(divisor): Long;
divide(divisor): Long;
eq(other): boolean;
equals(other): boolean;
eqz(): boolean;
ge(other): boolean;
getHighBits(): number;
getHighBitsUnsigned(): number;
getLowBits(): number;
getLowBitsUnsigned(): number;
getNumBitsAbs(): number;
greaterThan(other): boolean;
greaterThanOrEqual(other): boolean;
gt(other): boolean;
gte(other): boolean;
isEven(): boolean;
isNegative(): boolean;
isOdd(): boolean;
isPositive(): boolean;
isZero(): boolean;
le(other): boolean;
lessThan(other): boolean;
lessThanOrEqual(other): boolean;
lt(other): boolean;
lte(other): boolean;
mod(other): Long;
modulo(other): Long;
mul(multiplier): Long;
multiply(multiplier): Long;
ne(other): boolean;
neg(): Long;
negate(): Long;
neq(other): boolean;
not(): Long;
notEquals(other): boolean;
or(other): Long;
rem(other): Long;
rotateLeft(numBits): Long;
rotateRight(numBits): Long;
rotl(numBits): Long;
rotr(numBits): Long;
shiftLeft(numBits): Long;
shiftRight(numBits): Long;
shiftRightUnsigned(numBits): Long;
shl(numBits): Long;
shr(numBits): Long;
shr_u(numBits): Long;
shru(numBits): Long;
sub(subtrahend): Long;
subtract(subtrahend): Long;
toBytes(le?): number[];
toBytesBE(): number[];
toBytesLE(): number[];
toInt(): number;
toNumber(): number;
toSigned(): Long;
toString(radix?): string;
toUnsigned(): Long;
xor(other): Long;
} & {
[K in string | number | symbol]: never
};
votingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown