Supply Idle Balance Weekly
0x484428507A212cA56D71baa27Ca6089a6dB63a88

What this does

This plug supplies the PYUSD balance held by 0x484428507A212cA56D71baa27Ca6089a6dB63a88 to the Aave PYUSD market at 0x2f39d218133afab8f2b819b1066c7e434ad94e9e, minting aTokens to the socket. It reads the PYUSD balance at 0x6c3ea9036406852006290770bedfcaba0e23a0e8 rather than asking the caller for inputs. It fires at most once every two weeks and only when that balance is greater than or equal to 100 base units. Running it by hand risks missing the window or supplying a balance figure that has since changed.

Actions · 6

  • Repeat
    Repeat up to x every
    Limits how many times this plug can execute within a time interval.
  • Get token balance
    Get balance of held by
    Reads a token balance held by an address, native or ERC-20.
  • Compare two values
    Is
    Compares two values with a chosen operator and returns a boolean.
  • Predicate
    Steers control flow by comparing two values: branch, loop, or require the condition holds.
  • Supply
    Supply to
    Supplies an asset to an Aave market, minting aTokens to the wallet.
  • End block
    End block
    Closes the innermost open block, whether a conditional branch or a loop.

Related plugs · 8