Repeat
Repeat

Time · Acts onchain

Limits how many times this plug can execute within a time interval. The current interval's start is combined with the plug's hash to key a counter in socket storage; the action reverts once the count reaches the limit and otherwise increments it. Intervals are hour, day, week, fortnight, month, quarter, and year. Reach for it to rate-limit a scheduled plug, such as at most one rebalance per day or three purchases per week, so a runaway trigger cannot execute it more often than intended.

Supply Idle Balance Weekly

time
evm
boolean
6actions
  1. 1·Repeat

    Bounding cadence, this rate limit permits at most one run every two weeks, so the schedule advances no more than once per interval.

  2. 2·Get token balance

    Querying the PYUSD token at 0x6c3ea9036406852006290770bedfcaba0e23a0e8, this reads the balance held by 0x484428507A212cA56D71baa27Ca6089a6dB63a88 and captures the current holding.

  3. 3·Compare two values

    Testing that measured balance against 100 with a greater than or equal operator, this returns true when the holding meets or exceeds that raw amount and false otherwise.

  4. 4·Predicate

    Requiring the comparison result to equal true, control enters the branch only when the balance cleared the threshold.

  5. 5·Supply

    On that branch, the measured PYUSD balance is supplied to the Aave PYUSD market at 0x2f39d218133afab8f2b819b1066c7e434ad94e9e, minting aTokens to the socket.

  6. 6·End block

    Closing the innermost open block, this ends the conditional branch.

Repeat up to x every
Get balance of held by
Is
Supply to
End block
  • Transfer Token on a Schedule

    plug
    evm
    time
  • Supply Idle Balance Weekly

    time
    evm
    boolean
  • Borrow + Weekly Repayments

    time
    aave
    evm
  • Borrow + Term Repayment Schedule

    time
    database
    boolean