An enum representing various states of the demo use-case projects.
NON_EXISTENT
State representing non-existence.
FRACTIONS_CREATED
State representing fractions creation.
REJECTED
State representing rejection (Alice rejected the purchase phase of the fractions).
PURCHASE
State representing purchase phase (Alice accepted the purchase phase).
NON_FUNDED
State representing non-funded (Sale failed to raise enough funds within designated time-window).
RECEIVE
State representing receive (Sale was successful and issuer can receive the gathered funds).
DONE
State representing completion (Issuer has received the gathered funds).
Example:
import { STATES } from "@nexeraprotocol/cts-tokenizer-sdk";
// Example: Get the state code for FRACTIONS_CREATED
const fractionsCreatedState = STATES.FRACTIONS_CREATED;
console.log("Fractions Created State Code:", fractionsCreatedState);