- Preparing search index...
- The search index is not available
v0.4.0-beta
- getVestingState(scheme, stateOpt, inputHistory, getNext): Promise<VestingState>
-
Parameters
-
-
-
inputHistory: Input[]
-
getNext: ((environement) => Promise<{
applicable_inputs: { notify: Option<{ case_index: bigint; is_merkleized_continuation: boolean; }>; deposits: { case_index: bigint; party: Address | Role; can_deposit: bigint; of_token: Token; into_account: Address | Role; is_merkleized_continuation: boolean; }[]; choices: { ...; }[]; };
can_reduce: boolean;
}>)
-
- (environement): Promise<{
applicable_inputs: { notify: Option<{ case_index: bigint; is_merkleized_continuation: boolean; }>; deposits: { case_index: bigint; party: Address | Role; can_deposit: bigint; of_token: Token; into_account: Address | Role; is_merkleized_continuation: boolean; }[]; choices: { ...; }[]; };
can_reduce: boolean;
}>
-
Returns Promise<{
applicable_inputs: { notify: Option<{ case_index: bigint; is_merkleized_continuation: boolean; }>; deposits: { case_index: bigint; party: Address | Role; can_deposit: bigint; of_token: Token; into_account: Address | Role; is_merkleized_continuation: boolean; }[]; choices: { ...; }[]; };
can_reduce: boolean;
}>
Provide the State in which a vesting contract is.