diff --git a/src/polkadot/augment-types.ts b/src/polkadot/augment-types.ts index da9ac7a566..067893b7bb 100644 --- a/src/polkadot/augment-types.ts +++ b/src/polkadot/augment-types.ts @@ -671,6 +671,7 @@ import { FeeOf, FundingRoundName, Fundraiser, + FundraiserTier, HandledTxStatus, HistoricalVotingByAddress, HistoricalVotingById, @@ -3038,6 +3039,9 @@ declare module '@polkadot/types/types/registry' { TargetIdentity: TargetIdentity; 'Option': Option; 'Vec': Vec; + FundraiserTier: FundraiserTier; + 'Option': Option; + 'Vec': Vec; Fundraiser: Fundraiser; 'Option': Option; 'Vec': Vec; diff --git a/src/polkadot/polymesh/definitions.ts b/src/polkadot/polymesh/definitions.ts index 844bbd03b3..0511f7cd05 100644 --- a/src/polkadot/polymesh/definitions.ts +++ b/src/polkadot/polymesh/definitions.ts @@ -1028,11 +1028,22 @@ export default { Specific: 'IdentityId', }, }, + FundraiserTier: { + total: 'Balance', + price: 'Balance', + remaining: 'Balance', + }, Fundraiser: { - raise_token: 'Ticker', - remaining_amount: 'Balance', - price_per_token: 'Balance', + creator: 'IdentityId', + offering_portfolio: 'PortfolioId', + offering_asset: 'Ticker', + raising_portfolio: 'PortfolioId', + raising_asset: 'Ticker', + tiers: 'Vec', venue_id: 'u64', + start: 'Moment', + end: 'Option', + frozen: 'bool', }, VenueType: { _enum: ['Other', 'Distribution', 'Sto', 'Exchange'], diff --git a/src/polkadot/polymesh/types.ts b/src/polkadot/polymesh/types.ts index 431dfa5102..b2ac289408 100644 --- a/src/polkadot/polymesh/types.ts +++ b/src/polkadot/polymesh/types.ts @@ -783,10 +783,23 @@ export interface FundingRoundName extends Text {} /** @name Fundraiser */ export interface Fundraiser extends Struct { - readonly raise_token: Ticker; - readonly remaining_amount: Balance; - readonly price_per_token: Balance; + readonly creator: IdentityId; + readonly offering_portfolio: PortfolioId; + readonly offering_asset: Ticker; + readonly raising_portfolio: PortfolioId; + readonly raising_asset: Ticker; + readonly tiers: Vec; readonly venue_id: u64; + readonly start: Moment; + readonly end: Option; + readonly frozen: bool; +} + +/** @name FundraiserTier */ +export interface FundraiserTier extends Struct { + readonly total: Balance; + readonly price: Balance; + readonly remaining: Balance; } /** @name HandledTxStatus */