Skip to content

Commit

Permalink
fix: add code to launch tiered sto missing compared to simple sto
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Wiebe committed Jan 9, 2020
1 parent 1c06381 commit 3e02b39
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/procedures/LaunchTieredSto.ts
Expand Up @@ -245,6 +245,18 @@ export class LaunchTieredSto extends Procedure<LaunchTieredStoProcedureArgs, Tie
},
{
tag: PolyTransactionTag.AllowPreMinting,
resolvers: [
() => {
return tieredStoFactory.update(
TieredSto.generateId({
securityTokenId: SecurityToken.generateId({ symbol }),
stoType: StoType.Tiered,
address: newStoAddress.result!,
}),
{ preIssueAllowed: true }
);
},
],
}
)({});
}
Expand Down

0 comments on commit 3e02b39

Please sign in to comment.