Skip to content

AIP #61: AdEx v5: significantly cheaper channels #377

Open
@elpiel

Description

@elpiel

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

Metadata

Metadata

Assignees

Labels

trackingTracking issue for a bigger task

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions