@ocap/types
Advanced tools
Comparing version 1.18.142 to 1.18.143
@@ -1438,2 +1438,98 @@ // package: ocap | ||
export class IndexedTokenFlow extends jspb.Message { | ||
getValue(): string; | ||
setValue(value: string): void; | ||
getHash(): string; | ||
setHash(value: string): void; | ||
getFrom(): string; | ||
setFrom(value: string): void; | ||
getTo(): string; | ||
setTo(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TIndexedTokenFlow; | ||
static toObject(includeInstance: boolean, msg: IndexedTokenFlow): TIndexedTokenFlow; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: IndexedTokenFlow, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): IndexedTokenFlow; | ||
static deserializeBinaryFromReader(message: IndexedTokenFlow, reader: jspb.BinaryReader): IndexedTokenFlow; | ||
} | ||
export type TIndexedTokenFlow = { | ||
value: string, | ||
hash: string, | ||
from: string, | ||
to: string, | ||
} | ||
export class VerifyAccountRiskResult extends jspb.Message { | ||
getIsRisky(): boolean; | ||
setIsRisky(value: boolean): void; | ||
getReason(): string; | ||
setReason(value: string): void; | ||
hasData(): boolean; | ||
clearData(): void; | ||
getData(): VerifyAccountRiskResult.TBalanceRisky | undefined; | ||
setData(value?: VerifyAccountRiskResult.TBalanceRisky): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TVerifyAccountRiskResult; | ||
static toObject(includeInstance: boolean, msg: VerifyAccountRiskResult): TVerifyAccountRiskResult; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: VerifyAccountRiskResult, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): VerifyAccountRiskResult; | ||
static deserializeBinaryFromReader(message: VerifyAccountRiskResult, reader: jspb.BinaryReader): VerifyAccountRiskResult; | ||
} | ||
export type TVerifyAccountRiskResult = { | ||
isRisky: boolean, | ||
reason: string, | ||
data?: VerifyAccountRiskResult.TBalanceRisky, | ||
} | ||
export class BalanceRisky extends jspb.Message { | ||
getAddress(): string; | ||
setAddress(value: string): void; | ||
getBalance(): string; | ||
setBalance(value: string): void; | ||
getTransferIn(): string; | ||
setTransferIn(value: string): void; | ||
getTransferOut(): string; | ||
setTransferOut(value: string): void; | ||
getAccountCount(): number; | ||
setAccountCount(value: number): void; | ||
getTxCount(): number; | ||
setTxCount(value: number): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TBalanceRisky; | ||
static toObject(includeInstance: boolean, msg: BalanceRisky): TBalanceRisky; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: BalanceRisky, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): BalanceRisky; | ||
static deserializeBinaryFromReader(message: BalanceRisky, reader: jspb.BinaryReader): BalanceRisky; | ||
} | ||
export type TBalanceRisky = { | ||
address: string, | ||
balance: string, | ||
transferIn: string, | ||
transferOut: string, | ||
accountCount: number, | ||
txCount: number, | ||
} | ||
export interface DirectionMap { | ||
@@ -1455,1 +1551,8 @@ MUTUAL: 0; | ||
export interface TokenFlowDirectionMap { | ||
IN: 0; | ||
OUT: 1; | ||
} | ||
export const TokenFlowDirection: TokenFlowDirectionMap; | ||
{ | ||
"name": "@ocap/types", | ||
"version": "1.18.142", | ||
"version": "1.18.143", | ||
"description": "Typescript definitions generated from protobuf", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "fa18a9eddbb0cad69398c69c7930018593f4fb31" | ||
"gitHead": "d60db9ab9a62de1d99cf1fba59866592860bed22" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
330589
7534