Type declaration
create:function
- create<I>(base?): GenesisState
Type Parameters
- I extends {
keyEpochs?: {
chain?: string;
epoch?: string | number | Long;
keyId?: string;
}[];
keygenSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
isPubKeyReceived?: {};
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
snapshot?: {
bondedWeight?: (...) | (...);
height?: (...) | (...) | (...) | (...);
participants?: (...) | (...);
timestamp?: (...) | (...);
};
state?: KeyState;
};
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
state?: MultisigState;
}[];
keys?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
snapshot?: {
bondedWeight?: Uint8Array;
height?: string | number | Long;
participants?: {};
timestamp?: Date;
};
state?: KeyState;
}[];
params?: {
activeEpochCount?: string | number | Long;
keygenGracePeriod?: string | number | Long;
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
keygenTimeout?: string | number | Long;
signingGracePeriod?: string | number | Long;
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
signingTimeout?: string | number | Long;
};
signingSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
id?: string | number | Long;
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
snapshot?: {
bondedWeight?: (...) | (...);
height?: (...) | (...) | (...) | (...);
participants?: (...) | (...);
timestamp?: (...) | (...);
};
state?: KeyState;
};
module?: string;
moduleMetadata?: {
typeUrl?: string;
value?: Uint8Array;
};
multiSig?: {
keyId?: string;
payloadHash?: Uint8Array;
sigs?: {};
};
state?: MultisigState;
}[];
} & {
keyEpochs?: {
chain?: string;
epoch?: string | number | Long;
keyId?: string;
}[] & ({
chain?: string;
epoch?: string | number | Long;
keyId?: string;
} & {
chain?: string;
epoch?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
keyId?: string;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
keygenSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
isPubKeyReceived?: {};
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: ...;
numerator?: ...;
};
snapshot?: {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
};
state?: KeyState;
};
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
state?: MultisigState;
}[] & ({
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
isPubKeyReceived?: {};
key?: {
id?: (...) | (...);
pubKeys?: (...) | (...);
signingThreshold?: (...) | (...);
snapshot?: (...) | (...);
state?: (...) | (...);
};
keygenThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
state?: MultisigState;
} & {
completedAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
expiresAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
gracePeriod?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
isPubKeyReceived?: {} & {} & {
[K in (...)]: (...)
};
key?: {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
[K in (...)]: (...)
};
keygenThreshold?: {
denominator?: ...;
numerator?: ...;
} & {
denominator?: ...;
numerator?: ...;
} & {
[K in (...)]: (...)
};
state?: MultisigState;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
keys?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
snapshot?: {
bondedWeight?: Uint8Array;
height?: string | number | Long;
participants?: {};
timestamp?: Date;
};
state?: KeyState;
}[] & ({
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
snapshot?: {
bondedWeight?: (...) | (...);
height?: (...) | (...) | (...) | (...);
participants?: (...) | (...);
timestamp?: (...) | (...);
};
state?: KeyState;
} & {
id?: string;
pubKeys?: {} & {} & {
[K in (...)]: (...)
};
signingThreshold?: {
denominator?: ...;
numerator?: ...;
} & {
denominator?: ...;
numerator?: ...;
} & {
[K in (...)]: (...)
};
snapshot?: {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
} & {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
} & {
[K in (...)]: (...)
};
state?: KeyState;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
params?: {
activeEpochCount?: string | number | Long;
keygenGracePeriod?: string | number | Long;
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
keygenTimeout?: string | number | Long;
signingGracePeriod?: string | number | Long;
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
signingTimeout?: string | number | Long;
} & {
activeEpochCount?: 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
};
keygenGracePeriod?: 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
};
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
keygenTimeout?: 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
};
signingGracePeriod?: 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
};
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
signingTimeout?: 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
};
} & {
[K in string | number | symbol]: never
};
signingSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
id?: string | number | Long;
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: ...;
numerator?: ...;
};
snapshot?: {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
};
state?: KeyState;
};
module?: string;
moduleMetadata?: {
typeUrl?: string;
value?: Uint8Array;
};
multiSig?: {
keyId?: string;
payloadHash?: Uint8Array;
sigs?: {};
};
state?: MultisigState;
}[] & ({
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
id?: string | number | Long;
key?: {
id?: (...) | (...);
pubKeys?: (...) | (...);
signingThreshold?: (...) | (...);
snapshot?: (...) | (...);
state?: (...) | (...);
};
module?: string;
moduleMetadata?: {
typeUrl?: (...) | (...);
value?: (...) | (...);
};
multiSig?: {
keyId?: (...) | (...);
payloadHash?: (...) | (...);
sigs?: (...) | (...);
};
state?: MultisigState;
} & {
completedAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
expiresAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
gracePeriod?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
id?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
key?: {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
[K in (...)]: (...)
};
module?: string;
moduleMetadata?: {
typeUrl?: ...;
value?: ...;
} & {
typeUrl?: ...;
value?: ...;
} & {
[K in (...)]: (...)
};
multiSig?: {
keyId?: ...;
payloadHash?: ...;
sigs?: ...;
} & {
keyId?: ...;
payloadHash?: ...;
sigs?: ...;
} & {
[K in (...)]: (...)
};
state?: MultisigState;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): GenesisState
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): GenesisState
Type Parameters
- I extends {
keyEpochs?: {
chain?: string;
epoch?: string | number | Long;
keyId?: string;
}[];
keygenSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
isPubKeyReceived?: {};
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
snapshot?: {
bondedWeight?: (...) | (...);
height?: (...) | (...) | (...) | (...);
participants?: (...) | (...);
timestamp?: (...) | (...);
};
state?: KeyState;
};
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
state?: MultisigState;
}[];
keys?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
snapshot?: {
bondedWeight?: Uint8Array;
height?: string | number | Long;
participants?: {};
timestamp?: Date;
};
state?: KeyState;
}[];
params?: {
activeEpochCount?: string | number | Long;
keygenGracePeriod?: string | number | Long;
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
keygenTimeout?: string | number | Long;
signingGracePeriod?: string | number | Long;
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
signingTimeout?: string | number | Long;
};
signingSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
id?: string | number | Long;
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
snapshot?: {
bondedWeight?: (...) | (...);
height?: (...) | (...) | (...) | (...);
participants?: (...) | (...);
timestamp?: (...) | (...);
};
state?: KeyState;
};
module?: string;
moduleMetadata?: {
typeUrl?: string;
value?: Uint8Array;
};
multiSig?: {
keyId?: string;
payloadHash?: Uint8Array;
sigs?: {};
};
state?: MultisigState;
}[];
} & {
keyEpochs?: {
chain?: string;
epoch?: string | number | Long;
keyId?: string;
}[] & ({
chain?: string;
epoch?: string | number | Long;
keyId?: string;
} & {
chain?: string;
epoch?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
keyId?: string;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
keygenSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
isPubKeyReceived?: {};
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: ...;
numerator?: ...;
};
snapshot?: {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
};
state?: KeyState;
};
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
state?: MultisigState;
}[] & ({
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
isPubKeyReceived?: {};
key?: {
id?: (...) | (...);
pubKeys?: (...) | (...);
signingThreshold?: (...) | (...);
snapshot?: (...) | (...);
state?: (...) | (...);
};
keygenThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
state?: MultisigState;
} & {
completedAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
expiresAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
gracePeriod?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
isPubKeyReceived?: {} & {} & {
[K in (...)]: (...)
};
key?: {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
[K in (...)]: (...)
};
keygenThreshold?: {
denominator?: ...;
numerator?: ...;
} & {
denominator?: ...;
numerator?: ...;
} & {
[K in (...)]: (...)
};
state?: MultisigState;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
keys?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
snapshot?: {
bondedWeight?: Uint8Array;
height?: string | number | Long;
participants?: {};
timestamp?: Date;
};
state?: KeyState;
}[] & ({
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: (...) | (...) | (...) | (...);
numerator?: (...) | (...) | (...) | (...);
};
snapshot?: {
bondedWeight?: (...) | (...);
height?: (...) | (...) | (...) | (...);
participants?: (...) | (...);
timestamp?: (...) | (...);
};
state?: KeyState;
} & {
id?: string;
pubKeys?: {} & {} & {
[K in (...)]: (...)
};
signingThreshold?: {
denominator?: ...;
numerator?: ...;
} & {
denominator?: ...;
numerator?: ...;
} & {
[K in (...)]: (...)
};
snapshot?: {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
} & {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
} & {
[K in (...)]: (...)
};
state?: KeyState;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
params?: {
activeEpochCount?: string | number | Long;
keygenGracePeriod?: string | number | Long;
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
keygenTimeout?: string | number | Long;
signingGracePeriod?: string | number | Long;
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
signingTimeout?: string | number | Long;
} & {
activeEpochCount?: 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
};
keygenGracePeriod?: 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
};
keygenThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
keygenTimeout?: 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
};
signingGracePeriod?: 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
};
signingThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
signingTimeout?: 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
};
} & {
[K in string | number | symbol]: never
};
signingSessions?: {
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
id?: string | number | Long;
key?: {
id?: string;
pubKeys?: {};
signingThreshold?: {
denominator?: ...;
numerator?: ...;
};
snapshot?: {
bondedWeight?: ...;
height?: ...;
participants?: ...;
timestamp?: ...;
};
state?: KeyState;
};
module?: string;
moduleMetadata?: {
typeUrl?: string;
value?: Uint8Array;
};
multiSig?: {
keyId?: string;
payloadHash?: Uint8Array;
sigs?: {};
};
state?: MultisigState;
}[] & ({
completedAt?: string | number | Long;
expiresAt?: string | number | Long;
gracePeriod?: string | number | Long;
id?: string | number | Long;
key?: {
id?: (...) | (...);
pubKeys?: (...) | (...);
signingThreshold?: (...) | (...);
snapshot?: (...) | (...);
state?: (...) | (...);
};
module?: string;
moduleMetadata?: {
typeUrl?: (...) | (...);
value?: (...) | (...);
};
multiSig?: {
keyId?: (...) | (...);
payloadHash?: (...) | (...);
sigs?: (...) | (...);
};
state?: MultisigState;
} & {
completedAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
expiresAt?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
gracePeriod?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
id?: string | number | Long & {
high: ...;
low: ...;
unsigned: ...;
add(addend): ...;
and(other): ...;
clz(): ...;
comp(other): ...;
compare(other): ...;
countLeadingZeros(): ...;
countTrailingZeros(): ...;
ctz(): ...;
div(divisor): ...;
divide(divisor): ...;
eq(other): ...;
equals(other): ...;
eqz(): ...;
ge(other): ...;
getHighBits(): ...;
getHighBitsUnsigned(): ...;
getLowBits(): ...;
getLowBitsUnsigned(): ...;
getNumBitsAbs(): ...;
greaterThan(other): ...;
greaterThanOrEqual(other): ...;
gt(other): ...;
gte(other): ...;
isEven(): ...;
isNegative(): ...;
isOdd(): ...;
isPositive(): ...;
isZero(): ...;
le(other): ...;
lessThan(other): ...;
lessThanOrEqual(other): ...;
lt(other): ...;
lte(other): ...;
mod(other): ...;
modulo(other): ...;
mul(multiplier): ...;
multiply(multiplier): ...;
ne(other): ...;
neg(): ...;
negate(): ...;
neq(other): ...;
not(): ...;
notEquals(other): ...;
or(other): ...;
rem(other): ...;
rotateLeft(numBits): ...;
rotateRight(numBits): ...;
rotl(numBits): ...;
rotr(numBits): ...;
shiftLeft(numBits): ...;
shiftRight(numBits): ...;
shiftRightUnsigned(numBits): ...;
shl(numBits): ...;
shr(numBits): ...;
shr_u(numBits): ...;
shru(numBits): ...;
sub(subtrahend): ...;
subtract(subtrahend): ...;
toBytes(le?): ...;
toBytesBE(): ...;
toBytesLE(): ...;
toInt(): ...;
toNumber(): ...;
toSigned(): ...;
toString(radix?): ...;
toUnsigned(): ...;
xor(other): ...;
} & {
[K in (...)]: (...)
};
key?: {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
id?: ...;
pubKeys?: ...;
signingThreshold?: ...;
snapshot?: ...;
state?: ...;
} & {
[K in (...)]: (...)
};
module?: string;
moduleMetadata?: {
typeUrl?: ...;
value?: ...;
} & {
typeUrl?: ...;
value?: ...;
} & {
[K in (...)]: (...)
};
multiSig?: {
keyId?: ...;
payloadHash?: ...;
sigs?: ...;
} & {
keyId?: ...;
payloadHash?: ...;
sigs?: ...;
} & {
[K in (...)]: (...)
};
state?: MultisigState;
} & {
[K in string | number | symbol]: never
})[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown