Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3304,7 +3304,7 @@ The key is generated by the caller and should be unique for each DTO. You can us
},
},
{
"description": " Transaction updates the chain (submit). Allowed roles: SUBMIT.",
"description": " Transaction updates the chain (submit). Allowed roles: CURATOR.",
"dtoSchema": {
"description": "Contains properties of vesting token to be created.",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,8 @@ export default class GalaChainTokenContract extends GalaContract {

@Submit({
in: CreateVestingTokenDto,
out: VestingToken
out: VestingToken,
...requireCuratorAuth
})
public async CreateVestingToken(ctx: GalaChainContext, dto: CreateVestingTokenDto): Promise<VestingToken> {
const authorities = dto.tokenClass.authorities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,7 @@ The key is generated by the caller and should be unique for each DTO. You can us
},
},
{
"description": " Transaction updates the chain (submit). Allowed roles: SUBMIT.",
"description": " Transaction updates the chain (submit). Allowed roles: CURATOR.",
"dtoSchema": {
"description": "Contains properties of vesting token to be created.",
"properties": {
Expand Down
Loading