import { CLKey, CLU256, CLValue } from 'casper-js-sdk'; export type Event> = { name: string; contractHash: `hash-${string}`; contractPackageHash: `hash-${string}`; data: E; }; export interface DeployInfo { deployHash: string; timestamp: string; } export type WithDeployInfo = E & { deployInfo: DeployInfo; }; export type CEP18EventWithDeployInfo = WithDeployInfo; export type CEP18Event = Event; export type EventsMap = { Mint: Event; Burn: Event; SetAllowance: Event; IncreaseAllowance: Event; DecreaseAllowance: Event; Transfer: Event; TransferFrom: Event; }; export type Mint = { recipient: CLKey; amount: CLU256; }; export type Burn = { owner: CLKey; amount: CLU256; }; export type SetAllowance = { owner: CLKey; spender: CLKey; allowance: CLU256; }; export type IncreaseAllowance = { owner: CLKey; spender: CLKey; allowance: CLU256; inc_by: CLU256; }; export type DecreaseAllowance = { owner: CLKey; spender: CLKey; allowance: CLU256; decr_by: CLU256; }; export type Transfer = { sender: CLKey; recipient: CLKey; amount: CLU256; }; export type TransferFrom = { spender: CLKey; owner: CLKey; recipient: CLKey; amount: CLU256; };