check-ethereum-scanner
Version:
Safety checks for new Ethereum tokens
13 lines (9 loc) • 324 B
text/typescript
import BN from 'bn.js'
export type Input = Buffer | string | number | bigint | Uint8Array | BN | List | null
// Use interface extension instead of type alias to
// make circular declaration possible.
export interface List extends Array<Input> {}
export interface Decoded {
data: Buffer | Buffer[]
remainder: Buffer
}