hyperstack_stacks/pumpfun/entity.rs
1use super::types::PumpfunToken;
2use hyperstack_sdk::Entity;
3
4pub struct PumpfunTokenEntity;
5
6impl Entity for PumpfunTokenEntity {
7 type Data = PumpfunToken;
8
9 const NAME: &'static str = "PumpfunToken";
10
11 fn state_view() -> &'static str {
12 "PumpfunToken/state"
13 }
14
15 fn list_view() -> &'static str {
16 "PumpfunToken/list"
17 }
18}