You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Update token module endpoints to use updated stores referring to LIP stores
Add token module endpoint isSupported
req
{
tokenID: '',
}
res
{
supported: true
}
Add token module endpoint getSupportedTokens
res
supportedTokens: []
where array should include ['*'] when all tokens are supported. It should also include mainchain / native tokens.
If all native token from a chain is supported, it should return ['00000020********']
### What was the problem?
This PR resolves#7579#7660
### How was it solved?
* Fixed `TokenModule.init()` to get config from a `ModuleConfig` object
* Implemented `isSupported` endpoint
* Implemented `getInitializationFees` endpoint
* Partially implemented `getSupportedTokens` endpoint
### How was it tested?
Added unit tests. Skipped the one that should return false when checking
if a not-supported token is supported.
Co-authored-by: shuse2 <[email protected]>
### What was the problem?
This PR resolves#7579#7660
### How was it solved?
* Fixed `TokenModule.init()` to get config from a `ModuleConfig` object
* Implemented `isSupported` endpoint
* Implemented `getInitializationFees` endpoint
* Partially implemented `getSupportedTokens` endpoint
### How was it tested?
Added unit tests. Skipped the one that should return false when checking
if a not-supported token is supported.
Co-authored-by: shuse2 <[email protected]>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
getInitializationFees
which returns below using configisSupported
req
res
getSupportedTokens
res
where array should include
['*']
when all tokens are supported. It should also include mainchain / native tokens.If all native token from a chain is supported, it should return
['00000020********']
Acceptance Criteria
Additional Information
The text was updated successfully, but these errors were encountered: