37 lines
703 B
TypeScript
37 lines
703 B
TypeScript
export type Action = {
|
|
type: ActionType;
|
|
item: any;
|
|
};
|
|
|
|
export enum ActionType {
|
|
// Common.
|
|
CommonTriggerBootstrap,
|
|
CommonAppWillBootstrap,
|
|
CommonAppDidBootstrap,
|
|
CommonTriggerShutdown,
|
|
CommonDidShutdown,
|
|
CommonWalletDidConnect,
|
|
CommonWalletDidDisconnect,
|
|
CommonWalletSetProvider,
|
|
CommonSetNetwork,
|
|
CommonOwnedTokenAccountsSet,
|
|
CommonOwnedTokenAccountsUpdate,
|
|
CommonWalletReset,
|
|
|
|
// Lockup.
|
|
LockupSetVestings,
|
|
LockupUpdateVesting,
|
|
LockupCreateVesting,
|
|
|
|
// Registry.
|
|
RegistrySetMember,
|
|
RegistrySetRegistrar,
|
|
RegistrySetPendingWithdrawals,
|
|
RegistryCreatePendingWithdrawal,
|
|
RegistryUpdatePendingWithdrawal,
|
|
|
|
// Accounts.
|
|
AccountAdd,
|
|
AccountUpdate,
|
|
}
|