Type Alias polymesh_api_tester::PortfolioEvent

source ·
pub type PortfolioEvent = PortfolioEvent;

Aliased Type§

enum PortfolioEvent {
    PortfolioCreated(IdentityId, PortfolioNumber, PortfolioName),
    PortfolioDeleted(IdentityId, PortfolioNumber),
    PortfolioRenamed(IdentityId, PortfolioNumber, PortfolioName),
    UserPortfolios(IdentityId, Vec<(PortfolioNumber, PortfolioName)>),
    PortfolioCustodianChanged(IdentityId, PortfolioId, IdentityId),
    FundsMovedBetweenPortfolios(IdentityId, PortfolioId, PortfolioId, FundDescription, Option<Memo>),
    PreApprovedPortfolio(IdentityId, PortfolioId, Ticker),
    RevokePreApprovedPortfolio(IdentityId, PortfolioId, Ticker),
}

Variants§

§

PortfolioCreated(IdentityId, PortfolioNumber, PortfolioName)

The portfolio has been successfully created.

§Parameters

  • origin DID
  • portfolio number
  • portfolio name
§

PortfolioDeleted(IdentityId, PortfolioNumber)

The portfolio has been successfully removed.

§Parameters

  • origin DID
  • portfolio number
§

PortfolioRenamed(IdentityId, PortfolioNumber, PortfolioName)

The portfolio identified with num has been renamed to name.

§Parameters

  • origin DID
  • portfolio number
  • portfolio name
§

UserPortfolios(IdentityId, Vec<(PortfolioNumber, PortfolioName)>)

All non-default portfolio numbers and names of a DID.

§Parameters

  • origin DID
  • vector of number-name pairs
§

PortfolioCustodianChanged(IdentityId, PortfolioId, IdentityId)

Custody of a portfolio has been given to a different identity

§Parameters

  • origin DID
  • portfolio id
  • portfolio custodian did
§

FundsMovedBetweenPortfolios(IdentityId, PortfolioId, PortfolioId, FundDescription, Option<Memo>)

Funds have moved between portfolios

§Parameters

  • Origin DID.
  • Source portfolio.
  • Destination portfolio.
  • The type of fund that was moved.
  • Optional memo for the move.
§

PreApprovedPortfolio(IdentityId, PortfolioId, Ticker)

A portfolio has pre approved the receivement of an asset.

§Parameters

  • [IdentityId] of the caller.
  • [PortfolioId] that will receive assets without explicit affirmation.
  • [Ticker] of the asset that has been exempt from explicit affirmation.
§

RevokePreApprovedPortfolio(IdentityId, PortfolioId, Ticker)

A portfolio has removed the approval of an asset.

§Parameters

  • [IdentityId] of the caller.
  • [PortfolioId] that had its pre approval revoked.
  • [Ticker] of the asset that had its pre approval revoked.