Skip to content

Commit

Permalink
chore(TCK): Added token management transaction endpoints (#1217)
Browse files Browse the repository at this point in the history
* fix: Changed account transaction int64 params to string

Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>

* feat: Added token management transaction TCK endpoints

Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>

* fix: Comments, plus moved MapSerialNumbersToString to a helper directory

Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>

* fix: Changed gRPP to jRPC typo

Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>

---------

Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
  • Loading branch information
ivaylogarnev-limechain authored Jan 16, 2025
1 parent 37f8c41 commit 788dc31
Show file tree
Hide file tree
Showing 5 changed files with 520 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tck/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ func main() {
"updateToken": postHandler(HandleError, handler.New(tokenService.UpdateToken)),
"deleteToken": postHandler(HandleError, handler.New(tokenService.DeleteToken)),
"updateTokenFeeSchedule": postHandler(HandleError, handler.New(tokenService.UpdateTokenFeeSchedule)),
"associateToken": postHandler(HandleError, handler.New(tokenService.AssociateToken)),
"dissociateToken": postHandler(HandleError, handler.New(tokenService.DissociatesToken)),
"pauseToken": postHandler(HandleError, handler.New(tokenService.PauseToken)),
"unpauseToken": postHandler(HandleError, handler.New(tokenService.UnpauseToken)),
"freezeToken": postHandler(HandleError, handler.New(tokenService.FreezeToken)),
"unfreezeToken": postHandler(HandleError, handler.New(tokenService.UnfreezeToken)),
"grantTokenKyc": postHandler(HandleError, handler.New(tokenService.GrantTokenKyc)),
"revokeTokenKyc": postHandler(HandleError, handler.New(tokenService.RevokeTokenKyc)),
"mintToken": postHandler(HandleError, handler.New(tokenService.MintToken)),
"burnToken": postHandler(HandleError, handler.New(tokenService.BurnToken)),
"generateKey": postHandler(HandleError, handler.New(methods.GenerateKey)),
}

Expand Down
Loading

0 comments on commit 788dc31

Please sign in to comment.