Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional types for prototype Starport Module #165

Open
syan095 opened this issue Jun 29, 2021 · 1 comment
Open

Add additional types for prototype Starport Module #165

syan095 opened this issue Jun 29, 2021 · 1 comment

Comments

@syan095
Copy link

syan095 commented Jun 29, 2021

The Prototype Starport module has been added to the Mandala Runtime. For the Polkadot.js website to work, additional types will need to be added to interface with the Mandala chain.

There's a new "CASH" TokenSymbol with the value of 140

"TokenSymbol": {
  "_enum": {
   ....
    "CASH": 140
  }
},

There are also some additional Datatypes and Enums that needs to be added.

"CashYieldIndex": "u128",
"GatewayNoticePayload": {
 "_enum": {
   "SetSupplyCap": "(CurrencyId, Balance)",
   "ChangeAuthorities": "Vec<CompoundAuthoritySignature>",
   "Unlock": "(CurrencyId, Balance, AccountId)",
   "SetFutureYield": "(Balance, CashYieldIndex, Moment)"
 }
},
"GatewayNotice": {
 "id": "u64",
 "payload": "GatewayNoticePayload"
},
"CompoundAuthoritySignature": "AccountId"
@syan095
Copy link
Author

syan095 commented Jun 29, 2021

For reference the PR for the starport module:
AcalaNetwork/Acala#1099

qwer951123 added a commit that referenced this issue Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant