Strategies Examples

Find below several examples of strategies.

Wallet owns 1 NFT on Polygon

[
  {
        name: 'erc-721-balance-of',
        addresses: ['0xF0245F6251Bef9447A08766b9DA2B07b28aD80B0'],
        params: {
          minBalance: '1',
          tokens: [{
            address: '0x0a0bf65248805efa926c39bf51b6dd94e3d1a7af',
            chainId: '137',
            networkId: '137'
          }]
        }
  }
]

Wallet owns a POAP from a specified drop

[
      {
        name: 'poap-holder-of',
        addresses: [
          '0xce7e15acf3da916a4df4842c3350248ad74ffc79'],
        params: {
          eventId: '14629'
        }
      }
    ]

Wallet is whitelisted

[{
        name: 'is-exact-address',
        addresses: ['0xF0245F6251Bef9447A08766b9DA2B07b28aD80B0'],
        params: {
          addresses: [
            '0x0a0bf65248805efa926c39bf51b6dd94e3d1a7af',
            '0xF0245F6251Bef9447A08766b9DA2B07b28aD80B0'
          ]
        }
      }]

Wallet owns $ARIA20

[
        {
          name: 'erc-20-balance-of',
          addresses: ['0xb261d59bc5b2ced5c000ecb23783f3054e5fc5d0'],
          params: {
            minBalance: '1',
            tokens: [
              {
                chainId: '1',
                networkId: '1',
                address: '0xedf6568618a00c6f0908bf7758a16f76b6e04af9'
              }

            ]
          }
        },
]

Wallet owns $ARIA20 on Mainnet AND Polygon

      [
        {
          name: 'erc-20-balance-of',
          addresses: [walletAddressWithAria],
          params: {
            minBalance: '1',
            tokens: [
              {
                chainId: '137',
                networkId: '1',
                address: '0x46f48fbdedaa6f5500993bede9539ef85f4bee8e'
              }
            ]
          }
        },
        {
          name: 'erc-20-balance-of',
          addresses: [walletAddressWithAria],
          params: {
            minBalance: '12',
            tokens: [
              {
                chainId: '1',
                networkId: '1',
                address: '0xedf6568618a00c6f0908bf7758a16f76b6e04af9'
              }
            ]
          }
        }
      ]];

Wallet owns $ARIA20 on mainnet OR Polygon

  [
        {
          name: 'erc-20-balance-of',
          addresses: [walletAddressWithAria],
          params: {
            minBalance: '1',
            tokens: [
              {
                chainId: '137',
                networkId: '1',
                address: '0x46f48fbdedaa6f5500993bede9539ef85f4bee8e'
              }
            ]
          }
        },
      ], [
        {
          name: 'erc-20-balance-of',
          addresses: [walletAddressWithAria],
          params: {
            minBalance: '12',
            tokens: [
              {
                chainId: '1',
                networkId: '1',
                address: '0xedf6568618a00c6f0908bf7758a16f76b6e04af9'
              }
            ]
          }
        }
      ]];