HydraDX Claims upgrade (#4781)

* no lsd

* vec -> ordered set

* changed display condition for claims page to be more specific

original filter collided with unrelated api of HydraDX
This commit is contained in:
lumir-mrkva 2021-03-08 07:56:03 +01:00 committed by GitHub
parent 196911cc66
commit a1038a4f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -37,6 +37,7 @@ const definitions: OverrideBundleDefinition = {
]
},
LookupSource: 'AccountId',
OrderedSet: 'Vec<AssetId>',
Price: 'Balance'
}
}

View File

@ -38,7 +38,7 @@ const chainRoccoTick = '#22bb22';
const chainRoccoTrack = '#bb2222';
const chainRoccoTrick = '#2222bb';
const chainSgc = 'linear-gradient(45deg, #0099F7 0%, #F11712 100%)';
const chainSnakenet = 'radial-gradient(circle, rgba(13,16,110,1) 0%, rgba(246,83,162,1) 100%)';
const chainSnakenet = '#f653a2';
const chainWestend = '#da68a7';
const chainGalois = '#000000';
const chainZero = '#000000';

View File

@ -12,7 +12,7 @@ export default function create (t: TFunction): Route {
display: {
needsAccounts: true,
needsApi: [
'query.claims.claims'
'tx.claims.mintClaim'
]
},
group: 'accounts',