Module: Solace::SquadsSmartAccounts::Period

Defined in:
lib/solace/squads_smart_accounts/types/period.rb

Overview

Borsh enum values for a spending limit’s reset period. When the period passes, the remaining amount resets — except ONE_TIME, which never resets.

Examples:

A daily allowance

Period::DAY

Constant Summary collapse

ONE_TIME =

The limit never resets — once spent, it is exhausted.

0
DAY =

The remaining amount resets every day.

1
WEEK =

The remaining amount resets every week.

2
MONTH =

The remaining amount resets every month.

3