How to use the @0xcert/ethereum-generic-provider.MutationEventTypeKind.INDEXED function in @0xcert/ethereum-generic-provider

To help you get started, we’ve selected a few @0xcert/ethereum-generic-provider examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 0xcert / framework / packages / 0xcert-ethereum-value-ledger / src / core / ledger.ts View on Github external
public getContext(): MutationEventSignature[] {
    return [
      {
        name: 'Transfer',
        topic: '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
        types: [
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'from',
            type: 'address',
          },
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'to',
            type: 'address',
          },
          {
            kind: MutationEventTypeKind.NORMAL,
            name: 'value',
            type: 'uint256',
          },
        ],
      },
      {
        name: 'Approval',
        topic: '0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925',
        types: [
          {
            kind: MutationEventTypeKind.INDEXED,
github 0xcert / framework / packages / 0xcert-ethereum-gateway / src / core / gateway.ts View on Github external
name: 'index',
            type: 'uint256',
          },
          {
            kind: MutationEventTypeKind.NORMAL,
            name: 'proxy',
            type: 'address',
          },
        ],
      },
      {
        name: 'Perform',
        topic: '0xdd97b854c02f699ea0d8984479d0012fbbbd0f4f80fc2e099315f6c47a3da178',
        types: [
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'maker',
            type: 'address',
          },
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'taker',
            type: 'address',
          },
          {
            kind: MutationEventTypeKind.NORMAL,
            name: 'claim',
            type: 'bytes32',
          },
        ],
      },
      {
github 0xcert / framework / packages / 0xcert-ethereum-gateway / src / core / gateway.ts View on Github external
public getContext(): MutationEventSignature[] {
    return [
      {
        name: 'ProxyChange',
        topic: '0x8edda873a8ad561ecebeb71ceb3ae6bcb70c2b76a3fcb869859895c4d4fc7416',
        types: [
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'index',
            type: 'uint256',
          },
          {
            kind: MutationEventTypeKind.NORMAL,
            name: 'proxy',
            type: 'address',
          },
        ],
      },
      {
        name: 'Perform',
        topic: '0xdd97b854c02f699ea0d8984479d0012fbbbd0f4f80fc2e099315f6c47a3da178',
        types: [
          {
            kind: MutationEventTypeKind.INDEXED,
github 0xcert / framework / packages / 0xcert-ethereum-value-ledger / src / core / ledger.ts View on Github external
public getContext(): MutationEventSignature[] {
    return [
      {
        name: 'Transfer',
        topic: '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
        types: [
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'from',
            type: 'address',
          },
          {
            kind: MutationEventTypeKind.INDEXED,
            name: 'to',
            type: 'address',
          },
          {
            kind: MutationEventTypeKind.NORMAL,
            name: 'value',
            type: 'uint256',
          },
        ],
      },
      {