You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the initial scaffolding for the event_ticketing Soroban contract inside contracts/sandbox/event_ticketing/. Follow the same structure as existing contracts.
Acceptance Criteria
Cargo.toml created with correct Soroban SDK dependency
Overview
Create the initial scaffolding for the
event_ticketingSoroban contract insidecontracts/sandbox/event_ticketing/. Follow the same structure as existing contracts.Acceptance Criteria
Cargo.tomlcreated with correct Soroban SDK dependencysrc/types.rsdefinesEvent(id, name, capacity, ticket_price, start_time, end_time, status),Ticket(id, event_id, owner, purchased_at, status),EventStatus,TicketStatusenumssrc/errors.rsdefines:AdminNotSet,AlreadyInitialized,Unauthorized,EventNotFound,TicketNotFound,EventSoldOut,EventNotActive,InvalidTimeRange,InvalidPrice,TicketNotTransferableDataKeyenum covers:Admin,PaymentToken,Event(String),EventList,Ticket(String),EventTickets(String),OwnerTickets(Address)initializeis stubbedcargo build