import { isDeterministicPlaceholderAddress } from './deterministic-placeholder-address';

describe('isDeterministicPlaceholderAddress', () => {
  it('detects GRU transport placeholders on Chain 138', () => {
    expect(isDeterministicPlaceholderAddress('0xcaaa00000000000000000000000000000000008a')).toBe(true);
    expect(isDeterministicPlaceholderAddress('0xc11100000000000000000000000000000000008a')).toBe(true);
  });

  it('does not flag live deployed token addresses', () => {
    expect(isDeterministicPlaceholderAddress('0x93E66202A11B1772E55407B32B44e5Cd8eda7f22')).toBe(false);
    expect(isDeterministicPlaceholderAddress('0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03')).toBe(false);
  });
});
