Tracking issue
For the changes regarding AIP#61: AdEx v5: significantly cheaper channels (full details here)
Change log
pub struct Deposit<T> {
pub total: T,
pub still_on_create2: T,
}
impl Deposit<UnifiedNum> {
pub fn from_precision(precision: u8, deposit: Deposit<BigNum>) -> Option<Deposit<UnifiedNum>> {... }
}
deposit into a channel and create a campaign make sure it doesn't work before that submit events verify that payments appear in NewState/ApproveState, incl. fees verify that /analytics returns stuff
Remove old V4 routes that are no longer needed:
Sentry Authentication required (AuthRequired middleware) routes
- POST /v5/campaign (Auth is used to validate the campaign.creator)
- POST /v5/campaign/:id/close (Auth is used to validate the campaign.creator)
- POST /v5/channel/:id/spender/:addr
- GET /v5/channel/:id/spender/:addr
- POST /v5/channel/:id/spender/all
- GET channel/:id/events-aggregates (v4)
- POST channel/:id/validator-messages (v4)
- POST /v5/channel/:id/validator-messages
- /v5/channel/:id/pay
- /v5/analytics/for-publisher
- /v5/analytics/for-advertiser
- /v5/analytics/for-admin
Tracking issue
For the changes regarding AIP#61: AdEx v5: significantly cheaper channels (full details here)
Change log
Channel&CampaignAIP #61 v5: Channel and Campaign #382 (PRs: AdEx v5: Issue #382 Channel and Campaign #383 )NewState&AccountingAIP #61 v5: NewState and Accounting #398API documentation Sentry REST API documentation #475
Accounting & spenders AIP #61 v5: Spenders & Address accounting (postgres) #381
GET /v5/channel/:id/accounting AIP #61 v5: GET /v5/channel/:id/accounting #431 @simzzz
GET /v5/channel/:id/spender/:addr AIP #61 v5: GET /channel/:id/spender/:addr #391
GET /v5/channel/:id/spender/all AIP #61 v5: GET /channel/:id/spender/all #392
POST /v5/channel/:id/spender/:addr POST /v5/channel/:id/spender/:addr + tests #465 @simzzz
POST /v5/channel/:id/pay POST /v5/channel/:id/pay #477 @simzzz
Channel Payout with authentication of the spender.
Withdrawals of advertiser funds - re-introduces the
PAYevent with a separate routeGET /v5/channel/:id/get-leaf @simzzz (PR GET
/v5/channel/:id/get-leafroute + tests #544)from AIP#61:
I've discussed this with Ivo, we will make spender/earner routes instead of using query parameters, e.g.:
/get-leaf/spender/0x..../get-left/earner/0x...POST /v5/campaign/:id/close AIP #61 v5 Sentry POST /v5/campaign/:id/close #417 (PR Issue 417 campaign close route #457)
(
newBudget = totalSpent, i.e.newBudget=oldBudget - remaining)POST / PUT /v5/campaign (create / modify) AIP #61 v5: Channel and Campaign #382
GET
/v5/units-for-slotSupermarket'sunits-for-slotroute integration inside Sentry #471Enforce limits ( PR Issue 382 campaign insert events #413 )
Events AIP #61 v5: Channel and Campaign #382 ( PR Issue 382 campaign insert events #413 )
accessDistribute fees AIP #61 v5: Spenders & Address accounting (postgres) #381 ( PR Issue 382 campaign insert events #413 )
Analytics breakdowns by 1hr AIP #61 v5: Channel and Campaign #382
Campaign(s) remaining Campaign(s) remaining (redis) #415
For details see JS issue AIP #61 v5: Validator Worker workflow adex-validator#360
Balances<CheckedState>. The struct can be directly deserialized and will check the state of the Balances.serve-ing and testing generated code for ads #476 Adview manager serve ads preview #564 Infinity Behaviour + AdView Manager Tests #566SpenderLeafRemove SpenderLeaf #442 @simzzztest_harnesscrate for running the testsRemove old V4 routes that are no longer needed:
POST /channelIssue 382 Remove V4 Channel and fns cleanup #435POST /channel/validateIssue 382 Remove V4 Channel and fns cleanup #435GET /channel/:id/statusIssue 382 Remove V4 Channel and fns cleanup #435GET channel/:id/events-aggregates(removed in Sentry REST API & functions documentation #473)Sentry Authentication required (
AuthRequiredmiddleware) routes