@@ -125,19 +125,6 @@ pub enum Event {
125
125
ad_slot : Option < IPFS > ,
126
126
referrer : Option < String > ,
127
127
} ,
128
- /// only the creator can send this event
129
- #[ serde( rename_all = "camelCase" ) ]
130
- UpdateTargeting { targeting_rules : Rules } ,
131
- /// Closes the `Campaign`
132
- /// only the creator can send this event
133
- #[ serde( rename_all = "camelCase" ) ]
134
- Close ,
135
- /// TODO: AIP#61 Check and explain who can send this event as well as when it can be received
136
- /// A map of earners which gets merged in the `spender::Aggregate`
137
- /// NOTE: Does **not** contain any fees!
138
- /// This even can be used to pay to yourself, but this is irrelevant as it's your funds you are paying yourself.
139
- #[ serde( rename_all = "camelCase" ) ]
140
- Pay { payout : BalancesMap } ,
141
128
}
142
129
143
130
impl Event {
@@ -159,9 +146,6 @@ impl AsRef<str> for Event {
159
146
match * self {
160
147
Event :: Impression { .. } => "IMPRESSION" ,
161
148
Event :: Click { .. } => "CLICK" ,
162
- Event :: UpdateTargeting { .. } => "UPDATE_TARGETING" ,
163
- Event :: Close => "CLOSE" ,
164
- Event :: Pay { .. } => "PAY" ,
165
149
}
166
150
}
167
151
}
0 commit comments