Fix ProxyState type (#2269)

* Fix ProxyState type

* Generate
This commit is contained in:
Jaco Greeff
2020-05-12 20:58:40 +02:00
committed by GitHub
parent abecabdaed
commit 0cf29719b3
2 changed files with 9 additions and 5 deletions
@@ -67,8 +67,10 @@ export default {
PropIndex: 'u32',
Proposal: 'Call',
ProxyState: {
Open: 'AccountId',
Active: 'AccountId'
_enum: {
Open: 'AccountId',
Active: 'AccountId'
}
},
ReferendumIndex: 'u32',
ReferendumInfoTo239: {
@@ -71,9 +71,11 @@ export interface PropIndex extends u32 {}
export interface Proposal extends Call {}
/** @name ProxyState */
export interface ProxyState extends Struct {
readonly Open: AccountId;
readonly Active: AccountId;
export interface ProxyState extends Enum {
readonly isOpen: boolean;
readonly asOpen: AccountId;
readonly isActive: boolean;
readonly asActive: AccountId;
}
/** @name ReferendumIndex */